X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/85b1ebd6e0a50314cd28a602a69c6cde0efcecb1..6b6ad6702f305891ced3b9a7cf3061c75eabda86:/vars.am diff --git a/vars.am b/vars.am new file mode 100644 index 00000000..4c2b8158 --- /dev/null +++ b/vars.am @@ -0,0 +1,70 @@ +### -*-makefile-*- +### +### Definitions used throughout the build system +### +### (c) 2008 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. + +###-------------------------------------------------------------------------- +### Initial values of common variables. + +EXTRA_DIST = + +CLEANFILES = +DISTCLEANFILES = +MAINTAINERCLEANFILES = + +SUFFIXES = + +###-------------------------------------------------------------------------- +### Include path. + +TRIPE_INCLUDES = \ + -I$(top_builddir)/config.h \ + -I$(top_srcdir)/common + +CPPFLAGS += $(TRIPE_INCLUDES) + +###-------------------------------------------------------------------------- +### Miscellanous useful definitions. + +## Library of common code. +libtripe = $(top_builddir)/common/libtripe.a + +## Create a directory if it doesn't exist. +mkdir_p = $(top_srcdir)/config/install-sh -d + +## Substitute tags in files. +confsubst = $(top_srcdir)/config/confsubst + +###-------------------------------------------------------------------------- +### Standard configuration substitutions. + +SUBSTITUTIONS = \ + prefix=$(prefix) exec_prefix=$(exec_prefix) \ + libdir=$(libdir) includedir=$(includedir) \ + bindir=$(bindir) sbindir=$(sbindir) \ + configdir=$(configdir) socketdir=$(socketdir) \ + initconfig=$(initconfig) \ + pidfile=$(pidfile) logfile=$(logfile) \ + PYTHON=$(PYTHON) + +###----- That's all, folks --------------------------------------------------