Documentation restructuring: provide a useful overview.
[tripe] / Makefile.am
CommitLineData
6b6ad670
MW
1### -*-makefile-*-
2###
3### Makefile for TrIPE
4###
5### (c) 2001 Straylight/Edgeware
6###
7
8###----- Licensing notice ---------------------------------------------------
9###
10### This file is part of Trivial IP Encryption (TrIPE).
11###
12### TrIPE is free software; you can redistribute it and/or modify
13### it under the terms of the GNU General Public License as published by
14### the Free Software Foundation; either version 2 of the License, or
15### (at your option) any later version.
16###
17### TrIPE is distributed in the hope that it will be useful,
18### but WITHOUT ANY WARRANTY; without even the implied warranty of
19### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20### GNU General Public License for more details.
21###
22### You should have received a copy of the GNU General Public License
23### along with TrIPE; if not, write to the Free Software Foundation,
24### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25
26include $(top_srcdir)/vars.am
27
28SUBDIRS =
2c1261e5 29man_MANS =
6b6ad670
MW
30
31###--------------------------------------------------------------------------
32### Subdirectories.
33
34## Core components.
35SUBDIRS += common
49f86fe4 36SUBDIRS += uslip
6b6ad670 37SUBDIRS += client
388e0319 38SUBDIRS += priv
6b6ad670
MW
39SUBDIRS += server
40SUBDIRS += proxy
41SUBDIRS += pkstream
42SUBDIRS += init
43
c64d8cd5
MW
44## Path MTU discovery.
45if PATHMTU
46SUBDIRS += pathmtu
47endif
48
6b6ad670
MW
49## Wireshark.
50if HAVE_WIRESHARK
51SUBDIRS += wireshark
52endif
53
2aff5dbb
MW
54## Services.
55if HAVE_PYTHON
56SUBDIRS += svc
2fa80010 57SUBDIRS += py
6005ef9b 58SUBDIRS += peerdb
2aff5dbb
MW
59endif
60
6b6ad670
MW
61## Key-management.
62if HAVE_PYCATACOMB
63SUBDIRS += keys
64endif
65
66## Graphical monitor.
67if HAVE_PYGTK
68SUBDIRS += mon
69endif
70
1c5f4539
MW
71## Testing.
72SUBDIRS += t
73
2c1261e5
MW
74## Manual.
75SUBDIRS += manual
76
77###--------------------------------------------------------------------------
78### Main manual page.
79
80man_MANS += tripe.7
81EXTRA_DIST += tripe.7.in
82CLEANFILES += tripe.7
83
6b6ad670
MW
84###--------------------------------------------------------------------------
85### The pkg-config file.
86
87pkgconfigdir = $(libdir)/pkgconfig
88pkgconfig_DATA = tripe.pc
89EXTRA_DIST += tripe.pc.in
90CLEANFILES += tripe.pc
91
92tripe.pc: tripe.pc.in Makefile
2171b19e 93 $(SUBST) $(srcdir)/tripe.pc.in >$@.new $(SUBSTITUTIONS) && \
6b6ad670
MW
94 mv $@.new $@
95
96###--------------------------------------------------------------------------
97### Release tweaking.
98
99## Distcheck tweaks.
100DISTCHECK_TUNNELS = linux bsd unet slip
101
102DISTCHECK_CONFIGURE_FLAGS = \
103 --with-tunnel='$(DISTCHECK_TUNNELS)' \
104 --with-wireshark='$${libdir}/wireshark/plugins'
105
106## Release number.
107dist-hook::
108 echo $(VERSION) >$(distdir)/RELEASE
109
110## Additional build tools.
111EXTRA_DIST += config/confsubst
12475f48 112EXTRA_DIST += config/auto-version
6b6ad670
MW
113
114###--------------------------------------------------------------------------
115### Debian.
116
117## General stuff.
118EXTRA_DIST += debian/rules
119EXTRA_DIST += debian/control
120EXTRA_DIST += debian/changelog
121EXTRA_DIST += debian/copyright
122
123## pkstream
124EXTRA_DIST += debian/pkstream.copyright
125EXTRA_DIST += debian/pkstream.install
126
c64d8cd5
MW
127## pathmtu
128EXTRA_DIST += debian/pathmtu.copyright
129EXTRA_DIST += debian/pathmtu.install
130
6b6ad670
MW
131## server and client
132EXTRA_DIST += debian/tripe.README
133EXTRA_DIST += debian/tripe.dirs
134EXTRA_DIST += debian/tripe.install
2c1261e5
MW
135EXTRA_DIST += debian/tripe.docs
136EXTRA_DIST += debian/tripe.info
6b6ad670
MW
137EXTRA_DIST += debian/tripe.postinst
138EXTRA_DIST += debian/tripe.logrotate
139
49f86fe4
MW
140## uslip
141EXTRA_DIST += debian/tripe-uslip.install
142
6b6ad670
MW
143## keys
144EXTRA_DIST += debian/tripe-keys.install
145
2fa80010
MW
146## modules
147EXTRA_DIST += debian/python-tripe.install
148
a62f8e8a
MW
149## peer services
150EXTRA_DIST += debian/tripe-peer-services.dirs
151EXTRA_DIST += debian/tripe-peer-services.install
152
6b6ad670
MW
153## monitor
154EXTRA_DIST += debian/tripemon.install
155
156## wireshark
157EXTRA_DIST += debian/tripe-wireshark.install
158
6b6ad670 159###----- That's all, folks --------------------------------------------------