AUTOM4TE = autom4te EXTRA_DIST = \ testsuite*.at \ $(TESTSUITE) \ atlocal.in \ molecuider.in \ Analysis \ Domain \ Filling \ Fragmentation \ Graph \ Molecules \ RandomNumbers \ Selection \ Simple_configuration \ Tesselation TESTSUITE = $(srcdir)/testsuite TESTSCRIPTS = \ $(srcdir)/Analysis/testsuite-analysis.at \ $(srcdir)/Analysis/testsuite-analysis-pair-correlation.at \ $(srcdir)/Analysis/testsuite-analysis-point-correlation.at \ $(srcdir)/Analysis/testsuite-analysis-surface-correlation.at \ $(srcdir)/Analysis/PrincipalAxisSystem/testsuite-analysis-principal-axis-system.at \ $(srcdir)/Analysis/testsuite-analysis-angular-dipole-correlation-empty.at \ $(srcdir)/Analysis/testsuite-analysis-angular-dipole-correlation-discrete-angles.at \ $(srcdir)/Analysis/testsuite-analysis-angular-dipole-correlation-random-distribution.at \ $(srcdir)/testsuite-domain.at \ $(srcdir)/Filling/testsuite-filling.at \ $(srcdir)/Filling/testsuite-fill-with-molecule.at \ $(srcdir)/Filling/testsuite-suspend-in-water.at \ $(srcdir)/Filling/testsuite-fill-void-with-molecule.at \ $(srcdir)/Fragmentation/testsuite-fragmentation.at \ $(srcdir)/Fragmentation/testsuite-fragmentation-config-check.at \ $(srcdir)/Fragmentation/testsuite-fragmentation-2nd-order.at \ $(srcdir)/Fragmentation/testsuite-fragmentation-maxorder.at \ $(srcdir)/testsuite-graph.at \ $(srcdir)/testsuite-molecules.at \ $(srcdir)/testsuite-simple_configuration.at \ $(srcdir)/RandomNumbers/testsuite-randomnumbers.at \ $(srcdir)/RandomNumbers/Distribution/testsuite-set-random-number-distribution.at \ $(srcdir)/RandomNumbers/Engine/testsuite-set-random-number-engine.at \ $(srcdir)/Selection/testsuite-selection.at \ $(srcdir)/Selection/Atoms/testsuite-selection-all-atoms.at \ $(srcdir)/Selection/Atoms/testsuite-selection-atoms-by-element.at \ $(srcdir)/Selection/Atoms/testsuite-selection-atom-by-id.at \ $(srcdir)/Selection/Atoms/testsuite-selection-atoms-inside-cuboid.at \ $(srcdir)/Selection/Atoms/testsuite-selection-atoms-inside-sphere.at \ $(srcdir)/Selection/Atoms/testsuite-selection-atoms-of-molecule.at \ $(srcdir)/Selection/Atoms/testsuite-selection-clear-atoms.at \ $(srcdir)/Selection/Molecules/testsuite-selection-all-molecules.at \ $(srcdir)/Selection/Molecules/testsuite-selection-clear-molecules.at \ $(srcdir)/Selection/Molecules/testsuite-selection-molecules-by-formula.at \ $(srcdir)/Selection/Molecules/testsuite-selection-molecule-by-id.at \ $(srcdir)/Selection/Molecules/testsuite-selection-molecules-by-name.at \ $(srcdir)/Selection/Molecules/testsuite-selection-molecules-of-atoms.at \ $(srcdir)/testsuite-specifics.at \ $(srcdir)/testsuite-standard_options.at \ $(srcdir)/testsuite-tesselation.at max_jobs = 4 check-local: atconfig atlocal package.m4 $(TESTSUITE) nrjobs=; \ for flag in $$MAKEFLAGS; do \ case $$flag in \ --* | =*=) ;; \ *j*) nrjobs="-j$(max_jobs)" ;; \ esac; \ done; \ $(SHELL) '$(TESTSUITE)' $$nrjobs $(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 $(TESTSCRIPTS) $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at mv $@.tmp $@ # The `:;' works around a Bash 3.2 bug when the output is not writeable. $(srcdir)/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'