chiark / gitweb /
server/tripe.h: Don't say `struct bulkcrypto' where we don't have to.
[tripe] / contrib / Makefile.am
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
26 include $(top_srcdir)/vars.am
27
28 dist_noinst_DATA         =
29 noinst_DATA              =
30 noinst_SCRIPTS           =
31
32 ###--------------------------------------------------------------------------
33 ### Contributions.
34
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
39
40 tripe-ipif: tripe-ipif.in Makefile
41         $(SUBST) $(srcdir)/tripe-ipif.in >$@.new $(SUBSTITUTIONS) && \
42                 mv $@.new $@
43
44 ipif-peers: ipif-peers.in Makefile
45         $(SUBST) $(srcdir)/ipif-peers.in >$@.new $(SUBSTITUTIONS) && \
46                 mv $@.new $@
47
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
52
53 tripe-upstart: tripe-upstart.in Makefile
54         $(SUBST) $(srcdir)/tripe-upstart.in >$@.new $(SUBSTITUTIONS) && \
55                 mv $@.new $@
56
57 ## Systemd units.
58 noinst_DATA             += tripe.service
59 EXTRA_DIST              += tripe.service.in
60 CLEANFILES              += tripe.service
61
62 tripe.service: tripe.service.in Makefile
63         $(SUBST) $(srcdir)/tripe.service.in >$@.new $(SUBSTITUTIONS) && \
64                 mv $@.new $@
65
66 noinst_DATA             += tripe-connect.service tripe-conntrack.service
67 EXTRA_DIST              += tripe-service.service.in
68 CLEANFILES              += tripe-connect.service tripe-conntrack.service
69
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" && \
74                 mv $@.new $@
75
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" && \
80                 mv $@.new $@
81
82 ## `greet' utility for stimulating passive connections.
83 if HAVE_PYTHON
84 noinst_SCRIPTS          += greet
85 EXTRA_DIST              += greet.in
86 CLEANFILES              += greet
87
88 greet: greet.in Makefile
89         $(SUBST) $(srcdir)/greet.in >$@.new $(SUBSTITUTIONS) && \
90                 chmod +x $@.new && mv $@.new $@
91 endif
92
93 ## `knock' script for accepting incoming dynamic associations.
94 noinst_SCRIPTS          += knock
95 EXTRA_DIST              += knock.in
96 CLEANFILES              += knock
97
98 knock: knock.in Makefile
99         $(SUBST) $(srcdir)/knock.in >$@.new $(SUBSTITUTIONS) && \
100                 chmod +x $@.new && mv $@.new $@
101
102 ## Configuration for `sshsvc-mkauthkeys'.
103 dist_noinst_DATA        += sshsvc.conf
104
105 ###----- That's all, folks --------------------------------------------------