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