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