Documentation restructuring: provide a useful overview.
[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 man_MANS =
30
31 ###--------------------------------------------------------------------------
32 ### Subdirectories.
33
34 ## Core components.
35 SUBDIRS += common
36 SUBDIRS += uslip
37 SUBDIRS += client
38 SUBDIRS += priv
39 SUBDIRS += server
40 SUBDIRS += proxy
41 SUBDIRS += pkstream
42 SUBDIRS += init
43
44 ## Path MTU discovery.
45 if PATHMTU
46 SUBDIRS += pathmtu
47 endif
48
49 ## Wireshark.
50 if HAVE_WIRESHARK
51 SUBDIRS += wireshark
52 endif
53
54 ## Services.
55 if HAVE_PYTHON
56 SUBDIRS += svc
57 SUBDIRS += py
58 SUBDIRS += peerdb
59 endif
60
61 ## Key-management.
62 if HAVE_PYCATACOMB
63 SUBDIRS += keys
64 endif
65
66 ## Graphical monitor.
67 if HAVE_PYGTK
68 SUBDIRS += mon
69 endif
70
71 ## Testing.
72 SUBDIRS += t
73
74 ## Manual.
75 SUBDIRS += manual
76
77 ###--------------------------------------------------------------------------
78 ### Main manual page.
79
80 man_MANS += tripe.7
81 EXTRA_DIST += tripe.7.in
82 CLEANFILES += tripe.7
83
84 ###--------------------------------------------------------------------------
85 ### The pkg-config file.
86
87 pkgconfigdir = $(libdir)/pkgconfig
88 pkgconfig_DATA = tripe.pc
89 EXTRA_DIST += tripe.pc.in
90 CLEANFILES += tripe.pc
91
92 tripe.pc: tripe.pc.in Makefile
93 $(SUBST) $(srcdir)/tripe.pc.in >$@.new $(SUBSTITUTIONS) && \
94 mv $@.new $@
95
96 ###--------------------------------------------------------------------------
97 ### Release tweaking.
98
99 ## Distcheck tweaks.
100 DISTCHECK_TUNNELS = linux bsd unet slip
101
102 DISTCHECK_CONFIGURE_FLAGS = \
103 --with-tunnel='$(DISTCHECK_TUNNELS)' \
104 --with-wireshark='$${libdir}/wireshark/plugins'
105
106 ## Release number.
107 dist-hook::
108 echo $(VERSION) >$(distdir)/RELEASE
109
110 ## Additional build tools.
111 EXTRA_DIST += config/confsubst
112 EXTRA_DIST += config/auto-version
113
114 ###--------------------------------------------------------------------------
115 ### Debian.
116
117 ## General stuff.
118 EXTRA_DIST += debian/rules
119 EXTRA_DIST += debian/control
120 EXTRA_DIST += debian/changelog
121 EXTRA_DIST += debian/copyright
122
123 ## pkstream
124 EXTRA_DIST += debian/pkstream.copyright
125 EXTRA_DIST += debian/pkstream.install
126
127 ## pathmtu
128 EXTRA_DIST += debian/pathmtu.copyright
129 EXTRA_DIST += debian/pathmtu.install
130
131 ## server and client
132 EXTRA_DIST += debian/tripe.README
133 EXTRA_DIST += debian/tripe.dirs
134 EXTRA_DIST += debian/tripe.install
135 EXTRA_DIST += debian/tripe.docs
136 EXTRA_DIST += debian/tripe.info
137 EXTRA_DIST += debian/tripe.postinst
138 EXTRA_DIST += debian/tripe.logrotate
139
140 ## uslip
141 EXTRA_DIST += debian/tripe-uslip.install
142
143 ## keys
144 EXTRA_DIST += debian/tripe-keys.install
145
146 ## modules
147 EXTRA_DIST += debian/python-tripe.install
148
149 ## peer services
150 EXTRA_DIST += debian/tripe-peer-services.dirs
151 EXTRA_DIST += debian/tripe-peer-services.install
152
153 ## monitor
154 EXTRA_DIST += debian/tripemon.install
155
156 ## wireshark
157 EXTRA_DIST += debian/tripe-wireshark.install
158
159 ###----- That's all, folks --------------------------------------------------