Take number of non-empty events and the raw data format properly into account
[u/mrichter/AliRoot.git] / HLT / RCU / Makefile.am
CommitLineData
5e3820e2 1# $Id$
2# Makefile template for the AliHLTRCU library.
3
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 libAliHLTRCU, MODULE=AliHLTRCU
9MODULE = AliHLTRCU
10
768be5c3 11SUBDIRS = test
12
5e3820e2 13EXTRA_DIST =
14
15# library definition
16lib_LTLIBRARIES = libAliHLTRCU.la
17
18# version info for the library
19LIBRARY_VERSION = '0:0:0'
20
21# MODDIR is set by the AliRoot build system and denotes the topdir
22# of the module, we must set it since the package definition libAliHLTRCU.pkg
23# includes another common configuration file
24MODDIR = $(top_srcdir)
25PKGDEF = $(MODDIR)/libAliHLTRCU.pkg
26include $(top_srcdir)/libAliHLTRCU.pkg
27
28# compiler flags
29AM_CPPFLAGS = -DMODULE=$(MODULE) \
30 $(foreach i, $(EINCLUDE), \
31 $(shell echo $(i) | sed -e "/HLT\//!d" -e "s|HLT/|-I$(top_srcdir)/|")) \
32 $(foreach i, $(EINCLUDE), \
33 $(shell echo $(i) | sed -e "/HLT\//d" -e "s|^|-I$(ALICE_ROOT)/|"))
34
35# library sources
36libAliHLTRCU_la_SOURCES = $(MODULE_SRCS)
37
38# library headers
39pkginclude_HEADERS = $(MODULE_HDRS)
40
41# linker flags
42libAliHLTRCU_la_LDFLAGS = -L@ROOTLIBDIR@ \
43 @ROOTLIBS@ \
44 @ALIROOT_LDFLAGS@ \
45 @ALIROOT_LIBS@ \
46 -version-info $(LIBRARY_VERSION)
47
48# automatic generation of data and time of library build
49COMPILE_INFO = AliHLTRCUCompileInfo.cxx
50
51# set the file name for the generated root dictionary
52DICTCPP = AliHLTRCU-DICT.cxx
53nodist_libAliHLTRCU_la_SOURCES = $(COMPILE_INFO) \
54 $(DICTCPP)
55
56CLEANFILES = $(COMPILE_INFO)
57
58include $(top_srcdir)/make.dict
59
60$(COMPILE_INFO): $(libAliHLTRCU_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
61 @echo '//automatically generated compilation info' > $@
62 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
63 @echo '//add changes in Makefile.am' >> $@
64 @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
65 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@