source: src/unittests/Makefile.am@ 4217e7

Action_Thermostats Add_AtomRandomPerturbation Add_FitFragmentPartialChargesAction Add_RotateAroundBondAction Add_SelectAtomByNameAction Added_ParseSaveFragmentResults AddingActions_SaveParseParticleParameters Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_ParticleName_to_Atom Adding_StructOpt_integration_tests AtomFragments Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.5.4 Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator CombiningParticlePotentialParsing Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_BoundInBox_CenterInBox_MoleculeActions Fix_ChargeSampling_PBC Fix_ChronosMutex Fix_FitPartialCharges Fix_FitPotential_needs_atomicnumbers Fix_ForceAnnealing Fix_IndependentFragmentGrids Fix_ParseParticles Fix_ParseParticles_split_forward_backward_Actions Fix_PopActions Fix_QtFragmentList_sorted_selection Fix_Restrictedkeyset_FragmentMolecule Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns Fix_fitting_potentials Fixes ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion FragmentAction_writes_AtomFragments FragmentMolecule_checks_bonddegrees GeometryObjects Gui_Fixes Gui_displays_atomic_force_velocity ImplicitCharges IndependentFragmentGrids IndependentFragmentGrids_IndividualZeroInstances IndependentFragmentGrids_IntegrationTest IndependentFragmentGrids_Sole_NN_Calculation JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix MoreRobust_FragmentAutomation ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PdbParser_setsAtomName PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks Rewrite_FitPartialCharges RotateToPrincipalAxisSystem_UndoRedo SaturateAtoms_findBestMatching SaturateAtoms_singleDegree StoppableMakroAction Subpackage_CodePatterns Subpackage_JobMarket Subpackage_LinearAlgebra Subpackage_levmar Subpackage_mpqc_open Subpackage_vmg Switchable_LogView ThirdParty_MPQC_rebuilt_buildsystem TrajectoryDependenant_MaxOrder TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps TremoloParser_setsAtomName Ubuntu_1604_changes stable
Last change on this file since 4217e7 was 455573, checked in by Frederik Heber <heber@…>, 14 years ago

Large Commit: SUBDIRS in src/Makefile.am replaced by include.

  • This should let make decide on the dependencies automatically.
  • We had to change each Makefile.am due to different relative location now.
  • FIX: convenience libs were not created due to lib_LT... instead of noinst_LT... (thanks, Ralf!)
  • FIX: convenience libs cannot pass on dependencies on real libs, these (seemingly: libLinearAlgebra) have to be re-specified.
  • FIX: RANDOMSOURCE/HEADER were still present to include in libMolecuilder although RandomNumbers have been outsourced for some time already.
  • this should make it a lot easier for unit tests to get away with the massive dependencies because we may now include single libs and can construct stubs in replacement.
  • Property mode set to 100644
File size: 6.0 KB
RevLine 
[18eecf]1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
[455573]4check_PROGRAMS =
5noinst_PROGRAMS =
6TESTS =
7
8include ../../src/Actions/unittests/Makefile.am
9include ../../src/Descriptors/unittests/Makefile.am
10include ../../src/Parser/unittests/Makefile.am
11include ../../src/RandomNumbers/unittests/Makefile.am
12include ../../src/Shapes/unittests/Makefile.am
13include ../../src/UIElements/CommandLineUI/unittests/Makefile.am
14include ../../src/UIElements/Menu/unittests/Makefile.am
[c0bccb]15
[bf4b9f]16INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
[b9907c]17
[a0064e]18AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
19AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
[be90f1]20
[455573]21GENERALTESTS = \
[f844ef]22 AnalysisBondsUnitTest \
[9fb860]23 AnalysisCorrelationToPointUnitTest \
24 AnalysisCorrelationToSurfaceUnitTest \
25 AnalysisPairCorrelationUnitTest \
26 BondGraphUnitTest \
[f844ef]27 BoxUnitTest \
[dfe8ef]28 CountBondsUnitTest \
[9f632c]29 FormulaUnittest \
[dcea0f]30 LinkedCellUnitTest \
[9fb860]31 ListOfBondsUnitTest \
[f844ef]32 PeriodentafelUnitTest \
[9fb860]33 TesselationUnitTest \
[e9c677]34 Tesselation_BoundaryTriangleUnitTest \
[f649de]35 Tesselation_InOutsideUnitTest \
36 WorldTimeUnitTest
[4fbca9c]37
[455573]38# these ones are checked
39TESTS += $(GENERALTESTS)
40# these ones are built for checking only
41check_PROGRAMS += $(GENERALTESTS)
42# ... and not installed
43noinst_PROGRAMS += $(GENERALTESTS) TestRunner
[b9907c]44
[d5240d]45BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
[455573]46
[f4b5b7]47ALLLIBS = \
[455573]48 ../libMolecuilderUI.la \
[acbe1b]49 ../libMolecuilder.la \
[455573]50 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
51 ${CodePatterns_LIBS} \
52 $(BOOST_LIB)
[4d9c01]53
[9b6b2f]54TESTSOURCES = \
[455573]55 ${ACTIONTESTSSOURCES} \
56 ${DESCRIPTORTESTSSOURCES} \
57 ${LINEARALGEBRATESTSSOURCES} \
58 ${PARSERTESTSSOURCES} \
59 ${RANDOMNUMBERTESTSSOURCES} \
60 ${SHAPETESTSSOURCES} \
61 $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
62 ${UIELEMENTSMENUTESTSSOURCES} \
[f844ef]63 AnalysisBondsUnitTest.cpp \
[9b6b2f]64 AnalysisCorrelationToPointUnitTest.cpp \
65 AnalysisCorrelationToSurfaceUnitTest.cpp \
66 AnalysisPairCorrelationUnitTest.cpp \
[f844ef]67 BondGraphUnitTest.cpp \
68 BoxUnitTest.cpp \
[5f612ee]69 CountBondsUnitTest.cpp \
[f844ef]70 FormulaUnitTest.cpp \
[5f612ee]71 LinkedCellUnitTest.cpp \
[f844ef]72 ListOfBondsUnitTest.cpp \
73 PeriodentafelUnitTest.cpp \
74 TesselationUnitTest.cpp \
75 Tesselation_BoundaryTriangleUnitTest.cpp \
76 Tesselation_InsideOutsideUnitTest.cpp \
[f649de]77 WorldTimeUnitTest.cpp
[9b6b2f]78
79TESTHEADERS = \
[455573]80 ${ACTIONTESTSHEADERS} \
81 ${DESCRIPTORTESTSHEADERS} \
82 ${LINEARALGEBRATESTSHEADERS} \
83 ${PARSERTESTSHEADERS} \
84 ${RANDOMNUMBERTESTSHEADERS} \
85 ${SHAPETESTSHEADERS} \
86 $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
87 ${UIELEMENTSMENUTESTSHEADERS} \
[f844ef]88 AnalysisBondsUnitTest.hpp \
[5f612ee]89 AnalysisCorrelationToPointUnitTest.hpp \
90 AnalysisCorrelationToSurfaceUnitTest.hpp \
91 AnalysisPairCorrelationUnitTest.hpp \
[f844ef]92 BondGraphUnitTest.hpp \
93 BoxUnitTest.hpp \
[5f612ee]94 CountBondsUnitTest.hpp \
[f844ef]95 FormulaUnitTest.hpp \
[5f612ee]96 LinkedCellUnitTest.hpp \
[f844ef]97 ListOfBondsUnitTest.hpp \
98 PeriodentafelUnitTest.hpp \
99 TesselationUnitTest.hpp \
100 Tesselation_BoundaryTriangleUnitTest.hpp \
101 Tesselation_InsideOutsideUnitTest.hpp \
[bf4b9f]102 WorldTimeUnitTest.hpp
[9fb860]103
[9b6b2f]104
[f844ef]105AnalysisBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
106 AnalysisBondsUnitTest.cpp \
107 AnalysisBondsUnitTest.hpp
108AnalysisBondsUnitTest_LDADD = ${ALLLIBS}
[96c961]109
[f844ef]110AnalysisCorrelationToPointUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
111 analysis_correlation.hpp \
112 AnalysisCorrelationToPointUnitTest.cpp \
113 AnalysisCorrelationToPointUnitTest.hpp
[4d9c01]114AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
[c4d4df]115
[f844ef]116AnalysisCorrelationToSurfaceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
117 analysis_correlation.hpp \
118 AnalysisCorrelationToSurfaceUnitTest.cpp \
119 AnalysisCorrelationToSurfaceUnitTest.hpp
[4d9c01]120AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
[c4d4df]121
[f844ef]122AnalysisPairCorrelationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
123 analysis_correlation.hpp \
124 AnalysisPairCorrelationUnitTest.cpp \
125 AnalysisPairCorrelationUnitTest.hpp
[4d9c01]126AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
[c111db]127
[f844ef]128BondGraphUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
129 BondGraphUnitTest.cpp \
130 BondGraphUnitTest.hpp
[4d9c01]131BondGraphUnitTest_LDADD = ${ALLLIBS}
[46ea3b]132
[f844ef]133BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
134 BoxUnitTest.cpp \
135 BoxUnitTest.hpp
136BoxUnitTest_LDADD = ${ALLLIBS}
[77bc4f]137
[f844ef]138CountBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
139 CountBondsUnitTest.cpp \
140 CountBondsUnitTest.hpp
[5f612ee]141CountBondsUnitTest_LDADD = ${ALLLIBS}
142
[f844ef]143FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
144 FormulaUnitTest.cpp \
145 FormulaUnitTest.hpp
[9f632c]146FormulaUnittest_LDADD = ${ALLLIBS}
147
[f844ef]148LinkedCellUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
149 LinkedCellUnitTest.cpp \
150 LinkedCellUnitTest.hpp
[5f612ee]151LinkedCellUnitTest_LDADD = ${ALLLIBS}
[46ea3b]152
[f844ef]153ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
154 ListOfBondsUnitTest.cpp \
155 ListOfBondsUnitTest.hpp
[4d9c01]156ListOfBondsUnitTest_LDADD = ${ALLLIBS}
[266237]157
[f844ef]158PeriodentafelUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
159 PeriodentafelUnitTest.cpp \
160 PeriodentafelUnitTest.hpp
161PeriodentafelUnitTest_LDADD = ${ALLLIBS}
[4eb4fe]162
[f844ef]163TesselationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
164 TesselationUnitTest.cpp \
165 TesselationUnitTest.hpp
[4d9c01]166TesselationUnitTest_LDADD = ${ALLLIBS}
[c15ca2]167
[f844ef]168Tesselation_BoundaryTriangleUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
169 Tesselation_BoundaryTriangleUnitTest.cpp \
170 Tesselation_BoundaryTriangleUnitTest.hpp
[4d9c01]171Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
[e9c677]172
[f844ef]173Tesselation_InOutsideUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
174 Tesselation_InsideOutsideUnitTest.cpp \
175 Tesselation_InsideOutsideUnitTest.hpp
[4d9c01]176Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
[d96277]177
[f649de]178WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
179 WorldTimeUnitTest.cpp \
180 WorldTimeUnitTest.hpp \
181 ../WorldTime.cpp \
182 ../WorldTime.hpp
183WorldTimeUnitTest_LDADD = ${BOOST_LIB}
184
185
[36166d]186TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
[b37436]187TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
[7a1ce5]188
[18eecf]189#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.