chiark / gitweb /
Upgrade licence to GPLv3+.
[tripe] / svc / Makefile.am
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 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.
16 ###
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.
21 ###
22 ### You should have received a copy of the GNU General Public License
23 ### along with TrIPE.  If not, see <https://www.gnu.org/licenses/>.
24
25 include $(top_srcdir)/vars.am
26
27 servicesdir = ${pkglibdir}/services
28
29 services_SCRIPTS         =
30 man_MANS                 =
31
32 ###--------------------------------------------------------------------------
33 ### Services.
34
35 ## Handle dynamic connections.
36 services_SCRIPTS        += connect
37 CLEANFILES              += connect
38 EXTRA_DIST              += connect.in
39
40 man_MANS                += connect.8tripe
41 CLEANFILES              += connect.8tripe
42 EXTRA_DIST              += connect.8.in
43
44 connect: connect.in Makefile
45         $(SUBST) $(srcdir)/connect.in >$@.new $(SUBSTITUTIONS) && \
46                 chmod +x $@.new && mv $@.new $@
47
48 ## Watch D-Bus to keep track of external connectivity.
49 services_SCRIPTS        += conntrack
50 CLEANFILES              += conntrack
51 EXTRA_DIST              += conntrack.in
52
53 man_MANS                += conntrack.8tripe
54 CLEANFILES              += conntrack.8tripe
55 EXTRA_DIST              += conntrack.8.in
56
57 conntrack: conntrack.in Makefile
58         $(SUBST) $(srcdir)/conntrack.in >$@.new $(SUBSTITUTIONS) && \
59                 chmod +x $@.new && mv $@.new $@
60
61 ## Bring up an interface.
62 sbin_SCRIPTS             = tripe-ifup
63 CLEANFILES              += tripe-ifup
64 EXTRA_DIST              += tripe-ifup.in
65
66 man_MANS                += tripe-ifup.8tripe
67 CLEANFILES              += tripe-ifup.8tripe
68 EXTRA_DIST              += tripe-ifup.8.in
69
70 tripe-ifup: tripe-ifup.in Makefile
71         $(SUBST) $(srcdir)/tripe-ifup.in >$@.new $(SUBSTITUTIONS) && \
72                 chmod +x $@.new && mv $@.new $@
73
74 ###----- That's all, folks --------------------------------------------------