- adapted to AliRoot logging system, messages printed out via AliRoot
[u/mrichter/AliRoot.git] / HLT / TPCLib / Makefile.am
... / ...
CommitLineData
1# $Id$
2# Makefile template for the Alice HLT TPC library
3
4MODULE = AliHLTTPC
5
6EXTRA_DIST = AliHLTTPCLinkDef.h
7
8AM_CPPFLAGS = @ALIROOT_CPPFLAGS@ \
9 -I$(top_srcdir)/BASE
10
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
25# library definition
26lib_LTLIBRARIES = libAliHLTTPC.la
27
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
38# library sources
39libAliHLTTPC_la_SOURCES = $(MODULE_SRCS)
40
41# library headers
42pkginclude_HEADERS = $(MODULE_HDRS)
43
44# linker flags
45libAliHLTTPC_la_LDFLAGS = -L@ROOTLIBDIR@ \
46 @ROOTLIBS@ \
47 @ALIROOT_LDFLAGS@ \
48 @ALIROOT_LIBS@ \
49 -version-info $(LIBRARY_VERSION)
50
51# set the file name for the generated root dictionary
52DICTCPP = AliHLTTPC-DICT.cxx
53nodist_libAliHLTTPC_la_SOURCES = $(DICTCPP)
54
55BUILT_SOURCES = $(TPC_MAPPING_INC)
56CLEANFILES = $(BUILT_SOURCES)
57
58include $(top_srcdir)/make.dict
59
60SUBDIRS = . OnlineDisplay
61
62$(TPC_MAPPING_INC): $(TPC_MAPPING_NOINST_PGM)
63 ./$<