AUTOM4TE = $(SHELL) $(top_srcdir)/build-aux/missing --run autom4te EXTRA_DIST = \ testsuite.at \ $(TESTSUITE) \ atlocal.in \ molecuilder.in \ $(srcdir)/package.m4 \ $(srcdir)/1_2-dimethoxyethane \ $(srcdir)/1_2-dimethylbenzene \ $(srcdir)/2-methylcyclohexanone \ $(srcdir)/benzene \ $(srcdir)/cholesterol \ $(srcdir)/cycloheptane \ $(srcdir)/dimethyl_bromomalonate \ $(srcdir)/glucose \ $(srcdir)/heptan \ $(srcdir)/isoleucine \ $(srcdir)/neohexane \ $(srcdir)/N_N-dimethylacetamide \ $(srcdir)/proline \ $(srcdir)/putrescine \ $(srcdir)/tartaric_acid TESTSUITE = $(srcdir)/testsuite DISTCLEANFILES = atconfig TESTSCRIPTS = \ benzene/testsuite-benzene.at \ 1_2-dimethoxyethane/testsuite-1_2-dimethoxyethane.at \ 1_2-dimethylbenzene/testsuite-1_2-dimethylbenzene.at \ 2-methylcyclohexanone/testsuite-2-methylcyclohexanone.at \ cholesterol/testsuite-cholesterol.at \ cycloheptane/testsuite-cycloheptane.at \ dimethyl_bromomalonate/testsuite-dimethyl_bromomalonate.at \ glucose/testsuite-glucose.at \ isoleucine/testsuite-isoleucine.at \ neohexane/testsuite-neohexane.at \ N_N-dimethylacetamide/testsuite-N_N-dimethylacetamide.at \ proline/testsuite-proline.at \ putrescine/testsuite-putrescine.at \ tartaric_acid/testsuite-tartaric_acid.at max_jobs = 4 check-local: atconfig atlocal $(TESTSUITE) nrjobs=; \ for flag in $$MAKEFLAGS; do \ case $$flag in \ --* | =*=) ;; \ *j*) nrjobs="-j$(max_jobs)" ;; \ esac; \ done; \ $(SHELL) '$(TESTSUITE)' $$nrjobs AUTOTEST_PATH='$(abs_top_builddir)/src' $(TESTSUITEFLAGS) installcheck-local: atconfig atlocal $(TESTSUITE) $(SHELL) '$(TESTSUITE)' AUTOTEST_PATH='$(bindir)' \ $(TESTSUITEFLAGS) clean-local: test ! -f '$(TESTSUITE)' || \ $(SHELL) '$(TESTSUITE)' --clean AUTOTEST = $(AUTOM4TE) --language=autotest $(TESTSUITE): $(srcdir)/testsuite.at package.m4 $(TESTSCRIPTS) $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at mv $@.tmp $@ # The `:;' works around a Bash 3.2 bug when the output is not writeable. package.m4: $(top_srcdir)/configure.ac :;{ \ echo '# Signature of the current package.' && \ echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])' && \ echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])' && \ echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])' && \ echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])' && \ echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \ } >'$(srcdir)/package.m4'