]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/ZDC/Makefile.am
new centrality selection
[u/mrichter/AliRoot.git] / HLT / ZDC / Makefile.am
1 # $Id: Makefile.am $
2 # Makefile for the Alice HLT ZDC library
3
4 MODULE                          = AliHLTZDC
5
6 ###################################################################
7
8 EXTRA_DIST                      =
9
10 MODDIR                          = $(top_srcdir)
11 PKGDEF                          = $(MODDIR)/libAliHLTZDC.pkg
12 include $(top_srcdir)/libAliHLTZDC.pkg
13
14 ###################################################################
15
16 # library definition
17 lib_LTLIBRARIES                 =  libAliHLTZDC.la
18
19 # version info for the library
20 LIBRARY_VERSION                 = '0:0:0'
21
22 # library sources
23 # The source files are specified in libAliHLTZDC.pkg
24 libAliHLTZDC_la_SOURCES         =  $(MODULE_SRCS)
25
26 # library headers
27 # The header files are specified in libAliHLTZDC.pkg
28 noinst_HEADERS                  =  $(MODULE_HDRS)
29
30 ###################################################################
31
32 # compilation flags of the library
33 AM_CPPFLAGS                     = -DMODULE=$(MODULE) \
34                                   @HLTBASE_CPPFLAGS@ \
35                                   @ALIROOT_CPPFLAGS@ \
36                                   @ROOTCFLAGS@ \
37                                   $(foreach i, $(EINCLUDE),  \
38                                         $(shell echo $(i) | sed -e "/HLT\//!d" -e "s|HLT/|-I$(top_srcdir)/|")) \
39                                   $(foreach i, $(EINCLUDE),  \
40                                         $(shell echo $(i) | sed -e "/HLT\//d" -e "s|^|-I$(ALICE_ROOT)/|"))
41
42 # linking flags of the library# linker flags
43 #libAliHLTZDC_la_LIBADD         = $(top_builddir)/BASE/util/libAliHLTUtil.la
44 libAliHLTZDC_la_LDFLAGS = -L@ROOTLIBDIR@ \
45                                   @ROOTLIBS@ \
46                                   @HLTBASE_LDFLAGS@ \
47                                   @ALIROOT_LDFLAGS@ \
48                                   @ALIROOT_LIBS@ \
49                                   -version-info $(LIBRARY_VERSION)
50
51 ###############################################################################
52
53 # automatic generation of data and time of library build
54 COMPILE_INFO                    =  AliHLTZDCCompileInfo.cxx
55
56 # set the file name for the generated root dictionary
57 DICTCPP                         =  AliHLTZDC-DICT.cxx
58 nodist_libAliHLTZDC_la_SOURCES  = $(COMPILE_INFO) \
59                                   $(DICTCPP)
60
61 CLEANFILES                      = $(COMPILE_INFO)
62
63 ###############################################################################
64
65 include $(top_srcdir)/make.dict
66
67 ###################################################################
68
69 $(COMPILE_INFO): $(libAliHLTZDC_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
70         @echo '//automatically generated compilation info' > $@
71         @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
72         @echo '//add changes in Makefile.am' >> $@
73         @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
74         @echo '{date=__DATE__; time=__TIME__; return;}' >> $@