2 # Makefile template Alice HLT external interface programs
4 AM_CPPFLAGS = -I$(top_srcdir)/BASE \
5 -I$(top_srcdir)/BASE/interface \
6 -DBASE_PATH=\"$(top_builddir)/BASE/interface/test/\" \
11 check_PROGRAMS = testAliHLTExternalInterface
13 check_LTLIBRARIES = libAliHLTTest.la
15 testAliHLTExternalInterface_SOURCES = testAliHLTExternalInterface.C \
16 $(top_srcdir)/BASE/AliHLTDataTypes.cxx
18 # Matthias 2009-05-29 at some point I want to get rid of the
19 # linking to libHLTbase. It should be enough just to load the
20 # interface library dynamically
21 # currently, the symbols of the HLTbase library are not recognized
22 # in the subsequent library loads if libHLTbase is loaded dynamically.
23 # Maybe an issue with the RTLD_NOW used in the dlopen from the
24 # AliHLTComponentHandler
25 testAliHLTExternalInterface_LDADD = -lHLTbase
26 testAliHLTExternalInterface_LDFLAGS = -L@ROOTLIBDIR@ \
31 libAliHLTTest_la_SOURCES = AliHLTTestProcessor.cxx AliHLTTestAgent.cxx
32 libAliHLTTest_la_LIBADD =
33 # the -rpath is the important thing here to build the shared
34 # library. Otherwise autotools just consider the libraries
35 # with the check_ attribute just convenience libraries which
37 libAliHLTTest_la_LDFLAGS = -rpath /tmp
39 TESTS = $(check_PROGRAMS)