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