source: src/unittests/Makefile.am@ 09806a

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 09806a was 3b35e7, checked in by Frederik Heber <heber@…>, 11 years ago

Fixes due to update to Ubuntu 14.04.

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