AUTOM4TE = $(SHELL) $(top_srcdir)/build-aux/missing --run autom4te TESTSUITE = $(srcdir)/testsuite EXTRA_DIST = \ testsuite.at \ $(TESTSUITE) \ atlocal.in \ molecuilder.in \ package.m4 \ trianglematcher.in \ $(srcdir)/Convex/1_2-dimethoxyethane \ $(srcdir)/Convex/1_2-dimethylbenzene \ $(srcdir)/Convex/2-methylcyclohexanone \ $(srcdir)/Convex/amylose \ $(srcdir)/Convex/benzene \ $(srcdir)/Convex/cholesterol \ $(srcdir)/Convex/cycloheptane \ $(srcdir)/Convex/dimethyl_bromomalonate \ $(srcdir)/Convex/glucose \ $(srcdir)/Convex/heptan \ $(srcdir)/Convex/isoleucine \ $(srcdir)/Convex/neohexane \ $(srcdir)/Convex/N_N-dimethylacetamide \ $(srcdir)/Convex/proline \ $(srcdir)/Convex/putrescine \ $(srcdir)/Convex/tartaric_acid \ $(srcdir)/NonConvex/1_2-dimethoxyethane \ $(srcdir)/NonConvex/1_2-dimethylbenzene \ $(srcdir)/NonConvex/2-methylcyclohexanone \ $(srcdir)/NonConvex/benzene \ $(srcdir)/NonConvex/cholesterol \ $(srcdir)/NonConvex/cycloheptane \ $(srcdir)/NonConvex/dimethyl_bromomalonate \ $(srcdir)/NonConvex/glucose \ $(srcdir)/NonConvex/heptan \ $(srcdir)/NonConvex/isoleucine \ $(srcdir)/NonConvex/neohexane \ $(srcdir)/NonConvex/N_N-dimethylacetamide \ $(srcdir)/NonConvex/proline \ $(srcdir)/NonConvex/putrescine \ $(srcdir)/NonConvex/tartaric_acid DISTCLEANFILES = atconfig TESTSCRIPTS = \ Convex/1_2-dimethoxyethane/testsuite-1_2-dimethoxyethane.at \ Convex/1_2-dimethylbenzene/testsuite-1_2-dimethylbenzene.at \ Convex/2-methylcyclohexanone/testsuite-2-methylcyclohexanone.at \ Convex/benzene/testsuite-benzene.at \ Convex/amylose/testsuite-amylose.at \ Convex/cholesterol/testsuite-cholesterol.at \ Convex/cycloheptane/testsuite-cycloheptane.at \ Convex/dimethyl_bromomalonate/testsuite-dimethyl_bromomalonate.at \ Convex/glucose/testsuite-glucose.at \ Convex/isoleucine/testsuite-isoleucine.at \ Convex/neohexane/testsuite-neohexane.at \ Convex/N_N-dimethylacetamide/testsuite-N_N-dimethylacetamide.at \ Convex/proline/testsuite-proline.at \ Convex/putrescine/testsuite-putrescine.at \ Convex/tartaric_acid/testsuite-tartaric_acid.at \ NonConvex/1_2-dimethoxyethane/testsuite-1_2-dimethoxyethane.at \ NonConvex/1_2-dimethylbenzene/testsuite-1_2-dimethylbenzene.at \ NonConvex/2-methylcyclohexanone/testsuite-2-methylcyclohexanone.at \ NonConvex/benzene/testsuite-benzene.at \ NonConvex/cholesterol/testsuite-cholesterol.at \ NonConvex/cycloheptane/testsuite-cycloheptane.at \ NonConvex/dimethyl_bromomalonate/testsuite-dimethyl_bromomalonate.at \ NonConvex/glucose/testsuite-glucose.at \ NonConvex/isoleucine/testsuite-isoleucine.at \ NonConvex/neohexane/testsuite-neohexane.at \ NonConvex/N_N-dimethylacetamide/testsuite-N_N-dimethylacetamide.at \ NonConvex/proline/testsuite-proline.at \ NonConvex/putrescine/testsuite-putrescine.at \ NonConvex/tartaric_acid/testsuite-tartaric_acid.at max_jobs = 8 check-local: atconfig atlocal molecuilder trianglematcher $(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 molecuilder trianglematcher $(TESTSUITE) nrjobs=; \ for flag in $$MAKEFLAGS; do \ case $$flag in \ --* | =*=) ;; \ *j*) nrjobs="-j$(max_jobs)" ;; \ esac; \ done; \ $(SHELL) '$(TESTSUITE)' $$nrjobs 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@])'; \ } >'package.m4'