1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
2 | # Also indentation by a single tab
|
---|
3 |
|
---|
4 | SUBDIRS = \
|
---|
5 | ../Actions/unittests \
|
---|
6 | ../Descriptors/unittests \
|
---|
7 | ../Helpers/unittests \
|
---|
8 | ../LinearAlgebra/unittests \
|
---|
9 | ../Parser/unittests \
|
---|
10 | ../Patterns/unittests \
|
---|
11 | ../UIElements/Menu/unittests
|
---|
12 |
|
---|
13 | INCLUDES = -I$(top_srcdir)/src
|
---|
14 |
|
---|
15 | AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
|
---|
16 | AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
|
---|
17 | AM_CPPFLAGS = ${BOOST_CPPFLAGS}
|
---|
18 |
|
---|
19 | TESTS = \
|
---|
20 | AnalysisBondsUnitTests \
|
---|
21 | AnalysisCorrelationToPointUnitTest \
|
---|
22 | AnalysisCorrelationToSurfaceUnitTest \
|
---|
23 | AnalysisPairCorrelationUnitTest \
|
---|
24 | BondGraphUnitTest \
|
---|
25 | BoxUnittest \
|
---|
26 | CountBondsUnitTest \
|
---|
27 | FormulaUnittest \
|
---|
28 | LinkedCellUnitTest \
|
---|
29 | ListOfBondsUnitTest \
|
---|
30 | periodentafelTest \
|
---|
31 | SubspaceFactorizerUnitTest \
|
---|
32 | TesselationUnitTest \
|
---|
33 | Tesselation_BoundaryTriangleUnitTest \
|
---|
34 | Tesselation_InOutsideUnitTest \
|
---|
35 | VectorContentUnitTest \
|
---|
36 | VectorUnitTest
|
---|
37 |
|
---|
38 |
|
---|
39 | check_PROGRAMS = $(TESTS)
|
---|
40 | noinst_PROGRAMS = $(TESTS) TestRunner
|
---|
41 |
|
---|
42 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
|
---|
43 | GSLLIBS = \
|
---|
44 | ../LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
45 | ../Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
46 | ../Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
47 | $(BOOST_LIB)
|
---|
48 | ALLLIBS = \
|
---|
49 | ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
---|
50 | ../Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
51 | ${PARSERLIBS} \
|
---|
52 | ../libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
53 | ${GSLLIBS}
|
---|
54 |
|
---|
55 | PARSERLIBS = ../Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la
|
---|
56 | UILIBS = ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la
|
---|
57 |
|
---|
58 | TESTSOURCES = \
|
---|
59 | ../Actions/unittests/ActionRegistryUnitTest.cpp \
|
---|
60 | ../Actions/unittests/ActionSequenceUnitTest.cpp \
|
---|
61 | analysisbondsunittest.cpp \
|
---|
62 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
63 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
64 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
65 | ../Descriptors/unittests/AtomDescriptorUnitTest.cpp \
|
---|
66 | ../Actions/unittests/AtomsCalculationUnitTest.cpp \
|
---|
67 | bondgraphunittest.cpp \
|
---|
68 | BoxUnittest.cpp \
|
---|
69 | ../Patterns/unittests/CacheableUnitTest.cpp \
|
---|
70 | CountBondsUnitTest.cpp \
|
---|
71 | FormulaUnittest.cpp \
|
---|
72 | ../Helpers/unittests/InfoUnitTest.cpp \
|
---|
73 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.cpp \
|
---|
74 | ../LinearAlgebra/unittests/LineUnitTest.cpp \
|
---|
75 | LinkedCellUnitTest.cpp \
|
---|
76 | listofbondsunittest.cpp \
|
---|
77 | ../Helpers/unittests/LogUnitTest.cpp \
|
---|
78 | ../Actions/unittests/ManipulateAtomsUnitTest.cpp \
|
---|
79 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.cpp \
|
---|
80 | ../LinearAlgebra/unittests/MatrixContentUnitTest.cpp \
|
---|
81 | ../LinearAlgebra/unittests/MatrixUnitTest.cpp \
|
---|
82 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.cpp \
|
---|
83 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.cpp \
|
---|
84 | ../Patterns/unittests/ObserverUnitTest.cpp \
|
---|
85 | ../Parser/unittests/ParserCommonUnitTest.cpp \
|
---|
86 | ../Parser/unittests/ParserTremoloUnitTest.cpp \
|
---|
87 | periodentafelTest.cpp \
|
---|
88 | ../LinearAlgebra/unittests/PlaneUnitTest.cpp \
|
---|
89 | ../Patterns/unittests/RegistryUnitTest.cpp \
|
---|
90 | ../Shapes/unittests/ShapeUnitTest.cpp \
|
---|
91 | ../Patterns/unittests/SingletonUnitTest.cpp \
|
---|
92 | tesselationunittest.cpp \
|
---|
93 | tesselation_boundarytriangleunittest.cpp \
|
---|
94 | tesselation_insideoutsideunittest.cpp \
|
---|
95 | VectorContentUnittest.cpp \
|
---|
96 | vectorunittest.cpp
|
---|
97 |
|
---|
98 | TESTHEADERS = \
|
---|
99 | ../Actions/unittests/ActionRegistryUnitTest.hpp \
|
---|
100 | ../Actions/unittests/ActionSequenceUnitTest.hpp \
|
---|
101 | analysisbondsunittest.hpp \
|
---|
102 | AnalysisCorrelationToPointUnitTest.hpp \
|
---|
103 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
---|
104 | AnalysisPairCorrelationUnitTest.hpp \
|
---|
105 | ../Descriptors/unittests/AtomDescriptorUnitTest.hpp \
|
---|
106 | ../Actions/unittests/AtomsCalculationUnitTest.hpp \
|
---|
107 | bondgraphunittest.hpp \
|
---|
108 | BoxUnittest.hpp \
|
---|
109 | ../Patterns/unittests/CacheableUnitTest.hpp \
|
---|
110 | CountBondsUnitTest.hpp \
|
---|
111 | FormulaUnittest.hpp \
|
---|
112 | ../Helpers/unittests/InfoUnitTest.hpp \
|
---|
113 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.hpp \
|
---|
114 | ../LinearAlgebra/unittests/LineUnitTest.hpp \
|
---|
115 | LinkedCellUnitTest.hpp \
|
---|
116 | listofbondsunittest.hpp \
|
---|
117 | ../Helpers/unittests/LogUnitTest.hpp \
|
---|
118 | ../Actions/unittests/ManipulateAtomsUnitTest.hpp \
|
---|
119 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.hpp \
|
---|
120 | ../LinearAlgebra/unittests/MatrixContentUnitTest.hpp \
|
---|
121 | ../LinearAlgebra/unittests/MatrixUnitTest.hpp \
|
---|
122 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.hpp \
|
---|
123 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.hpp \
|
---|
124 | ../Patterns/unittests/ObserverUnitTest.hpp \
|
---|
125 | ../Parser/unittests/ParserCommonUnitTest.hpp \
|
---|
126 | ../Parser/unittests/ParserTremoloUnitTest.hpp \
|
---|
127 | periodentafelTest.hpp \
|
---|
128 | ../LinearAlgebra/unittests/PlaneUnitTest.hpp \
|
---|
129 | ../Patterns/unittests/RegistryUnitTest.hpp \
|
---|
130 | ../Shapes/unittests/ShapeUnitTest.hpp \
|
---|
131 | ../Patterns/unittests/SingletonUnitTest.hpp \
|
---|
132 | stackclassunittest.hpp \
|
---|
133 | tesselationunittest.hpp \
|
---|
134 | tesselation_boundarytriangleunittest.hpp \
|
---|
135 | tesselation_insideoutsideunittest.hpp \
|
---|
136 | VectorContentUnittest.hpp \
|
---|
137 | vectorunittest.hpp
|
---|
138 |
|
---|
139 |
|
---|
140 | AnalysisBondsUnitTests_SOURCES = UnitTestMain.cpp analysisbondsunittest.cpp analysisbondsunittest.hpp
|
---|
141 | AnalysisBondsUnitTests_LDADD = ${ALLLIBS}
|
---|
142 |
|
---|
143 | AnalysisCorrelationToPointUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToPointUnitTest.cpp AnalysisCorrelationToPointUnitTest.hpp
|
---|
144 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
---|
145 |
|
---|
146 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToSurfaceUnitTest.cpp AnalysisCorrelationToSurfaceUnitTest.hpp
|
---|
147 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
---|
148 |
|
---|
149 | AnalysisPairCorrelationUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisPairCorrelationUnitTest.cpp AnalysisPairCorrelationUnitTest.hpp
|
---|
150 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
---|
151 |
|
---|
152 | BondGraphUnitTest_SOURCES = UnitTestMain.cpp bondgraphunittest.cpp bondgraphunittest.hpp
|
---|
153 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
---|
154 |
|
---|
155 | BoxUnittest_SOURCES = UnitTestMain.cpp BoxUnittest.cpp BoxUnittest.hpp
|
---|
156 | BoxUnittest_LDADD = ${ALLLIBS}
|
---|
157 |
|
---|
158 | CountBondsUnitTest_SOURCES = UnitTestMain.cpp CountBondsUnitTest.cpp CountBondsUnitTest.hpp
|
---|
159 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
160 |
|
---|
161 | FormulaUnittest_SOURCES = UnitTestMain.cpp FormulaUnittest.cpp FormulaUnittest.hpp
|
---|
162 | FormulaUnittest_LDADD = ${ALLLIBS}
|
---|
163 |
|
---|
164 | LinkedCellUnitTest_SOURCES = UnitTestMain.cpp LinkedCellUnitTest.cpp LinkedCellUnitTest.hpp
|
---|
165 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
---|
166 |
|
---|
167 | ListOfBondsUnitTest_SOURCES = UnitTestMain.cpp listofbondsunittest.cpp listofbondsunittest.hpp
|
---|
168 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
169 |
|
---|
170 | periodentafelTest_SOURCES = UnitTestMain.cpp periodentafelTest.cpp periodentafelTest.hpp
|
---|
171 | periodentafelTest_LDADD = ${ALLLIBS}
|
---|
172 |
|
---|
173 | SubspaceFactorizerUnitTest_SOURCES = UnitTestMain.cpp SubspaceFactorizerUnittest.cpp SubspaceFactorizerUnittest.hpp
|
---|
174 | SubspaceFactorizerUnitTest_LDADD = ${GSLLIBS}
|
---|
175 |
|
---|
176 | TesselationUnitTest_SOURCES = UnitTestMain.cpp tesselationunittest.cpp tesselationunittest.hpp
|
---|
177 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
178 |
|
---|
179 | Tesselation_BoundaryTriangleUnitTest_SOURCES = UnitTestMain.cpp tesselation_boundarytriangleunittest.cpp tesselation_boundarytriangleunittest.hpp
|
---|
180 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
181 |
|
---|
182 | Tesselation_InOutsideUnitTest_SOURCES = UnitTestMain.cpp tesselation_insideoutsideunittest.cpp tesselation_insideoutsideunittest.hpp
|
---|
183 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
184 |
|
---|
185 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
186 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
187 |
|
---|
188 | VectorContentUnitTest_SOURCES = UnitTestMain.cpp VectorContentUnittest.cpp VectorContentUnittest.hpp
|
---|
189 | VectorContentUnitTest_LDADD = ${ALLLIBS}
|
---|
190 |
|
---|
191 | VectorUnitTest_SOURCES = UnitTestMain.cpp vectorunittest.cpp vectorunittest.hpp
|
---|
192 | VectorUnitTest_LDADD = ${ALLLIBS}
|
---|
193 |
|
---|
194 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|