chiark / gitweb /
server: Introduce privilege separation.
[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
43## Wireshark.
44if HAVE_WIRESHARK
45SUBDIRS += wireshark
46endif
47
48## Key-management.
49if HAVE_PYCATACOMB
50SUBDIRS += keys
51endif
52
53## Graphical monitor.
54if HAVE_PYGTK
55SUBDIRS += mon
56endif
57
1c5f4539
MW
58## Testing.
59SUBDIRS += t
60
6b6ad670
MW
61###--------------------------------------------------------------------------
62### The pkg-config file.
63
64pkgconfigdir = $(libdir)/pkgconfig
65pkgconfig_DATA = tripe.pc
66EXTRA_DIST += tripe.pc.in
67CLEANFILES += tripe.pc
68
69tripe.pc: tripe.pc.in Makefile
70 $(confsubst) $(srcdir)/tripe.pc.in >$@.new $(SUBSTITUTIONS) && \
71 mv $@.new $@
72
73###--------------------------------------------------------------------------
74### Release tweaking.
75
76## Distcheck tweaks.
77DISTCHECK_TUNNELS = linux bsd unet slip
78
79DISTCHECK_CONFIGURE_FLAGS = \
80 --with-tunnel='$(DISTCHECK_TUNNELS)' \
81 --with-wireshark='$${libdir}/wireshark/plugins'
82
83## Release number.
84dist-hook::
85 echo $(VERSION) >$(distdir)/RELEASE
86
fc916a09
MW
87## Manual page preamble.
88EXTRA_DIST += defs.man.in
89CLEANFILES += defs.man
90
6b6ad670
MW
91## Additional build tools.
92EXTRA_DIST += config/confsubst
93
94###--------------------------------------------------------------------------
95### Debian.
96
97## General stuff.
98EXTRA_DIST += debian/rules
99EXTRA_DIST += debian/control
100EXTRA_DIST += debian/changelog
101EXTRA_DIST += debian/copyright
102
103## pkstream
104EXTRA_DIST += debian/pkstream.copyright
105EXTRA_DIST += debian/pkstream.install
106
107## server and client
108EXTRA_DIST += debian/tripe.README
109EXTRA_DIST += debian/tripe.dirs
110EXTRA_DIST += debian/tripe.install
111EXTRA_DIST += debian/tripe.postinst
112EXTRA_DIST += debian/tripe.logrotate
113
49f86fe4
MW
114## uslip
115EXTRA_DIST += debian/tripe-uslip.install
116
6b6ad670
MW
117## keys
118EXTRA_DIST += debian/tripe-keys.install
119
120## monitor
121EXTRA_DIST += debian/tripemon.install
122
123## wireshark
124EXTRA_DIST += debian/tripe-wireshark.install
125
126
127###----- That's all, folks --------------------------------------------------