1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
2 | # Also indentation by a single tab
|
---|
3 |
|
---|
4 | INCLUDES = -I$(top_srcdir)/src
|
---|
5 |
|
---|
6 | AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
|
---|
7 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
|
---|
8 |
|
---|
9 | TESTS = \
|
---|
10 | RandomNumberDistributionFactoryUnitTest \
|
---|
11 | RandomNumberEngineFactoryUnitTest \
|
---|
12 | RandomNumberGeneratorFactoryUnitTest \
|
---|
13 | RandomNumberGeneratorUnitTest
|
---|
14 |
|
---|
15 |
|
---|
16 | check_PROGRAMS = $(TESTS)
|
---|
17 | noinst_PROGRAMS = $(TESTS)
|
---|
18 |
|
---|
19 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
|
---|
20 | GSLLIBS = \
|
---|
21 | ../../Shapes/libMolecuilderShapes.la \
|
---|
22 | ../../LinearAlgebra/libMolecuilderLinearAlgebra.la \
|
---|
23 | ../../Exceptions/libMolecuilderExceptions.la \
|
---|
24 | ${CodePatterns_LIBS} \
|
---|
25 | $(BOOST_LIB)
|
---|
26 |
|
---|
27 | ALLLIBS = \
|
---|
28 | ../../UIElements/libMolecuilderUI.la \
|
---|
29 | ../../Actions/libMolecuilderActions.la \
|
---|
30 | ${PARSERLIBS} \
|
---|
31 | ../../libMolecuilder.la \
|
---|
32 | ${GSLLIBS}
|
---|
33 |
|
---|
34 | PARSERLIBS = ../../Parser/libMolecuilderParser.la
|
---|
35 |
|
---|
36 | RandomNumberDistributionFactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
37 | RandomNumberDistributionFactoryUnitTest.cpp \
|
---|
38 | RandomNumberDistributionFactoryUnitTest.hpp \
|
---|
39 | $(srcdir)/../RandomNumberDistributionFactory.cpp \
|
---|
40 | $(srcdir)/../RandomNumberDistributionFactory.hpp
|
---|
41 | RandomNumberDistributionFactoryUnitTest_LDADD = ${GSLLIBS}
|
---|
42 |
|
---|
43 | RandomNumberEngineFactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
44 | RandomNumberEngineFactoryUnitTest.cpp \
|
---|
45 | RandomNumberEngineFactoryUnitTest.hpp \
|
---|
46 | $(srcdir)/../RandomNumberEngineFactory.cpp \
|
---|
47 | $(srcdir)/../RandomNumberEngineFactory.hpp
|
---|
48 | RandomNumberEngineFactoryUnitTest_LDADD = ${GSLLIBS}
|
---|
49 |
|
---|
50 | RandomNumberGeneratorFactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
51 | RandomNumberGeneratorFactoryUnitTest.cpp \
|
---|
52 | RandomNumberGeneratorFactoryUnitTest.hpp \
|
---|
53 | $(srcdir)/../RandomNumberDistributionFactory.cpp \
|
---|
54 | $(srcdir)/../RandomNumberDistributionFactory.hpp \
|
---|
55 | $(srcdir)/../RandomNumberEngineFactory.cpp \
|
---|
56 | $(srcdir)/../RandomNumberEngineFactory.hpp \
|
---|
57 | $(srcdir)/../RandomNumberGeneratorFactory.cpp \
|
---|
58 | $(srcdir)/../RandomNumberGeneratorFactory.hpp
|
---|
59 | RandomNumberGeneratorFactoryUnitTest_LDADD = ${GSLLIBS}
|
---|
60 |
|
---|
61 | RandomNumberGeneratorUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
62 | RandomNumberGeneratorUnitTest.cpp \
|
---|
63 | RandomNumberGeneratorUnitTest.hpp \
|
---|
64 | $(srcdir)/../RandomNumberDistributionFactory.cpp \
|
---|
65 | $(srcdir)/../RandomNumberDistributionFactory.hpp \
|
---|
66 | $(srcdir)/../RandomNumberEngineFactory.cpp \
|
---|
67 | $(srcdir)/../RandomNumberEngineFactory.hpp \
|
---|
68 | $(srcdir)/../RandomNumberGeneratorFactory.cpp \
|
---|
69 | $(srcdir)/../RandomNumberGeneratorFactory.hpp
|
---|
70 | RandomNumberGeneratorUnitTest_LDADD = ${GSLLIBS}
|
---|
71 |
|
---|
72 |
|
---|
73 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|