3 ### Makefile for TrIPE contrib stuff
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
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.
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.
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.
26 include $(top_srcdir)/vars.am
32 ###--------------------------------------------------------------------------
35 ## Glue for `userv-ipif'.
36 noinst_DATA += tripe-ipif ipif-peers
37 EXTRA_DIST += tripe-ipif.in ipif-peers.in
38 CLEANFILES += tripe-ipif ipif-peers
40 tripe-ipif: tripe-ipif.in Makefile
41 $(SUBST) $(srcdir)/tripe-ipif.in >$@.new $(SUBSTITUTIONS) && \
44 ipif-peers: ipif-peers.in Makefile
45 $(SUBST) $(srcdir)/ipif-peers.in >$@.new $(SUBSTITUTIONS) && \
48 ## Upstart fragment. This forks with Maemo's ancient upstart.
49 noinst_DATA += tripe-upstart
50 EXTRA_DIST += tripe-upstart.in
51 CLEANFILES += tripe-upstart
53 tripe-upstart: tripe-upstart.in Makefile
54 $(SUBST) $(srcdir)/tripe-upstart.in >$@.new $(SUBSTITUTIONS) && \
58 noinst_DATA += tripe.service
59 EXTRA_DIST += tripe.service.in
60 CLEANFILES += tripe.service
62 tripe.service: tripe.service.in Makefile
63 $(SUBST) $(srcdir)/tripe.service.in >$@.new $(SUBSTITUTIONS) && \
66 noinst_DATA += tripe-connect.service tripe-conntrack.service
67 EXTRA_DIST += tripe-service.service.in
68 CLEANFILES += tripe-connect.service tripe-conntrack.service
70 tripe-connect.service: tripe-service.service.in Makefile
71 $(SUBST) $(srcdir)/tripe-service.service.in >$@.new \
72 $(SUBSTITUTIONS) service=connect \
73 descr="manage peer connections" && \
76 tripe-conntrack.service: tripe-service.service.in Makefile
77 $(SUBST) $(srcdir)/tripe-service.service.in >$@.new \
78 $(SUBSTITUTIONS) service=conntrack \
79 descr="track network connectivity" && \
82 ## `greet' utility for stimulating passive connections.
84 noinst_SCRIPTS += greet
85 EXTRA_DIST += greet.in
88 greet: greet.in Makefile
89 $(SUBST) $(srcdir)/greet.in >$@.new $(SUBSTITUTIONS) && \
90 chmod +x $@.new && mv $@.new $@
93 ## `knock' script for accepting incoming dynamic associations.
94 noinst_SCRIPTS += knock
95 EXTRA_DIST += knock.in
98 knock: knock.in Makefile
99 $(SUBST) $(srcdir)/knock.in >$@.new $(SUBSTITUTIONS) && \
100 chmod +x $@.new && mv $@.new $@
102 ## Configuration for `sshsvc-mkauthkeys'.
103 dist_noinst_DATA += sshsvc.conf
105 ###----- That's all, folks --------------------------------------------------