source: src/Tesselation/unittests/Makefile.am@ 97dff0

Last change on this file since 97dff0 was eb0d77, checked in by Frederik Heber <heber@…>, 12 years ago

FIX: Shared library libMolecuilderJobs needs to be given explicitly where brought in dependently.

  • in my eyes, this is a libtool bug (see #1002565 on ubuntu's launchpad) as libtool should pull in shared libraries that are list as dependencies in given shared libraries (and also known to libtool according to the .la file). However, libtool.m4 has a switch find_all_dep_libs which is set to no for linux systems. Activating it causes the correct linking behavior but faults later because shared libraries are not found (i.e. some rpath problem).
  • Hence, libMolecuilderJobs.la is given as dependency everywhere where also libMolecuilderUI is listed (also for all unit tests).
  • Property mode set to 100644
File size: 1.8 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4TESSELATIONTESTSSOURCES = \
5 ../Tesselation/unittests/TesselationUnitTest.cpp \
6 ../Tesselation/unittests/Tesselation_BoundaryTriangleUnitTest.cpp \
7 ../Tesselation/unittests/Tesselation_InsideOutsideUnitTest.cpp
8
9TESSELATIONTESTSHEADERS = \
10 ../Tesselation/unittests/TesselationUnitTest.hpp \
11 ../Tesselation/unittests/Tesselation_BoundaryTriangleUnitTest.hpp \
12 ../Tesselation/unittests/Tesselation_InsideOutsideUnitTest.hpp
13
14TESSELATIONTESTS = \
15 TesselationUnitTest \
16 Tesselation_BoundaryTriangleUnitTest \
17 Tesselation_InOutsideUnitTest
18
19TESTS += $(TESSELATIONTESTS)
20check_PROGRAMS += $(TESSELATIONTESTS)
21noinst_PROGRAMS += $(TESSELATIONTESTS)
22
23TESSELATIONLIBS = \
24 ../libMolecuilderUI.la \
25 ../libMolecuilder.la
26if CONDJOBMARKET
27TESSELATIONLIBS += \
28 ../libMolecuilderJobs.la
29endif
30TESSELATIONLIBS += \
31 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
32 ${CodePatterns_LIBS} \
33 $(BOOST_LIB)
34
35
36TesselationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
37 ../Tesselation/unittests/TesselationUnitTest.cpp \
38 ../Tesselation/unittests/TesselationUnitTest.hpp
39TesselationUnitTest_LDADD = ${TESSELATIONLIBS}
40
41Tesselation_BoundaryTriangleUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
42 ../Tesselation/unittests/Tesselation_BoundaryTriangleUnitTest.cpp \
43 ../Tesselation/unittests/Tesselation_BoundaryTriangleUnitTest.hpp
44Tesselation_BoundaryTriangleUnitTest_LDADD = ${TESSELATIONLIBS}
45
46Tesselation_InOutsideUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
47 ../Tesselation/unittests/Tesselation_InsideOutsideUnitTest.cpp \
48 ../Tesselation/unittests/Tesselation_InsideOutsideUnitTest.hpp
49Tesselation_InOutsideUnitTest_LDADD = ${TESSELATIONLIBS}
50
51
52#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.