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