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