[3f9eba] | 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 = \
|
---|
[c9bc2b7] | 10 | RandomNumberDistributionFactoryUnitTest \
|
---|
| 11 | RandomNumberEngineFactoryUnitTest \
|
---|
| 12 | RandomNumberGeneratorFactoryUnitTest \
|
---|
| 13 | RandomNumberGeneratorUnitTest
|
---|
[3f9eba] | 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 |
|
---|
[c9bc2b7] | 36 | RandomNumberDistributionFactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 37 | RandomNumberDistributionFactoryUnitTest.cpp \
|
---|
| 38 | RandomNumberDistributionFactoryUnitTest.hpp \
|
---|
[081e5d] | 39 | $(srcdir)/../RandomNumberDistribution_Encapsulation.cpp \
|
---|
| 40 | $(srcdir)/../RandomNumberDistribution_Encapsulation.hpp \
|
---|
[c9bc2b7] | 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 \
|
---|
[081e5d] | 48 | $(srcdir)/../RandomNumberEngine_Encapsulation.cpp \
|
---|
| 49 | $(srcdir)/../RandomNumberEngine_Encapsulation.hpp \
|
---|
[c9bc2b7] | 50 | $(srcdir)/../RandomNumberEngineFactory.cpp \
|
---|
| 51 | $(srcdir)/../RandomNumberEngineFactory.hpp
|
---|
| 52 | RandomNumberEngineFactoryUnitTest_LDADD = ${GSLLIBS}
|
---|
| 53 |
|
---|
[3f9eba] | 54 | RandomNumberGeneratorFactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 55 | RandomNumberGeneratorFactoryUnitTest.cpp \
|
---|
| 56 | RandomNumberGeneratorFactoryUnitTest.hpp \
|
---|
[081e5d] | 57 | $(srcdir)/../RandomNumberDistribution_Encapsulation.cpp \
|
---|
| 58 | $(srcdir)/../RandomNumberDistribution_Encapsulation.hpp \
|
---|
[c9bc2b7] | 59 | $(srcdir)/../RandomNumberDistributionFactory.cpp \
|
---|
| 60 | $(srcdir)/../RandomNumberDistributionFactory.hpp \
|
---|
[081e5d] | 61 | $(srcdir)/../RandomNumberEngine_Encapsulation.cpp \
|
---|
| 62 | $(srcdir)/../RandomNumberEngine_Encapsulation.hpp \
|
---|
[c9bc2b7] | 63 | $(srcdir)/../RandomNumberEngineFactory.cpp \
|
---|
| 64 | $(srcdir)/../RandomNumberEngineFactory.hpp \
|
---|
[15911c] | 65 | $(srcdir)/../RandomNumberGenerator.cpp \
|
---|
[3f9eba] | 66 | $(srcdir)/../RandomNumberGeneratorFactory.cpp \
|
---|
| 67 | $(srcdir)/../RandomNumberGeneratorFactory.hpp
|
---|
| 68 | RandomNumberGeneratorFactoryUnitTest_LDADD = ${GSLLIBS}
|
---|
| 69 |
|
---|
[c9bc2b7] | 70 | RandomNumberGeneratorUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 71 | RandomNumberGeneratorUnitTest.cpp \
|
---|
| 72 | RandomNumberGeneratorUnitTest.hpp \
|
---|
[081e5d] | 73 | $(srcdir)/../RandomNumberDistribution_Encapsulation.cpp \
|
---|
| 74 | $(srcdir)/../RandomNumberDistribution_Encapsulation.hpp \
|
---|
[c9bc2b7] | 75 | $(srcdir)/../RandomNumberDistributionFactory.cpp \
|
---|
| 76 | $(srcdir)/../RandomNumberDistributionFactory.hpp \
|
---|
[081e5d] | 77 | $(srcdir)/../RandomNumberEngine_Encapsulation.cpp \
|
---|
| 78 | $(srcdir)/../RandomNumberEngine_Encapsulation.hpp \
|
---|
[c9bc2b7] | 79 | $(srcdir)/../RandomNumberEngineFactory.cpp \
|
---|
| 80 | $(srcdir)/../RandomNumberEngineFactory.hpp \
|
---|
[15911c] | 81 | $(srcdir)/../RandomNumberGenerator.cpp \
|
---|
[c9bc2b7] | 82 | $(srcdir)/../RandomNumberGeneratorFactory.cpp \
|
---|
| 83 | $(srcdir)/../RandomNumberGeneratorFactory.hpp
|
---|
| 84 | RandomNumberGeneratorUnitTest_LDADD = ${GSLLIBS}
|
---|
| 85 |
|
---|
[3f9eba] | 86 |
|
---|
| 87 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|