source: src/unittests/Makefile.am@ 861874

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

libMolecuilderAction is now a shared lib via libtool.

This is all taken from the example available at http://www.openismus.com/documents/linux/building_libraries/building_libraries/building_libraries.shtml.

Necessary changes:

  • ValueStorage is now part of Actions, not of UIElements anymore (which is actually as it should have been right away, only Dialog uses ValueStorage and for all Actions ValueStorage is the simple adapter pattern to MapOfActions needed the relax (compilation) dependencies).
  • new files:
    • config/ltmain.sh (scipt for libtool)
    • libmolecuilder_config.h.in (extra config.h which is copied along with lib to contain how it has been compiled)
    • molecuilder.pc.in (package config information
  • BUGFIX: m4/gwqt4.m4 added -L$X_libraries, however $X_libraries was nowhere set and libtool admonished the empty "-L"
  • libMolecuilderUI now depends on libMolecuilderAction
  • all unit tests now have libMolecuilderAction and libMolecuilderUI due to non-interactive calls of actions
  • Property mode set to 100644
File size: 9.0 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4INCLUDES = -I$(top_srcdir)/src
5
6AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
7AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
8
9TESTS = \
10 ActionSequenceTest \
11 ActOnAllUnitTest \
12 AnalysisBondsUnitTests \
13 AnalysisCorrelationToPointUnitTest \
14 AnalysisCorrelationToSurfaceUnitTest \
15 AnalysisPairCorrelationUnitTest \
16 atomsCalculationTest \
17 AtomDescriptorTest \
18 BondGraphUnitTest \
19 BoxUnittest \
20 CacheableTest \
21 CountBondsUnitTest \
22 FormulaUnittest \
23 GSLMatrixSymmetricUnitTest \
24 GSLMatrixUnitTest \
25 GSLVectorUnitTest \
26 InfoUnitTest \
27 LinearSystemOfEquationsUnitTest \
28 LineUnittest \
29 LinkedCellUnitTest \
30 ListOfBondsUnitTest \
31 LogUnitTest \
32 manipulateAtomsTest \
33 MatrixUnittest \
34 MoleculeDescriptorTest \
35 ObserverTest \
36 ParserUnitTest \
37 periodentafelTest \
38 PlaneUnittest \
39 ShapeUnittest \
40 SingletonTest \
41 StackClassUnitTest \
42 TesselationUnitTest \
43 Tesselation_BoundaryTriangleUnitTest \
44 Tesselation_InOutsideUnitTest \
45 VectorUnitTest
46
47
48check_PROGRAMS = $(TESTS)
49noinst_PROGRAMS = $(TESTS) TestRunner
50
51GSLLIBS = ../libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB}
52ALLLIBS = ../UIElements/libMolecuilderUI.a ../Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la ../Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la ../libmolecuilder.a ${GSLLIBS}
53PARSERLIBS = ${ALLLIBS}
54
55TESTSOURCES = \
56 ActOnAllUnitTest.cpp \
57 ActionSequenceTest.cpp \
58 analysisbondsunittest.cpp \
59 AnalysisCorrelationToPointUnitTest.cpp \
60 AnalysisCorrelationToSurfaceUnitTest.cpp \
61 AnalysisPairCorrelationUnitTest.cpp \
62 AtomDescriptorTest.cpp \
63 atomsCalculationTest.cpp \
64 bondgraphunittest.cpp \
65 BoxUnittest.cpp \
66 CacheableTest.cpp \
67 CountBondsUnitTest.cpp \
68 FormulaUnittest.cpp \
69 gslmatrixsymmetricunittest.cpp \
70 gslmatrixunittest.cpp \
71 gslvectorunittest.cpp \
72 infounittest.cpp \
73 linearsystemofequationsunittest.cpp \
74 LineUnittest.cpp \
75 LinkedCellUnitTest.cpp \
76 listofbondsunittest.cpp \
77 logunittest.cpp \
78 MatrixUnittest.cpp \
79 manipulateAtomsTest.cpp \
80 MoleculeDescriptorTest.cpp \
81 ObserverTest.cpp \
82 ParserUnitTest.cpp \
83 periodentafelTest.cpp \
84 PlaneUnittest.cpp \
85 ShapeUnittest.cpp \
86 SingletonTest.cpp \
87 stackclassunittest.cpp \
88 tesselationunittest.cpp \
89 tesselation_boundarytriangleunittest.cpp \
90 tesselation_insideoutsideunittest.cpp \
91 vectorunittest.cpp
92
93TESTHEADERS = \
94 ActOnAllUnitTest.hpp \
95 ActionSequenceTest.hpp \
96 analysisbondsunittest.hpp \
97 AnalysisCorrelationToPointUnitTest.hpp \
98 AnalysisCorrelationToSurfaceUnitTest.hpp \
99 AnalysisPairCorrelationUnitTest.hpp \
100 AtomDescriptorTest.hpp \
101 atomsCalculationTest.hpp \
102 bondgraphunittest.hpp \
103 BoxUnittest.hpp \
104 CacheableTest.hpp \
105 CountBondsUnitTest.hpp \
106 FormulaUnittest.hpp \
107 gslmatrixsymmetricunittest.hpp \
108 gslmatrixunittest.hpp \
109 gslvectorunittest.hpp \
110 infounittest.hpp \
111 linearsystemofequationsunittest.hpp \
112 LineUnittest.hpp \
113 LinkedCellUnitTest.hpp \
114 listofbondsunittest.hpp \
115 logunittest.hpp \
116 manipulateAtomsTest.hpp \
117 MatrixUnittest.hpp \
118 MoleculeDescriptorTest.hpp \
119 periodentafelTest.hpp \
120 PlaneUnittest.hpp \
121 ObserverTest.hpp \
122 SingletonTest.hpp \
123 stackclassunittest.hpp \
124 tesselationunittest.hpp \
125 tesselation_boundarytriangleunittest.hpp \
126 tesselation_insideoutsideunittest.hpp \
127 vectorunittest.hpp
128
129
130ActionSequenceTest_SOURCES = UnitTestMain.cpp ActionSequenceTest.cpp ActionSequenceTest.hpp
131ActionSequenceTest_LDADD = ../UIElements/libMolecuilderUI.a ../Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la ../libmolecuilder.a ../libparser.a ../libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB}
132
133ActOnAllUnitTest_SOURCES = UnitTestMain.cpp ../test/ActOnAllTest.hpp ActOnAllUnitTest.cpp ActOnAllUnitTest.hpp
134ActOnAllUnitTest_LDADD = ${ALLLIBS}
135
136AnalysisBondsUnitTests_SOURCES = UnitTestMain.cpp analysisbondsunittest.cpp analysisbondsunittest.hpp
137AnalysisBondsUnitTests_LDADD = ${ALLLIBS}
138
139AnalysisCorrelationToPointUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToPointUnitTest.cpp AnalysisCorrelationToPointUnitTest.hpp
140AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
141
142AnalysisCorrelationToSurfaceUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToSurfaceUnitTest.cpp AnalysisCorrelationToSurfaceUnitTest.hpp
143AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
144
145AnalysisPairCorrelationUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisPairCorrelationUnitTest.cpp AnalysisPairCorrelationUnitTest.hpp
146AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
147
148atomsCalculationTest_SOURCES = UnitTestMain.cpp atomsCalculationTest.cpp atomsCalculationTest.hpp
149atomsCalculationTest_LDADD = ${ALLLIBS}
150
151AtomDescriptorTest_SOURCES = UnitTestMain.cpp AtomDescriptorTest.cpp AtomDescriptorTest.hpp
152AtomDescriptorTest_LDADD = ${ALLLIBS}
153
154BondGraphUnitTest_SOURCES = UnitTestMain.cpp bondgraphunittest.cpp bondgraphunittest.hpp
155BondGraphUnitTest_LDADD = ${ALLLIBS}
156
157BoxUnittest_SOURCES = UnitTestMain.cpp BoxUnittest.cpp BoxUnittest.hpp
158BoxUnittest_LDADD = ${ALLLIBS}
159
160CacheableTest_SOURCES = UnitTestMain.cpp CacheableTest.cpp CacheableTest.hpp
161CacheableTest_LDADD = ${ALLLIBS}
162
163CountBondsUnitTest_SOURCES = UnitTestMain.cpp CountBondsUnitTest.cpp CountBondsUnitTest.hpp
164CountBondsUnitTest_LDADD = ${ALLLIBS}
165
166FormulaUnittest_SOURCES = UnitTestMain.cpp FormulaUnittest.cpp FormulaUnittest.hpp
167FormulaUnittest_LDADD = ${ALLLIBS}
168
169GSLMatrixSymmetricUnitTest_SOURCES = UnitTestMain.cpp gslmatrixsymmetricunittest.cpp gslmatrixsymmetricunittest.hpp
170GSLMatrixSymmetricUnitTest_LDADD = ${GSLLIBS}
171
172GSLMatrixUnitTest_SOURCES = UnitTestMain.cpp gslmatrixunittest.cpp gslmatrixunittest.hpp
173GSLMatrixUnitTest_LDADD = ${GSLLIBS}
174
175GSLVectorUnitTest_SOURCES = UnitTestMain.cpp gslvectorunittest.cpp gslvectorunittest.hpp
176GSLVectorUnitTest_LDADD = ${GSLLIBS}
177
178InfoUnitTest_SOURCES = UnitTestMain.cpp infounittest.cpp infounittest.hpp
179InfoUnitTest_LDADD = ${ALLLIBS}
180
181LinearSystemOfEquationsUnitTest_SOURCES = UnitTestMain.cpp linearsystemofequationsunittest.cpp linearsystemofequationsunittest.hpp
182LinearSystemOfEquationsUnitTest_LDADD = ${ALLLIBS}
183
184LineUnittest_SOURCES = UnitTestMain.cpp LineUnittest.cpp LineUnittest.hpp
185LineUnittest_LDADD = ${ALLLIBS}
186
187LinkedCellUnitTest_SOURCES = UnitTestMain.cpp LinkedCellUnitTest.cpp LinkedCellUnitTest.hpp
188LinkedCellUnitTest_LDADD = ${ALLLIBS}
189
190ListOfBondsUnitTest_SOURCES = UnitTestMain.cpp listofbondsunittest.cpp listofbondsunittest.hpp
191ListOfBondsUnitTest_LDADD = ${ALLLIBS}
192
193LogUnitTest_SOURCES = UnitTestMain.cpp logunittest.cpp logunittest.hpp
194LogUnitTest_LDADD = ${ALLLIBS}
195
196manipulateAtomsTest_SOURCES = UnitTestMain.cpp manipulateAtomsTest.cpp manipulateAtomsTest.hpp
197manipulateAtomsTest_LDADD = ../UIElements/libMolecuilderUI.a ../Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la ../libmolecuilder.a ../libparser.a ../libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB}
198
199MatrixUnittest_SOURCES = UnitTestMain.cpp MatrixUnittest.cpp MatrixUnittest.hpp
200MatrixUnittest_LDADD = ${ALLLIBS}
201
202MoleculeDescriptorTest_SOURCES = UnitTestMain.cpp MoleculeDescriptorTest.cpp MoleculeDescriptorTest.hpp
203MoleculeDescriptorTest_LDADD = ${ALLLIBS}
204
205ObserverTest_SOURCES = UnitTestMain.cpp ObserverTest.cpp ObserverTest.hpp
206ObserverTest_LDADD = ${ALLLIBS}
207
208ParserUnitTest_SOURCES = UnitTestMain.cpp ParserUnitTest.cpp ParserUnitTest.hpp
209ParserUnitTest_LDADD = ${PARSERLIBS}
210
211periodentafelTest_SOURCES = UnitTestMain.cpp periodentafelTest.cpp periodentafelTest.hpp
212periodentafelTest_LDADD = ${ALLLIBS}
213
214PlaneUnittest_SOURCES = UnitTestMain.cpp PlaneUnittest.cpp PlaneUnittest.hpp
215PlaneUnittest_LDADD = ${ALLLIBS}
216
217ShapeUnittest_SOURCES = UnitTestMain.cpp ShapeUnittest.cpp ShapeUnittest.hpp
218ShapeUnittest_LDADD = ${ALLLIBS}
219
220SingletonTest_SOURCES = UnitTestMain.cpp SingletonTest.cpp SingletonTest.hpp
221SingletonTest_LDADD = ${ALLLIBS} $(BOOST_LIB) ${BOOST_THREAD_LIB}
222
223StackClassUnitTest_SOURCES = UnitTestMain.cpp stackclassunittest.cpp stackclassunittest.hpp
224StackClassUnitTest_LDADD = ${ALLLIBS}
225
226TesselationUnitTest_SOURCES = UnitTestMain.cpp tesselationunittest.cpp tesselationunittest.hpp
227TesselationUnitTest_LDADD = ${ALLLIBS}
228
229Tesselation_BoundaryTriangleUnitTest_SOURCES = UnitTestMain.cpp tesselation_boundarytriangleunittest.cpp tesselation_boundarytriangleunittest.hpp
230Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
231
232Tesselation_InOutsideUnitTest_SOURCES = UnitTestMain.cpp tesselation_insideoutsideunittest.cpp tesselation_insideoutsideunittest.hpp
233Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
234
235TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
236TestRunner_LDADD = ../UIElements/libMolecuilderUI.a ../Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la ../libmolecuilder.a ../libparser.a ../libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB}
237
238VectorUnitTest_SOURCES = UnitTestMain.cpp vectorunittest.cpp vectorunittest.hpp
239VectorUnitTest_LDADD = ${ALLLIBS}
240
241#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.