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 | Registry \
|
---|
32 | ShapeUnittest \
|
---|
33 | SubspaceFactorizerUnitTest \
|
---|
34 | TesselationUnitTest \
|
---|
35 | Tesselation_BoundaryTriangleUnitTest \
|
---|
36 | Tesselation_InOutsideUnitTest \
|
---|
37 | VectorContentUnitTest \
|
---|
38 | VectorUnitTest
|
---|
39 |
|
---|
40 |
|
---|
41 | check_PROGRAMS = $(TESTS)
|
---|
42 | noinst_PROGRAMS = $(TESTS) TestRunner
|
---|
43 |
|
---|
44 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
|
---|
45 | GSLLIBS = \
|
---|
46 | ../LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
47 | ../Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
48 | ../Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
49 | $(BOOST_LIB)
|
---|
50 | ALLLIBS = \
|
---|
51 | ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
---|
52 | ../Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
53 | ${PARSERLIBS} \
|
---|
54 | ../libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
55 | ${GSLLIBS}
|
---|
56 |
|
---|
57 | PARSERLIBS = ../Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la
|
---|
58 | UILIBS = ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la
|
---|
59 |
|
---|
60 | TESTSOURCES = \
|
---|
61 | ../Actions/unittests/ActionRegistryUnitTest.cpp \
|
---|
62 | ../Actions/unittests/ActionSequenceUnitTest.cpp \
|
---|
63 | analysisbondsunittest.cpp \
|
---|
64 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
65 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
66 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
67 | ../Descriptors/unittests/AtomDescriptorUnitTest.cpp \
|
---|
68 | ../Actions/unittests/AtomsCalculationUnitTest.cpp \
|
---|
69 | bondgraphunittest.cpp \
|
---|
70 | BoxUnittest.cpp \
|
---|
71 | ../Patterns/unittests/CacheableUnitTest.cpp \
|
---|
72 | CountBondsUnitTest.cpp \
|
---|
73 | FormulaUnittest.cpp \
|
---|
74 | ../Helpers/unittests/InfoUnitTest.cpp \
|
---|
75 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.cpp \
|
---|
76 | ../LinearAlgebra/unittests/LineUnitTest.cpp \
|
---|
77 | LinkedCellUnitTest.cpp \
|
---|
78 | listofbondsunittest.cpp \
|
---|
79 | ../Helpers/unittests/LogUnitTest.cpp \
|
---|
80 | ../Actions/unittests/ManipulateAtomsUnitTest.cpp \
|
---|
81 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.cpp \
|
---|
82 | ../LinearAlgebra/unittests/MatrixContentUnitTest.cpp \
|
---|
83 | ../LinearAlgebra/unittests/MatrixUnitTest.cpp \
|
---|
84 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.cpp \
|
---|
85 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.cpp \
|
---|
86 | ../Patterns/unittests/ObserverUnitTest.cpp \
|
---|
87 | ../Parser/unittests/ParserCommonUnitTest.cpp \
|
---|
88 | ../Parser/unittests/ParserTremoloUnitTest.cpp \
|
---|
89 | periodentafelTest.cpp \
|
---|
90 | ../LinearAlgebra/unittests/PlaneUnitTest.cpp \
|
---|
91 | RegistryUnitTest.cpp \
|
---|
92 | ShapeUnittest.cpp \
|
---|
93 | ../Patterns/unittests/SingletonUnitTest.cpp \
|
---|
94 | tesselationunittest.cpp \
|
---|
95 | tesselation_boundarytriangleunittest.cpp \
|
---|
96 | tesselation_insideoutsideunittest.cpp \
|
---|
97 | VectorContentUnittest.cpp \
|
---|
98 | vectorunittest.cpp
|
---|
99 |
|
---|
100 | TESTHEADERS = \
|
---|
101 | ../Actions/unittests/ActionRegistryUnitTest.hpp \
|
---|
102 | ../Actions/unittests/ActionSequenceUnitTest.hpp \
|
---|
103 | analysisbondsunittest.hpp \
|
---|
104 | AnalysisCorrelationToPointUnitTest.hpp \
|
---|
105 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
---|
106 | AnalysisPairCorrelationUnitTest.hpp \
|
---|
107 | ../Descriptors/unittests/AtomDescriptorUnitTest.hpp \
|
---|
108 | ../Actions/unittests/AtomsCalculationUnitTest.hpp \
|
---|
109 | bondgraphunittest.hpp \
|
---|
110 | BoxUnittest.hpp \
|
---|
111 | ../Patterns/unittests/CacheableUnitTest.hpp \
|
---|
112 | CountBondsUnitTest.hpp \
|
---|
113 | FormulaUnittest.hpp \
|
---|
114 | ../Helpers/unittests/InfoUnitTest.hpp \
|
---|
115 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.hpp \
|
---|
116 | ../LinearAlgebra/unittests/LineUnitTest.hpp \
|
---|
117 | LinkedCellUnitTest.hpp \
|
---|
118 | listofbondsunittest.hpp \
|
---|
119 | ../Helpers/unittests/LogUnitTest.hpp \
|
---|
120 | ../Actions/unittests/ManipulateAtomsUnitTest.hpp \
|
---|
121 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.hpp \
|
---|
122 | ../LinearAlgebra/unittests/MatrixContentUnitTest.hpp \
|
---|
123 | ../LinearAlgebra/unittests/MatrixUnitTest.hpp \
|
---|
124 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.hpp \
|
---|
125 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.hpp \
|
---|
126 | ../Patterns/unittests/ObserverUnitTest.hpp \
|
---|
127 | ../Parser/unittests/ParserCommonUnitTest.hpp \
|
---|
128 | ../Parser/unittests/ParserTremoloUnitTest.hpp \
|
---|
129 | periodentafelTest.hpp \
|
---|
130 | ../LinearAlgebra/unittests/PlaneUnitTest.hpp \
|
---|
131 | RegistryUnitTest.hpp \
|
---|
132 | ShapeUnittest.hpp \
|
---|
133 | ../Patterns/unittests/SingletonUnitTest.hpp \
|
---|
134 | stackclassunittest.hpp \
|
---|
135 | tesselationunittest.hpp \
|
---|
136 | tesselation_boundarytriangleunittest.hpp \
|
---|
137 | tesselation_insideoutsideunittest.hpp \
|
---|
138 | VectorContentUnittest.hpp \
|
---|
139 | vectorunittest.hpp
|
---|
140 |
|
---|
141 |
|
---|
142 | AnalysisBondsUnitTests_SOURCES = UnitTestMain.cpp analysisbondsunittest.cpp analysisbondsunittest.hpp
|
---|
143 | AnalysisBondsUnitTests_LDADD = ${ALLLIBS}
|
---|
144 |
|
---|
145 | AnalysisCorrelationToPointUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToPointUnitTest.cpp AnalysisCorrelationToPointUnitTest.hpp
|
---|
146 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
---|
147 |
|
---|
148 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToSurfaceUnitTest.cpp AnalysisCorrelationToSurfaceUnitTest.hpp
|
---|
149 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
---|
150 |
|
---|
151 | AnalysisPairCorrelationUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisPairCorrelationUnitTest.cpp AnalysisPairCorrelationUnitTest.hpp
|
---|
152 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
---|
153 |
|
---|
154 | BondGraphUnitTest_SOURCES = UnitTestMain.cpp bondgraphunittest.cpp bondgraphunittest.hpp
|
---|
155 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
---|
156 |
|
---|
157 | BoxUnittest_SOURCES = UnitTestMain.cpp BoxUnittest.cpp BoxUnittest.hpp
|
---|
158 | BoxUnittest_LDADD = ${ALLLIBS}
|
---|
159 |
|
---|
160 | CountBondsUnitTest_SOURCES = UnitTestMain.cpp CountBondsUnitTest.cpp CountBondsUnitTest.hpp
|
---|
161 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
162 |
|
---|
163 | FormulaUnittest_SOURCES = UnitTestMain.cpp FormulaUnittest.cpp FormulaUnittest.hpp
|
---|
164 | FormulaUnittest_LDADD = ${ALLLIBS}
|
---|
165 |
|
---|
166 | LinkedCellUnitTest_SOURCES = UnitTestMain.cpp LinkedCellUnitTest.cpp LinkedCellUnitTest.hpp
|
---|
167 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
---|
168 |
|
---|
169 | ListOfBondsUnitTest_SOURCES = UnitTestMain.cpp listofbondsunittest.cpp listofbondsunittest.hpp
|
---|
170 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
171 |
|
---|
172 | periodentafelTest_SOURCES = UnitTestMain.cpp periodentafelTest.cpp periodentafelTest.hpp
|
---|
173 | periodentafelTest_LDADD = ${ALLLIBS}
|
---|
174 |
|
---|
175 | Registry_SOURCES = UnitTestMain.cpp RegistryUnitTest.cpp RegistryUnitTest.hpp
|
---|
176 | Registry_LDADD = ${ALLLIBS}
|
---|
177 |
|
---|
178 | ShapeUnittest_SOURCES = UnitTestMain.cpp ShapeUnittest.cpp ShapeUnittest.hpp
|
---|
179 | ShapeUnittest_LDADD = ${ALLLIBS}
|
---|
180 |
|
---|
181 | SubspaceFactorizerUnitTest_SOURCES = UnitTestMain.cpp SubspaceFactorizerUnittest.cpp SubspaceFactorizerUnittest.hpp
|
---|
182 | SubspaceFactorizerUnitTest_LDADD = ${GSLLIBS}
|
---|
183 |
|
---|
184 | TesselationUnitTest_SOURCES = UnitTestMain.cpp tesselationunittest.cpp tesselationunittest.hpp
|
---|
185 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
186 |
|
---|
187 | Tesselation_BoundaryTriangleUnitTest_SOURCES = UnitTestMain.cpp tesselation_boundarytriangleunittest.cpp tesselation_boundarytriangleunittest.hpp
|
---|
188 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
189 |
|
---|
190 | Tesselation_InOutsideUnitTest_SOURCES = UnitTestMain.cpp tesselation_insideoutsideunittest.cpp tesselation_insideoutsideunittest.hpp
|
---|
191 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
192 |
|
---|
193 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
194 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
195 |
|
---|
196 | VectorContentUnitTest_SOURCES = UnitTestMain.cpp VectorContentUnittest.cpp VectorContentUnittest.hpp
|
---|
197 | VectorContentUnitTest_LDADD = ${ALLLIBS}
|
---|
198 |
|
---|
199 | VectorUnitTest_SOURCES = UnitTestMain.cpp vectorunittest.cpp vectorunittest.hpp
|
---|
200 | VectorUnitTest_LDADD = ${ALLLIBS}
|
---|
201 |
|
---|
202 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|