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