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