]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/BASE/interface/test/Makefile.am
updated
[u/mrichter/AliRoot.git] / HLT / BASE / interface / test / Makefile.am
1 # $Id$
2 # Makefile template Alice HLT external interface programs
3
4 AM_CPPFLAGS                     = -I$(top_srcdir)/BASE \
5                                   -I$(top_srcdir)/BASE/interface \
6                                   -DBASE_PATH=\"$(top_builddir)/BASE/interface/test/\" \
7                                   -I$(ALICE_ROOT)/STEER
8
9 EXTRA_DIST                      = 
10
11 check_PROGRAMS                  = testAliHLTExternalInterface
12
13 check_LTLIBRARIES               = libAliHLTTest.la
14
15 testAliHLTExternalInterface_SOURCES     = testAliHLTExternalInterface.C \
16                                           $(top_srcdir)/BASE/AliHLTDataTypes.cxx
17
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@ \
27                                         @ROOTLIBS@ \
28                                         @ALIROOT_LDFLAGS@ \
29                                         @ALIROOT_LIBS@
30
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
36 # are static
37 libAliHLTTest_la_LDFLAGS = -rpath /tmp
38
39 TESTS           = $(check_PROGRAMS)