X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/blobdiff_plain/85b1ebd6e0a50314cd28a602a69c6cde0efcecb1..6b6ad6702f305891ced3b9a7cf3061c75eabda86:/Makefile.am diff --git a/Makefile.am b/Makefile.am index b765226f..53085abd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,36 +1,115 @@ -## -*-makefile-*- -## -## Makefile for TrIPE -## -## (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. - -AUTOMAKE_OPTIONS = foreign -SUBDIRS = common client server proxy pkstream init doc @DIRS@ - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = tripe.pc - -EXTRA_DIST = \ - debian/rules debian/control debian/changelog debian/copyright \ - debian/tripe.postinst debian/tripe.prerm debian/tripe.postrm - -##----- That's all, folks --------------------------------------------------- +### -*-makefile-*- +### +### Makefile for TrIPE +### +### (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 + +SUBDIRS = + +###-------------------------------------------------------------------------- +### Subdirectories. + +## Core components. +SUBDIRS += common +SUBDIRS += client +SUBDIRS += server +SUBDIRS += proxy +SUBDIRS += pkstream +SUBDIRS += init + +## Wireshark. +if HAVE_WIRESHARK +SUBDIRS += wireshark +endif + +## Key-management. +if HAVE_PYCATACOMB +SUBDIRS += keys +endif + +## Graphical monitor. +if HAVE_PYGTK +SUBDIRS += mon +endif + +###-------------------------------------------------------------------------- +### The pkg-config file. + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = tripe.pc +EXTRA_DIST += tripe.pc.in +CLEANFILES += tripe.pc + +tripe.pc: tripe.pc.in Makefile + $(confsubst) $(srcdir)/tripe.pc.in >$@.new $(SUBSTITUTIONS) && \ + mv $@.new $@ + +###-------------------------------------------------------------------------- +### Release tweaking. + +## Distcheck tweaks. +DISTCHECK_TUNNELS = linux bsd unet slip + +DISTCHECK_CONFIGURE_FLAGS = \ + --with-tunnel='$(DISTCHECK_TUNNELS)' \ + --with-wireshark='$${libdir}/wireshark/plugins' + +## Release number. +dist-hook:: + echo $(VERSION) >$(distdir)/RELEASE + +## Additional build tools. +EXTRA_DIST += config/confsubst + +###-------------------------------------------------------------------------- +### Debian. + +## General stuff. +EXTRA_DIST += debian/rules +EXTRA_DIST += debian/control +EXTRA_DIST += debian/changelog +EXTRA_DIST += debian/copyright + +## pkstream +EXTRA_DIST += debian/pkstream.copyright +EXTRA_DIST += debian/pkstream.install + +## server and client +EXTRA_DIST += debian/tripe.README +EXTRA_DIST += debian/tripe.dirs +EXTRA_DIST += debian/tripe.install +EXTRA_DIST += debian/tripe.postinst +EXTRA_DIST += debian/tripe.logrotate + +## keys +EXTRA_DIST += debian/tripe-keys.install + +## monitor +EXTRA_DIST += debian/tripemon.install + +## wireshark +EXTRA_DIST += debian/tripe-wireshark.install + + +###----- That's all, folks --------------------------------------------------