- adapted to AliRoot logging system, messages printed out via AliRoot
[u/mrichter/AliRoot.git] / HLT / BASE / Makefile.am
CommitLineData
b521659f 1# $Id$
2# Makefile template for the Alice HLT framework
3
2d7ff710 4# be aware of the two different meanings of 'MODULE'
5# 1. AliRoot classifies each detector and main sub-package as a module
6# so for all HLT library packages MODULE is equal HLT
7# 2. The HLT stand-alone build system knows about sub-modules
8# e.g. for libHLTbase, MODULE=HLTbase
b521659f 9MODULE = HLTbase
10
9ce4bf4a 11EXTRA_DIST = HLTbaseLinkDef.h
12
fc455fba 13AM_CPPFLAGS = -DMODULE=$(MODULE) \
14 -I@ALICE_ROOT@/STEER
b521659f 15
53feaef5 16bin_SCRIPTS = setenv.sh setenv.csh
17
b521659f 18# library definition
19lib_LTLIBRARIES = libHLTbase.la
20
2d7ff710 21# version info for the library
a655eae3 22LIBRARY_VERSION = '2:0:0'
2d7ff710 23
24# MODDIR is set by the AliRoot build system and denotes the topdir
25# of the module, we must set it since the package definition libHLTbase.pkg
26# includes another common configuration file
6c1a9d9e 27MODDIR = $(top_srcdir)
28PKGDEF = $(MODDIR)/libHLTbase.pkg
2d7ff710 29include $(top_srcdir)/libHLTbase.pkg
6c1a9d9e 30
b521659f 31# library sources
2d7ff710 32libHLTbase_la_SOURCES = $(MODULE_SRCS)
b521659f 33
2d7ff710 34# library headers
35pkginclude_HEADERS = $(MODULE_HDRS)
6c1a9d9e 36
2d7ff710 37# linker flags
fc455fba 38libHLTbase_la_LDFLAGS = -L@ROOTLIBDIR@ \
39 @ROOTLIBS@ \
40 @ALIROOT_LDFLAGS@ \
41 @ALIROOT_LIBS@ \
42 -version-info $(LIBRARY_VERSION)
b521659f 43
fa760045 44# automatic generation of data and time of library build
45COMPILE_INFO = HLTBaseCompileInfo.cxx
46
b521659f 47# set the file name for the generated root dictionary
48DICTCPP = HLTbase-DICT.cxx
fa760045 49nodist_libHLTbase_la_SOURCES = $(COMPILE_INFO) \
50 $(DICTCPP)
b521659f 51
db16520a 52CLEANFILES = $(COMPILE_INFO)
b521659f 53
54include $(top_srcdir)/make.dict
fa760045 55
56$(COMPILE_INFO): $(libHLTbase_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
57 @echo '//automatically generated compilation info' > $@
58 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
59 @echo '//add changes in Makefile.am' >> $@
60 @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@
61 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@