Commit | Line | Data |
---|---|---|
2aff5dbb MW |
1 | ### -*-makefile-*- |
2 | ### | |
3 | ### Makefile for TrIPE services | |
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 | ||
a62f8e8a MW |
28 | servicesdir = ${pkglibdir}/services |
29 | ||
30 | services_SCRIPTS = | |
2aff5dbb MW |
31 | man_MANS = |
32 | ||
33 | ###-------------------------------------------------------------------------- | |
34 | ### Services. | |
35 | ||
36 | ## Services manual page. | |
0647ba7c MW |
37 | man_MANS += tripe-service.7tripe |
38 | CLEANFILES += tripe-service.7tripe | |
2aff5dbb MW |
39 | EXTRA_DIST += tripe-service.7.in |
40 | ||
a62f8e8a MW |
41 | ## Handle dynamic connections. |
42 | services_SCRIPTS += connect | |
43 | CLEANFILES += connect | |
44 | EXTRA_DIST += connect.in | |
45 | ||
0647ba7c MW |
46 | man_MANS += connect.8tripe |
47 | CLEANFILES += connect.8tripe | |
a62f8e8a MW |
48 | EXTRA_DIST += connect.8.in |
49 | ||
50 | connect: connect.in Makefile | |
2171b19e | 51 | $(SUBST) $(srcdir)/connect.in >$@.new $(SUBSTITUTIONS) && \ |
a62f8e8a MW |
52 | chmod +x $@.new && mv $@.new $@ |
53 | ||
2ec90437 MW |
54 | ## Watch D-Bus to keep track of external connectivity. |
55 | services_SCRIPTS += conntrack | |
56 | CLEANFILES += conntrack | |
57 | EXTRA_DIST += conntrack.in | |
58 | ||
0647ba7c MW |
59 | man_MANS += conntrack.8tripe |
60 | CLEANFILES += conntrack.8tripe | |
2ec90437 MW |
61 | EXTRA_DIST += conntrack.8.in |
62 | ||
63 | conntrack: conntrack.in Makefile | |
2171b19e | 64 | $(SUBST) $(srcdir)/conntrack.in >$@.new $(SUBSTITUTIONS) && \ |
2ec90437 MW |
65 | chmod +x $@.new && mv $@.new $@ |
66 | ||
a62f8e8a MW |
67 | ## Bring up an interface. |
68 | sbin_SCRIPTS = tripe-ifup | |
69 | CLEANFILES += tripe-ifup | |
70 | EXTRA_DIST += tripe-ifup.in | |
71 | ||
0647ba7c MW |
72 | man_MANS += tripe-ifup.8tripe |
73 | CLEANFILES += tripe-ifup.8tripe | |
a62f8e8a MW |
74 | EXTRA_DIST += tripe-ifup.8.in |
75 | ||
76 | tripe-ifup: tripe-ifup.in Makefile | |
2171b19e | 77 | $(SUBST) $(srcdir)/tripe-ifup.in >$@.new $(SUBSTITUTIONS) && \ |
a62f8e8a MW |
78 | chmod +x $@.new && mv $@.new $@ |
79 | ||
2aff5dbb | 80 | ###----- That's all, folks -------------------------------------------------- |