Basic building and packaging machinery, which does nothing useful.
[autoys] / vars.am
diff --git a/vars.am b/vars.am
new file mode 100644 (file)
index 0000000..74922e2
--- /dev/null
+++ b/vars.am
@@ -0,0 +1,57 @@
+### -*-makefile-*-
+###
+### Common definitions
+###
+### (c) 2016 Mark Wooding
+###
+
+###----- Licensing notice ---------------------------------------------------
+###
+### This file is part of the `autoys' audio tools collection.
+###
+### `autoys' 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.
+###
+### `autoys' 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 `autoys'; 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    =
+
+bin_PROGRAMS            =
+bin_SCRIPTS             =
+
+dist_man_MANS           =
+
+###--------------------------------------------------------------------------
+### Standard configuration substitutions.
+
+confsubst               = $(top_srcdir)/config/confsubst
+
+SUBSTITUTIONS = \
+               prefix=$(prefix) exec_prefix=$(exec_prefix) \
+               libdir=$(libdir) includedir=$(includedir) \
+               bindir=$(bindir) sbindir=$(sbindir) \
+               PACKAGE=$(PACKAGE) VERSION=$(VERSION) \
+               PYTHON=$(PYTHON) BASH=$(BASH)
+
+V_SUBST = $(V_SUBST_$(V))
+V_SUBST_ = $(V_SUBST_$(AM_DEFAULT_VERBOSITY))
+V_SUBST_0 = @echo "  SUBST  $@";
+SUBST = $(V_SUBST)$(confsubst)
+
+###----- That's all, folks --------------------------------------------------