]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/BASE/Makefile.am
Air with increased transport cuts close to qb28.
[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
242bb794 11SUBDIRS = . util
12
9ce4bf4a 13EXTRA_DIST = HLTbaseLinkDef.h
14
a742f6f8 15AM_CPPFLAGS = -DMODULE=$(MODULE)
b521659f 16
53feaef5 17bin_SCRIPTS = setenv.sh setenv.csh
18
b521659f 19# library definition
20lib_LTLIBRARIES = libHLTbase.la
21
2d7ff710 22# version info for the library
90ebac25 23LIBRARY_VERSION = '3:1:1'
2d7ff710 24
25# MODDIR is set by the AliRoot build system and denotes the topdir
26# of the module, we must set it since the package definition libHLTbase.pkg
27# includes another common configuration file
6c1a9d9e 28MODDIR = $(top_srcdir)
29PKGDEF = $(MODDIR)/libHLTbase.pkg
2d7ff710 30include $(top_srcdir)/libHLTbase.pkg
6c1a9d9e 31
b521659f 32# library sources
2d7ff710 33libHLTbase_la_SOURCES = $(MODULE_SRCS)
b521659f 34
2d7ff710 35# library headers
36pkginclude_HEADERS = $(MODULE_HDRS)
6c1a9d9e 37
2d7ff710 38# linker flags
fc455fba 39libHLTbase_la_LDFLAGS = -L@ROOTLIBDIR@ \
40 @ROOTLIBS@ \
fc455fba 41 -version-info $(LIBRARY_VERSION)
b521659f 42
fa760045 43# automatic generation of data and time of library build
44COMPILE_INFO = HLTBaseCompileInfo.cxx
45
b521659f 46# set the file name for the generated root dictionary
47DICTCPP = HLTbase-DICT.cxx
fa760045 48nodist_libHLTbase_la_SOURCES = $(COMPILE_INFO) \
49 $(DICTCPP)
b521659f 50
db16520a 51CLEANFILES = $(COMPILE_INFO)
b521659f 52
53include $(top_srcdir)/make.dict
fa760045 54
55$(COMPILE_INFO): $(libHLTbase_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
56 @echo '//automatically generated compilation info' > $@
57 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
58 @echo '//add changes in Makefile.am' >> $@
59 @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@
60 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@