]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/rec/Makefile.am
restoring backward compatibility for the AliLog trap after recent changes in AliLog...
[u/mrichter/AliRoot.git] / HLT / rec / Makefile.am
1 # $Id$
2 # Makefile template for the Alice HLT reconstruction framework
3
4 MODULE                          = HLTrec
5
6 SUBDIRS                         = . test
7
8 EXTRA_DIST                      = 
9
10 bin_SCRIPTS                     = startAliEVE-barrel-tracks.sh
11
12 # library definition
13 lib_LTLIBRARIES                 =  libHLTrec.la
14
15 # version info for the library
16 LIBRARY_VERSION                 = "$(LIBHLTREC_VERSION):0:0"
17
18 # MODDIR is set by the AliRoot build system and denotes the topdir
19 # of the module, we must set it since the package definition libHLTrec.pkg
20 # includes another common configuration file
21 MODDIR                          = $(top_srcdir)
22 PKGDEF                          = $(MODDIR)/libHLTrec.pkg
23 include $(top_srcdir)/libHLTrec.pkg
24
25 # compiler flags
26 AM_CPPFLAGS                     = -DMODULE=$(MODULE) \
27                                   $(PACKCXXFLAGS) \
28                                   $(foreach i, $(EINCLUDE),  \
29                                         $(shell echo $(i) | sed -e "/HLT\//!d" -e "s|HLT/|-I$(top_srcdir)/|")) \
30                                   $(foreach i, $(EINCLUDE),  \
31                                         $(shell echo $(i) | sed -e "/HLT\//d" -e "s|^|-I$(ALICE_ROOT)/|"))
32 # library sources
33 libHLTrec_la_SOURCES            = $(MODULE_SRCS)
34
35 # library headers
36 pkginclude_HEADERS              = $(MODULE_HDRS)
37
38 # linker flags
39 libHLTrec_la_LDFLAGS            = -L@ROOTLIBDIR@ \
40                                   @ROOTLIBS@ \
41                                   @ALIROOT_LDFLAGS@ \
42                                   @ALIROOT_LIBS@ \
43                                   -version-info $(LIBRARY_VERSION)
44
45 # automatic generation of data and time of library build
46 COMPILE_INFO                    =  HLTRecCompileInfo.cxx
47
48 # set the file name for the generated root dictionary
49 DICTCPP                         =  HLTrec-DICT.cxx
50 nodist_libHLTrec_la_SOURCES     =  $(COMPILE_INFO) \
51                                    $(DICTCPP)
52
53 CLEANFILES                      =  $(COMPILE_INFO)
54
55 include $(top_srcdir)/make.dict
56
57 $(COMPILE_INFO): $(libHLTrec_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
58         @echo '//automatically generated compilation info' > $@
59         @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
60         @echo '//add changes in Makefile.am' >> $@
61         @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
62         @echo '{date=__DATE__; time=__TIME__; return;}' >> $@