### -*-makefile-*- ### ### Makefile for TrIPE services ### ### (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 servicesdir = ${pkglibdir}/services services_SCRIPTS = man_MANS = ###-------------------------------------------------------------------------- ### Services. ## Services manual page. man_MANS += tripe-service.7 CLEANFILES += tripe-service.7 EXTRA_DIST += tripe-service.7.in ## Handle dynamic connections. services_SCRIPTS += connect CLEANFILES += connect EXTRA_DIST += connect.in man_MANS += connect.8 CLEANFILES += connect.8 EXTRA_DIST += connect.8.in connect: connect.in Makefile $(SUBST) $(srcdir)/connect.in >$@.new $(SUBSTITUTIONS) && \ chmod +x $@.new && mv $@.new $@ ## Watch for peers arriving and disconnecting. services_SCRIPTS += watch CLEANFILES += watch EXTRA_DIST += watch.in man_MANS += watch.8 CLEANFILES += watch.8 EXTRA_DIST += watch.8.in watch: watch.in Makefile $(SUBST) $(srcdir)/watch.in >$@.new $(SUBSTITUTIONS) && \ chmod +x $@.new && mv $@.new $@ ## Watch D-Bus to keep track of external connectivity. services_SCRIPTS += conntrack CLEANFILES += conntrack EXTRA_DIST += conntrack.in man_MANS += conntrack.8 CLEANFILES += conntrack.8 EXTRA_DIST += conntrack.8.in conntrack: conntrack.in Makefile $(SUBST) $(srcdir)/conntrack.in >$@.new $(SUBSTITUTIONS) && \ chmod +x $@.new && mv $@.new $@ ## Bring up an interface. sbin_SCRIPTS = tripe-ifup CLEANFILES += tripe-ifup EXTRA_DIST += tripe-ifup.in man_MANS += tripe-ifup.8 CLEANFILES += tripe-ifup.8 EXTRA_DIST += tripe-ifup.8.in tripe-ifup: tripe-ifup.in Makefile $(SUBST) $(srcdir)/tripe-ifup.in >$@.new $(SUBSTITUTIONS) && \ chmod +x $@.new && mv $@.new $@ ###----- That's all, folks --------------------------------------------------