X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/18c831dcd0ae4d660c70ccac69d27ed2a97851be..537952908990c74f913a68535487b3bd7dd25a03:/vars.am diff --git a/vars.am b/vars.am index c6f7884..33f5495 100644 --- 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.