| [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) \
 | 
|---|
 | 54 |         $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
 | 
|---|
| [455573] | 55 | 
 | 
|---|
| [9d4ff35] | 56 | GENERALLIBS = \
 | 
|---|
 | 57 |         ../libMolecuilder.la \
 | 
|---|
 | 58 |         ../libMolecuilderHelpers.la \
 | 
|---|
 | 59 |         $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
 | 
|---|
 | 60 |         ${CodePatterns_LIBS} \
 | 
|---|
 | 61 |         $(BOOST_LIB)
 | 
|---|
 | 62 | 
 | 
|---|
| [f4b5b7] | 63 | ALLLIBS = \
 | 
|---|
| [600a52] | 64 |         ../libMolecuilderFilling.la \
 | 
|---|
| [455573] | 65 |         ../libMolecuilderUI.la \
 | 
|---|
| [acbe1b] | 66 |         ../libMolecuilder.la \
 | 
|---|
| [455573] | 67 |         $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
 | 
|---|
 | 68 |         ${CodePatterns_LIBS} \
 | 
|---|
 | 69 |         $(BOOST_LIB)
 | 
|---|
| [4d9c01] | 70 | 
 | 
|---|
| [9b6b2f] | 71 | TESTSOURCES = \
 | 
|---|
| [455573] | 72 |         ${ACTIONTESTSSOURCES} \
 | 
|---|
| [9b5a2c] | 73 |         ${ANALYSISTESTSSOURCES} \
 | 
|---|
| [455573] | 74 |         ${DESCRIPTORTESTSSOURCES} \
 | 
|---|
| [592be9] | 75 |         ${ELEMENTTESTSSOURCES} \
 | 
|---|
| [600a52] | 76 |         ${FILLINGTESTSSOURCES} \
 | 
|---|
| [feb7df] | 77 |         ${FRAGMENTATIONTESTSSOURCES} \
 | 
|---|
| [629e43] | 78 |         ${GRAPHTESTSSOURCES} \
 | 
|---|
| [794bc8] | 79 |         ${LINKEDCELLTESTSSOURCES} \
 | 
|---|
| [455573] | 80 |         ${LINEARALGEBRATESTSSOURCES} \
 | 
|---|
 | 81 |         ${PARSERTESTSSOURCES} \
 | 
|---|
 | 82 |         ${RANDOMNUMBERTESTSSOURCES} \
 | 
|---|
 | 83 |         ${SHAPETESTSSOURCES} \
 | 
|---|
| [0b004b] | 84 |         ${TESSELATIONTESTSSOURCES} \
 | 
|---|
| [455573] | 85 |         $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
 | 
|---|
 | 86 |         ${UIELEMENTSMENUTESTSSOURCES} \
 | 
|---|
| [99f4ee] | 87 |         stubs/ObserverStub.cpp \
 | 
|---|
| [5e6534] | 88 |         AtomIdSetUnitTest.cpp \
 | 
|---|
| [f844ef] | 89 |   BoxUnitTest.cpp \
 | 
|---|
| [dd067a] | 90 |         Box_BoundaryConditionsUnitTest.cpp \
 | 
|---|
| [f844ef] | 91 |   FormulaUnitTest.cpp \
 | 
|---|
 | 92 |   ListOfBondsUnitTest.cpp \
 | 
|---|
| [c67ff9] | 93 |   MoleculeUnitTest.cpp \
 | 
|---|
| [f649de] | 94 |   WorldTimeUnitTest.cpp
 | 
|---|
| [9b6b2f] | 95 | 
 | 
|---|
 | 96 | TESTHEADERS = \
 | 
|---|
| [455573] | 97 |         ${ACTIONTESTSHEADERS} \
 | 
|---|
| [9b5a2c] | 98 |         ${ANALYSISTESTSHEADERS} \
 | 
|---|
| [455573] | 99 |         ${DESCRIPTORTESTSHEADERS} \
 | 
|---|
| [592be9] | 100 |         ${ELEMENTTESTSHEADERS} \
 | 
|---|
| [600a52] | 101 |         ${FILLINGTESTSHEADERS} \
 | 
|---|
| [feb7df] | 102 |         ${FRAGMENTATIONTESTSHEADERS} \
 | 
|---|
| [629e43] | 103 |         ${GRAPHTESTSHEADERS} \
 | 
|---|
| [794bc8] | 104 |         ${LINKEDCELLTESTHEADERS} \
 | 
|---|
| [455573] | 105 |         ${LINEARALGEBRATESTSHEADERS} \
 | 
|---|
 | 106 |         ${PARSERTESTSHEADERS} \
 | 
|---|
 | 107 |         ${RANDOMNUMBERTESTSHEADERS} \
 | 
|---|
 | 108 |         ${SHAPETESTSHEADERS} \
 | 
|---|
| [0b004b] | 109 |         ${TESSELATIONTESTSHEADERS} \
 | 
|---|
| [455573] | 110 |         $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
 | 
|---|
 | 111 |         ${UIELEMENTSMENUTESTSHEADERS} \
 | 
|---|
| [99f4ee] | 112 |         stubs/ObserverStub.hpp \
 | 
|---|
| [5e6534] | 113 |         AtomIdSetUnitTest.hpp \
 | 
|---|
| [f844ef] | 114 |   BoxUnitTest.hpp \
 | 
|---|
| [dd067a] | 115 |         Box_BoundaryConditionsUnitTest.hpp \
 | 
|---|
| [f844ef] | 116 |   FormulaUnitTest.hpp \
 | 
|---|
 | 117 |   ListOfBondsUnitTest.hpp \
 | 
|---|
| [c67ff9] | 118 |   MoleculeUnitTest.hpp \
 | 
|---|
| [bf4b9f] | 119 |   WorldTimeUnitTest.hpp
 | 
|---|
| [9fb860] | 120 |   
 | 
|---|
| [9b6b2f] | 121 | 
 | 
|---|
| [f844ef] | 122 | BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
 | 
|---|
 | 123 |         BoxUnitTest.cpp \
 | 
|---|
| [99f4ee] | 124 |         BoxUnitTest.hpp \
 | 
|---|
 | 125 |         stubs/ObserverStub.cpp \
 | 
|---|
| [da1e92] | 126 |         stubs/ObserverStub.hpp \
 | 
|---|
 | 127 |         ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
 | 
|---|
 | 128 |         ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
 | 
|---|
| [9d4ff35] | 129 | BoxUnitTest_LDADD = \
 | 
|---|
 | 130 |         ../libMolecuilder.la \
 | 
|---|
 | 131 |         ../libMolecuilderShapes.la \
 | 
|---|
 | 132 |         ../libMolecuilderHelpers.la \
 | 
|---|
 | 133 |         $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la
 | 
|---|
| [77bc4f] | 134 | 
 | 
|---|
| [5e6534] | 135 | AtomIdSetUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
 | 
|---|
 | 136 |         AtomIdSetUnitTest.cpp \
 | 
|---|
 | 137 |         AtomIdSetUnitTest.hpp
 | 
|---|
 | 138 | AtomIdSetUnitTest_LDADD =  $(ALLLIBS)
 | 
|---|
 | 139 | 
 | 
|---|
| [dd067a] | 140 | Box_BoundaryConditionsTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
 | 
|---|
 | 141 |         Box_BoundaryConditionsUnitTest.cpp \
 | 
|---|
 | 142 |         Box_BoundaryConditionsUnitTest.hpp \
 | 
|---|
 | 143 |         ../Box_BoundaryConditions.cpp \
 | 
|---|
 | 144 |         ../Box_BoundaryConditions.hpp
 | 
|---|
 | 145 | Box_BoundaryConditionsTest_LDADD = \
 | 
|---|
 | 146 |         ${CodePatterns_LIBS} \
 | 
|---|
 | 147 |         $(BOOST_LIB)
 | 
|---|
 | 148 | 
 | 
|---|
| [f844ef] | 149 | FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
 | 
|---|
 | 150 |         FormulaUnitTest.cpp \
 | 
|---|
 | 151 |         FormulaUnitTest.hpp
 | 
|---|
| [9d4ff35] | 152 | FormulaUnittest_LDADD = $(ALLLIBS)
 | 
|---|
| [9f632c] | 153 | 
 | 
|---|
| [f844ef] | 154 | ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
 | 
|---|
 | 155 |         ListOfBondsUnitTest.cpp \
 | 
|---|
 | 156 |         ListOfBondsUnitTest.hpp 
 | 
|---|
| [9d4ff35] | 157 | ListOfBondsUnitTest_LDADD = $(ALLLIBS)
 | 
|---|
| [266237] | 158 | 
 | 
|---|
| [c67ff9] | 159 | MoleculeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
 | 
|---|
 | 160 |         MoleculeUnitTest.cpp \
 | 
|---|
 | 161 |         MoleculeUnitTest.hpp
 | 
|---|
 | 162 | MoleculeUnitTest_LDADD = \
 | 
|---|
 | 163 |         ../libMolecuilderUI.la \
 | 
|---|
 | 164 |         ../libMolecuilder.la \
 | 
|---|
 | 165 |         $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la
 | 
|---|
 | 166 | 
 | 
|---|
| [f649de] | 167 | WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
 | 
|---|
 | 168 |         WorldTimeUnitTest.cpp \
 | 
|---|
 | 169 |         WorldTimeUnitTest.hpp \
 | 
|---|
 | 170 |         ../WorldTime.cpp \
 | 
|---|
 | 171 |         ../WorldTime.hpp
 | 
|---|
 | 172 | WorldTimeUnitTest_LDADD = ${BOOST_LIB}
 | 
|---|
 | 173 | 
 | 
|---|
 | 174 | 
 | 
|---|
| [36166d] | 175 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
 | 
|---|
| [b37436] | 176 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
 | 
|---|
| [7a1ce5] | 177 | 
 | 
|---|
| [18eecf] | 178 | #AUTOMAKE_OPTIONS = parallel-tests
 | 
|---|