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 | ../LinearAlgebra/unittests \
|
---|
8 | ../Parser/unittests \
|
---|
9 | ../RandomNumbers/unittests \
|
---|
10 | ../Shapes/unittests \
|
---|
11 | ../UIElements/CommandLineUI/unittests \
|
---|
12 | ../UIElements/Menu/unittests
|
---|
13 |
|
---|
14 | INCLUDES = -I$(top_srcdir)/src
|
---|
15 |
|
---|
16 | AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
|
---|
17 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
|
---|
18 |
|
---|
19 | TESTS = \
|
---|
20 | AnalysisBondsUnitTest \
|
---|
21 | AnalysisCorrelationToPointUnitTest \
|
---|
22 | AnalysisCorrelationToSurfaceUnitTest \
|
---|
23 | AnalysisPairCorrelationUnitTest \
|
---|
24 | BondGraphUnitTest \
|
---|
25 | BoxUnitTest \
|
---|
26 | CountBondsUnitTest \
|
---|
27 | FormulaUnittest \
|
---|
28 | LinkedCellUnitTest \
|
---|
29 | ListOfBondsUnitTest \
|
---|
30 | PeriodentafelUnitTest \
|
---|
31 | SubspaceFactorizerUnitTest \
|
---|
32 | TesselationUnitTest \
|
---|
33 | Tesselation_BoundaryTriangleUnitTest \
|
---|
34 | Tesselation_InOutsideUnitTest \
|
---|
35 | WorldTimeUnitTest
|
---|
36 |
|
---|
37 |
|
---|
38 | check_PROGRAMS = $(TESTS)
|
---|
39 | noinst_PROGRAMS = $(TESTS) TestRunner
|
---|
40 |
|
---|
41 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
|
---|
42 | GSLLIBS = \
|
---|
43 | ../Shapes/libMolecuilderShapes.la \
|
---|
44 | ../LinearAlgebra/libMolecuilderLinearAlgebra.la \
|
---|
45 | ../Exceptions/libMolecuilderExceptions.la \
|
---|
46 | ../RandomNumbers/libMolecuilderRandomNumbers.la \
|
---|
47 | ../Helpers/libMolecuilderHelpers.la \
|
---|
48 | $(BOOST_LIB)
|
---|
49 | ALLLIBS = \
|
---|
50 | ../UIElements/libMolecuilderUI.la \
|
---|
51 | ../Actions/libMolecuilderActions.la \
|
---|
52 | ${PARSERLIBS} \
|
---|
53 | ../libMolecuilder.la \
|
---|
54 | ${GSLLIBS}
|
---|
55 |
|
---|
56 | PARSERLIBS = ../Parser/libMolecuilderParser.la
|
---|
57 | UILIBS = ../UIElements/libMolecuilderUI.la
|
---|
58 |
|
---|
59 | TESTSOURCES = \
|
---|
60 | ../Actions/unittests/ActionRegistryUnitTest.cpp \
|
---|
61 | ../Actions/unittests/ActionSequenceUnitTest.cpp \
|
---|
62 | AnalysisBondsUnitTest.cpp \
|
---|
63 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
64 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
65 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
66 | ../Descriptors/unittests/AtomDescriptorUnitTest.cpp \
|
---|
67 | ../Actions/unittests/AtomsCalculationUnitTest.cpp \
|
---|
68 | BondGraphUnitTest.cpp \
|
---|
69 | BoxUnitTest.cpp \
|
---|
70 | CountBondsUnitTest.cpp \
|
---|
71 | FormulaUnitTest.cpp \
|
---|
72 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.cpp \
|
---|
73 | ../LinearAlgebra/unittests/LineUnitTest.cpp \
|
---|
74 | LinkedCellUnitTest.cpp \
|
---|
75 | ListOfBondsUnitTest.cpp \
|
---|
76 | ../Actions/unittests/ManipulateAtomsUnitTest.cpp \
|
---|
77 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.cpp \
|
---|
78 | ../LinearAlgebra/unittests/MatrixContentUnitTest.cpp \
|
---|
79 | ../LinearAlgebra/unittests/MatrixUnitTest.cpp \
|
---|
80 | ../UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_ConsistenyUnitTest.cpp \
|
---|
81 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.cpp \
|
---|
82 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.cpp \
|
---|
83 | ../Parser/unittests/ParserMpqcUnitTest.cpp \
|
---|
84 | ../Parser/unittests/ParserPcpUnitTest.cpp \
|
---|
85 | ../Parser/unittests/ParserPdbUnitTest.cpp \
|
---|
86 | ../Parser/unittests/ParserTremoloUnitTest.cpp \
|
---|
87 | ../Parser/unittests/ParserXyzUnitTest.cpp \
|
---|
88 | PeriodentafelUnitTest.cpp \
|
---|
89 | ../LinearAlgebra/unittests/PlaneUnitTest.cpp \
|
---|
90 | ../Shapes/unittests/ShapeUnitTest.cpp \
|
---|
91 | TesselationUnitTest.cpp \
|
---|
92 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
93 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
94 | ../LinearAlgebra/unittests/VectorContentUnitTest.cpp \
|
---|
95 | ../LinearAlgebra/unittests/VectorUnitTest.cpp \
|
---|
96 | WorldTimeUnitTest.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 | CountBondsUnitTest.hpp \
|
---|
110 | FormulaUnitTest.hpp \
|
---|
111 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.hpp \
|
---|
112 | ../LinearAlgebra/unittests/LineUnitTest.hpp \
|
---|
113 | LinkedCellUnitTest.hpp \
|
---|
114 | ListOfBondsUnitTest.hpp \
|
---|
115 | ../Actions/unittests/ManipulateAtomsUnitTest.hpp \
|
---|
116 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.hpp \
|
---|
117 | ../LinearAlgebra/unittests/MatrixContentUnitTest.hpp \
|
---|
118 | ../LinearAlgebra/unittests/MatrixUnitTest.hpp \
|
---|
119 | ../UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_ConsistenyUnitTest.hpp \
|
---|
120 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.hpp \
|
---|
121 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.hpp \
|
---|
122 | ../Parser/unittests/ParserMpqcUnitTest.hpp \
|
---|
123 | ../Parser/unittests/ParserPcpUnitTest.hpp \
|
---|
124 | ../Parser/unittests/ParserPdbUnitTest.hpp \
|
---|
125 | ../Parser/unittests/ParserTremoloUnitTest.hpp \
|
---|
126 | ../Parser/unittests/ParserXyzUnitTest.hpp \
|
---|
127 | PeriodentafelUnitTest.hpp \
|
---|
128 | ../LinearAlgebra/unittests/PlaneUnitTest.hpp \
|
---|
129 | ../Shapes/unittests/ShapeUnitTest.hpp \
|
---|
130 | TesselationUnitTest.hpp \
|
---|
131 | Tesselation_BoundaryTriangleUnitTest.hpp \
|
---|
132 | Tesselation_InsideOutsideUnitTest.hpp \
|
---|
133 | ../LinearAlgebra/unittests/VectorContentUnitTest.hpp \
|
---|
134 | ../LinearAlgebra/unittests/VectorUnitTest.hpp \
|
---|
135 | WorldTimeUnitTest.hpp
|
---|
136 |
|
---|
137 |
|
---|
138 | AnalysisBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
139 | AnalysisBondsUnitTest.cpp \
|
---|
140 | AnalysisBondsUnitTest.hpp
|
---|
141 | AnalysisBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
142 |
|
---|
143 | AnalysisCorrelationToPointUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
144 | analysis_correlation.hpp \
|
---|
145 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
146 | AnalysisCorrelationToPointUnitTest.hpp
|
---|
147 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
---|
148 |
|
---|
149 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
150 | analysis_correlation.hpp \
|
---|
151 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
152 | AnalysisCorrelationToSurfaceUnitTest.hpp
|
---|
153 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
---|
154 |
|
---|
155 | AnalysisPairCorrelationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
156 | analysis_correlation.hpp \
|
---|
157 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
158 | AnalysisPairCorrelationUnitTest.hpp
|
---|
159 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
---|
160 |
|
---|
161 | BondGraphUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
162 | BondGraphUnitTest.cpp \
|
---|
163 | BondGraphUnitTest.hpp
|
---|
164 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
---|
165 |
|
---|
166 | BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
167 | BoxUnitTest.cpp \
|
---|
168 | BoxUnitTest.hpp
|
---|
169 | BoxUnitTest_LDADD = ${ALLLIBS}
|
---|
170 |
|
---|
171 | CountBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
172 | CountBondsUnitTest.cpp \
|
---|
173 | CountBondsUnitTest.hpp
|
---|
174 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
175 |
|
---|
176 | FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
177 | FormulaUnitTest.cpp \
|
---|
178 | FormulaUnitTest.hpp
|
---|
179 | FormulaUnittest_LDADD = ${ALLLIBS}
|
---|
180 |
|
---|
181 | LinkedCellUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
182 | LinkedCellUnitTest.cpp \
|
---|
183 | LinkedCellUnitTest.hpp
|
---|
184 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
---|
185 |
|
---|
186 | ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
187 | ListOfBondsUnitTest.cpp \
|
---|
188 | ListOfBondsUnitTest.hpp
|
---|
189 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
190 |
|
---|
191 | PeriodentafelUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
192 | PeriodentafelUnitTest.cpp \
|
---|
193 | PeriodentafelUnitTest.hpp
|
---|
194 | PeriodentafelUnitTest_LDADD = ${ALLLIBS}
|
---|
195 |
|
---|
196 | SubspaceFactorizerUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
197 | SubspaceFactorizerUnitTest.cpp \
|
---|
198 | SubspaceFactorizerUnitTest.hpp
|
---|
199 | SubspaceFactorizerUnitTest_LDADD = ${GSLLIBS}
|
---|
200 |
|
---|
201 | TesselationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
202 | TesselationUnitTest.cpp \
|
---|
203 | TesselationUnitTest.hpp
|
---|
204 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
205 |
|
---|
206 | Tesselation_BoundaryTriangleUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
207 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
208 | Tesselation_BoundaryTriangleUnitTest.hpp
|
---|
209 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
210 |
|
---|
211 | Tesselation_InOutsideUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
212 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
213 | Tesselation_InsideOutsideUnitTest.hpp
|
---|
214 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
215 |
|
---|
216 | WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
217 | WorldTimeUnitTest.cpp \
|
---|
218 | WorldTimeUnitTest.hpp \
|
---|
219 | ../WorldTime.cpp \
|
---|
220 | ../WorldTime.hpp
|
---|
221 | WorldTimeUnitTest_LDADD = ${BOOST_LIB}
|
---|
222 |
|
---|
223 |
|
---|
224 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
225 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
226 |
|
---|
227 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|