source: src/unittests/Makefile.am@ 3bc926

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 Candidate_v1.7.0 Candidate_v1.7.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 3bc926 was d5240d, checked in by Frederik Heber <heber@…>, 15 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
RevLine 
[18eecf]1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
[b9907c]4INCLUDES = -I$(top_srcdir)/src
5
[831a14]6AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
7AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
[d5240d]8AM_CPPFLAGS = ${BOOST_CPPFLAGS}
[be90f1]9
[9fb860]10TESTS = \
[112f90]11 ActionSequenceTest \
[9fb860]12 ActOnAllUnitTest \
13 AnalysisBondsUnitTests \
14 AnalysisCorrelationToPointUnitTest \
15 AnalysisCorrelationToSurfaceUnitTest \
16 AnalysisPairCorrelationUnitTest \
[57adc7]17 atomsCalculationTest \
18 AtomDescriptorTest \
[9fb860]19 BondGraphUnitTest \
[77bc4f]20 BoxUnittest \
[57adc7]21 CacheableTest \
[dfe8ef]22 CountBondsUnitTest \
[9f632c]23 FormulaUnittest \
[fc3b67]24 GSLMatrixSymmetricUnitTest \
25 GSLMatrixUnitTest \
[9fb860]26 GSLVectorUnitTest \
27 InfoUnitTest \
[f60610]28 LinearSystemOfEquationsUnitTest \
[45ef76]29 LineUnittest \
[dcea0f]30 LinkedCellUnitTest \
[9fb860]31 ListOfBondsUnitTest \
32 LogUnitTest \
[57adc7]33 manipulateAtomsTest \
[0eb2dc]34 MatrixUnittest \
[8bcf3f]35 MenuDescriptionUnitTest \
[57adc7]36 MoleculeDescriptorTest \
37 ObserverTest \
[cb2146]38 ParserUnitTest \
[4eb4fe]39 periodentafelTest \
40 PlaneUnittest \
[e4afb4]41 Registry \
[997784]42 ShapeUnittest \
[7ca806]43 SingletonTest \
[9fb860]44 StackClassUnitTest \
45 TesselationUnitTest \
[e9c677]46 Tesselation_BoundaryTriangleUnitTest \
47 Tesselation_InOutsideUnitTest \
[112f90]48 VectorUnitTest
[46d958]49
[9fb860]50
[63c1f6]51check_PROGRAMS = $(TESTS)
[9b6b2f]52noinst_PROGRAMS = $(TESTS) TestRunner
[b9907c]53
[d5240d]54BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
[952f38]55GSLLIBS = \
56 ../LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
57 ../Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
58 ../Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
[e4decc]59 $(BOOST_LIB)
[f4b5b7]60ALLLIBS = \
[9ee38b]61 ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
[f4b5b7]62 ../Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
[952f38]63 ${PARSERLIBS} \
[255971]64 ../libMolecuilder-@MOLECUILDER_API_VERSION@.la \
[e4decc]65 ${GSLLIBS}
66
[b37436]67PARSERLIBS = ../Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la
68UILIBS = ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la
[4d9c01]69
[9b6b2f]70TESTSOURCES = \
71 ActOnAllUnitTest.cpp \
[57adc7]72 ActionSequenceTest.cpp \
[9b6b2f]73 analysisbondsunittest.cpp \
74 AnalysisCorrelationToPointUnitTest.cpp \
75 AnalysisCorrelationToSurfaceUnitTest.cpp \
76 AnalysisPairCorrelationUnitTest.cpp \
[57adc7]77 AtomDescriptorTest.cpp \
78 atomsCalculationTest.cpp \
[9b6b2f]79 bondgraphunittest.cpp \
[77bc4f]80 BoxUnittest.cpp \
[57adc7]81 CacheableTest.cpp \
[5f612ee]82 CountBondsUnitTest.cpp \
[9f632c]83 FormulaUnittest.cpp \
[9b6b2f]84 gslmatrixsymmetricunittest.cpp \
85 gslmatrixunittest.cpp \
86 gslvectorunittest.cpp \
87 infounittest.cpp \
88 linearsystemofequationsunittest.cpp \
[45ef76]89 LineUnittest.cpp \
[5f612ee]90 LinkedCellUnitTest.cpp \
[9b6b2f]91 listofbondsunittest.cpp \
92 logunittest.cpp \
[0eb2dc]93 MatrixUnittest.cpp \
[57adc7]94 manipulateAtomsTest.cpp \
[8bcf3f]95 MenuDescriptionUnitTest.cpp \
[57adc7]96 MoleculeDescriptorTest.cpp \
97 ObserverTest.cpp \
[cb2146]98 ParserUnitTest.cpp \
[4eb4fe]99 periodentafelTest.cpp \
100 PlaneUnittest.cpp \
[e4afb4]101 RegistryUnitTest.cpp \
[997784]102 ShapeUnittest.cpp \
[7ca806]103 SingletonTest.cpp \
[9b6b2f]104 stackclassunittest.cpp \
105 tesselationunittest.cpp \
106 tesselation_boundarytriangleunittest.cpp \
107 tesselation_insideoutsideunittest.cpp \
[57adc7]108 vectorunittest.cpp
[9b6b2f]109
110TESTHEADERS = \
[5f612ee]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 \
[77bc4f]120 BoxUnittest.hpp \
[5f612ee]121 CacheableTest.hpp \
122 CountBondsUnitTest.hpp \
[9f632c]123 FormulaUnittest.hpp \
[5f612ee]124 gslmatrixsymmetricunittest.hpp \
125 gslmatrixunittest.hpp \
126 gslvectorunittest.hpp \
127 infounittest.hpp \
128 linearsystemofequationsunittest.hpp \
[45ef76]129 LineUnittest.hpp \
[5f612ee]130 LinkedCellUnitTest.hpp \
131 listofbondsunittest.hpp \
132 logunittest.hpp \
133 manipulateAtomsTest.hpp \
[0eb2dc]134 MatrixUnittest.hpp \
[8bcf3f]135 MenuDescriptionUnitTest.hpp \
[5f612ee]136 MoleculeDescriptorTest.hpp \
[e4afb4]137 ObserverTest.hpp \
[4eb4fe]138 periodentafelTest.hpp \
[b37436]139 ParserUnitTest.hpp \
[fa5a6a]140 PlaneUnittest.hpp \
[e4afb4]141 RegistryUnitTest.hpp \
[5f612ee]142 SingletonTest.hpp \
143 stackclassunittest.hpp \
144 tesselationunittest.hpp \
145 tesselation_boundarytriangleunittest.hpp \
146 tesselation_insideoutsideunittest.hpp \
147 vectorunittest.hpp
[9fb860]148
[9b6b2f]149
[861874]150ActionSequenceTest_SOURCES = UnitTestMain.cpp ActionSequenceTest.cpp ActionSequenceTest.hpp
[b37436]151ActionSequenceTest_LDADD = ${UILIBS} ${ALLLIBS}
[18eecf]152
[9b6b2f]153ActOnAllUnitTest_SOURCES = UnitTestMain.cpp ../test/ActOnAllTest.hpp ActOnAllUnitTest.cpp ActOnAllUnitTest.hpp
[4d9c01]154ActOnAllUnitTest_LDADD = ${ALLLIBS}
[c111db]155
[9b6b2f]156AnalysisBondsUnitTests_SOURCES = UnitTestMain.cpp analysisbondsunittest.cpp analysisbondsunittest.hpp
[4d9c01]157AnalysisBondsUnitTests_LDADD = ${ALLLIBS}
[96c961]158
[9b6b2f]159AnalysisCorrelationToPointUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToPointUnitTest.cpp AnalysisCorrelationToPointUnitTest.hpp
[4d9c01]160AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
[c4d4df]161
[9b6b2f]162AnalysisCorrelationToSurfaceUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToSurfaceUnitTest.cpp AnalysisCorrelationToSurfaceUnitTest.hpp
[4d9c01]163AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
[c4d4df]164
[9b6b2f]165AnalysisPairCorrelationUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisPairCorrelationUnitTest.cpp AnalysisPairCorrelationUnitTest.hpp
[4d9c01]166AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
[c111db]167
[6e97e5]168atomsCalculationTest_SOURCES = UnitTestMain.cpp atomsCalculationTest.cpp atomsCalculationTest.hpp
169atomsCalculationTest_LDADD = ${ALLLIBS}
170
[18eecf]171AtomDescriptorTest_SOURCES = UnitTestMain.cpp AtomDescriptorTest.cpp AtomDescriptorTest.hpp
172AtomDescriptorTest_LDADD = ${ALLLIBS}
173
[9b6b2f]174BondGraphUnitTest_SOURCES = UnitTestMain.cpp bondgraphunittest.cpp bondgraphunittest.hpp
[4d9c01]175BondGraphUnitTest_LDADD = ${ALLLIBS}
[46ea3b]176
[77bc4f]177BoxUnittest_SOURCES = UnitTestMain.cpp BoxUnittest.cpp BoxUnittest.hpp
178BoxUnittest_LDADD = ${ALLLIBS}
179
[18eecf]180CacheableTest_SOURCES = UnitTestMain.cpp CacheableTest.cpp CacheableTest.hpp
181CacheableTest_LDADD = ${ALLLIBS}
182
[5f612ee]183CountBondsUnitTest_SOURCES = UnitTestMain.cpp CountBondsUnitTest.cpp CountBondsUnitTest.hpp
184CountBondsUnitTest_LDADD = ${ALLLIBS}
185
[9f632c]186FormulaUnittest_SOURCES = UnitTestMain.cpp FormulaUnittest.cpp FormulaUnittest.hpp
187FormulaUnittest_LDADD = ${ALLLIBS}
188
[9b6b2f]189GSLMatrixSymmetricUnitTest_SOURCES = UnitTestMain.cpp gslmatrixsymmetricunittest.cpp gslmatrixsymmetricunittest.hpp
[57f243]190GSLMatrixSymmetricUnitTest_LDADD = ${ALLLIBS}
[9fb860]191
[9b6b2f]192GSLMatrixUnitTest_SOURCES = UnitTestMain.cpp gslmatrixunittest.cpp gslmatrixunittest.hpp
[57f243]193GSLMatrixUnitTest_LDADD = ${ALLLIBS}
[9fb860]194
[9b6b2f]195GSLVectorUnitTest_SOURCES = UnitTestMain.cpp gslvectorunittest.cpp gslvectorunittest.hpp
[57f243]196GSLVectorUnitTest_LDADD = ${ALLLIBS}
[46ea3b]197
[9b6b2f]198InfoUnitTest_SOURCES = UnitTestMain.cpp infounittest.cpp infounittest.hpp
[4d9c01]199InfoUnitTest_LDADD = ${ALLLIBS}
[8725ed]200
[9b6b2f]201LinearSystemOfEquationsUnitTest_SOURCES = UnitTestMain.cpp linearsystemofequationsunittest.cpp linearsystemofequationsunittest.hpp
[4d9c01]202LinearSystemOfEquationsUnitTest_LDADD = ${ALLLIBS}
[8725ed]203
[45ef76]204LineUnittest_SOURCES = UnitTestMain.cpp LineUnittest.cpp LineUnittest.hpp
205LineUnittest_LDADD = ${ALLLIBS}
206
[5f612ee]207LinkedCellUnitTest_SOURCES = UnitTestMain.cpp LinkedCellUnitTest.cpp LinkedCellUnitTest.hpp
208LinkedCellUnitTest_LDADD = ${ALLLIBS}
[46ea3b]209
[9b6b2f]210ListOfBondsUnitTest_SOURCES = UnitTestMain.cpp listofbondsunittest.cpp listofbondsunittest.hpp
[4d9c01]211ListOfBondsUnitTest_LDADD = ${ALLLIBS}
[266237]212
[9b6b2f]213LogUnitTest_SOURCES = UnitTestMain.cpp logunittest.cpp logunittest.hpp
[4d9c01]214LogUnitTest_LDADD = ${ALLLIBS}
[7326b2]215
[18eecf]216manipulateAtomsTest_SOURCES = UnitTestMain.cpp manipulateAtomsTest.cpp manipulateAtomsTest.hpp
[b37436]217manipulateAtomsTest_LDADD = ${UILIBS} ${ALLLIBS}
[18eecf]218
[0eb2dc]219MatrixUnittest_SOURCES = UnitTestMain.cpp MatrixUnittest.cpp MatrixUnittest.hpp
220MatrixUnittest_LDADD = ${ALLLIBS}
221
[8bcf3f]222MenuDescriptionUnitTest_SOURCES = UnitTestMain.cpp MenuDescriptionUnitTest.cpp MenuDescriptionUnitTest.hpp
223MenuDescriptionUnitTest_LDADD = ${ALLLIBS}
224
[57adc7]225MoleculeDescriptorTest_SOURCES = UnitTestMain.cpp MoleculeDescriptorTest.cpp MoleculeDescriptorTest.hpp
226MoleculeDescriptorTest_LDADD = ${ALLLIBS}
227
[18eecf]228ObserverTest_SOURCES = UnitTestMain.cpp ObserverTest.cpp ObserverTest.hpp
229ObserverTest_LDADD = ${ALLLIBS}
230
231ParserUnitTest_SOURCES = UnitTestMain.cpp ParserUnitTest.cpp ParserUnitTest.hpp
[952f38]232ParserUnitTest_LDADD = ${ALLLIBS}
[18eecf]233
[4eb4fe]234periodentafelTest_SOURCES = UnitTestMain.cpp periodentafelTest.cpp periodentafelTest.hpp
235periodentafelTest_LDADD = ${ALLLIBS}
236
[fa5a6a]237PlaneUnittest_SOURCES = UnitTestMain.cpp PlaneUnittest.cpp PlaneUnittest.hpp
238PlaneUnittest_LDADD = ${ALLLIBS}
239
[e4afb4]240Registry_SOURCES = UnitTestMain.cpp RegistryUnitTest.cpp RegistryUnitTest.hpp
241Registry_LDADD = ${ALLLIBS}
242
[997784]243ShapeUnittest_SOURCES = UnitTestMain.cpp ShapeUnittest.cpp ShapeUnittest.hpp
244ShapeUnittest_LDADD = ${ALLLIBS}
245
[7ca806]246SingletonTest_SOURCES = UnitTestMain.cpp SingletonTest.cpp SingletonTest.hpp
[6d574a]247SingletonTest_LDADD = ${ALLLIBS} $(BOOST_LIB) ${BOOST_THREAD_LIB}
[7ca806]248
[9b6b2f]249StackClassUnitTest_SOURCES = UnitTestMain.cpp stackclassunittest.cpp stackclassunittest.hpp
[4d9c01]250StackClassUnitTest_LDADD = ${ALLLIBS}
[d96277]251
[9b6b2f]252TesselationUnitTest_SOURCES = UnitTestMain.cpp tesselationunittest.cpp tesselationunittest.hpp
[4d9c01]253TesselationUnitTest_LDADD = ${ALLLIBS}
[c15ca2]254
[9b6b2f]255Tesselation_BoundaryTriangleUnitTest_SOURCES = UnitTestMain.cpp tesselation_boundarytriangleunittest.cpp tesselation_boundarytriangleunittest.hpp
[4d9c01]256Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
[e9c677]257
[9b6b2f]258Tesselation_InOutsideUnitTest_SOURCES = UnitTestMain.cpp tesselation_insideoutsideunittest.cpp tesselation_insideoutsideunittest.hpp
[4d9c01]259Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
[d96277]260
[36166d]261TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
[b37436]262TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
[7a1ce5]263
[18eecf]264VectorUnitTest_SOURCES = UnitTestMain.cpp vectorunittest.cpp vectorunittest.hpp
265VectorUnitTest_LDADD = ${ALLLIBS}
[7326b2]266
[18eecf]267#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.