chiark / gitweb /
keys: Fix defaults and documentation.
[tripe] / Makefile.am
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
26 include $(top_srcdir)/vars.am
27
28 SUBDIRS                  =
29
30 ###--------------------------------------------------------------------------
31 ### Subdirectories.
32
33 ## Core components.
34 SUBDIRS                 += common
35 SUBDIRS                 += uslip
36 SUBDIRS                 += client
37 SUBDIRS                 += priv
38 SUBDIRS                 += server
39 SUBDIRS                 += proxy
40 SUBDIRS                 += pkstream
41 SUBDIRS                 += init
42
43 ## Path MTU discovery.
44 if PATHMTU
45 SUBDIRS                 += pathmtu
46 endif
47
48 ## Wireshark.
49 if HAVE_WIRESHARK
50 SUBDIRS                 += wireshark
51 endif
52
53 ## Key-management.
54 if HAVE_PYCATACOMB
55 SUBDIRS                 += keys
56 endif
57
58 ## Graphical monitor.
59 if HAVE_PYGTK
60 SUBDIRS                 += mon
61 endif
62
63 ## Testing.
64 SUBDIRS                 += t
65
66 ###--------------------------------------------------------------------------
67 ### The pkg-config file.
68
69 pkgconfigdir             = $(libdir)/pkgconfig
70 pkgconfig_DATA           = tripe.pc
71 EXTRA_DIST              += tripe.pc.in
72 CLEANFILES              += tripe.pc
73
74 tripe.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.
82 DISTCHECK_TUNNELS        = linux bsd unet slip
83
84 DISTCHECK_CONFIGURE_FLAGS = \
85         --with-tunnel='$(DISTCHECK_TUNNELS)' \
86         --with-wireshark='$${libdir}/wireshark/plugins'
87
88 ## Release number.
89 dist-hook::
90         echo $(VERSION) >$(distdir)/RELEASE
91
92 ## Manual page preamble.
93 EXTRA_DIST              += defs.man.in
94 CLEANFILES              += defs.man
95
96 ## Additional build tools.
97 EXTRA_DIST              += config/confsubst
98 EXTRA_DIST              += config/auto-version
99
100 ###--------------------------------------------------------------------------
101 ### Debian.
102
103 ## General stuff.
104 EXTRA_DIST              += debian/rules
105 EXTRA_DIST              += debian/control
106 EXTRA_DIST              += debian/changelog
107 EXTRA_DIST              += debian/copyright
108
109 ## pkstream
110 EXTRA_DIST              += debian/pkstream.copyright
111 EXTRA_DIST              += debian/pkstream.install
112
113 ## pathmtu
114 EXTRA_DIST              += debian/pathmtu.copyright
115 EXTRA_DIST              += debian/pathmtu.install
116
117 ## server and client
118 EXTRA_DIST              += debian/tripe.README
119 EXTRA_DIST              += debian/tripe.dirs
120 EXTRA_DIST              += debian/tripe.install
121 EXTRA_DIST              += debian/tripe.postinst
122 EXTRA_DIST              += debian/tripe.logrotate
123
124 ## uslip
125 EXTRA_DIST              += debian/tripe-uslip.install
126
127 ## keys
128 EXTRA_DIST              += debian/tripe-keys.install
129
130 ## monitor
131 EXTRA_DIST              += debian/tripemon.install
132
133 ## wireshark
134 EXTRA_DIST              += debian/tripe-wireshark.install
135
136 ###----- That's all, folks --------------------------------------------------