3 ### Makefile for TrIPE services
5 ### (c) 2001 Straylight/Edgeware
8 ###----- Licensing notice ---------------------------------------------------
10 ### This file is part of Trivial IP Encryption (TrIPE).
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.
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
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/>.
25 include $(top_srcdir)/vars.am
27 servicesdir = ${pkglibdir}/services
32 ###--------------------------------------------------------------------------
35 ## Handle dynamic connections.
36 services_SCRIPTS += connect
38 EXTRA_DIST += connect.in
40 man_MANS += connect.8tripe
41 CLEANFILES += connect.8tripe
42 EXTRA_DIST += connect.8.in
44 connect: connect.in Makefile
45 $(SUBST) $(srcdir)/connect.in >$@.new $(SUBSTITUTIONS) && \
46 chmod +x $@.new && mv $@.new $@
48 ## Watch D-Bus to keep track of external connectivity.
49 services_SCRIPTS += conntrack
50 CLEANFILES += conntrack
51 EXTRA_DIST += conntrack.in
53 man_MANS += conntrack.8tripe
54 CLEANFILES += conntrack.8tripe
55 EXTRA_DIST += conntrack.8.in
57 conntrack: conntrack.in Makefile
58 $(SUBST) $(srcdir)/conntrack.in >$@.new $(SUBSTITUTIONS) && \
59 chmod +x $@.new && mv $@.new $@
61 ## Bring up an interface.
62 sbin_SCRIPTS = tripe-ifup
63 CLEANFILES += tripe-ifup
64 EXTRA_DIST += tripe-ifup.in
66 man_MANS += tripe-ifup.8tripe
67 CLEANFILES += tripe-ifup.8tripe
68 EXTRA_DIST += tripe-ifup.8.in
70 tripe-ifup: tripe-ifup.in Makefile
71 $(SUBST) $(srcdir)/tripe-ifup.in >$@.new $(SUBSTITUTIONS) && \
72 chmod +x $@.new && mv $@.new $@
74 ###----- That's all, folks --------------------------------------------------