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