source: src/RandomNumbers/unittests/Makefile.am@ a844d8

Candidate_v1.6.1
Last change on this file since a844d8 was 748fc7, checked in by Frederik Heber <heber@…>, 10 years ago

libMolecuilder is now a shared library.

  • linking error Vector::IsZero(double) with molecuilder(gui), related to libMolecuilderShapes was the root cause for this change. Again, it was not deducible why this error occured:
  • probably (me tired of these obfuscated linker errors ...) faulted because libMolecuilder is convenience lib while libMolecuilderUI and ..QtUI are shared and deps did not get passed along properly (by libtool) (e.g. ldd showed libMolecuilderShapes prior to libLinearAlgebra, containing said function Vector::IsZero(double), but I cannot influence this ordering and it should not even matter (dynamic linking).)
  • some cleanup in builder_init.cpp (no more loading of BondGraph from file named "\n".
  • TESTFIX: libMolecuilder.so added to all unittests, required for e.g. World::purgeInstance() ... and sometimes added libMolecuilderUI.so because libMolecuilder pulled them in due to static entities ... sigh.
  • removed all src object files from unittest .._SOURCES. This caused distclean faults "thanks" to new subdir-objects (automake).
  • Property mode set to 100644
File size: 2.3 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4#AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl ${BOOST_LDFLAGS}
5#AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
6
7RANDOMNUMBERTESTSSOURCES = \
8 ../RandomNumbers/unittests/RandomNumberDistributionFactoryUnitTest.cpp \
9 ../RandomNumbers/unittests/RandomNumberEngineFactoryUnitTest.cpp \
10 ../RandomNumbers/unittests/RandomNumberGeneratorFactoryUnitTest.cpp \
11 ../RandomNumbers/unittests/RandomNumberGeneratorUnitTest.cpp
12
13RANDOMNUMBERTESTSHEADERS = \
14 ../RandomNumbers/unittests/RandomNumberDistributionFactoryUnitTest.hpp \
15 ../RandomNumbers/unittests/RandomNumberEngineFactoryUnitTest.hpp \
16 ../RandomNumbers/unittests/RandomNumberGeneratorFactoryUnitTest.hpp \
17 ../RandomNumbers/unittests/RandomNumberGeneratorUnitTest.hpp
18
19RANDOMNUMBERTESTS = \
20 RandomNumberDistributionFactoryUnitTest \
21 RandomNumberEngineFactoryUnitTest \
22 RandomNumberGeneratorFactoryUnitTest \
23 RandomNumberGeneratorUnitTest
24
25TESTS += $(RANDOMNUMBERTESTS)
26check_PROGRAMS += $(RANDOMNUMBERTESTS)
27noinst_PROGRAMS += $(RANDOMNUMBERTESTS)
28
29RANDOMNUMBERLIBS = \
30 libUnitTest.la \
31 ../libMolecuilder.la \
32 ../libMolecuilderRandomNumbers.la \
33 ${CodePatterns_LIBS} \
34 $(BOOST_LIB)
35
36RandomNumberDistributionFactoryUnitTest_SOURCES = \
37 ../RandomNumbers/unittests/RandomNumberDistributionFactoryUnitTest.cpp \
38 ../RandomNumbers/unittests/RandomNumberDistributionFactoryUnitTest.hpp
39RandomNumberDistributionFactoryUnitTest_LDADD = ${RANDOMNUMBERLIBS}
40
41RandomNumberEngineFactoryUnitTest_SOURCES = \
42 ../RandomNumbers/unittests/RandomNumberEngineFactoryUnitTest.cpp \
43 ../RandomNumbers/unittests/RandomNumberEngineFactoryUnitTest.hpp
44RandomNumberEngineFactoryUnitTest_LDADD = ${RANDOMNUMBERLIBS}
45
46RandomNumberGeneratorFactoryUnitTest_SOURCES = \
47 ../RandomNumbers/unittests/RandomNumberGeneratorFactoryUnitTest.cpp \
48 ../RandomNumbers/unittests/RandomNumberGeneratorFactoryUnitTest.hpp
49RandomNumberGeneratorFactoryUnitTest_LDADD = ${RANDOMNUMBERLIBS}
50
51RandomNumberGeneratorUnitTest_SOURCES = \
52 ../RandomNumbers/unittests/RandomNumberGeneratorUnitTest.cpp \
53 ../RandomNumbers/unittests/RandomNumberGeneratorUnitTest.hpp
54RandomNumberGeneratorUnitTest_LDADD = ${RANDOMNUMBERLIBS}
55
56
57#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.