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)/../RandomNumberDistribution_Encapsulation.cpp \
|
---|
40 | $(srcdir)/../RandomNumberDistribution_Encapsulation.hpp \
|
---|
41 | $(srcdir)/../RandomNumberDistributionFactory.cpp \
|
---|
42 | $(srcdir)/../RandomNumberDistributionFactory.hpp
|
---|
43 | RandomNumberDistributionFactoryUnitTest_LDADD = ${GSLLIBS}
|
---|
44 |
|
---|
45 | RandomNumberEngineFactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
46 | RandomNumberEngineFactoryUnitTest.cpp \
|
---|
47 | RandomNumberEngineFactoryUnitTest.hpp \
|
---|
48 | $(srcdir)/../RandomNumberEngine_Encapsulation.cpp \
|
---|
49 | $(srcdir)/../RandomNumberEngine_Encapsulation.hpp \
|
---|
50 | $(srcdir)/../RandomNumberEngineFactory.cpp \
|
---|
51 | $(srcdir)/../RandomNumberEngineFactory.hpp
|
---|
52 | RandomNumberEngineFactoryUnitTest_LDADD = ${GSLLIBS}
|
---|
53 |
|
---|
54 | RandomNumberGeneratorFactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
55 | RandomNumberGeneratorFactoryUnitTest.cpp \
|
---|
56 | RandomNumberGeneratorFactoryUnitTest.hpp \
|
---|
57 | $(srcdir)/../RandomNumberDistribution_Encapsulation.cpp \
|
---|
58 | $(srcdir)/../RandomNumberDistribution_Encapsulation.hpp \
|
---|
59 | $(srcdir)/../RandomNumberDistributionFactory.cpp \
|
---|
60 | $(srcdir)/../RandomNumberDistributionFactory.hpp \
|
---|
61 | $(srcdir)/../RandomNumberEngine_Encapsulation.cpp \
|
---|
62 | $(srcdir)/../RandomNumberEngine_Encapsulation.hpp \
|
---|
63 | $(srcdir)/../RandomNumberEngineFactory.cpp \
|
---|
64 | $(srcdir)/../RandomNumberEngineFactory.hpp \
|
---|
65 | $(srcdir)/../RandomNumberGenerator.cpp \
|
---|
66 | $(srcdir)/../RandomNumberGeneratorFactory.cpp \
|
---|
67 | $(srcdir)/../RandomNumberGeneratorFactory.hpp
|
---|
68 | RandomNumberGeneratorFactoryUnitTest_LDADD = ${GSLLIBS}
|
---|
69 |
|
---|
70 | RandomNumberGeneratorUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
71 | RandomNumberGeneratorUnitTest.cpp \
|
---|
72 | RandomNumberGeneratorUnitTest.hpp \
|
---|
73 | $(srcdir)/../RandomNumberDistribution_Encapsulation.cpp \
|
---|
74 | $(srcdir)/../RandomNumberDistribution_Encapsulation.hpp \
|
---|
75 | $(srcdir)/../RandomNumberDistributionFactory.cpp \
|
---|
76 | $(srcdir)/../RandomNumberDistributionFactory.hpp \
|
---|
77 | $(srcdir)/../RandomNumberEngine_Encapsulation.cpp \
|
---|
78 | $(srcdir)/../RandomNumberEngine_Encapsulation.hpp \
|
---|
79 | $(srcdir)/../RandomNumberEngineFactory.cpp \
|
---|
80 | $(srcdir)/../RandomNumberEngineFactory.hpp \
|
---|
81 | $(srcdir)/../RandomNumberGenerator.cpp \
|
---|
82 | $(srcdir)/../RandomNumberGeneratorFactory.cpp \
|
---|
83 | $(srcdir)/../RandomNumberGeneratorFactory.hpp
|
---|
84 | RandomNumberGeneratorUnitTest_LDADD = ${GSLLIBS}
|
---|
85 |
|
---|
86 |
|
---|
87 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|