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