chiark / gitweb /
debian/: Redo the multiarch support for Debhelper 9.
[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
53if HAVE_PYMLIB
54SUBDIRS += py
55if HAVE_PYCDB
56SUBDIRS += peerdb
57SUBDIRS += svc
58endif
59endif
60endif
61
62## Key-management.
63if HAVE_PYTHON
64if HAVE_PYCATACOMB
65SUBDIRS += keys
66endif
67endif
68
69## Graphical monitor.
70if HAVE_PYTHON
71if HAVE_PYMLIB
72if HAVE_PYGTK
73SUBDIRS += mon
74endif
75endif
76endif
77
78## Contributed stuff.
79SUBDIRS += contrib
80
81## Testing.
82SUBDIRS += t
83
84###--------------------------------------------------------------------------
85### Package-configuration file.
86
87pkgconfigdir = $(datadir)/pkgconfig
88pkgconfig_DATA = tripe.pc
89EXTRA_DIST += tripe.pc.in
90CLEANFILES += tripe.pc
91
92tripe.pc: tripe.pc.in Makefile
93 $(SUBST) $(srcdir)/tripe.pc.in >$@.new $(SUBSTITUTIONS) && \
94 mv $@.new $@
95
96###--------------------------------------------------------------------------
97### Distribution.
98
99## Distcheck tweaks.
100DISTCHECK_TUNNELS = 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
112EXTRA_DIST += config/auto-version
113
114###--------------------------------------------------------------------------
115### Debian.
116
117## General stuff.
118EXTRA_DIST += debian/rules
119EXTRA_DIST += debian/control
120EXTRA_DIST += debian/changelog
121EXTRA_DIST += debian/copyright
122EXTRA_DIST += debian/compat
123EXTRA_DIST += debian/source/format
124
125## pkstream
126EXTRA_DIST += debian/pkstream.copyright
127EXTRA_DIST += debian/pkstream.install
128
129## pathmtu
130EXTRA_DIST += debian/pathmtu.copyright
131EXTRA_DIST += debian/pathmtu.install
132
133## server and client
134EXTRA_DIST += debian/tripe.README
135EXTRA_DIST += debian/tripe.dirs
136EXTRA_DIST += debian/tripe.install
137EXTRA_DIST += debian/tripe.postinst
138EXTRA_DIST += debian/tripe.logrotate
139
140## uslip
141EXTRA_DIST += debian/tripe-uslip.install
142
143## keys
144EXTRA_DIST += debian/tripe-keys.install
145
146## modules
147EXTRA_DIST += debian/python-tripe.install
148
149## peer services
150EXTRA_DIST += debian/tripe-peer-services.install
151EXTRA_DIST += debian/tripe-peer-services.postinst
152
153## monitor
154EXTRA_DIST += debian/tripemon.install
155
156## wireshark
157EXTRA_DIST += debian/tripe-wireshark.install
158
159###----- That's all, folks --------------------------------------------------