X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/d05aba32f195a46670e2ce53f735e01305bd960f..f5e84ec9d76d027f395687277fb734191fa41b7e:/vars.am diff --git a/vars.am b/vars.am index 41f57a49..b99cfcfe 100644 --- a/vars.am +++ b/vars.am @@ -72,23 +72,23 @@ CLEANFILES += $(PRECOMP_PROGS) ### Standard configuration substitutions. ## Substitute tags in files. -confsubst = $(top_srcdir)/config/confsubst +confsubst = $(top_srcdir)/config/confsubst SUBSTITUTIONS = \ - prefix=$(prefix) exec_prefix=$(exec_prefix) \ - libdir=$(libdir) includedir=$(includedir) \ - PACKAGE=$(PACKAGE) VERSION=$(VERSION) \ - CATACOMB_LIBS="$(CATACOMB_LIBS)" + prefix=$(prefix) exec_prefix=$(exec_prefix) \ + libdir=$(libdir) includedir=$(includedir) \ + PACKAGE=$(PACKAGE) VERSION=$(VERSION) \ + CATACOMB_LIBS="$(CATACOMB_LIBS)" -V_SUBST = $(V_SUBST_$(V)) -V_SUBST_ = $(V_SUBST_$(AM_DEFAULT_VERBOSITY)) -V_SUBST_0 = @echo " SUBST $@"; -SUBST = $(V_SUBST)$(confsubst) +V_SUBST = $(V_SUBST_@AM_V@) +V_SUBST_ = $(V_SUBST_@AM_DEFAULT_V@) +V_SUBST_0 = @echo " SUBST $@"; +SUBST = $(V_SUBST)$(confsubst) ###-------------------------------------------------------------------------- ### Include path. -CATACOMB_INCLUDES = \ +CATACOMB_INCLUDES = \ -I$(top_srcdir) \ -I$(precomp)/math \ -I$(precomp)/misc \ @@ -130,4 +130,12 @@ SUFFIXES += .c .t$(EXEEXT) .to .PRECIOUS: %.to %.t$(EXEEXT) CLEANFILES += *.to *.t$(EXEEXT) +###-------------------------------------------------------------------------- +### Experimental flymake hack. + +check-syntax: + $(COMPILE) -S -o/dev/null \ + -DTEST_RIG -DSRCDIR=\"$(SRCDIR)\" \ + $(CHK_SOURCES) + ###----- That's all, folks --------------------------------------------------