]>
Commit | Line | Data |
---|---|---|
b521659f | 1 | # $Id$ |
2 | # Makefile template for the Alice HLT TPC library | |
3 | ||
4 | MODULE = AliHLTTPC | |
5 | ||
0f51f5b8 | 6 | EXTRA_DIST = AliHLTTPCLinkDef.h |
7 | ||
74c73e5a | 8 | AM_CPPFLAGS = @ALIROOT_CPPFLAGS@ \ |
9 | -I$(top_srcdir)/BASE | |
b521659f | 10 | |
db16520a | 11 | # generation of the TPC Pad mapping tables for the |
12 | # AliHLTTPCDigitReaderRaw reader | |
13 | if USE_TPC_MAPPING | |
14 | TPC_MAPPING_NOINST_SRC = mapping2array.cxx | |
15 | TPC_MAPPING_INC = mapping_array_out.inc | |
16 | TPC_MAPPING_NOINST_PGM = mapping2array | |
17 | TPC_MAPPING_COMPONENTS = AliHLTTPCDigitReaderRaw.cxx | |
18 | endif | |
19 | ||
20 | noinst_PROGRAMS = $(TPC_MAPPING_NOINST_PGM) | |
21 | if USE_TPC_MAPPING | |
22 | mapping2array_SOURCES = $(TPC_MAPPING_NOINST_SRC) | |
23 | endif | |
24 | ||
b521659f | 25 | # library definition |
26 | lib_LTLIBRARIES = libAliHLTTPC.la | |
27 | ||
fc455fba | 28 | # version info for the library |
29 | LIBRARY_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 | |
34 | MODDIR = $(top_srcdir) | |
35 | PKGDEF = $(MODDIR)/libHLTbase.pkg | |
36 | include $(top_srcdir)/libAliHLTTPC.pkg | |
37 | ||
b521659f | 38 | # library sources |
fc455fba | 39 | libAliHLTTPC_la_SOURCES = $(MODULE_SRCS) |
b521659f | 40 | |
fc455fba | 41 | # library headers |
42 | pkginclude_HEADERS = $(MODULE_HDRS) | |
b521659f | 43 | |
fc455fba | 44 | # linker flags |
db16520a | 45 | libAliHLTTPC_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 | |
52 | DICTCPP = AliHLTTPC-DICT.cxx | |
53 | nodist_libAliHLTTPC_la_SOURCES = $(DICTCPP) | |
54 | ||
db16520a | 55 | BUILT_SOURCES = $(TPC_MAPPING_INC) |
56 | CLEANFILES = $(BUILT_SOURCES) | |
b521659f | 57 | |
58 | include $(top_srcdir)/make.dict | |
59 | ||
78b557c2 | 60 | SUBDIRS = . OnlineDisplay |
db16520a | 61 | |
62 | $(TPC_MAPPING_INC): $(TPC_MAPPING_NOINST_PGM) | |
63 | ./$< |