chiark / gitweb /
Upgrade licence to GPLv3+.
[tripe] / svc / Makefile.am
CommitLineData
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
25include $(top_srcdir)/vars.am
26
a62f8e8a
MW
27servicesdir = ${pkglibdir}/services
28
29services_SCRIPTS =
2aff5dbb
MW
30man_MANS =
31
32###--------------------------------------------------------------------------
33### Services.
34
a62f8e8a
MW
35## Handle dynamic connections.
36services_SCRIPTS += connect
37CLEANFILES += connect
38EXTRA_DIST += connect.in
39
0647ba7c
MW
40man_MANS += connect.8tripe
41CLEANFILES += connect.8tripe
a62f8e8a
MW
42EXTRA_DIST += connect.8.in
43
44connect: 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.
49services_SCRIPTS += conntrack
50CLEANFILES += conntrack
51EXTRA_DIST += conntrack.in
52
0647ba7c
MW
53man_MANS += conntrack.8tripe
54CLEANFILES += conntrack.8tripe
2ec90437
MW
55EXTRA_DIST += conntrack.8.in
56
57conntrack: 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.
62sbin_SCRIPTS = tripe-ifup
63CLEANFILES += tripe-ifup
64EXTRA_DIST += tripe-ifup.in
65
0647ba7c
MW
66man_MANS += tripe-ifup.8tripe
67CLEANFILES += tripe-ifup.8tripe
a62f8e8a
MW
68EXTRA_DIST += tripe-ifup.8.in
69
70tripe-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 --------------------------------------------------