source: src/Analysis/unittests/Makefile.am@ 88bb6b

Last change on this file since 88bb6b was eb0d77, checked in by Frederik Heber <heber@…>, 14 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: 2.6 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4ANALYSISTESTSSOURCES = \
5 ../Analysis/unittests/AnalysisBondsUnitTest.cpp \
6 ../Analysis/unittests/AnalysisCorrelationToPointUnitTest.cpp \
7 ../Analysis/unittests/AnalysisCorrelationToSurfaceUnitTest.cpp \
8 ../Analysis/unittests/AnalysisPairCorrelationUnitTest.cpp \
9 ../Analysis/unittests/CountBondsUnitTest.cpp
10
11ANALYSISTESTSHEADERS = \
12 ../Analysis/unittests/AnalysisBondsUnitTest.hpp \
13 ../Analysis/unittests/AnalysisCorrelationToPointUnitTest.hpp \
14 ../Analysis/unittests/AnalysisCorrelationToSurfaceUnitTest.hpp \
15 ../Analysis/unittests/AnalysisPairCorrelationUnitTest.hpp \
16 ../Analysis/unittests/CountBondsUnitTest.hpp
17
18ANALYSISTESTS = \
19 AnalysisBondsUnitTest \
20 AnalysisCorrelationToPointUnitTest \
21 AnalysisCorrelationToSurfaceUnitTest \
22 AnalysisPairCorrelationUnitTest \
23 CountBondsUnitTest
24
25TESTS += $(ANALYSISTESTS)
26check_PROGRAMS += $(ANALYSISTESTS)
27noinst_PROGRAMS += $(ANALYSISTESTS)
28
29ANALYSISLIBS = \
30 ../libMolecuilderAnalysis.la \
31 ../libMolecuilderUI.la \
32 ../libMolecuilder.la
33if CONDJOBMARKET
34ANALYSISLIBS += \
35 ../libMolecuilderJobs.la
36endif
37ANALYSISLIBS += \
38 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
39 ${CodePatterns_LIBS} \
40 $(BOOST_LIB)
41
42AnalysisBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
43 ../Analysis/unittests/AnalysisBondsUnitTest.cpp \
44 ../Analysis/unittests/AnalysisBondsUnitTest.hpp
45AnalysisBondsUnitTest_LDADD = ${ANALYSISLIBS}
46
47AnalysisCorrelationToPointUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
48 ../Analysis/unittests/AnalysisCorrelationToPointUnitTest.cpp \
49 ../Analysis/unittests/AnalysisCorrelationToPointUnitTest.hpp
50AnalysisCorrelationToPointUnitTest_LDADD = ${ANALYSISLIBS}
51
52AnalysisCorrelationToSurfaceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
53 ../Analysis/unittests/AnalysisCorrelationToSurfaceUnitTest.cpp \
54 ../Analysis/unittests/AnalysisCorrelationToSurfaceUnitTest.hpp
55AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ANALYSISLIBS}
56
57AnalysisPairCorrelationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
58 ../Analysis/unittests/AnalysisPairCorrelationUnitTest.cpp \
59 ../Analysis/unittests/AnalysisPairCorrelationUnitTest.hpp
60AnalysisPairCorrelationUnitTest_LDADD = ${ANALYSISLIBS}
61
62CountBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
63 ../Analysis/unittests/CountBondsUnitTest.cpp \
64 ../Analysis/unittests/CountBondsUnitTest.hpp
65CountBondsUnitTest_LDADD = ${ANALYSISLIBS}
66
67
68#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.