chiark / gitweb /
sys/t/fdpass-test.c: Add a simple test for file-descriptor passing.
[mLib] / vars.am
diff --git a/vars.am b/vars.am
index 33f54953f9f354a43484ca6e0d1a87589ad86406..9870cef014b52a44150196577f2e8331c43f833b 100644 (file)
--- a/vars.am
+++ b/vars.am
 ### MA 02111-1307, USA.
 
 ###--------------------------------------------------------------------------
-### Installation directories.
+### Miscellaneous useful definitions.
 
+## Installation directories.
 pkglibexecdir           = $(libexecdir)/$(PACKAGE)
 
 ###--------------------------------------------------------------------------
 ### Initial values for common variables.
 
+EXTRA_DIST              =
+CLEANFILES              =
+DISTCLEANFILES          =
+MAINTAINERCLEANFILES    =
+BUILT_SOURCES           =
+
 bin_PROGRAMS            =
 check_PROGRAMS          =
 pkginclude_HEADERS      =
-PRECOMPS                =
+
 PROGMANS                =
 LIBMANS                         =
-EXTRA_DIST              = $(PRECOMPS) $(LIBMANS) $(PROGMANS)
-CLEANFILES              =
-MAINTAINERCLEANFILES    = $(PRECOMPS)
+EXTRA_DIST             += $(PROGMANS) $(LIBMANS)
+
+###--------------------------------------------------------------------------
+### Machinery for precomputations.
+
+## Location of precomputed tables.
+precomp                         = $(top_srcdir)/precomp
+
+## Precomputed source code files.
+PRECOMPS                =
+EXTRA_DIST             += $(PRECOMPS)
+BUILT_SOURCES          += $(PRECOMPS)
+MAINTAINERCLEANFILES   += $(PRECOMPS)
 
 ###--------------------------------------------------------------------------
 ### Include path.
@@ -61,7 +78,7 @@ MLIB_INCLUDES          = \
 AM_CPPFLAGS             = $(MLIB_INCLUDES)
 
 ###--------------------------------------------------------------------------
-### Miscellaneous useful definitions.
+### Standard configuration substitutions.
 
 ## Substitute tags in files.
 confsubst               = $(top_srcdir)/config/confsubst
@@ -70,10 +87,13 @@ SUBSTITUTIONS = \
        prefix=$(prefix) exec_prefix=$(exec_prefix) \
        libdir=$(libdir) includedir=$(includedir) \
        bindir=$(bindir) sbindir=$(sbindir) \
-       PACKAGE=$(PACKAGE) VERSION=$(VERSION)
+       PACKAGE=$(PACKAGE) VERSION=$(VERSION) \
+       MLIB_LIBS="$(MLIB_LIBS)"
 
-## Location of precomputed tables.
-precomp                        = $(top_srcdir)/precomp
+V_SUBST                         = $(V_SUBST_@AM_V@)
+V_SUBST_                = $(V_SUBST_@AM_DEFAULT_V@)
+V_SUBST_0               = @echo "  SUBST    $@";
+SUBST                   = $(V_SUBST)$(confsubst)
 
 ###--------------------------------------------------------------------------
 ### Building utilities.