source: src/unittests/Makefile.am@ e920061

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

libMolecuilderFagmentationSummation is now just a normal convenience library.

  • We might keep it as a shared as it is independent of others. However, as libtool is buggy with pulling in shared library dependencies, we would have to add them also to the executables LDADD.
  • also we removed the extra compilation SUBDIRS.
  • adapted all paths in Makefile.am and unittests/Makefile.am.
  • Property mode set to 100644
File size: 5.4 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
9include ../../src/Actions/unittests/Makefile.am
10include ../../src/Analysis/unittests/Makefile.am
11include ../../src/Atom/unittests/Makefile.am
12include ../../src/Descriptors/unittests/Makefile.am
13include ../../src/Element/unittests/Makefile.am
14include ../../src/Filling/unittests/Makefile.am
15include ../../src/Fragmentation/unittests/Makefile.am
16include ../../src/Fragmentation/Summation/unittests/Makefile.am
17include ../../src/Graph/unittests/Makefile.am
18
19if CONDJOBMARKET
20include ../../src/Jobs/unittests/Makefile.am
21endif
22
23include ../../src/LinkedCell/unittests/Makefile.am
24include ../../src/Parameters/unittests/Makefile.am
25include ../../src/Parser/unittests/Makefile.am
26include ../../src/RandomNumbers/unittests/Makefile.am
27include ../../src/Shapes/unittests/Makefile.am
28include ../../src/Tesselation/unittests/Makefile.am
29include ../../src/UIElements/CommandLineUI/unittests/Makefile.am
30include ../../src/UIElements/Menu/unittests/Makefile.am
31
32INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
33
34AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
35AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
36
37GENERALTESTS = \
38 AtomIdSetUnitTest \
39 BoxUnitTest \
40 Box_BoundaryConditionsTest \
41 FormulaUnittest \
42 ListOfBondsUnitTest \
43 MoleculeUnitTest \
44 WorldTimeUnitTest
45
46# these ones are checked
47TESTS += $(GENERALTESTS)
48# these ones are built for checking only
49check_PROGRAMS += $(GENERALTESTS)
50# ... and not installed
51noinst_PROGRAMS += $(GENERALTESTS)
52
53if CONDECUT
54noinst_PROGRAMS += TestRunner
55endif
56
57
58BOOST_LIB = \
59 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
60 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
61 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \
62 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS)
63
64GENERALLIBS = \
65 ../libMolecuilder.la \
66 ../libMolecuilderHelpers.la \
67 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
68 ${CodePatterns_LIBS} \
69 $(BOOST_LIB)
70
71ALLLIBS = \
72 ../libMolecuilderFilling.la \
73 ../libMolecuilderUI.la \
74 ../libMolecuilder.la
75if CONDJOBMARKET
76ALLLIBS += \
77 ../libMolecuilderJobs.la
78endif
79ALLLIBS += \
80 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
81 ${CodePatterns_LIBS} \
82 $(BOOST_LIB)
83
84TESTSOURCES = \
85 ${ACTIONTESTSSOURCES} \
86 ${ANALYSISTESTSSOURCES} \
87 ${DESCRIPTORTESTSSOURCES} \
88 ${ELEMENTTESTSSOURCES} \
89 ${FILLINGTESTSSOURCES} \
90 ${FRAGMENTATIONTESTSSOURCES} \
91 ${GRAPHTESTSSOURCES} \
92 ${LINKEDCELLTESTSSOURCES} \
93 ${LINEARALGEBRATESTSSOURCES} \
94 ${PARAMETERTESTSSOURCES} \
95 ${PARSERTESTSSOURCES} \
96 ${RANDOMNUMBERTESTSSOURCES} \
97 ${SHAPETESTSSOURCES} \
98 ${TESSELATIONTESTSSOURCES} \
99 $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
100 ${UIELEMENTSMENUTESTSSOURCES} \
101 stubs/ObserverStub.cpp \
102 AtomIdSetUnitTest.cpp \
103 BoxUnitTest.cpp \
104 Box_BoundaryConditionsUnitTest.cpp \
105 FormulaUnitTest.cpp \
106 ListOfBondsUnitTest.cpp \
107 MoleculeUnitTest.cpp \
108 WorldTimeUnitTest.cpp
109
110TESTHEADERS = \
111 ${ACTIONTESTSHEADERS} \
112 ${ANALYSISTESTSHEADERS} \
113 ${DESCRIPTORTESTSHEADERS} \
114 ${ELEMENTTESTSHEADERS} \
115 ${FILLINGTESTSHEADERS} \
116 ${FRAGMENTATIONTESTSHEADERS} \
117 ${GRAPHTESTSHEADERS} \
118 ${LINKEDCELLTESTHEADERS} \
119 ${LINEARALGEBRATESTSHEADERS} \
120 ${PARAMETERTESTSHEADERS} \
121 ${PARSERTESTSHEADERS} \
122 ${RANDOMNUMBERTESTSHEADERS} \
123 ${SHAPETESTSHEADERS} \
124 ${TESSELATIONTESTSHEADERS} \
125 $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
126 ${UIELEMENTSMENUTESTSHEADERS} \
127 stubs/ObserverStub.hpp \
128 AtomIdSetUnitTest.hpp \
129 BoxUnitTest.hpp \
130 Box_BoundaryConditionsUnitTest.hpp \
131 FormulaUnitTest.hpp \
132 ListOfBondsUnitTest.hpp \
133 MoleculeUnitTest.hpp \
134 WorldTimeUnitTest.hpp
135
136
137BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
138 BoxUnitTest.cpp \
139 BoxUnitTest.hpp \
140 stubs/ObserverStub.cpp \
141 stubs/ObserverStub.hpp \
142 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
143 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
144BoxUnitTest_LDADD = \
145 ../libMolecuilder.la \
146 ../libMolecuilderShapes.la \
147 ../libMolecuilderHelpers.la \
148 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
149 ${CodePatterns_LIBS}
150
151AtomIdSetUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
152 AtomIdSetUnitTest.cpp \
153 AtomIdSetUnitTest.hpp
154AtomIdSetUnitTest_LDADD = $(ALLLIBS)
155
156Box_BoundaryConditionsTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
157 Box_BoundaryConditionsUnitTest.cpp \
158 Box_BoundaryConditionsUnitTest.hpp \
159 ../Box_BoundaryConditions.cpp \
160 ../Box_BoundaryConditions.hpp
161Box_BoundaryConditionsTest_LDADD = \
162 ${CodePatterns_LIBS} \
163 $(BOOST_LIB)
164
165FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
166 FormulaUnitTest.cpp \
167 FormulaUnitTest.hpp
168FormulaUnittest_LDADD = $(ALLLIBS)
169
170ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
171 ListOfBondsUnitTest.cpp \
172 ListOfBondsUnitTest.hpp
173ListOfBondsUnitTest_LDADD = $(ALLLIBS)
174
175MoleculeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
176 MoleculeUnitTest.cpp \
177 MoleculeUnitTest.hpp
178MoleculeUnitTest_LDADD = $(ALLLIBS)
179
180WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
181 WorldTimeUnitTest.cpp \
182 WorldTimeUnitTest.hpp \
183 ../WorldTime.cpp \
184 ../WorldTime.hpp
185WorldTimeUnitTest_LDADD = ${BOOST_LIB}
186
187
188TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
189TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
190
191#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.