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