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
RevLine 
[18eecf]1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
[b9907c]4INCLUDES = -I$(top_srcdir)/src
5
[831a14]6AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
7AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
[be90f1]8
[9fb860]9TESTS = \
[112f90]10 ActionSequenceTest \
[9fb860]11 ActOnAllUnitTest \
12 AnalysisBondsUnitTests \
13 AnalysisCorrelationToPointUnitTest \
14 AnalysisCorrelationToSurfaceUnitTest \
15 AnalysisPairCorrelationUnitTest \
[57adc7]16 atomsCalculationTest \
17 AtomDescriptorTest \
[9fb860]18 BondGraphUnitTest \
[77bc4f]19 BoxUnittest \
[57adc7]20 CacheableTest \
[dfe8ef]21 CountBondsUnitTest \
[9f632c]22 FormulaUnittest \
[fc3b67]23 GSLMatrixSymmetricUnitTest \
24 GSLMatrixUnitTest \
[9fb860]25 GSLVectorUnitTest \
26 InfoUnitTest \
[f60610]27 LinearSystemOfEquationsUnitTest \
[45ef76]28 LineUnittest \
[dcea0f]29 LinkedCellUnitTest \
[9fb860]30 ListOfBondsUnitTest \
31 LogUnitTest \
[57adc7]32 manipulateAtomsTest \
[0eb2dc]33 MatrixUnittest \
[57adc7]34 MoleculeDescriptorTest \
35 ObserverTest \
[cb2146]36 ParserUnitTest \
[4eb4fe]37 periodentafelTest \
38 PlaneUnittest \
[997784]39 ShapeUnittest \
[7ca806]40 SingletonTest \
[9fb860]41 StackClassUnitTest \
42 TesselationUnitTest \
[e9c677]43 Tesselation_BoundaryTriangleUnitTest \
44 Tesselation_InOutsideUnitTest \
[112f90]45 VectorUnitTest
[46d958]46
[9fb860]47
[63c1f6]48check_PROGRAMS = $(TESTS)
[9b6b2f]49noinst_PROGRAMS = $(TESTS) TestRunner
[b9907c]50
[861874]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}
[4d9c01]54
[9b6b2f]55TESTSOURCES = \
56 ActOnAllUnitTest.cpp \
[57adc7]57 ActionSequenceTest.cpp \
[9b6b2f]58 analysisbondsunittest.cpp \
59 AnalysisCorrelationToPointUnitTest.cpp \
60 AnalysisCorrelationToSurfaceUnitTest.cpp \
61 AnalysisPairCorrelationUnitTest.cpp \
[57adc7]62 AtomDescriptorTest.cpp \
63 atomsCalculationTest.cpp \
[9b6b2f]64 bondgraphunittest.cpp \
[77bc4f]65 BoxUnittest.cpp \
[57adc7]66 CacheableTest.cpp \
[5f612ee]67 CountBondsUnitTest.cpp \
[9f632c]68 FormulaUnittest.cpp \
[9b6b2f]69 gslmatrixsymmetricunittest.cpp \
70 gslmatrixunittest.cpp \
71 gslvectorunittest.cpp \
72 infounittest.cpp \
73 linearsystemofequationsunittest.cpp \
[45ef76]74 LineUnittest.cpp \
[5f612ee]75 LinkedCellUnitTest.cpp \
[9b6b2f]76 listofbondsunittest.cpp \
77 logunittest.cpp \
[0eb2dc]78 MatrixUnittest.cpp \
[57adc7]79 manipulateAtomsTest.cpp \
80 MoleculeDescriptorTest.cpp \
81 ObserverTest.cpp \
[cb2146]82 ParserUnitTest.cpp \
[4eb4fe]83 periodentafelTest.cpp \
84 PlaneUnittest.cpp \
[997784]85 ShapeUnittest.cpp \
[7ca806]86 SingletonTest.cpp \
[9b6b2f]87 stackclassunittest.cpp \
88 tesselationunittest.cpp \
89 tesselation_boundarytriangleunittest.cpp \
90 tesselation_insideoutsideunittest.cpp \
[57adc7]91 vectorunittest.cpp
[9b6b2f]92
93TESTHEADERS = \
[5f612ee]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 \
[77bc4f]103 BoxUnittest.hpp \
[5f612ee]104 CacheableTest.hpp \
105 CountBondsUnitTest.hpp \
[9f632c]106 FormulaUnittest.hpp \
[5f612ee]107 gslmatrixsymmetricunittest.hpp \
108 gslmatrixunittest.hpp \
109 gslvectorunittest.hpp \
110 infounittest.hpp \
111 linearsystemofequationsunittest.hpp \
[45ef76]112 LineUnittest.hpp \
[5f612ee]113 LinkedCellUnitTest.hpp \
114 listofbondsunittest.hpp \
115 logunittest.hpp \
116 manipulateAtomsTest.hpp \
[0eb2dc]117 MatrixUnittest.hpp \
[5f612ee]118 MoleculeDescriptorTest.hpp \
[4eb4fe]119 periodentafelTest.hpp \
[fa5a6a]120 PlaneUnittest.hpp \
[5f612ee]121 ObserverTest.hpp \
122 SingletonTest.hpp \
123 stackclassunittest.hpp \
124 tesselationunittest.hpp \
125 tesselation_boundarytriangleunittest.hpp \
126 tesselation_insideoutsideunittest.hpp \
127 vectorunittest.hpp
[9fb860]128
[9b6b2f]129
[861874]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}
[18eecf]132
[9b6b2f]133ActOnAllUnitTest_SOURCES = UnitTestMain.cpp ../test/ActOnAllTest.hpp ActOnAllUnitTest.cpp ActOnAllUnitTest.hpp
[4d9c01]134ActOnAllUnitTest_LDADD = ${ALLLIBS}
[c111db]135
[9b6b2f]136AnalysisBondsUnitTests_SOURCES = UnitTestMain.cpp analysisbondsunittest.cpp analysisbondsunittest.hpp
[4d9c01]137AnalysisBondsUnitTests_LDADD = ${ALLLIBS}
[96c961]138
[9b6b2f]139AnalysisCorrelationToPointUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToPointUnitTest.cpp AnalysisCorrelationToPointUnitTest.hpp
[4d9c01]140AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
[c4d4df]141
[9b6b2f]142AnalysisCorrelationToSurfaceUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToSurfaceUnitTest.cpp AnalysisCorrelationToSurfaceUnitTest.hpp
[4d9c01]143AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
[c4d4df]144
[9b6b2f]145AnalysisPairCorrelationUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisPairCorrelationUnitTest.cpp AnalysisPairCorrelationUnitTest.hpp
[4d9c01]146AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
[c111db]147
[6e97e5]148atomsCalculationTest_SOURCES = UnitTestMain.cpp atomsCalculationTest.cpp atomsCalculationTest.hpp
149atomsCalculationTest_LDADD = ${ALLLIBS}
150
[18eecf]151AtomDescriptorTest_SOURCES = UnitTestMain.cpp AtomDescriptorTest.cpp AtomDescriptorTest.hpp
152AtomDescriptorTest_LDADD = ${ALLLIBS}
153
[9b6b2f]154BondGraphUnitTest_SOURCES = UnitTestMain.cpp bondgraphunittest.cpp bondgraphunittest.hpp
[4d9c01]155BondGraphUnitTest_LDADD = ${ALLLIBS}
[46ea3b]156
[77bc4f]157BoxUnittest_SOURCES = UnitTestMain.cpp BoxUnittest.cpp BoxUnittest.hpp
158BoxUnittest_LDADD = ${ALLLIBS}
159
[18eecf]160CacheableTest_SOURCES = UnitTestMain.cpp CacheableTest.cpp CacheableTest.hpp
161CacheableTest_LDADD = ${ALLLIBS}
162
[5f612ee]163CountBondsUnitTest_SOURCES = UnitTestMain.cpp CountBondsUnitTest.cpp CountBondsUnitTest.hpp
164CountBondsUnitTest_LDADD = ${ALLLIBS}
165
[9f632c]166FormulaUnittest_SOURCES = UnitTestMain.cpp FormulaUnittest.cpp FormulaUnittest.hpp
167FormulaUnittest_LDADD = ${ALLLIBS}
168
[9b6b2f]169GSLMatrixSymmetricUnitTest_SOURCES = UnitTestMain.cpp gslmatrixsymmetricunittest.cpp gslmatrixsymmetricunittest.hpp
[4d9c01]170GSLMatrixSymmetricUnitTest_LDADD = ${GSLLIBS}
[9fb860]171
[9b6b2f]172GSLMatrixUnitTest_SOURCES = UnitTestMain.cpp gslmatrixunittest.cpp gslmatrixunittest.hpp
[4d9c01]173GSLMatrixUnitTest_LDADD = ${GSLLIBS}
[9fb860]174
[9b6b2f]175GSLVectorUnitTest_SOURCES = UnitTestMain.cpp gslvectorunittest.cpp gslvectorunittest.hpp
[4d9c01]176GSLVectorUnitTest_LDADD = ${GSLLIBS}
[46ea3b]177
[9b6b2f]178InfoUnitTest_SOURCES = UnitTestMain.cpp infounittest.cpp infounittest.hpp
[4d9c01]179InfoUnitTest_LDADD = ${ALLLIBS}
[8725ed]180
[9b6b2f]181LinearSystemOfEquationsUnitTest_SOURCES = UnitTestMain.cpp linearsystemofequationsunittest.cpp linearsystemofequationsunittest.hpp
[4d9c01]182LinearSystemOfEquationsUnitTest_LDADD = ${ALLLIBS}
[8725ed]183
[45ef76]184LineUnittest_SOURCES = UnitTestMain.cpp LineUnittest.cpp LineUnittest.hpp
185LineUnittest_LDADD = ${ALLLIBS}
186
[5f612ee]187LinkedCellUnitTest_SOURCES = UnitTestMain.cpp LinkedCellUnitTest.cpp LinkedCellUnitTest.hpp
188LinkedCellUnitTest_LDADD = ${ALLLIBS}
[46ea3b]189
[9b6b2f]190ListOfBondsUnitTest_SOURCES = UnitTestMain.cpp listofbondsunittest.cpp listofbondsunittest.hpp
[4d9c01]191ListOfBondsUnitTest_LDADD = ${ALLLIBS}
[266237]192
[9b6b2f]193LogUnitTest_SOURCES = UnitTestMain.cpp logunittest.cpp logunittest.hpp
[4d9c01]194LogUnitTest_LDADD = ${ALLLIBS}
[7326b2]195
[861874]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}
[18eecf]198
[0eb2dc]199MatrixUnittest_SOURCES = UnitTestMain.cpp MatrixUnittest.cpp MatrixUnittest.hpp
200MatrixUnittest_LDADD = ${ALLLIBS}
201
[57adc7]202MoleculeDescriptorTest_SOURCES = UnitTestMain.cpp MoleculeDescriptorTest.cpp MoleculeDescriptorTest.hpp
203MoleculeDescriptorTest_LDADD = ${ALLLIBS}
204
[18eecf]205ObserverTest_SOURCES = UnitTestMain.cpp ObserverTest.cpp ObserverTest.hpp
206ObserverTest_LDADD = ${ALLLIBS}
207
208ParserUnitTest_SOURCES = UnitTestMain.cpp ParserUnitTest.cpp ParserUnitTest.hpp
[35b698]209ParserUnitTest_LDADD = ${PARSERLIBS}
[18eecf]210
[4eb4fe]211periodentafelTest_SOURCES = UnitTestMain.cpp periodentafelTest.cpp periodentafelTest.hpp
212periodentafelTest_LDADD = ${ALLLIBS}
213
[fa5a6a]214PlaneUnittest_SOURCES = UnitTestMain.cpp PlaneUnittest.cpp PlaneUnittest.hpp
215PlaneUnittest_LDADD = ${ALLLIBS}
216
[997784]217ShapeUnittest_SOURCES = UnitTestMain.cpp ShapeUnittest.cpp ShapeUnittest.hpp
218ShapeUnittest_LDADD = ${ALLLIBS}
219
[7ca806]220SingletonTest_SOURCES = UnitTestMain.cpp SingletonTest.cpp SingletonTest.hpp
[6d574a]221SingletonTest_LDADD = ${ALLLIBS} $(BOOST_LIB) ${BOOST_THREAD_LIB}
[7ca806]222
[9b6b2f]223StackClassUnitTest_SOURCES = UnitTestMain.cpp stackclassunittest.cpp stackclassunittest.hpp
[4d9c01]224StackClassUnitTest_LDADD = ${ALLLIBS}
[d96277]225
[9b6b2f]226TesselationUnitTest_SOURCES = UnitTestMain.cpp tesselationunittest.cpp tesselationunittest.hpp
[4d9c01]227TesselationUnitTest_LDADD = ${ALLLIBS}
[c15ca2]228
[9b6b2f]229Tesselation_BoundaryTriangleUnitTest_SOURCES = UnitTestMain.cpp tesselation_boundarytriangleunittest.cpp tesselation_boundarytriangleunittest.hpp
[4d9c01]230Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
[e9c677]231
[9b6b2f]232Tesselation_InOutsideUnitTest_SOURCES = UnitTestMain.cpp tesselation_insideoutsideunittest.cpp tesselation_insideoutsideunittest.hpp
[4d9c01]233Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
[d96277]234
[861874]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}
[7a1ce5]237
[18eecf]238VectorUnitTest_SOURCES = UnitTestMain.cpp vectorunittest.cpp vectorunittest.hpp
239VectorUnitTest_LDADD = ${ALLLIBS}
[7326b2]240
[18eecf]241#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.