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