chiark / gitweb /
server/tests.at: Add a retry loop in `COMMS_EPING'.
[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###
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
26include $(top_srcdir)/vars.am
27
a62f8e8a
MW
28servicesdir = ${pkglibdir}/services
29
30services_SCRIPTS =
2aff5dbb
MW
31man_MANS =
32
33###--------------------------------------------------------------------------
34### Services.
35
36## Services manual page.
37man_MANS += tripe-service.7
38CLEANFILES += tripe-service.7
39EXTRA_DIST += tripe-service.7.in
40
a62f8e8a
MW
41## Handle dynamic connections.
42services_SCRIPTS += connect
43CLEANFILES += connect
44EXTRA_DIST += connect.in
45
46man_MANS += connect.8
47CLEANFILES += connect.8
48EXTRA_DIST += connect.8.in
49
50connect: connect.in Makefile
2171b19e 51 $(SUBST) $(srcdir)/connect.in >$@.new $(SUBSTITUTIONS) && \
a62f8e8a
MW
52 chmod +x $@.new && mv $@.new $@
53
54## Watch for peers arriving and disconnecting.
55services_SCRIPTS += watch
56CLEANFILES += watch
57EXTRA_DIST += watch.in
58
59man_MANS += watch.8
60CLEANFILES += watch.8
61EXTRA_DIST += watch.8.in
62
63watch: watch.in Makefile
2171b19e 64 $(SUBST) $(srcdir)/watch.in >$@.new $(SUBSTITUTIONS) && \
a62f8e8a
MW
65 chmod +x $@.new && mv $@.new $@
66
2ec90437
MW
67## Watch D-Bus to keep track of external connectivity.
68services_SCRIPTS += conntrack
69CLEANFILES += conntrack
70EXTRA_DIST += conntrack.in
71
72man_MANS += conntrack.8
73CLEANFILES += conntrack.8
74EXTRA_DIST += conntrack.8.in
75
76conntrack: conntrack.in Makefile
2171b19e 77 $(SUBST) $(srcdir)/conntrack.in >$@.new $(SUBSTITUTIONS) && \
2ec90437
MW
78 chmod +x $@.new && mv $@.new $@
79
a62f8e8a
MW
80## Bring up an interface.
81sbin_SCRIPTS = tripe-ifup
82CLEANFILES += tripe-ifup
83EXTRA_DIST += tripe-ifup.in
84
85man_MANS += tripe-ifup.8
86CLEANFILES += tripe-ifup.8
87EXTRA_DIST += tripe-ifup.8.in
88
89tripe-ifup: tripe-ifup.in Makefile
2171b19e 90 $(SUBST) $(srcdir)/tripe-ifup.in >$@.new $(SUBSTITUTIONS) && \
a62f8e8a
MW
91 chmod +x $@.new && mv $@.new $@
92
2aff5dbb 93###----- That's all, folks --------------------------------------------------
a62f8e8a 94