X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/551b61d2a837bae31c439b2d1abdc3189ad1252e..76252467a9696b3d649083e7a8325fd1e14e3d87:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 83b6c6a..da056d7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,10 +1,9 @@ -# Copyright © 2011-2012 Nick Bowler +# Copyright © 2011-2013,2019-2020 Nick Bowler # # License WTFPL2: Do What The Fuck You Want To Public License, version 2. # This is free software: you are free to do what the fuck you want to. # There is NO WARRANTY, to the extent permitted by law. -AUTOMAKE_OPTIONS = parallel-tests color-tests ACLOCAL_AMFLAGS = -I m4 -I common/m4 # For Gnulib @@ -22,6 +21,8 @@ AM_CFLAGS = $(GSL_CFLAGS) MAINTAINERCLEANFILES = src/scan.c src/scan.h src/scan.stamp \ src/parse.c src/parse.h src/parse.stamp +DISTCLEANFILES = + CLEANFILES = src/validtypes.h src/errtab.h src/namespecs.h src/ordspecs.h \ test/typegen.h @@ -70,15 +71,6 @@ $(test_crossparse_OBJECTS): $(gnulib_headers) test_randomdecl_LDADD = libcdecl.la libtest.la libgnu.la $(test_randomdecl_OBJECTS): $(gnulib_headers) -TESTS_ENVIRONMENT = SHELL='$(SHELL)' LIBTOOL='$(LIBTOOL)' EXEEXT='$(EXEEXT)' -TEST_EXTENSIONS = .sh -SH_LOG_COMPILER = $(SHELL) - -TESTS = tests/libcdecl-static-symbols.sh tests/randomdecl-sanity.sh \ - tests/crossparse-c-random.sh tests/cdecl99-c-invalid.sh - -dist_check_SCRIPTS = tests/randomdecl-sanity.sed $(TESTS) - src/parse.lo: src/scan.h src/scan.lo: src/parse.h src/parse-decl.lo: src/scan.h src/parse.h @@ -202,5 +194,16 @@ FLEX_V_0 = @printf ' %$(DX_ALIGN_V)s %s\n' 'FLEX ' $<; $(MAKE) $(AM_MAKEFLAGS) $<; \ fi +atlocal: config.status + $(AM_V_GEN) :; { \ + printf ': "$${%s=%s}"\n' \ + EXEEXT '$(EXEEXT)' \ + check_PROGRAMS '$(check_PROGRAMS)' \ + ; } >$@.tmp + $(AM_V_at) mv -f $@.tmp $@ +check_DATA = atlocal +CLEANFILES += atlocal + include $(top_srcdir)/lib/gnulib.mk include $(top_srcdir)/common/snippet/glconfig.mk +include $(top_srcdir)/common/snippet/autotest.mk