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