AUTOM4TE = $(SHELL) $(top_srcdir)/build-aux/missing --run autom4te EXTRA_DIST = \ testsuite.at \ $(TESTSUITE) \ atlocal.in \ molecuilder.in \ $(srcdir)/package.m4 \ Analysis \ Atoms \ Domain \ Filling \ Fragmentation \ Graph \ Molecules \ Options \ Parser \ Python \ RandomNumbers \ Selection \ Tesselation TESTSUITE = $(srcdir)/testsuite DISTCLEANFILES = atconfig TESTSCRIPTS = \ $(srcdir)/Atoms/testsuite-atoms.at \ $(srcdir)/Atoms/Add/testsuite-atoms-add.at \ $(srcdir)/Atoms/ChangeElement/testsuite-atoms-change-element.at \ $(srcdir)/Atoms/Remove/testsuite-atoms-remove.at \ $(srcdir)/Atoms/RemoveSphere/testsuite-atoms-remove-sphere.at \ $(srcdir)/Atoms/RemoveCuboid/testsuite-atoms-remove-cuboid.at \ $(srcdir)/Atoms/SaveSelectedAtoms/testsuite-atoms-save-selected-atoms.at \ $(srcdir)/Atoms/Translation/testsuite-atoms-translation.at \ $(srcdir)/Analysis/testsuite-analysis.at \ $(srcdir)/Analysis/CalculateBoundingBox/testsuite-analysis-calculate-bounding-box.at \ $(srcdir)/Analysis/CalculateCellVolume/testsuite-analysis-calculate-cell-volume.at \ $(srcdir)/Analysis/CalculateMolarMass/testsuite-analysis-calculate-molar-mass.at \ $(srcdir)/Analysis/DipoleAngularCorrelation/testsuite-analysis-dipole-angular-correlation.at \ $(srcdir)/Analysis/DipoleCorrelation-Empty/testsuite-analysis-dipole-correlation-empty.at \ $(srcdir)/Analysis/DipoleCorrelation-DiscreteAngles/testsuite-analysis-dipole-correlation-discrete-angles.at \ $(srcdir)/Analysis/PairCorrelation/testsuite-analysis-pair-correlation.at \ $(srcdir)/Analysis/PairCorrelation-RangeTest/testsuite-analysis-pair-correlation-range-test.at \ $(srcdir)/Analysis/PointCorrelation/testsuite-analysis-point-correlation.at \ $(srcdir)/Analysis/SurfaceCorrelation/testsuite-analysis-surface-correlation.at \ $(srcdir)/Analysis/PrincipalAxisSystem/testsuite-analysis-principal-axis-system.at \ $(srcdir)/Domain/testsuite-domain.at \ $(srcdir)/Domain/BoundInBox/testsuite-domain-bound-in-box.at \ $(srcdir)/Domain/ChangeBox/testsuite-domain-change-box.at \ $(srcdir)/Domain/CenterInBox/testsuite-domain-center-in-box.at \ $(srcdir)/Domain/AddEmptyBoundary/testsuite-domain-add-empty-boundary.at \ $(srcdir)/Domain/CenterOnEdge/testsuite-domain-center-on-edge.at \ $(srcdir)/Domain/ScaleBox/testsuite-domain-scale-box.at \ $(srcdir)/Domain/RepeatBox/testsuite-domain-repeat-box.at \ $(srcdir)/Filling/testsuite-filling.at \ $(srcdir)/Filling/FillWithMolecule/testsuite-fill-with-molecule.at \ $(srcdir)/Filling/SuspendInWater/testsuite-suspend-in-water.at \ $(srcdir)/Filling/FillVoidWithMolecule/testsuite-fill-void-with-molecule.at \ $(srcdir)/Fragmentation/testsuite-fragmentation.at \ $(srcdir)/Fragmentation/FragmentMolecule/testsuite-fragmentation-fragment-molecule.at \ $(srcdir)/Fragmentation/FragmentMolecule-MaxOrder/testsuite-fragmentation-fragment-molecule-maxorder.at \ $(srcdir)/Graph/testsuite-graph.at \ $(srcdir)/Graph/DepthFirstSearch/testsuite-graph-depth-first-search.at \ $(srcdir)/Graph/SubgraphDissection/testsuite-graph-subgraph-dissection.at \ $(srcdir)/Molecules/testsuite-molecules.at \ $(srcdir)/Molecules/BondFile/testsuite-molecules-fragmentation-bond-file.at \ $(srcdir)/Molecules/BondFile/testsuite-molecules-tremolo-dbond-file.at \ $(srcdir)/Molecules/Copy/testsuite-molecules-copy-molecule.at \ $(srcdir)/Molecules/CreateMicelle/testsuite-molecules-create-micelle.at \ $(srcdir)/Molecules/LinearInterpolationofTrajectories/testsuite-molecules-linear-interpolation-of-trajectories.at \ $(srcdir)/Molecules/SaveAdjacency/testsuite-molecules-save-adjacency.at \ $(srcdir)/Molecules/SaveBonds/testsuite-molecules-save-bonds.at \ $(srcdir)/Molecules/SaveSelectedMolecules/testsuite-molecules-save-selected-molecules.at \ $(srcdir)/Molecules/SaveTemperature/testsuite-molecules-save-temperature.at \ $(srcdir)/Molecules/VerletIntegration/testsuite-molecules-verlet-integration.at \ $(srcdir)/Molecules/Translation/testsuite-molecules-translation.at \ $(srcdir)/Molecules/Translation-Periodic/testsuite-molecules-translation-periodic.at \ $(srcdir)/Molecules/RotateToPrincipalAxisSystem/testsuite-molecules-rotate-to-principal-axis-system.at \ $(srcdir)/Molecules/RotateAroundOrigin/testsuite-molecules-rotate-around-origin.at \ $(srcdir)/Molecules/RotateAroundSelf/testsuite-molecules-rotate-around-self.at \ $(srcdir)/Options/testsuite-options.at \ $(srcdir)/Options/Verbosity/testsuite-options-verbosity.at \ $(srcdir)/Options/Warranty/testsuite-options-warranty.at \ $(srcdir)/Options/Help/testsuite-options-help.at \ $(srcdir)/Options/ElementsDb/testsuite-options-no-elements-db.at \ $(srcdir)/Options/ElementsDb/testsuite-options-elements-db.at \ $(srcdir)/Options/BondLengthTable/testsuite-options-bond-length-table.at \ $(srcdir)/Options/FastParsing/testsuite-options-fast-parsing.at \ $(srcdir)/Options/SetDefaultName/testsuite-options-set-default-name.at \ $(srcdir)/Options/SetWorldTime/testsuite-options-set-world-time.at \ $(srcdir)/Options/Empty/testsuite-options-empty-configs.at \ $(srcdir)/Options/InvalidCommands/testsuite-options-invalid-commands.at \ $(srcdir)/Parser/testsuite-parser.at \ $(srcdir)/Parser/Mpqc/testsuite-parser-mpqc-empty.at \ $(srcdir)/Parser/Mpqc/testsuite-parser-mpqc-load.at \ $(srcdir)/Parser/Mpqc/testsuite-parser-mpqc-save.at \ $(srcdir)/Parser/Pcp/testsuite-parser-pcp-empty.at \ $(srcdir)/Parser/Pcp/testsuite-parser-pcp-load.at \ $(srcdir)/Parser/Pcp/testsuite-parser-pcp-multiple-timesteps.at \ $(srcdir)/Parser/Pcp/testsuite-parser-pcp-save.at \ $(srcdir)/Parser/Pdb/testsuite-parser-pdb-capital_letters_element.at \ $(srcdir)/Parser/Pdb/testsuite-parser-pdb-CONECTs_empty_space.at \ $(srcdir)/Parser/Pdb/testsuite-parser-pdb-empty.at \ $(srcdir)/Parser/Pdb/testsuite-parser-pdb-load.at \ $(srcdir)/Parser/Pdb/testsuite-parser-pdb-load-various.at \ $(srcdir)/Parser/Pdb/testsuite-parser-pdb-multiple-timesteps.at \ $(srcdir)/Parser/Pdb/testsuite-parser-pdb-save.at \ $(srcdir)/Parser/Pdb/testsuite-parser-pdb-with-conects.at \ $(srcdir)/Parser/Psi3/testsuite-parser-psi3-empty.at \ $(srcdir)/Parser/Psi3/testsuite-parser-psi3-load.at \ $(srcdir)/Parser/Psi3/testsuite-parser-psi3-save.at \ $(srcdir)/Parser/SetParameters/Mpqc/testsuite-parser-set-parameters-mpqc.at \ $(srcdir)/Parser/SetParameters/Mpqc/testsuite-parser-set-parameters-mpqc-basis.at \ $(srcdir)/Parser/SetParameters/Mpqc/testsuite-parser-set-parameters-mpqc-maxiterations.at \ $(srcdir)/Parser/SetParameters/Mpqc/testsuite-parser-set-parameters-mpqc-theory.at \ $(srcdir)/Parser/SetParameters/Psi3/testsuite-parser-set-parameters-psi3-reference.at \ $(srcdir)/Parser/SetParameters/Psi3/testsuite-parser-set-parameters-psi3-wavefunction.at \ $(srcdir)/Parser/Tremolo/testsuite-parser-tremolo-empty.at \ $(srcdir)/Parser/Tremolo/testsuite-parser-tremolo-load.at \ $(srcdir)/Parser/Tremolo/testsuite-parser-tremolo-save.at \ $(srcdir)/Parser/Tremolo-Potentials/testsuite-parser-tremolo-potentials.at \ $(srcdir)/Parser/Tremolo-Potentials/testsuite-parser-tremolo-potentials-load.at \ $(srcdir)/Parser/Tremolo-Potentials/testsuite-parser-tremolo-potentials-save.at \ $(srcdir)/Parser/Tremolo-SetAtomdata/testsuite-parser-tremolo-setatomdata.at \ $(srcdir)/Parser/Xyz/testsuite-parser-xyz-empty.at \ $(srcdir)/Parser/Xyz/testsuite-parser-xyz-load.at \ $(srcdir)/Parser/Xyz/testsuite-parser-xyz-multiple-timesteps.at \ $(srcdir)/Parser/Xyz/testsuite-parser-xyz-save.at \ $(srcdir)/Python/testsuite-python.at \ $(srcdir)/Python/AllActions/testsuite-python-allactions.at \ $(srcdir)/Python/AllActions/testsuite-python-options_dat.at \ $(srcdir)/Python/BoxMaker/testsuite-python-boxmaker.at \ $(srcdir)/Python/CommandHelp/testsuite-python-commandhelp.at \ $(srcdir)/Python/ReturnValueActions/testsuite-python-returnvalueactions.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-atoms.at \ $(srcdir)/Selection/Atoms/AllAtoms/testsuite-selection-select-all-atoms.at \ $(srcdir)/Selection/Atoms/AllAtoms/testsuite-selection-unselect-all-atoms.at \ $(srcdir)/Selection/Atoms/AllAtomsOfMolecule/testsuite-selection-select-all-atoms-of-molecule.at \ $(srcdir)/Selection/Atoms/AllAtomsOfMolecule/testsuite-selection-unselect-all-atoms-of-molecule.at \ $(srcdir)/Selection/Atoms/AtomByElement/testsuite-selection-select-atoms-by-element.at \ $(srcdir)/Selection/Atoms/AtomByElement/testsuite-selection-unselect-atoms-by-element.at \ $(srcdir)/Selection/Atoms/AtomById/testsuite-selection-select-atom-by-id.at \ $(srcdir)/Selection/Atoms/AtomById/testsuite-selection-unselect-atom-by-id.at \ $(srcdir)/Selection/Atoms/AtomsInsideCuboid/testsuite-selection-select-atoms-inside-cuboid.at \ $(srcdir)/Selection/Atoms/AtomsInsideCuboid/testsuite-selection-select-atoms-inside-cuboid-with-defaults.at \ $(srcdir)/Selection/Atoms/AtomsInsideCuboid/testsuite-selection-unselect-atoms-inside-cuboid.at \ $(srcdir)/Selection/Atoms/AtomsInsideSphere/testsuite-selection-select-atoms-inside-sphere.at \ $(srcdir)/Selection/Atoms/AtomsInsideSphere/testsuite-selection-unselect-atoms-inside-sphere.at \ $(srcdir)/Selection/Atoms/ClearAtoms/testsuite-selection-clear-atoms.at \ $(srcdir)/Selection/Molecules/testsuite-selection-molecules.at \ $(srcdir)/Selection/Molecules/AllMolecules/testsuite-selection-select-all-molecules.at \ $(srcdir)/Selection/Molecules/AllMolecules/testsuite-selection-unselect-all-molecules.at \ $(srcdir)/Selection/Molecules/ClearMolecules/testsuite-selection-clear-molecules.at \ $(srcdir)/Selection/Molecules/MoleculeByFormula/testsuite-selection-select-molecules-by-formula.at \ $(srcdir)/Selection/Molecules/MoleculeByFormula/testsuite-selection-unselect-molecules-by-formula.at \ $(srcdir)/Selection/Molecules/MoleculeById/testsuite-selection-select-molecule-by-id.at \ $(srcdir)/Selection/Molecules/MoleculeById/testsuite-selection-unselect-molecule-by-id.at \ $(srcdir)/Selection/Molecules/MoleculeByName/testsuite-selection-select-molecules-by-name.at \ $(srcdir)/Selection/Molecules/MoleculeByName/testsuite-selection-unselect-molecules-by-name.at \ $(srcdir)/Selection/Molecules/MoleculeByOrder/testsuite-selection-select-molecule-by-order-backward.at \ $(srcdir)/Selection/Molecules/MoleculeByOrder/testsuite-selection-select-molecule-by-order-forward.at \ $(srcdir)/Selection/Molecules/MoleculeByOrder/testsuite-selection-unselect-molecule-by-order-backward.at \ $(srcdir)/Selection/Molecules/MoleculeByOrder/testsuite-selection-unselect-molecule-by-order-forward.at \ $(srcdir)/Selection/Molecules/MoleculeOfAtom/testsuite-selection-select-atoms-molecules.at \ $(srcdir)/Selection/Molecules/MoleculeOfAtom/testsuite-selection-unselect-atoms-molecules.at \ $(srcdir)/Tesselation/testsuite-tesselation.at \ $(srcdir)/Tesselation/NonConvex/testsuite-tesselation-non-convex-envelope.at \ $(srcdir)/Tesselation/Convex/testsuite-tesselation-convex-envelope.at \ $(srcdir)/Tesselation/BigNonConvex/testsuite-tesselation-big-non-convex-envelope.at \ $(srcdir)/Tesselation/BigConvex/testsuite-tesselation-big-convex-envelope.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) 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@])'; \ } >'$(srcdir)/package.m4'