AUTOM4TE = autom4te TESTSUITE = $(srcdir)/testsuite TESTSCRIPTS = \ testsuite-calculations-1_2-dimethoxyethane.at \ testsuite-calculations-1_2-dimethylbenzene.at \ testsuite-calculations-2-methylcyclohexanone.at \ testsuite-calculations-anthracene.at \ testsuite-calculations-benzene.at \ testsuite-calculations-cholesterol.at \ testsuite-calculations-coronene.at \ testsuite-calculations-cycloheptane.at \ testsuite-calculations-dimethyl_bromomalonate.at \ testsuite-calculations-glucose.at \ testsuite-calculations-heptan.at \ testsuite-calculations-isoleucine.at \ testsuite-calculations-mpqc.at \ testsuite-calculations-naphthalene.at \ testsuite-calculations-neohexane.at \ testsuite-calculations-N_N-dimethylacetamide.at \ testsuite-calculations-phenanthrene.at \ testsuite-calculations-proline.at \ testsuite-calculations-putrescine.at \ testsuite-calculations-tartaric_acid.at DISTCLEANFILES = atconfig EXTRA_DIST = \ atlocal.in \ package.m4 \ testsuite.at \ $(TESTSUITE) \ $(TESTSCRIPTS) max_jobs = 4 if CONDJOBMARKET extracheck: installextracheck: else extracheck: atlocal package.m4 $(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) installextracheck: atconfig atlocal $(TESTSUITE) nrjobs=; \ for flag in $$MAKEFLAGS; do \ case $$flag in \ --* | =*=) ;; \ *j*) nrjobs="-j$(max_jobs)" ;; \ esac; \ done; \ $(SHELL) '$(TESTSUITE)' $$nrjobs AUTOTEST_PATH='$(bindir)' $(TESTSUITEFLAGS) endif 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@])'; \ } >'package.m4'