chiark / gitweb /
configure.ac: Some random formatting tweaks.
[tripe] / Makefile.am
... / ...
CommitLineData
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 =
29
30###--------------------------------------------------------------------------
31### Subdirectories.
32
33## Core components.
34SUBDIRS += common
35SUBDIRS += uslip
36SUBDIRS += client
37SUBDIRS += priv
38SUBDIRS += server
39SUBDIRS += proxy
40SUBDIRS += pkstream
41SUBDIRS += init
42
43## Path MTU discovery.
44SUBDIRS += pathmtu
45
46## Wireshark.
47if HAVE_WIRESHARK
48SUBDIRS += wireshark
49endif
50
51## Services.
52if HAVE_PYTHON
53SUBDIRS += svc
54SUBDIRS += py
55SUBDIRS += peerdb
56endif
57
58## Key-management.
59if HAVE_PYCATACOMB
60SUBDIRS += keys
61endif
62
63## Graphical monitor.
64if HAVE_PYGTK
65SUBDIRS += mon
66endif
67
68## Contributed stuff.
69SUBDIRS += contrib
70
71## Testing.
72SUBDIRS += t
73
74###--------------------------------------------------------------------------
75### The pkg-config file.
76
77pkgconfigdir = $(libdir)/pkgconfig
78pkgconfig_DATA = tripe.pc
79EXTRA_DIST += tripe.pc.in
80CLEANFILES += tripe.pc
81
82tripe.pc: tripe.pc.in Makefile
83 $(SUBST) $(srcdir)/tripe.pc.in >$@.new $(SUBSTITUTIONS) && \
84 mv $@.new $@
85
86###--------------------------------------------------------------------------
87### Release tweaking.
88
89## Distcheck tweaks.
90DISTCHECK_TUNNELS = slip
91
92DISTCHECK_CONFIGURE_FLAGS = \
93 --with-tunnel='$(DISTCHECK_TUNNELS)' \
94 --with-wireshark='$${libdir}/wireshark/plugins'
95
96## Release number.
97dist-hook::
98 echo $(VERSION) >$(distdir)/RELEASE
99
100## Additional build tools.
101EXTRA_DIST += config/confsubst
102EXTRA_DIST += config/auto-version
103
104###--------------------------------------------------------------------------
105### Debian.
106
107## General stuff.
108EXTRA_DIST += debian/rules
109EXTRA_DIST += debian/control
110EXTRA_DIST += debian/changelog
111EXTRA_DIST += debian/copyright
112
113## pkstream
114EXTRA_DIST += debian/pkstream.copyright
115EXTRA_DIST += debian/pkstream.install
116
117## pathmtu
118EXTRA_DIST += debian/pathmtu.copyright
119EXTRA_DIST += debian/pathmtu.install
120
121## server and client
122EXTRA_DIST += debian/tripe.README
123EXTRA_DIST += debian/tripe.dirs
124EXTRA_DIST += debian/tripe.install
125EXTRA_DIST += debian/tripe.postinst
126EXTRA_DIST += debian/tripe.logrotate
127
128## uslip
129EXTRA_DIST += debian/tripe-uslip.install
130
131## keys
132EXTRA_DIST += debian/tripe-keys.install
133
134## modules
135EXTRA_DIST += debian/python-tripe.install
136
137## peer services
138EXTRA_DIST += debian/tripe-peer-services.dirs
139EXTRA_DIST += debian/tripe-peer-services.install
140
141## monitor
142EXTRA_DIST += debian/tripemon.install
143
144## wireshark
145EXTRA_DIST += debian/tripe-wireshark.install
146
147###----- That's all, folks --------------------------------------------------