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