]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/Makefile.am
- adapted to AliRoot logging system, messages printed out via AliRoot
[u/mrichter/AliRoot.git] / HLT / TPCLib / Makefile.am
CommitLineData
b521659f 1# $Id$
2# Makefile template for the Alice HLT TPC library
3
4MODULE = AliHLTTPC
5
0f51f5b8 6EXTRA_DIST = AliHLTTPCLinkDef.h
7
74c73e5a 8AM_CPPFLAGS = @ALIROOT_CPPFLAGS@ \
9 -I$(top_srcdir)/BASE
b521659f 10
db16520a 11# generation of the TPC Pad mapping tables for the
12# AliHLTTPCDigitReaderRaw reader
13if USE_TPC_MAPPING
14TPC_MAPPING_NOINST_SRC = mapping2array.cxx
15TPC_MAPPING_INC = mapping_array_out.inc
16TPC_MAPPING_NOINST_PGM = mapping2array
17TPC_MAPPING_COMPONENTS = AliHLTTPCDigitReaderRaw.cxx
18endif
19
20noinst_PROGRAMS = $(TPC_MAPPING_NOINST_PGM)
21if USE_TPC_MAPPING
22mapping2array_SOURCES = $(TPC_MAPPING_NOINST_SRC)
23endif
24
b521659f 25# library definition
26lib_LTLIBRARIES = libAliHLTTPC.la
27
fc455fba 28# version info for the library
29LIBRARY_VERSION = '3:0:0'
30
31# MODDIR is set by the AliRoot build system and denotes the topdir
32# of the module, we must set it since the package definition libAliHLTTPC.pkg
33# includes another common configuration file
34MODDIR = $(top_srcdir)
35PKGDEF = $(MODDIR)/libHLTbase.pkg
36include $(top_srcdir)/libAliHLTTPC.pkg
37
b521659f 38# library sources
fc455fba 39libAliHLTTPC_la_SOURCES = $(MODULE_SRCS)
b521659f 40
fc455fba 41# library headers
42pkginclude_HEADERS = $(MODULE_HDRS)
b521659f 43
fc455fba 44# linker flags
db16520a 45libAliHLTTPC_la_LDFLAGS = -L@ROOTLIBDIR@ \
46 @ROOTLIBS@ \
47 @ALIROOT_LDFLAGS@ \
74c73e5a 48 @ALIROOT_LIBS@ \
fc455fba 49 -version-info $(LIBRARY_VERSION)
b521659f 50
51# set the file name for the generated root dictionary
52DICTCPP = AliHLTTPC-DICT.cxx
53nodist_libAliHLTTPC_la_SOURCES = $(DICTCPP)
54
db16520a 55BUILT_SOURCES = $(TPC_MAPPING_INC)
56CLEANFILES = $(BUILT_SOURCES)
b521659f 57
58include $(top_srcdir)/make.dict
59
78b557c2 60SUBDIRS = . OnlineDisplay
db16520a 61
62$(TPC_MAPPING_INC): $(TPC_MAPPING_NOINST_PGM)
63 ./$<