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
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4check_PROGRAMS =
5noinst_PROGRAMS =
6TESTS =
7XFAIL_TESTS =
8
9if CONDCPPUNIT
10
11include ../../src/Actions/unittests/Makefile.am
12include ../../src/Analysis/unittests/Makefile.am
13include ../../src/Atom/unittests/Makefile.am
14include ../../src/Descriptors/unittests/Makefile.am
15include ../../src/Element/unittests/Makefile.am
16include ../../src/Filling/unittests/Makefile.am
17include ../../src/FunctionApproximation/unittests/Makefile.am
18include ../../src/Fragmentation/unittests/Makefile.am
19include ../../src/Fragmentation/Exporters/unittests/Makefile.am
20include ../../src/Fragmentation/Homology/unittests/Makefile.am
21include ../../src/Fragmentation/Summation/unittests/Makefile.am
22include ../../src/Fragmentation/Summation/Containers/unittests/Makefile.am
23include ../../src/Fragmentation/Summation/SetValues/unittests/Makefile.am
24include ../../src/Graph/unittests/Makefile.am
25
26if CONDJOBMARKET
27include ../../src/Jobs/unittests/Makefile.am
28endif
29
30include ../../src/LinkedCell/unittests/Makefile.am
31include ../../src/Parameters/unittests/Makefile.am
32include ../../src/Parser/unittests/Makefile.am
33include ../../src/Potentials/unittests/Makefile.am
34include ../../src/Potentials/Specifics/unittests/Makefile.am
35include ../../src/RandomNumbers/unittests/Makefile.am
36include ../../src/Shapes/unittests/Makefile.am
37include ../../src/Tesselation/unittests/Makefile.am
38include ../../src/UIElements/CommandLineUI/unittests/Makefile.am
39include ../../src/UIElements/Menu/unittests/Makefile.am
40
41INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
42
43AM_LDFLAGS = \
44 ${CodePatterns_LIBS} \
45 $(CPPUNIT_LIBS) \
46 -ldl
47AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
48
49GENERALTESTS = \
50 AtomIdSetUnitTest \
51 BoxUnitTest \
52 Box_BoundaryConditionsTest \
53 FormulaUnittest \
54 ListOfBondsUnitTest \
55 MoleculeUnitTest \
56 WorldTimeUnitTest
57
58# these ones are checked
59TESTS += $(GENERALTESTS)
60# these ones are built for checking only
61check_PROGRAMS += $(GENERALTESTS)
62# ... and not installed
63noinst_PROGRAMS += $(GENERALTESTS)
64
65if CONDECUT
66noinst_PROGRAMS += TestRunner
67endif
68
69
70BOOST_LIB = \
71 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
72 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
73 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \
74 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) \
75 $(BOOST_THREAD_LDFLAGS) $(BOOST_THREAD_LIBS)
76
77GENERALLIBS = \
78 ../libMolecuilder.la \
79 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
80 ${CodePatterns_LIBS} \
81 $(BOOST_LIB)
82
83ALLLIBS = \
84 ../libMolecuilderUI.la
85if CONDJOBMARKET
86ALLLIBS += \
87 ../libMolecuilderJobs.la
88endif
89ALLLIBS += \
90 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
91 ${CodePatterns_LIBS} \
92 $(BOOST_LIB)
93
94TESTSOURCES = \
95 ${ACTIONTESTSSOURCES} \
96 ${ANALYSISTESTSSOURCES} \
97 ${DESCRIPTORTESTSSOURCES} \
98 ${ELEMENTTESTSSOURCES} \
99 ${FILLINGTESTSSOURCES} \
100 ${FRAGMENTATIONTESTSSOURCES} \
101 ${GRAPHTESTSSOURCES} \
102 ${LINKEDCELLTESTSSOURCES} \
103 ${LINEARALGEBRATESTSSOURCES} \
104 ${PARAMETERTESTSSOURCES} \
105 ${PARSERTESTSSOURCES} \
106 ${RANDOMNUMBERTESTSSOURCES} \
107 ${SHAPETESTSSOURCES} \
108 ${TESSELATIONTESTSSOURCES} \
109 $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
110 ${UIELEMENTSMENUTESTSSOURCES} \
111 stubs/ObserverStub.cpp \
112 AtomIdSetUnitTest.cpp \
113 BoxUnitTest.cpp \
114 Box_BoundaryConditionsUnitTest.cpp \
115 FormulaUnitTest.cpp \
116 ListOfBondsUnitTest.cpp \
117 MoleculeUnitTest.cpp \
118 WorldTimeUnitTest.cpp
119
120TESTHEADERS = \
121 ${ACTIONTESTSHEADERS} \
122 ${ANALYSISTESTSHEADERS} \
123 ${DESCRIPTORTESTSHEADERS} \
124 ${ELEMENTTESTSHEADERS} \
125 ${FILLINGTESTSHEADERS} \
126 ${FRAGMENTATIONTESTSHEADERS} \
127 ${GRAPHTESTSHEADERS} \
128 ${LINKEDCELLTESTHEADERS} \
129 ${LINEARALGEBRATESTSHEADERS} \
130 ${PARAMETERTESTSHEADERS} \
131 ${PARSERTESTSHEADERS} \
132 ${RANDOMNUMBERTESTSHEADERS} \
133 ${SHAPETESTSHEADERS} \
134 ${TESSELATIONTESTSHEADERS} \
135 $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
136 ${UIELEMENTSMENUTESTSHEADERS} \
137 stubs/ObserverStub.hpp \
138 AtomIdSetUnitTest.hpp \
139 BoxUnitTest.hpp \
140 Box_BoundaryConditionsUnitTest.hpp \
141 FormulaUnitTest.hpp \
142 ListOfBondsUnitTest.hpp \
143 MoleculeUnitTest.hpp \
144 WorldTimeUnitTest.hpp
145
146
147BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
148 BoxUnitTest.cpp \
149 BoxUnitTest.hpp \
150 stubs/ObserverStub.cpp \
151 stubs/ObserverStub.hpp \
152 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
153 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
154BoxUnitTest_LDADD = \
155 ../libMolecuilder.la \
156 ../libMolecuilderShapes.la \
157 ../libMolecuilderHelpers.la \
158 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
159 ${CodePatterns_LIBS} \
160 $(BOOST_LIB)
161
162AtomIdSetUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
163 AtomIdSetUnitTest.cpp \
164 AtomIdSetUnitTest.hpp
165AtomIdSetUnitTest_LDADD = $(ALLLIBS)
166
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
176FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
177 FormulaUnitTest.cpp \
178 FormulaUnitTest.hpp
179FormulaUnittest_LDADD = $(ALLLIBS)
180
181ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
182 ListOfBondsUnitTest.cpp \
183 ListOfBondsUnitTest.hpp
184ListOfBondsUnitTest_LDADD = $(ALLLIBS)
185
186MoleculeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
187 MoleculeUnitTest.cpp \
188 MoleculeUnitTest.hpp
189MoleculeUnitTest_LDADD = \
190 $(ALLLIBS) \
191 ../libMolecuilderShapes.la \
192 ../libMolecuilderHelpers.la
193
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
202TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
203TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
204
205#AUTOMAKE_OPTIONS = parallel-tests
206
207endif
Note: See TracBrowser for help on using the repository browser.