### -*-makefile-*- ### ### Makefile for TrIPE contrib stuff ### ### (c) 2001 Straylight/Edgeware ### ###----- Licensing notice --------------------------------------------------- ### ### This file is part of Trivial IP Encryption (TrIPE). ### ### TrIPE is free software; you can redistribute it and/or modify ### it under the terms of the GNU General Public License as published by ### the Free Software Foundation; either version 2 of the License, or ### (at your option) any later version. ### ### TrIPE is distributed in the hope that it will be useful, ### but WITHOUT ANY WARRANTY; without even the implied warranty of ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ### GNU General Public License for more details. ### ### You should have received a copy of the GNU General Public License ### along with TrIPE; if not, write to the Free Software Foundation, ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. include $(top_srcdir)/vars.am noinst_DATA = noinst_SCRIPTS = ###-------------------------------------------------------------------------- ### Contributions. ## Glue for `userv-ipif'. noinst_DATA += tripe-ipif ipif-peers EXTRA_DIST += tripe-ipif.in ipif-peers.in CLEANFILES += tripe-ipif ipif-peers tripe-ipif: tripe-ipif.in Makefile $(SUBST) $(srcdir)/tripe-ipif.in >$@.new $(SUBSTITUTIONS) && \ mv $@.new $@ ipif-peers: ipif-peers.in Makefile $(SUBST) $(srcdir)/ipif-peers.in >$@.new $(SUBSTITUTIONS) && \ mv $@.new $@ ## Upstart fragment. This forks with Maemo's ancient upstart. noinst_DATA += tripe-upstart EXTRA_DIST += tripe-upstart.in CLEANFILES += tripe-upstart tripe-upstart: tripe-upstart.in Makefile $(SUBST) $(srcdir)/tripe-upstart.in >$@.new $(SUBSTITUTIONS) && \ mv $@.new $@ ## Systemd units. noinst_DATA += tripe.service EXTRA_DIST += tripe.service.in CLEANFILES += tripe.service tripe.service: tripe.service.in Makefile $(SUBST) $(srcdir)/tripe.service.in >$@.new $(SUBSTITUTIONS) && \ mv $@.new $@ noinst_DATA += tripe-connect.service tripe-conntrack.service EXTRA_DIST += tripe-service.service.in CLEANFILES += tripe-connect.service tripe-conntrack.service tripe-connect.service: tripe-service.service.in Makefile $(SUBST) $(srcdir)/tripe-service.service.in >$@.new \ $(SUBSTITUTIONS) service=connect \ descr="manage peer connections" && \ mv $@.new $@ tripe-conntrack.service: tripe-service.service.in Makefile $(SUBST) $(srcdir)/tripe-service.service.in >$@.new \ $(SUBSTITUTIONS) service=conntrack \ descr="track network connectivity" && \ mv $@.new $@ ## `greet' utility for stimulating passive connections. if HAVE_PYTHON noinst_SCRIPTS += greet EXTRA_DIST += greet.in CLEANFILES += greet greet: greet.in Makefile $(SUBST) $(srcdir)/greet.in >$@.new $(SUBSTITUTIONS) && \ chmod +x $@.new && mv $@.new $@ endif ## `knock' script for accepting incoming dynamic associations. noinst_SCRIPTS += knock EXTRA_DIST += knock.in CLEANFILES += knock knock: knock.in Makefile $(SUBST) $(srcdir)/knock.in >$@.new $(SUBSTITUTIONS) && \ chmod +x $@.new && mv $@.new $@ ###----- That's all, folks --------------------------------------------------