chiark / gitweb /
Makefile.am: Only check SLIP on distcheck.
[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 ## Services.
54 if HAVE_PYTHON
55 SUBDIRS                 += svc
56 SUBDIRS                 += py
57 SUBDIRS                 += peerdb
58 endif
59
60 ## Key-management.
61 if HAVE_PYCATACOMB
62 SUBDIRS                 += keys
63 endif
64
65 ## Graphical monitor.
66 if HAVE_PYGTK
67 SUBDIRS                 += mon
68 endif
69
70 ## Testing.
71 SUBDIRS                 += t
72
73 ###--------------------------------------------------------------------------
74 ### The pkg-config file.
75
76 pkgconfigdir             = $(libdir)/pkgconfig
77 pkgconfig_DATA           = tripe.pc
78 EXTRA_DIST              += tripe.pc.in
79 CLEANFILES              += tripe.pc
80
81 tripe.pc: tripe.pc.in Makefile
82         $(SUBST) $(srcdir)/tripe.pc.in >$@.new $(SUBSTITUTIONS) && \
83                 mv $@.new $@
84
85 ###--------------------------------------------------------------------------
86 ### Release tweaking.
87
88 ## Distcheck tweaks.
89 DISTCHECK_TUNNELS        = slip
90
91 DISTCHECK_CONFIGURE_FLAGS = \
92         --with-tunnel='$(DISTCHECK_TUNNELS)' \
93         --with-wireshark='$${libdir}/wireshark/plugins'
94
95 ## Release number.
96 dist-hook::
97         echo $(VERSION) >$(distdir)/RELEASE
98
99 ## Additional build tools.
100 EXTRA_DIST              += config/confsubst
101 EXTRA_DIST              += config/auto-version
102
103 ###--------------------------------------------------------------------------
104 ### Debian.
105
106 ## General stuff.
107 EXTRA_DIST              += debian/rules
108 EXTRA_DIST              += debian/control
109 EXTRA_DIST              += debian/changelog
110 EXTRA_DIST              += debian/copyright
111
112 ## pkstream
113 EXTRA_DIST              += debian/pkstream.copyright
114 EXTRA_DIST              += debian/pkstream.install
115
116 ## pathmtu
117 EXTRA_DIST              += debian/pathmtu.copyright
118 EXTRA_DIST              += debian/pathmtu.install
119
120 ## server and client
121 EXTRA_DIST              += debian/tripe.README
122 EXTRA_DIST              += debian/tripe.dirs
123 EXTRA_DIST              += debian/tripe.install
124 EXTRA_DIST              += debian/tripe.postinst
125 EXTRA_DIST              += debian/tripe.logrotate
126
127 ## uslip
128 EXTRA_DIST              += debian/tripe-uslip.install
129
130 ## keys
131 EXTRA_DIST              += debian/tripe-keys.install
132
133 ## modules
134 EXTRA_DIST              += debian/python-tripe.install
135
136 ## peer services
137 EXTRA_DIST              += debian/tripe-peer-services.dirs
138 EXTRA_DIST              += debian/tripe-peer-services.install
139
140 ## monitor
141 EXTRA_DIST              += debian/tripemon.install
142
143 ## wireshark
144 EXTRA_DIST              += debian/tripe-wireshark.install
145
146 ###----- That's all, folks --------------------------------------------------