source: src/unittests/Makefile.am@ 4cf35ac

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 4cf35ac 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
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
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
15
16INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
17
18AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
19AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
20
21GENERALTESTS = \
22 AnalysisBondsUnitTest \
23 AnalysisCorrelationToPointUnitTest \
24 AnalysisCorrelationToSurfaceUnitTest \
25 AnalysisPairCorrelationUnitTest \
26 BondGraphUnitTest \
27 BoxUnitTest \
28 CountBondsUnitTest \
29 FormulaUnittest \
30 LinkedCellUnitTest \
31 ListOfBondsUnitTest \
32 PeriodentafelUnitTest \
33 TesselationUnitTest \
34 Tesselation_BoundaryTriangleUnitTest \
35 Tesselation_InOutsideUnitTest \
36 WorldTimeUnitTest
37
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
44
45BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
46
47ALLLIBS = \
48 ../libMolecuilderUI.la \
49 ../libMolecuilder.la \
50 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
51 ${CodePatterns_LIBS} \
52 $(BOOST_LIB)
53
54TESTSOURCES = \
55 ${ACTIONTESTSSOURCES} \
56 ${DESCRIPTORTESTSSOURCES} \
57 ${LINEARALGEBRATESTSSOURCES} \
58 ${PARSERTESTSSOURCES} \
59 ${RANDOMNUMBERTESTSSOURCES} \
60 ${SHAPETESTSSOURCES} \
61 $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
62 ${UIELEMENTSMENUTESTSSOURCES} \
63 AnalysisBondsUnitTest.cpp \
64 AnalysisCorrelationToPointUnitTest.cpp \
65 AnalysisCorrelationToSurfaceUnitTest.cpp \
66 AnalysisPairCorrelationUnitTest.cpp \
67 BondGraphUnitTest.cpp \
68 BoxUnitTest.cpp \
69 CountBondsUnitTest.cpp \
70 FormulaUnitTest.cpp \
71 LinkedCellUnitTest.cpp \
72 ListOfBondsUnitTest.cpp \
73 PeriodentafelUnitTest.cpp \
74 TesselationUnitTest.cpp \
75 Tesselation_BoundaryTriangleUnitTest.cpp \
76 Tesselation_InsideOutsideUnitTest.cpp \
77 WorldTimeUnitTest.cpp
78
79TESTHEADERS = \
80 ${ACTIONTESTSHEADERS} \
81 ${DESCRIPTORTESTSHEADERS} \
82 ${LINEARALGEBRATESTSHEADERS} \
83 ${PARSERTESTSHEADERS} \
84 ${RANDOMNUMBERTESTSHEADERS} \
85 ${SHAPETESTSHEADERS} \
86 $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
87 ${UIELEMENTSMENUTESTSHEADERS} \
88 AnalysisBondsUnitTest.hpp \
89 AnalysisCorrelationToPointUnitTest.hpp \
90 AnalysisCorrelationToSurfaceUnitTest.hpp \
91 AnalysisPairCorrelationUnitTest.hpp \
92 BondGraphUnitTest.hpp \
93 BoxUnitTest.hpp \
94 CountBondsUnitTest.hpp \
95 FormulaUnitTest.hpp \
96 LinkedCellUnitTest.hpp \
97 ListOfBondsUnitTest.hpp \
98 PeriodentafelUnitTest.hpp \
99 TesselationUnitTest.hpp \
100 Tesselation_BoundaryTriangleUnitTest.hpp \
101 Tesselation_InsideOutsideUnitTest.hpp \
102 WorldTimeUnitTest.hpp
103
104
105AnalysisBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
106 AnalysisBondsUnitTest.cpp \
107 AnalysisBondsUnitTest.hpp
108AnalysisBondsUnitTest_LDADD = ${ALLLIBS}
109
110AnalysisCorrelationToPointUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
111 analysis_correlation.hpp \
112 AnalysisCorrelationToPointUnitTest.cpp \
113 AnalysisCorrelationToPointUnitTest.hpp
114AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
115
116AnalysisCorrelationToSurfaceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
117 analysis_correlation.hpp \
118 AnalysisCorrelationToSurfaceUnitTest.cpp \
119 AnalysisCorrelationToSurfaceUnitTest.hpp
120AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
121
122AnalysisPairCorrelationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
123 analysis_correlation.hpp \
124 AnalysisPairCorrelationUnitTest.cpp \
125 AnalysisPairCorrelationUnitTest.hpp
126AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
127
128BondGraphUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
129 BondGraphUnitTest.cpp \
130 BondGraphUnitTest.hpp
131BondGraphUnitTest_LDADD = ${ALLLIBS}
132
133BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
134 BoxUnitTest.cpp \
135 BoxUnitTest.hpp
136BoxUnitTest_LDADD = ${ALLLIBS}
137
138CountBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
139 CountBondsUnitTest.cpp \
140 CountBondsUnitTest.hpp
141CountBondsUnitTest_LDADD = ${ALLLIBS}
142
143FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
144 FormulaUnitTest.cpp \
145 FormulaUnitTest.hpp
146FormulaUnittest_LDADD = ${ALLLIBS}
147
148LinkedCellUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
149 LinkedCellUnitTest.cpp \
150 LinkedCellUnitTest.hpp
151LinkedCellUnitTest_LDADD = ${ALLLIBS}
152
153ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
154 ListOfBondsUnitTest.cpp \
155 ListOfBondsUnitTest.hpp
156ListOfBondsUnitTest_LDADD = ${ALLLIBS}
157
158PeriodentafelUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
159 PeriodentafelUnitTest.cpp \
160 PeriodentafelUnitTest.hpp
161PeriodentafelUnitTest_LDADD = ${ALLLIBS}
162
163TesselationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
164 TesselationUnitTest.cpp \
165 TesselationUnitTest.hpp
166TesselationUnitTest_LDADD = ${ALLLIBS}
167
168Tesselation_BoundaryTriangleUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
169 Tesselation_BoundaryTriangleUnitTest.cpp \
170 Tesselation_BoundaryTriangleUnitTest.hpp
171Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
172
173Tesselation_InOutsideUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
174 Tesselation_InsideOutsideUnitTest.cpp \
175 Tesselation_InsideOutsideUnitTest.hpp
176Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
177
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
186TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
187TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
188
189#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.