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 MW |
36 | SUBDIRS += client |
37 | SUBDIRS += server | |
38 | SUBDIRS += proxy | |
39 | SUBDIRS += pkstream | |
40 | SUBDIRS += init | |
41 | ||
c64d8cd5 MW |
42 | ## Path MTU discovery. |
43 | if PATHMTU | |
44 | SUBDIRS += pathmtu | |
45 | endif | |
46 | ||
6b6ad670 MW |
47 | ## Wireshark. |
48 | if HAVE_WIRESHARK | |
49 | SUBDIRS += wireshark | |
50 | endif | |
51 | ||
52 | ## Key-management. | |
53 | if HAVE_PYCATACOMB | |
54 | SUBDIRS += keys | |
55 | endif | |
56 | ||
57 | ## Graphical monitor. | |
58 | if HAVE_PYGTK | |
59 | SUBDIRS += mon | |
60 | endif | |
61 | ||
1c5f4539 MW |
62 | ## Testing. |
63 | SUBDIRS += t | |
64 | ||
6b6ad670 MW |
65 | ###-------------------------------------------------------------------------- |
66 | ### The pkg-config file. | |
67 | ||
68 | pkgconfigdir = $(libdir)/pkgconfig | |
69 | pkgconfig_DATA = tripe.pc | |
70 | EXTRA_DIST += tripe.pc.in | |
71 | CLEANFILES += tripe.pc | |
72 | ||
73 | tripe.pc: tripe.pc.in Makefile | |
74 | $(confsubst) $(srcdir)/tripe.pc.in >$@.new $(SUBSTITUTIONS) && \ | |
75 | mv $@.new $@ | |
76 | ||
77 | ###-------------------------------------------------------------------------- | |
78 | ### Release tweaking. | |
79 | ||
80 | ## Distcheck tweaks. | |
81 | DISTCHECK_TUNNELS = linux bsd unet slip | |
82 | ||
83 | DISTCHECK_CONFIGURE_FLAGS = \ | |
84 | --with-tunnel='$(DISTCHECK_TUNNELS)' \ | |
85 | --with-wireshark='$${libdir}/wireshark/plugins' | |
86 | ||
87 | ## Release number. | |
88 | dist-hook:: | |
89 | echo $(VERSION) >$(distdir)/RELEASE | |
90 | ||
fc916a09 MW |
91 | ## Manual page preamble. |
92 | EXTRA_DIST += defs.man.in | |
93 | CLEANFILES += defs.man | |
94 | ||
6b6ad670 MW |
95 | ## Additional build tools. |
96 | EXTRA_DIST += config/confsubst | |
12475f48 | 97 | EXTRA_DIST += config/auto-version |
6b6ad670 MW |
98 | |
99 | ###-------------------------------------------------------------------------- | |
100 | ### Debian. | |
101 | ||
102 | ## General stuff. | |
103 | EXTRA_DIST += debian/rules | |
104 | EXTRA_DIST += debian/control | |
105 | EXTRA_DIST += debian/changelog | |
106 | EXTRA_DIST += debian/copyright | |
107 | ||
108 | ## pkstream | |
109 | EXTRA_DIST += debian/pkstream.copyright | |
110 | EXTRA_DIST += debian/pkstream.install | |
111 | ||
c64d8cd5 MW |
112 | ## pathmtu |
113 | EXTRA_DIST += debian/pathmtu.copyright | |
114 | EXTRA_DIST += debian/pathmtu.install | |
115 | ||
6b6ad670 MW |
116 | ## server and client |
117 | EXTRA_DIST += debian/tripe.README | |
118 | EXTRA_DIST += debian/tripe.dirs | |
119 | EXTRA_DIST += debian/tripe.install | |
120 | EXTRA_DIST += debian/tripe.postinst | |
121 | EXTRA_DIST += debian/tripe.logrotate | |
122 | ||
49f86fe4 MW |
123 | ## uslip |
124 | EXTRA_DIST += debian/tripe-uslip.install | |
125 | ||
6b6ad670 MW |
126 | ## keys |
127 | EXTRA_DIST += debian/tripe-keys.install | |
128 | ||
129 | ## monitor | |
130 | EXTRA_DIST += debian/tripemon.install | |
131 | ||
132 | ## wireshark | |
133 | EXTRA_DIST += debian/tripe-wireshark.install | |
134 | ||
6b6ad670 | 135 | ###----- That's all, folks -------------------------------------------------- |