source: src/unittests/Makefile.am@ c82d0c

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 c82d0c was d5240d, checked in by Frederik Heber <heber@…>, 14 years ago

FIX: Linking to non-system boost is working now.

  • FIX: BOOST_CPPFLAGS was not present in AM_CPPFLAGS in all Makefile.am
  • Hence, not the correct includes were used and linking occured with undefined reference errors (because of version conflict between system-wide installed and non-system boost)
  • validate()s now make version check of boost as signature of validation_error)_ changed in boost 1.42
  • added AX_BOOST_SYSTEM to configure.ac and BOOST_SYSTEM_LIB to src/Makefile.am and src/unittests/Makefile.am. Otherwise we have to set an rpath to let it find the lib needed by other boost libs in non-system boost configs.
  • Property mode set to 100644
File size: 9.3 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4INCLUDES = -I$(top_srcdir)/src
5
6AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
7AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
8AM_CPPFLAGS = ${BOOST_CPPFLAGS}
9
10TESTS = \
11 ActionSequenceTest \
12 ActOnAllUnitTest \
13 AnalysisBondsUnitTests \
14 AnalysisCorrelationToPointUnitTest \
15 AnalysisCorrelationToSurfaceUnitTest \
16 AnalysisPairCorrelationUnitTest \
17 atomsCalculationTest \
18 AtomDescriptorTest \
19 BondGraphUnitTest \
20 BoxUnittest \
21 CacheableTest \
22 CountBondsUnitTest \
23 FormulaUnittest \
24 GSLMatrixSymmetricUnitTest \
25 GSLMatrixUnitTest \
26 GSLVectorUnitTest \
27 InfoUnitTest \
28 LinearSystemOfEquationsUnitTest \
29 LineUnittest \
30 LinkedCellUnitTest \
31 ListOfBondsUnitTest \
32 LogUnitTest \
33 manipulateAtomsTest \
34 MatrixUnittest \
35 MenuDescriptionUnitTest \
36 MoleculeDescriptorTest \
37 ObserverTest \
38 ParserUnitTest \
39 periodentafelTest \
40 PlaneUnittest \
41 Registry \
42 ShapeUnittest \
43 SingletonTest \
44 StackClassUnitTest \
45 TesselationUnitTest \
46 Tesselation_BoundaryTriangleUnitTest \
47 Tesselation_InOutsideUnitTest \
48 VectorUnitTest
49
50
51check_PROGRAMS = $(TESTS)
52noinst_PROGRAMS = $(TESTS) TestRunner
53
54BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
55GSLLIBS = \
56 ../LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
57 ../Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
58 ../Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
59 $(BOOST_LIB)
60ALLLIBS = \
61 ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
62 ../Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
63 ${PARSERLIBS} \
64 ../libMolecuilder-@MOLECUILDER_API_VERSION@.la \
65 ${GSLLIBS}
66
67PARSERLIBS = ../Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la
68UILIBS = ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la
69
70TESTSOURCES = \
71 ActOnAllUnitTest.cpp \
72 ActionSequenceTest.cpp \
73 analysisbondsunittest.cpp \
74 AnalysisCorrelationToPointUnitTest.cpp \
75 AnalysisCorrelationToSurfaceUnitTest.cpp \
76 AnalysisPairCorrelationUnitTest.cpp \
77 AtomDescriptorTest.cpp \
78 atomsCalculationTest.cpp \
79 bondgraphunittest.cpp \
80 BoxUnittest.cpp \
81 CacheableTest.cpp \
82 CountBondsUnitTest.cpp \
83 FormulaUnittest.cpp \
84 gslmatrixsymmetricunittest.cpp \
85 gslmatrixunittest.cpp \
86 gslvectorunittest.cpp \
87 infounittest.cpp \
88 linearsystemofequationsunittest.cpp \
89 LineUnittest.cpp \
90 LinkedCellUnitTest.cpp \
91 listofbondsunittest.cpp \
92 logunittest.cpp \
93 MatrixUnittest.cpp \
94 manipulateAtomsTest.cpp \
95 MenuDescriptionUnitTest.cpp \
96 MoleculeDescriptorTest.cpp \
97 ObserverTest.cpp \
98 ParserUnitTest.cpp \
99 periodentafelTest.cpp \
100 PlaneUnittest.cpp \
101 RegistryUnitTest.cpp \
102 ShapeUnittest.cpp \
103 SingletonTest.cpp \
104 stackclassunittest.cpp \
105 tesselationunittest.cpp \
106 tesselation_boundarytriangleunittest.cpp \
107 tesselation_insideoutsideunittest.cpp \
108 vectorunittest.cpp
109
110TESTHEADERS = \
111 ActOnAllUnitTest.hpp \
112 ActionSequenceTest.hpp \
113 analysisbondsunittest.hpp \
114 AnalysisCorrelationToPointUnitTest.hpp \
115 AnalysisCorrelationToSurfaceUnitTest.hpp \
116 AnalysisPairCorrelationUnitTest.hpp \
117 AtomDescriptorTest.hpp \
118 atomsCalculationTest.hpp \
119 bondgraphunittest.hpp \
120 BoxUnittest.hpp \
121 CacheableTest.hpp \
122 CountBondsUnitTest.hpp \
123 FormulaUnittest.hpp \
124 gslmatrixsymmetricunittest.hpp \
125 gslmatrixunittest.hpp \
126 gslvectorunittest.hpp \
127 infounittest.hpp \
128 linearsystemofequationsunittest.hpp \
129 LineUnittest.hpp \
130 LinkedCellUnitTest.hpp \
131 listofbondsunittest.hpp \
132 logunittest.hpp \
133 manipulateAtomsTest.hpp \
134 MatrixUnittest.hpp \
135 MenuDescriptionUnitTest.hpp \
136 MoleculeDescriptorTest.hpp \
137 ObserverTest.hpp \
138 periodentafelTest.hpp \
139 ParserUnitTest.hpp \
140 PlaneUnittest.hpp \
141 RegistryUnitTest.hpp \
142 SingletonTest.hpp \
143 stackclassunittest.hpp \
144 tesselationunittest.hpp \
145 tesselation_boundarytriangleunittest.hpp \
146 tesselation_insideoutsideunittest.hpp \
147 vectorunittest.hpp
148
149
150ActionSequenceTest_SOURCES = UnitTestMain.cpp ActionSequenceTest.cpp ActionSequenceTest.hpp
151ActionSequenceTest_LDADD = ${UILIBS} ${ALLLIBS}
152
153ActOnAllUnitTest_SOURCES = UnitTestMain.cpp ../test/ActOnAllTest.hpp ActOnAllUnitTest.cpp ActOnAllUnitTest.hpp
154ActOnAllUnitTest_LDADD = ${ALLLIBS}
155
156AnalysisBondsUnitTests_SOURCES = UnitTestMain.cpp analysisbondsunittest.cpp analysisbondsunittest.hpp
157AnalysisBondsUnitTests_LDADD = ${ALLLIBS}
158
159AnalysisCorrelationToPointUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToPointUnitTest.cpp AnalysisCorrelationToPointUnitTest.hpp
160AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
161
162AnalysisCorrelationToSurfaceUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToSurfaceUnitTest.cpp AnalysisCorrelationToSurfaceUnitTest.hpp
163AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
164
165AnalysisPairCorrelationUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisPairCorrelationUnitTest.cpp AnalysisPairCorrelationUnitTest.hpp
166AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
167
168atomsCalculationTest_SOURCES = UnitTestMain.cpp atomsCalculationTest.cpp atomsCalculationTest.hpp
169atomsCalculationTest_LDADD = ${ALLLIBS}
170
171AtomDescriptorTest_SOURCES = UnitTestMain.cpp AtomDescriptorTest.cpp AtomDescriptorTest.hpp
172AtomDescriptorTest_LDADD = ${ALLLIBS}
173
174BondGraphUnitTest_SOURCES = UnitTestMain.cpp bondgraphunittest.cpp bondgraphunittest.hpp
175BondGraphUnitTest_LDADD = ${ALLLIBS}
176
177BoxUnittest_SOURCES = UnitTestMain.cpp BoxUnittest.cpp BoxUnittest.hpp
178BoxUnittest_LDADD = ${ALLLIBS}
179
180CacheableTest_SOURCES = UnitTestMain.cpp CacheableTest.cpp CacheableTest.hpp
181CacheableTest_LDADD = ${ALLLIBS}
182
183CountBondsUnitTest_SOURCES = UnitTestMain.cpp CountBondsUnitTest.cpp CountBondsUnitTest.hpp
184CountBondsUnitTest_LDADD = ${ALLLIBS}
185
186FormulaUnittest_SOURCES = UnitTestMain.cpp FormulaUnittest.cpp FormulaUnittest.hpp
187FormulaUnittest_LDADD = ${ALLLIBS}
188
189GSLMatrixSymmetricUnitTest_SOURCES = UnitTestMain.cpp gslmatrixsymmetricunittest.cpp gslmatrixsymmetricunittest.hpp
190GSLMatrixSymmetricUnitTest_LDADD = ${ALLLIBS}
191
192GSLMatrixUnitTest_SOURCES = UnitTestMain.cpp gslmatrixunittest.cpp gslmatrixunittest.hpp
193GSLMatrixUnitTest_LDADD = ${ALLLIBS}
194
195GSLVectorUnitTest_SOURCES = UnitTestMain.cpp gslvectorunittest.cpp gslvectorunittest.hpp
196GSLVectorUnitTest_LDADD = ${ALLLIBS}
197
198InfoUnitTest_SOURCES = UnitTestMain.cpp infounittest.cpp infounittest.hpp
199InfoUnitTest_LDADD = ${ALLLIBS}
200
201LinearSystemOfEquationsUnitTest_SOURCES = UnitTestMain.cpp linearsystemofequationsunittest.cpp linearsystemofequationsunittest.hpp
202LinearSystemOfEquationsUnitTest_LDADD = ${ALLLIBS}
203
204LineUnittest_SOURCES = UnitTestMain.cpp LineUnittest.cpp LineUnittest.hpp
205LineUnittest_LDADD = ${ALLLIBS}
206
207LinkedCellUnitTest_SOURCES = UnitTestMain.cpp LinkedCellUnitTest.cpp LinkedCellUnitTest.hpp
208LinkedCellUnitTest_LDADD = ${ALLLIBS}
209
210ListOfBondsUnitTest_SOURCES = UnitTestMain.cpp listofbondsunittest.cpp listofbondsunittest.hpp
211ListOfBondsUnitTest_LDADD = ${ALLLIBS}
212
213LogUnitTest_SOURCES = UnitTestMain.cpp logunittest.cpp logunittest.hpp
214LogUnitTest_LDADD = ${ALLLIBS}
215
216manipulateAtomsTest_SOURCES = UnitTestMain.cpp manipulateAtomsTest.cpp manipulateAtomsTest.hpp
217manipulateAtomsTest_LDADD = ${UILIBS} ${ALLLIBS}
218
219MatrixUnittest_SOURCES = UnitTestMain.cpp MatrixUnittest.cpp MatrixUnittest.hpp
220MatrixUnittest_LDADD = ${ALLLIBS}
221
222MenuDescriptionUnitTest_SOURCES = UnitTestMain.cpp MenuDescriptionUnitTest.cpp MenuDescriptionUnitTest.hpp
223MenuDescriptionUnitTest_LDADD = ${ALLLIBS}
224
225MoleculeDescriptorTest_SOURCES = UnitTestMain.cpp MoleculeDescriptorTest.cpp MoleculeDescriptorTest.hpp
226MoleculeDescriptorTest_LDADD = ${ALLLIBS}
227
228ObserverTest_SOURCES = UnitTestMain.cpp ObserverTest.cpp ObserverTest.hpp
229ObserverTest_LDADD = ${ALLLIBS}
230
231ParserUnitTest_SOURCES = UnitTestMain.cpp ParserUnitTest.cpp ParserUnitTest.hpp
232ParserUnitTest_LDADD = ${ALLLIBS}
233
234periodentafelTest_SOURCES = UnitTestMain.cpp periodentafelTest.cpp periodentafelTest.hpp
235periodentafelTest_LDADD = ${ALLLIBS}
236
237PlaneUnittest_SOURCES = UnitTestMain.cpp PlaneUnittest.cpp PlaneUnittest.hpp
238PlaneUnittest_LDADD = ${ALLLIBS}
239
240Registry_SOURCES = UnitTestMain.cpp RegistryUnitTest.cpp RegistryUnitTest.hpp
241Registry_LDADD = ${ALLLIBS}
242
243ShapeUnittest_SOURCES = UnitTestMain.cpp ShapeUnittest.cpp ShapeUnittest.hpp
244ShapeUnittest_LDADD = ${ALLLIBS}
245
246SingletonTest_SOURCES = UnitTestMain.cpp SingletonTest.cpp SingletonTest.hpp
247SingletonTest_LDADD = ${ALLLIBS} $(BOOST_LIB) ${BOOST_THREAD_LIB}
248
249StackClassUnitTest_SOURCES = UnitTestMain.cpp stackclassunittest.cpp stackclassunittest.hpp
250StackClassUnitTest_LDADD = ${ALLLIBS}
251
252TesselationUnitTest_SOURCES = UnitTestMain.cpp tesselationunittest.cpp tesselationunittest.hpp
253TesselationUnitTest_LDADD = ${ALLLIBS}
254
255Tesselation_BoundaryTriangleUnitTest_SOURCES = UnitTestMain.cpp tesselation_boundarytriangleunittest.cpp tesselation_boundarytriangleunittest.hpp
256Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
257
258Tesselation_InOutsideUnitTest_SOURCES = UnitTestMain.cpp tesselation_insideoutsideunittest.cpp tesselation_insideoutsideunittest.hpp
259Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
260
261TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
262TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
263
264VectorUnitTest_SOURCES = UnitTestMain.cpp vectorunittest.cpp vectorunittest.hpp
265VectorUnitTest_LDADD = ${ALLLIBS}
266
267#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.