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