chiark / gitweb /
server/: Post-merge fixup.
[tripe] / Makefile.am
CommitLineData
6b6ad670
MW
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###
11ad66c2
MW
12### TrIPE is free software: you can redistribute it and/or modify it under
13### the terms of the GNU General Public License as published by the Free
14### Software Foundation; either version 3 of the License, or (at your
15### option) any later version.
6b6ad670 16###
11ad66c2
MW
17### TrIPE is distributed in the hope that it will be useful, but WITHOUT
18### ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
19### FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20### for more details.
6b6ad670
MW
21###
22### You should have received a copy of the GNU General Public License
11ad66c2 23### along with TrIPE. If not, see <https://www.gnu.org/licenses/>.
6b6ad670
MW
24
25include $(top_srcdir)/vars.am
26
27SUBDIRS =
28
29###--------------------------------------------------------------------------
30### Subdirectories.
31
32## Core components.
33SUBDIRS += common
49f86fe4 34SUBDIRS += uslip
6b6ad670 35SUBDIRS += client
388e0319 36SUBDIRS += priv
6b6ad670
MW
37SUBDIRS += server
38SUBDIRS += proxy
39SUBDIRS += pkstream
40SUBDIRS += init
41
c64d8cd5 42## Path MTU discovery.
c64d8cd5 43SUBDIRS += pathmtu
c64d8cd5 44
6b6ad670
MW
45## Wireshark.
46if HAVE_WIRESHARK
47SUBDIRS += wireshark
48endif
49
2aff5dbb
MW
50## Services.
51if HAVE_PYTHON
207f030a 52if HAVE_PYMLIB
2fa80010 53SUBDIRS += py
207f030a 54if HAVE_PYCDB
6005ef9b 55SUBDIRS += peerdb
207f030a
MW
56SUBDIRS += svc
57endif
58endif
2aff5dbb
MW
59endif
60
6b6ad670 61## Key-management.
207f030a 62if HAVE_PYTHON
6b6ad670
MW
63if HAVE_PYCATACOMB
64SUBDIRS += keys
65endif
207f030a 66endif
6b6ad670
MW
67
68## Graphical monitor.
207f030a
MW
69if HAVE_PYTHON
70if HAVE_PYMLIB
6b6ad670
MW
71if HAVE_PYGTK
72SUBDIRS += mon
73endif
207f030a
MW
74endif
75endif
6b6ad670 76
a4f886c3
MW
77## Contributed stuff.
78SUBDIRS += contrib
79
1c5f4539
MW
80## Testing.
81SUBDIRS += t
82
6b6ad670 83###--------------------------------------------------------------------------
4a363f56 84### Package-configuration file.
6b6ad670 85
03e37cbc 86pkgconfigdir = $(datadir)/pkgconfig
6b6ad670
MW
87pkgconfig_DATA = tripe.pc
88EXTRA_DIST += tripe.pc.in
89CLEANFILES += tripe.pc
90
91tripe.pc: tripe.pc.in Makefile
2171b19e 92 $(SUBST) $(srcdir)/tripe.pc.in >$@.new $(SUBSTITUTIONS) && \
6b6ad670
MW
93 mv $@.new $@
94
95###--------------------------------------------------------------------------
4a363f56 96### Distribution.
6b6ad670
MW
97
98## Distcheck tweaks.
09cedbd2 99DISTCHECK_TUNNELS = slip
6b6ad670
MW
100
101DISTCHECK_CONFIGURE_FLAGS = \
102 --with-tunnel='$(DISTCHECK_TUNNELS)' \
103 --with-wireshark='$${libdir}/wireshark/plugins'
104
105## Release number.
106dist-hook::
107 echo $(VERSION) >$(distdir)/RELEASE
108
109## Additional build tools.
110EXTRA_DIST += config/confsubst
12475f48 111EXTRA_DIST += config/auto-version
6b6ad670
MW
112
113###--------------------------------------------------------------------------
114### Debian.
115
116## General stuff.
117EXTRA_DIST += debian/rules
118EXTRA_DIST += debian/control
119EXTRA_DIST += debian/changelog
120EXTRA_DIST += debian/copyright
e01eeb5e 121EXTRA_DIST += debian/compat
4a054757 122EXTRA_DIST += debian/source/format
6b6ad670
MW
123
124## pkstream
125EXTRA_DIST += debian/pkstream.copyright
126EXTRA_DIST += debian/pkstream.install
127
c64d8cd5
MW
128## pathmtu
129EXTRA_DIST += debian/pathmtu.copyright
130EXTRA_DIST += debian/pathmtu.install
131
6b6ad670
MW
132## server and client
133EXTRA_DIST += debian/tripe.README
134EXTRA_DIST += debian/tripe.dirs
135EXTRA_DIST += debian/tripe.install
136EXTRA_DIST += debian/tripe.postinst
137EXTRA_DIST += debian/tripe.logrotate
138
49f86fe4
MW
139## uslip
140EXTRA_DIST += debian/tripe-uslip.install
141
6b6ad670
MW
142## keys
143EXTRA_DIST += debian/tripe-keys.install
144
2fa80010
MW
145## modules
146EXTRA_DIST += debian/python-tripe.install
147
a62f8e8a 148## peer services
a62f8e8a 149EXTRA_DIST += debian/tripe-peer-services.install
101acb51 150EXTRA_DIST += debian/tripe-peer-services.postinst
a62f8e8a 151
6b6ad670
MW
152## monitor
153EXTRA_DIST += debian/tripemon.install
154
155## wireshark
156EXTRA_DIST += debian/tripe-wireshark.install
157
6b6ad670 158###----- That's all, folks --------------------------------------------------