]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/PHOS/Makefile.am
Removing unused constants
[u/mrichter/AliRoot.git] / HLT / PHOS / Makefile.am
CommitLineData
c160eda8 1# $Id$
2# Makefile template for the Alice HLT PHOS library
3
4MODULE = AliHLTPHOS
5
95316e9f 6EXTRA_DIST =
7f985641 7
c160eda8 8# library definition
9lib_LTLIBRARIES = libAliHLTPHOS.la
10
95316e9f 11# version info for the library
12LIBRARY_VERSION = '0:0:0'
13
14# MODDIR is set by the AliRoot build system and denotes the topdir
15# of the module, we must set it since the package definition libAliHLTPHOS.pkg
16# includes another common configuration file
17MODDIR = $(top_srcdir)
18PKGDEF = $(MODDIR)/libAliHLTPHOS.pkg
19include $(top_srcdir)/libAliHLTPHOS.pkg
20
21# compiler flags
22AM_CPPFLAGS = -DMODULE=$(MODULE) \
23 $(PACKCXXFLAGS) \
24 $(foreach i, $(EINCLUDE), \
25 $(shell echo $(i) | sed -e "/HLT\//!d" -e "s|HLT/|-I$(top_srcdir)/|")) \
26 $(foreach i, $(EINCLUDE), \
27 $(shell echo $(i) | sed -e "/HLT\//d" -e "s|^|-I$(ALICE_ROOT)/|"))
c160eda8 28# library sources
95316e9f 29libAliHLTPHOS_la_SOURCES = $(MODULE_SRCS)
7b0fee08 30
95316e9f 31# library headers
32pkginclude_HEADERS = $(MODULE_HDRS)
2f0931cb 33
95316e9f 34# additional link def file
35EXTRA_DIST +=$(MODULE_DHDR)
c160eda8 36
37# version info and linking flags for the library
cb41788f 38libAliHLTPHOS_la_LIBADD = $(top_builddir)/BASE/util/libAliHLTUtil.la \
39 $(top_builddir)/CALO/libAliHLTCalo.la
c160eda8 40libAliHLTPHOS_la_LDFLAGS = -L@ROOTLIBDIR@ \
41 @ROOTLIBS@ \
42 @ALIROOT_LDFLAGS@ \
43 @ALIROOT_LIBS@ \
95316e9f 44 @ALIPHOS_LIBS@ \
45 -version-info $(LIBRARY_VERSION)
c160eda8 46
47# automatic generation of data and time of library build
48COMPILE_INFO = AliHLTPHOSCompileInfo.cxx
49
50# set the file name for the generated root dictionary
51DICTCPP = AliHLTPHOS-DICT.cxx
52# add additional include files which are necessary for the compilation of the
53# dictionary files and which are not part of the CLASS_HDRS
54DICTINCLUDE =
55
56nodist_libAliHLTPHOS_la_SOURCES = $(COMPILE_INFO) \
57 $(DICTCPP)
58
59CLEANFILES = $(COMPILE_INFO)
60
61include $(top_srcdir)/make.dict
62
63$(COMPILE_INFO): $(libAliHLTPHOS_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
64 @echo '//automatically generated compilation info' > $@
65 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
66 @echo '//add changes in Makefile.am' >> $@
179be78e 67 @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
c160eda8 68 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@