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