chiark / gitweb /
Build system overhaul to conform to new standards.
[tripe] / vars.am
1 ### -*-makefile-*-
2 ###
3 ### Definitions used throughout the build system
4 ###
5 ### (c) 2008 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 ###--------------------------------------------------------------------------
27 ### Initial values of common variables.
28
29 EXTRA_DIST               =
30
31 CLEANFILES               =
32 DISTCLEANFILES           =
33 MAINTAINERCLEANFILES     =
34
35 SUFFIXES                 =
36
37 ###--------------------------------------------------------------------------
38 ### Include path.
39
40 TRIPE_INCLUDES = \
41         -I$(top_builddir)/config.h \
42         -I$(top_srcdir)/common
43
44 CPPFLAGS += $(TRIPE_INCLUDES)
45
46 ###--------------------------------------------------------------------------
47 ### Miscellanous useful definitions.
48
49 ## Library of common code.
50 libtripe = $(top_builddir)/common/libtripe.a
51
52 ## Create a directory if it doesn't exist.
53 mkdir_p = $(top_srcdir)/config/install-sh -d
54
55 ## Substitute tags in files.
56 confsubst = $(top_srcdir)/config/confsubst
57
58 ###--------------------------------------------------------------------------
59 ### Standard configuration substitutions.
60
61 SUBSTITUTIONS = \
62                 prefix=$(prefix) exec_prefix=$(exec_prefix) \
63                 libdir=$(libdir) includedir=$(includedir) \
64                 bindir=$(bindir) sbindir=$(sbindir) \
65                 configdir=$(configdir) socketdir=$(socketdir) \
66                 initconfig=$(initconfig) \
67                 pidfile=$(pidfile) logfile=$(logfile) \
68                 PYTHON=$(PYTHON)
69
70 ###----- That's all, folks --------------------------------------------------