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