Commit | Line | Data |
---|---|---|
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 | ### | |
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 | |
49f86fe4 | 35 | SUBDIRS += uslip |
6b6ad670 | 36 | SUBDIRS += client |
388e0319 | 37 | SUBDIRS += priv |
6b6ad670 MW |
38 | SUBDIRS += server |
39 | SUBDIRS += proxy | |
40 | SUBDIRS += pkstream | |
41 | SUBDIRS += init | |
42 | ||
c64d8cd5 | 43 | ## Path MTU discovery. |
c64d8cd5 | 44 | SUBDIRS += pathmtu |
c64d8cd5 | 45 | |
6b6ad670 MW |
46 | ## Wireshark. |
47 | if HAVE_WIRESHARK | |
48 | SUBDIRS += wireshark | |
49 | endif | |
50 | ||
2aff5dbb MW |
51 | ## Services. |
52 | if HAVE_PYTHON | |
53 | SUBDIRS += svc | |
2fa80010 | 54 | SUBDIRS += py |
6005ef9b | 55 | SUBDIRS += peerdb |
2aff5dbb MW |
56 | endif |
57 | ||
6b6ad670 MW |
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 | ||
a4f886c3 MW |
68 | ## Contributed stuff. |
69 | SUBDIRS += contrib | |
70 | ||
1c5f4539 MW |
71 | ## Testing. |
72 | SUBDIRS += t | |
73 | ||
6b6ad670 MW |
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 | |
2171b19e | 83 | $(SUBST) $(srcdir)/tripe.pc.in >$@.new $(SUBSTITUTIONS) && \ |
6b6ad670 MW |
84 | mv $@.new $@ |
85 | ||
86 | ###-------------------------------------------------------------------------- | |
87 | ### Release tweaking. | |
88 | ||
89 | ## Distcheck tweaks. | |
09cedbd2 | 90 | DISTCHECK_TUNNELS = slip |
6b6ad670 MW |
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 | |
12475f48 | 102 | EXTRA_DIST += config/auto-version |
6b6ad670 MW |
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 | ||
113 | ## pkstream | |
114 | EXTRA_DIST += debian/pkstream.copyright | |
115 | EXTRA_DIST += debian/pkstream.install | |
116 | ||
c64d8cd5 MW |
117 | ## pathmtu |
118 | EXTRA_DIST += debian/pathmtu.copyright | |
119 | EXTRA_DIST += debian/pathmtu.install | |
120 | ||
6b6ad670 MW |
121 | ## server and client |
122 | EXTRA_DIST += debian/tripe.README | |
123 | EXTRA_DIST += debian/tripe.dirs | |
124 | EXTRA_DIST += debian/tripe.install | |
125 | EXTRA_DIST += debian/tripe.postinst | |
126 | EXTRA_DIST += debian/tripe.logrotate | |
127 | ||
49f86fe4 MW |
128 | ## uslip |
129 | EXTRA_DIST += debian/tripe-uslip.install | |
130 | ||
6b6ad670 MW |
131 | ## keys |
132 | EXTRA_DIST += debian/tripe-keys.install | |
133 | ||
2fa80010 MW |
134 | ## modules |
135 | EXTRA_DIST += debian/python-tripe.install | |
136 | ||
a62f8e8a MW |
137 | ## peer services |
138 | EXTRA_DIST += debian/tripe-peer-services.dirs | |
139 | EXTRA_DIST += debian/tripe-peer-services.install | |
140 | ||
6b6ad670 MW |
141 | ## monitor |
142 | EXTRA_DIST += debian/tripemon.install | |
143 | ||
144 | ## wireshark | |
145 | EXTRA_DIST += debian/tripe-wireshark.install | |
146 | ||
6b6ad670 | 147 | ###----- That's all, folks -------------------------------------------------- |