source: src/unittests/Makefile.am@ e7ff10

Action_Thermostats Add_AtomRandomPerturbation Add_RotateAroundBondAction Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_ChronosMutex Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion GeometryObjects Gui_displays_atomic_force_velocity IndependentFragmentGrids_IntegrationTest JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks RotateToPrincipalAxisSystem_UndoRedo StoppableMakroAction Subpackage_CodePatterns Subpackage_JobMarket Subpackage_LinearAlgebra Subpackage_levmar Subpackage_mpqc_open Subpackage_vmg ThirdParty_MPQC_rebuilt_buildsystem TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps Ubuntu_1604_changes stable
Last change on this file since e7ff10 was 4ecb2d, checked in by Frederik Heber <heber@…>, 8 years ago

Moved LinearAlgebra sub-package into ThirdParty folder.

  • needed to adapt location of libLinearAlgebra.la in all Makefile.am's.
  • relinked m4 subfolder, relinked am_doxygen_include.am. Both point to those present in molecuilder parent folder.
  • adapted configure.ac's:
  • Property mode set to 100644
File size: 8.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 =
[e9e86f]9noinst_LTLIBRARIES =
10
11#AUTOMAKE_OPTIONS = no-dependencies
[455573]12
[0cfc27]13if CONDCPPUNIT
14
[455573]15include ../../src/Actions/unittests/Makefile.am
[9b5a2c]16include ../../src/Analysis/unittests/Makefile.am
[97c2550]17include ../../src/Atom/unittests/Makefile.am
[455573]18include ../../src/Descriptors/unittests/Makefile.am
[592be9]19include ../../src/Element/unittests/Makefile.am
[600a52]20include ../../src/Filling/unittests/Makefile.am
[355af8]21include ../../src/FunctionApproximation/unittests/Makefile.am
[feb7df]22include ../../src/Fragmentation/unittests/Makefile.am
[c3df23]23include ../../src/Fragmentation/Exporters/unittests/Makefile.am
[4694df]24include ../../src/Fragmentation/Homology/unittests/Makefile.am
[e920061]25include ../../src/Fragmentation/Summation/unittests/Makefile.am
[fbf143]26include ../../src/Fragmentation/Summation/Containers/unittests/Makefile.am
27include ../../src/Fragmentation/Summation/SetValues/unittests/Makefile.am
[629e43]28include ../../src/Graph/unittests/Makefile.am
[004d5c]29
30if CONDJOBMARKET
[cc5db5]31include ../../src/Jobs/unittests/Makefile.am
[004d5c]32endif
33
[91f592]34include ../../src/LinkedCell/unittests/Makefile.am
[dbb533]35include ../../src/Parameters/unittests/Makefile.am
[455573]36include ../../src/Parser/unittests/Makefile.am
[6efcae]37include ../../src/Potentials/unittests/Makefile.am
[3c1465]38include ../../src/Potentials/Specifics/unittests/Makefile.am
[455573]39include ../../src/RandomNumbers/unittests/Makefile.am
40include ../../src/Shapes/unittests/Makefile.am
[0b004b]41include ../../src/Tesselation/unittests/Makefile.am
[455573]42include ../../src/UIElements/CommandLineUI/unittests/Makefile.am
43include ../../src/UIElements/Menu/unittests/Makefile.am
[c0bccb]44
[353326]45AM_LDFLAGS = \
46 ${CodePatterns_LIBS} \
47 $(CPPUNIT_LIBS) \
48 -ldl
[4ecb2d]49AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/ThirdParty/LinearAlgebra/src ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
[be90f1]50
[455573]51GENERALTESTS = \
[5e6534]52 AtomIdSetUnitTest \
[f844ef]53 BoxUnitTest \
[dd067a]54 Box_BoundaryConditionsTest \
[9f632c]55 FormulaUnittest \
[9fb860]56 ListOfBondsUnitTest \
[c67ff9]57 MoleculeUnitTest \
[f649de]58 WorldTimeUnitTest
[4fbca9c]59
[455573]60# these ones are checked
61TESTS += $(GENERALTESTS)
62# these ones are built for checking only
63check_PROGRAMS += $(GENERALTESTS)
64# ... and not installed
[fbbcde]65noinst_PROGRAMS += $(GENERALTESTS)
66
67if CONDECUT
68noinst_PROGRAMS += TestRunner
69endif
70
[e9e86f]71noinst_LTLIBRARIES += libUnitTest.la
72libUnitTest_la_LDFLAGS = \
73 $(AM_LDFLAGS)
74libUnitTest_la_LIBADD =
75
76#nobase_libUnitTest_la_include_HEADERS =
77
78## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
79## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
80## will therefore be treated as if it were literally part of the target name,
81## and the variable name derived from that.
82## The file extension .cc is recognized by Automake, and makes it produce
83## rules which invoke the C++ compiler to produce a libtool object file (.lo)
84## from each source file. Note that it is not necessary to list header files
85## which are already listed elsewhere in a _HEADERS variable assignment.
86libUnitTest_la_SOURCES = UnitTestMain.cpp
87
88## Instruct libtool to include ABI version information in the generated shared
89## library file (.so). The library ABI version is defined in configure.ac, so
90## that all version information is kept in one place.
91#libUnitTest_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
92
93## The generated configuration header is installed in its own subdirectory of
94## $(libdir). The reason for this is that the configuration information put
95## into this header file describes the target platform the installed library
96## has been built for. Thus the file must not be installed into a location
97## intended for architecture-independent files, as defined by the Filesystem
98## Hierarchy Standard (FHS).
99## The nodist_ prefix instructs Automake to not generate rules for including
100## the listed files in the distribution on 'make dist'. Files that are listed
101## in _HEADERS variables are normally included in the distribution, but the
102## configuration header file is generated at configure time and should not be
103## shipped with the source tarball.
104#libUnitTest_la_libincludedir = $(libdir)/MoleCuilder/include
105#nodist_libUnitTest_la_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
106
107## Install the generated pkg-config file (.pc) into the expected location for
108## architecture-dependent package configuration information. Occasionally,
109## pkg-config files are also used for architecture-independent data packages,
110## in which case the correct install location would be $(datadir)/pkgconfig.
111#pkgconfigdir = $(libdir)/pkgconfig
112#pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
113
[b9907c]114
[f08ae7]115BOOST_LIB = \
116 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
[d7d022]117 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
[31ca5f]118 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \
[353326]119 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) \
120 $(BOOST_THREAD_LDFLAGS) $(BOOST_THREAD_LIBS)
[455573]121
[9d4ff35]122GENERALLIBS = \
123 ../libMolecuilder.la \
[4ecb2d]124 $(top_builddir)/ThirdParty/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[9d4ff35]125 ${CodePatterns_LIBS} \
126 $(BOOST_LIB)
127
[f4b5b7]128ALLLIBS = \
[e9e86f]129 libUnitTest.la \
[748fc7]130 ../libMolecuilder.la \
[353326]131 ../libMolecuilderUI.la
[eb0d77]132if CONDJOBMARKET
133ALLLIBS += \
134 ../libMolecuilderJobs.la
135endif
136ALLLIBS += \
[4ecb2d]137 $(top_builddir)/ThirdParty/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[455573]138 ${CodePatterns_LIBS} \
139 $(BOOST_LIB)
[4d9c01]140
[9b6b2f]141TESTSOURCES = \
[455573]142 ${ACTIONTESTSSOURCES} \
[9b5a2c]143 ${ANALYSISTESTSSOURCES} \
[455573]144 ${DESCRIPTORTESTSSOURCES} \
[592be9]145 ${ELEMENTTESTSSOURCES} \
[600a52]146 ${FILLINGTESTSSOURCES} \
[feb7df]147 ${FRAGMENTATIONTESTSSOURCES} \
[629e43]148 ${GRAPHTESTSSOURCES} \
[794bc8]149 ${LINKEDCELLTESTSSOURCES} \
[455573]150 ${LINEARALGEBRATESTSSOURCES} \
[dbb533]151 ${PARAMETERTESTSSOURCES} \
[455573]152 ${PARSERTESTSSOURCES} \
153 ${RANDOMNUMBERTESTSSOURCES} \
154 ${SHAPETESTSSOURCES} \
[0b004b]155 ${TESSELATIONTESTSSOURCES} \
[455573]156 $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
157 ${UIELEMENTSMENUTESTSSOURCES} \
[99f4ee]158 stubs/ObserverStub.cpp \
[5e6534]159 AtomIdSetUnitTest.cpp \
[f844ef]160 BoxUnitTest.cpp \
[dd067a]161 Box_BoundaryConditionsUnitTest.cpp \
[f844ef]162 FormulaUnitTest.cpp \
163 ListOfBondsUnitTest.cpp \
[c67ff9]164 MoleculeUnitTest.cpp \
[f649de]165 WorldTimeUnitTest.cpp
[9b6b2f]166
167TESTHEADERS = \
[455573]168 ${ACTIONTESTSHEADERS} \
[9b5a2c]169 ${ANALYSISTESTSHEADERS} \
[455573]170 ${DESCRIPTORTESTSHEADERS} \
[592be9]171 ${ELEMENTTESTSHEADERS} \
[600a52]172 ${FILLINGTESTSHEADERS} \
[feb7df]173 ${FRAGMENTATIONTESTSHEADERS} \
[629e43]174 ${GRAPHTESTSHEADERS} \
[794bc8]175 ${LINKEDCELLTESTHEADERS} \
[455573]176 ${LINEARALGEBRATESTSHEADERS} \
[dbb533]177 ${PARAMETERTESTSHEADERS} \
[455573]178 ${PARSERTESTSHEADERS} \
179 ${RANDOMNUMBERTESTSHEADERS} \
180 ${SHAPETESTSHEADERS} \
[0b004b]181 ${TESSELATIONTESTSHEADERS} \
[455573]182 $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
183 ${UIELEMENTSMENUTESTSHEADERS} \
[99f4ee]184 stubs/ObserverStub.hpp \
[5e6534]185 AtomIdSetUnitTest.hpp \
[f844ef]186 BoxUnitTest.hpp \
[dd067a]187 Box_BoundaryConditionsUnitTest.hpp \
[f844ef]188 FormulaUnitTest.hpp \
189 ListOfBondsUnitTest.hpp \
[c67ff9]190 MoleculeUnitTest.hpp \
[bf4b9f]191 WorldTimeUnitTest.hpp
[9fb860]192
[9b6b2f]193
[e9e86f]194BoxUnitTest_SOURCES = \
[f844ef]195 BoxUnitTest.cpp \
[99f4ee]196 BoxUnitTest.hpp \
197 stubs/ObserverStub.cpp \
[da1e92]198 stubs/ObserverStub.hpp \
199 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
200 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
[9d4ff35]201BoxUnitTest_LDADD = \
[748fc7]202 $(ALLLIBS) \
[9d4ff35]203 ../libMolecuilderShapes.la \
[748fc7]204 ../libMolecuilderHelpers.la
[77bc4f]205
[e9e86f]206AtomIdSetUnitTest_SOURCES = \
[5e6534]207 AtomIdSetUnitTest.cpp \
208 AtomIdSetUnitTest.hpp
209AtomIdSetUnitTest_LDADD = $(ALLLIBS)
210
[e9e86f]211Box_BoundaryConditionsTest_SOURCES = \
[dd067a]212 Box_BoundaryConditionsUnitTest.cpp \
[748fc7]213 Box_BoundaryConditionsUnitTest.hpp
[dd067a]214Box_BoundaryConditionsTest_LDADD = \
[748fc7]215 $(ALLLIBS) \
216 ../libMolecuilderShapes.la \
217 ../libMolecuilderHelpers.la
[dd067a]218
[e9e86f]219FormulaUnittest_SOURCES = \
[f844ef]220 FormulaUnitTest.cpp \
221 FormulaUnitTest.hpp
[9d4ff35]222FormulaUnittest_LDADD = $(ALLLIBS)
[9f632c]223
[e9e86f]224ListOfBondsUnitTest_SOURCES = \
[f844ef]225 ListOfBondsUnitTest.cpp \
226 ListOfBondsUnitTest.hpp
[9d4ff35]227ListOfBondsUnitTest_LDADD = $(ALLLIBS)
[266237]228
[e9e86f]229MoleculeUnitTest_SOURCES = \
[c67ff9]230 MoleculeUnitTest.cpp \
231 MoleculeUnitTest.hpp
[353326]232MoleculeUnitTest_LDADD = \
233 $(ALLLIBS) \
234 ../libMolecuilderShapes.la \
235 ../libMolecuilderHelpers.la
[c67ff9]236
[e9e86f]237WorldTimeUnitTest_SOURCES = \
[f649de]238 WorldTimeUnitTest.cpp \
[748fc7]239 WorldTimeUnitTest.hpp
[e9e86f]240WorldTimeUnitTest_LDADD = \
[748fc7]241 $(ALLLIBS) \
242 ../libMolecuilderShapes.la \
243 ../libMolecuilderHelpers.la
[f649de]244
245
[36166d]246TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
[b37436]247TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
[7a1ce5]248
[18eecf]249#AUTOMAKE_OPTIONS = parallel-tests
[0cfc27]250
251endif
Note: See TracBrowser for help on using the repository browser.