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