chiark / gitweb /
struct/t/: Use better format for printing `size_t values.
[mLib] / vars.am
diff --git a/vars.am b/vars.am
index c6f78842b320fae584d01204046ce5d6153002f6..33f54953f9f354a43484ca6e0d1a87589ad86406 100644 (file)
--- a/vars.am
+++ b/vars.am
@@ -35,16 +35,17 @@ pkglibexecdir                = $(libexecdir)/$(PACKAGE)
 bin_PROGRAMS            =
 check_PROGRAMS          =
 pkginclude_HEADERS      =
+PRECOMPS                =
 PROGMANS                =
 LIBMANS                         =
-EXTRA_DIST              = $(LIBMANS) $(PROGMANS)
+EXTRA_DIST              = $(PRECOMPS) $(LIBMANS) $(PROGMANS)
 CLEANFILES              =
-MAINTAINERCLEANFILES    = 
+MAINTAINERCLEANFILES    = $(PRECOMPS)
 
 ###--------------------------------------------------------------------------
 ### Include path.
 
-MLIB_INCLUDES = \
+MLIB_INCLUDES           = \
        -I$(top_srcdir)/buf \
        -I$(top_srcdir)/codec \
        -I$(top_srcdir)/hash \
@@ -57,7 +58,7 @@ MLIB_INCLUDES = \
        -I$(top_srcdir)/ui \
        -I$(top_srcdir)/utils
 
-CPPFLAGS += $(MLIB_INCLUDES)
+AM_CPPFLAGS             = $(MLIB_INCLUDES)
 
 ###--------------------------------------------------------------------------
 ### Miscellaneous useful definitions.
@@ -71,6 +72,9 @@ SUBSTITUTIONS = \
        bindir=$(bindir) sbindir=$(sbindir) \
        PACKAGE=$(PACKAGE) VERSION=$(VERSION)
 
+## Location of precomputed tables.
+precomp                        = $(top_srcdir)/precomp
+
 ###--------------------------------------------------------------------------
 ### Building utilities.
 
@@ -79,13 +83,6 @@ UTIL_LIBS = \
        $(top_builddir)/ui/libui.la \
        $(top_builddir)/utils/libutils.la
 
-## Making sure they're built properly.  Without this, `make dist' on a bare
-## source tree fails hopelessly.
-build_util_libs = \
-       for i in ui utils; do \
-         (cd $(top_builddir)/$$i && $(MAKE) lib$$i.la) || exit 1; \
-       done
-
 ###--------------------------------------------------------------------------
 ### Testing.
 
@@ -95,6 +92,9 @@ LDADD                  = $(top_builddir)/libmLib.la
 check: tests
 .PHONY: check tests
 
+tests::;
+.PHONY: tests
+
 ###--------------------------------------------------------------------------
 ### Manual.