source: src/unittests/Makefile.am@ 24e19e

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 24e19e was 353326, checked in by Frederik Heber <heber@…>, 12 years ago

FIX: Changed LIBADDs and LDADDs to get rid of libtool patching.

  • with the new ubuntu version libtool is told not to pass through dependencies in a hierarchy of shared libraries. Thus, we have been using a small patch to tell libtool to pass nonetheless. However, this is not necessary if the structure is slightly changed:
    • cleanUp now resides with libMolecuilderUI.la instead of molecuilder and molecuildergui directly
    • added LIBADD to libMolecuilder.la with libMolecuilderShapes.la
    • fixed some unit tests LDADDs
  • 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 =
[53bc04]7XFAIL_TESTS =
[455573]8
[0cfc27]9if CONDCPPUNIT
10
[455573]11include ../../src/Actions/unittests/Makefile.am
[9b5a2c]12include ../../src/Analysis/unittests/Makefile.am
[97c2550]13include ../../src/Atom/unittests/Makefile.am
[455573]14include ../../src/Descriptors/unittests/Makefile.am
[592be9]15include ../../src/Element/unittests/Makefile.am
[600a52]16include ../../src/Filling/unittests/Makefile.am
[355af8]17include ../../src/FunctionApproximation/unittests/Makefile.am
[feb7df]18include ../../src/Fragmentation/unittests/Makefile.am
[c3df23]19include ../../src/Fragmentation/Exporters/unittests/Makefile.am
[4694df]20include ../../src/Fragmentation/Homology/unittests/Makefile.am
[e920061]21include ../../src/Fragmentation/Summation/unittests/Makefile.am
[fbf143]22include ../../src/Fragmentation/Summation/Containers/unittests/Makefile.am
23include ../../src/Fragmentation/Summation/SetValues/unittests/Makefile.am
[629e43]24include ../../src/Graph/unittests/Makefile.am
[004d5c]25
26if CONDJOBMARKET
[cc5db5]27include ../../src/Jobs/unittests/Makefile.am
[004d5c]28endif
29
[91f592]30include ../../src/LinkedCell/unittests/Makefile.am
[dbb533]31include ../../src/Parameters/unittests/Makefile.am
[455573]32include ../../src/Parser/unittests/Makefile.am
[6efcae]33include ../../src/Potentials/unittests/Makefile.am
[3c1465]34include ../../src/Potentials/Specifics/unittests/Makefile.am
[455573]35include ../../src/RandomNumbers/unittests/Makefile.am
36include ../../src/Shapes/unittests/Makefile.am
[0b004b]37include ../../src/Tesselation/unittests/Makefile.am
[455573]38include ../../src/UIElements/CommandLineUI/unittests/Makefile.am
39include ../../src/UIElements/Menu/unittests/Makefile.am
[c0bccb]40
[004d5c]41INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
[b9907c]42
[353326]43AM_LDFLAGS = \
44 ${CodePatterns_LIBS} \
45 $(CPPUNIT_LIBS) \
46 -ldl
[a0064e]47AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
[be90f1]48
[455573]49GENERALTESTS = \
[5e6534]50 AtomIdSetUnitTest \
[f844ef]51 BoxUnitTest \
[dd067a]52 Box_BoundaryConditionsTest \
[9f632c]53 FormulaUnittest \
[9fb860]54 ListOfBondsUnitTest \
[c67ff9]55 MoleculeUnitTest \
[f649de]56 WorldTimeUnitTest
[4fbca9c]57
[455573]58# these ones are checked
59TESTS += $(GENERALTESTS)
60# these ones are built for checking only
61check_PROGRAMS += $(GENERALTESTS)
62# ... and not installed
[fbbcde]63noinst_PROGRAMS += $(GENERALTESTS)
64
65if CONDECUT
66noinst_PROGRAMS += TestRunner
67endif
68
[b9907c]69
[f08ae7]70BOOST_LIB = \
71 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
[d7d022]72 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
[31ca5f]73 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \
[353326]74 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) \
75 $(BOOST_THREAD_LDFLAGS) $(BOOST_THREAD_LIBS)
[455573]76
[9d4ff35]77GENERALLIBS = \
78 ../libMolecuilder.la \
79 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
80 ${CodePatterns_LIBS} \
81 $(BOOST_LIB)
82
[f4b5b7]83ALLLIBS = \
[353326]84 ../libMolecuilderUI.la
[eb0d77]85if CONDJOBMARKET
86ALLLIBS += \
87 ../libMolecuilderJobs.la
88endif
89ALLLIBS += \
[455573]90 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
91 ${CodePatterns_LIBS} \
92 $(BOOST_LIB)
[4d9c01]93
[9b6b2f]94TESTSOURCES = \
[455573]95 ${ACTIONTESTSSOURCES} \
[9b5a2c]96 ${ANALYSISTESTSSOURCES} \
[455573]97 ${DESCRIPTORTESTSSOURCES} \
[592be9]98 ${ELEMENTTESTSSOURCES} \
[600a52]99 ${FILLINGTESTSSOURCES} \
[feb7df]100 ${FRAGMENTATIONTESTSSOURCES} \
[629e43]101 ${GRAPHTESTSSOURCES} \
[794bc8]102 ${LINKEDCELLTESTSSOURCES} \
[455573]103 ${LINEARALGEBRATESTSSOURCES} \
[dbb533]104 ${PARAMETERTESTSSOURCES} \
[455573]105 ${PARSERTESTSSOURCES} \
106 ${RANDOMNUMBERTESTSSOURCES} \
107 ${SHAPETESTSSOURCES} \
[0b004b]108 ${TESSELATIONTESTSSOURCES} \
[455573]109 $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
110 ${UIELEMENTSMENUTESTSSOURCES} \
[99f4ee]111 stubs/ObserverStub.cpp \
[5e6534]112 AtomIdSetUnitTest.cpp \
[f844ef]113 BoxUnitTest.cpp \
[dd067a]114 Box_BoundaryConditionsUnitTest.cpp \
[f844ef]115 FormulaUnitTest.cpp \
116 ListOfBondsUnitTest.cpp \
[c67ff9]117 MoleculeUnitTest.cpp \
[f649de]118 WorldTimeUnitTest.cpp
[9b6b2f]119
120TESTHEADERS = \
[455573]121 ${ACTIONTESTSHEADERS} \
[9b5a2c]122 ${ANALYSISTESTSHEADERS} \
[455573]123 ${DESCRIPTORTESTSHEADERS} \
[592be9]124 ${ELEMENTTESTSHEADERS} \
[600a52]125 ${FILLINGTESTSHEADERS} \
[feb7df]126 ${FRAGMENTATIONTESTSHEADERS} \
[629e43]127 ${GRAPHTESTSHEADERS} \
[794bc8]128 ${LINKEDCELLTESTHEADERS} \
[455573]129 ${LINEARALGEBRATESTSHEADERS} \
[dbb533]130 ${PARAMETERTESTSHEADERS} \
[455573]131 ${PARSERTESTSHEADERS} \
132 ${RANDOMNUMBERTESTSHEADERS} \
133 ${SHAPETESTSHEADERS} \
[0b004b]134 ${TESSELATIONTESTSHEADERS} \
[455573]135 $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
136 ${UIELEMENTSMENUTESTSHEADERS} \
[99f4ee]137 stubs/ObserverStub.hpp \
[5e6534]138 AtomIdSetUnitTest.hpp \
[f844ef]139 BoxUnitTest.hpp \
[dd067a]140 Box_BoundaryConditionsUnitTest.hpp \
[f844ef]141 FormulaUnitTest.hpp \
142 ListOfBondsUnitTest.hpp \
[c67ff9]143 MoleculeUnitTest.hpp \
[bf4b9f]144 WorldTimeUnitTest.hpp
[9fb860]145
[9b6b2f]146
[f844ef]147BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
148 BoxUnitTest.cpp \
[99f4ee]149 BoxUnitTest.hpp \
150 stubs/ObserverStub.cpp \
[da1e92]151 stubs/ObserverStub.hpp \
152 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
153 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
[9d4ff35]154BoxUnitTest_LDADD = \
155 ../libMolecuilder.la \
156 ../libMolecuilderShapes.la \
157 ../libMolecuilderHelpers.la \
[31ca5f]158 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[353326]159 ${CodePatterns_LIBS} \
160 $(BOOST_LIB)
[77bc4f]161
[5e6534]162AtomIdSetUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
163 AtomIdSetUnitTest.cpp \
164 AtomIdSetUnitTest.hpp
165AtomIdSetUnitTest_LDADD = $(ALLLIBS)
166
[dd067a]167Box_BoundaryConditionsTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
168 Box_BoundaryConditionsUnitTest.cpp \
169 Box_BoundaryConditionsUnitTest.hpp \
170 ../Box_BoundaryConditions.cpp \
171 ../Box_BoundaryConditions.hpp
172Box_BoundaryConditionsTest_LDADD = \
173 ${CodePatterns_LIBS} \
174 $(BOOST_LIB)
175
[f844ef]176FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
177 FormulaUnitTest.cpp \
178 FormulaUnitTest.hpp
[9d4ff35]179FormulaUnittest_LDADD = $(ALLLIBS)
[9f632c]180
[f844ef]181ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
182 ListOfBondsUnitTest.cpp \
183 ListOfBondsUnitTest.hpp
[9d4ff35]184ListOfBondsUnitTest_LDADD = $(ALLLIBS)
[266237]185
[c67ff9]186MoleculeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
187 MoleculeUnitTest.cpp \
188 MoleculeUnitTest.hpp
[353326]189MoleculeUnitTest_LDADD = \
190 $(ALLLIBS) \
191 ../libMolecuilderShapes.la \
192 ../libMolecuilderHelpers.la
[c67ff9]193
[f649de]194WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
195 WorldTimeUnitTest.cpp \
196 WorldTimeUnitTest.hpp \
197 ../WorldTime.cpp \
198 ../WorldTime.hpp
199WorldTimeUnitTest_LDADD = ${BOOST_LIB}
200
201
[36166d]202TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
[b37436]203TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
[7a1ce5]204
[18eecf]205#AUTOMAKE_OPTIONS = parallel-tests
[0cfc27]206
207endif
Note: See TracBrowser for help on using the repository browser.