chiark / gitweb /
configure.ac: Abolish use of `libtool'.
[tripe] / contrib / Makefile.am
CommitLineData
a4f886c3
MW
1### -*-makefile-*-
2###
3### Makefile for TrIPE contrib stuff
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
a6d39603 28dist_noinst_DATA =
01c94fa1 29noinst_DATA =
5d60949f 30noinst_SCRIPTS =
a4f886c3
MW
31
32###--------------------------------------------------------------------------
33### Contributions.
34
35## Glue for `userv-ipif'.
01c94fa1
MW
36noinst_DATA += tripe-ipif ipif-peers
37EXTRA_DIST += tripe-ipif.in ipif-peers.in
38CLEANFILES += tripe-ipif ipif-peers
39
40tripe-ipif: tripe-ipif.in Makefile
41 $(SUBST) $(srcdir)/tripe-ipif.in >$@.new $(SUBSTITUTIONS) && \
42 mv $@.new $@
43
44ipif-peers: ipif-peers.in Makefile
45 $(SUBST) $(srcdir)/ipif-peers.in >$@.new $(SUBSTITUTIONS) && \
46 mv $@.new $@
a4f886c3 47
2e35470f
MW
48## Upstart fragment. This forks with Maemo's ancient upstart.
49noinst_DATA += tripe-upstart
50EXTRA_DIST += tripe-upstart.in
51CLEANFILES += tripe-upstart
52
53tripe-upstart: tripe-upstart.in Makefile
54 $(SUBST) $(srcdir)/tripe-upstart.in >$@.new $(SUBSTITUTIONS) && \
55 mv $@.new $@
56
f48ae55b
MW
57## Systemd units.
58noinst_DATA += tripe.service
59EXTRA_DIST += tripe.service.in
60CLEANFILES += tripe.service
61
62tripe.service: tripe.service.in Makefile
63 $(SUBST) $(srcdir)/tripe.service.in >$@.new $(SUBSTITUTIONS) && \
64 mv $@.new $@
65
66noinst_DATA += tripe-connect.service tripe-conntrack.service
67EXTRA_DIST += tripe-service.service.in
68CLEANFILES += tripe-connect.service tripe-conntrack.service
69
70tripe-connect.service: tripe-service.service.in Makefile
71 $(SUBST) $(srcdir)/tripe-service.service.in >$@.new \
72 $(SUBSTITUTIONS) service=connect \
73 descr="manage peer connections" && \
74 mv $@.new $@
75
76tripe-conntrack.service: tripe-service.service.in Makefile
77 $(SUBST) $(srcdir)/tripe-service.service.in >$@.new \
78 $(SUBSTITUTIONS) service=conntrack \
79 descr="track network connectivity" && \
80 mv $@.new $@
81
5d60949f
MW
82## `greet' utility for stimulating passive connections.
83if HAVE_PYTHON
84noinst_SCRIPTS += greet
85EXTRA_DIST += greet.in
86CLEANFILES += greet
87
88greet: greet.in Makefile
89 $(SUBST) $(srcdir)/greet.in >$@.new $(SUBSTITUTIONS) && \
90 chmod +x $@.new && mv $@.new $@
91endif
92
b147e573
MW
93## `knock' script for accepting incoming dynamic associations.
94noinst_SCRIPTS += knock
95EXTRA_DIST += knock.in
96CLEANFILES += knock
97
98knock: knock.in Makefile
99 $(SUBST) $(srcdir)/knock.in >$@.new $(SUBSTITUTIONS) && \
100 chmod +x $@.new && mv $@.new $@
101
a6d39603
MW
102## Configuration for `sshsvc-mkauthkeys'.
103dist_noinst_DATA += sshsvc.conf
104
a4f886c3 105###----- That's all, folks --------------------------------------------------