]>
Commit | Line | Data |
---|---|---|
33791895 | 1 | #-*- Mode: Makefile -*- |
2 | # $Id$ | |
3 | ||
4 | # This files defines the source and header files for the | |
5 | # libAliHLTEve library and additional flags for the compilation | |
6 | # and linking process. For further information refer to the | |
7 | # README. | |
8 | ||
6c5e90b6 | 9 | ifneq ($(shell $(ROOTCONFIG) --has-opengl), no) |
10 | ||
33791895 | 11 | # class header files, the link definition for the root dictionary |
12 | # will be created from the names of the header files | |
13 | CLASS_HDRS:= AliHLTEveBase.h \ | |
14 | AliHLTEveCalo.h \ | |
15 | AliHLTEvePhos.h \ | |
16 | AliHLTEveEmcal.h \ | |
17 | AliHLTEveTPC.h \ | |
18 | AliHLTEveHLT.h \ | |
19 | AliHLTEveITS.h \ | |
20 | AliHLTEveISSD.h \ | |
21 | AliHLTEveISPD.h \ | |
22 | AliHLTEveISDD.h \ | |
23 | AliHLTEveTRD.h \ | |
24 | AliHLTEveMuon.h \ | |
25 | AliHLTEveAny.h | |
26 | ||
27 | ||
28 | # library sources, generated from the class headers | |
29 | MODULE_SRCS= $(CLASS_HDRS:.h=.cxx) | |
30 | ||
31 | # library headers | |
32 | # in most cases you might have already added all the header files to | |
33 | # the CLASS_HDRS variable. So we just use the content of this. You | |
34 | # can simply add more header files which don't contain classes with | |
35 | # ROOT dictionary support | |
36 | MODULE_HDRS:= $(CLASS_HDRS) | |
37 | ||
38 | # The LinkDef file required by the ROOT dictionary generation can be | |
39 | # generated automatically. For the all header files specified in | |
40 | # CLASS_HDRS an entry will be generated | |
41 | # pragma link C++ class <class-name>+; | |
42 | # | |
43 | # If the default behavior is not enough, you can provide a custom | |
44 | # *LinkDef.h to the MODULE_DHDR variable. Leave MODULE_DHDR empty to | |
45 | # enable automatic generation. | |
46 | MODULE_DHDR:= | |
47 | ||
381305a4 | 48 | EINCLUDE := HLT/BASE HLT/shuttle HLT/EVE EVE/EveHLT EVE/EveBase EVE/EveDet \ |
33791895 | 49 | HLT/BASE/util HLT/BASE/HOMER HLT/TPCLib \ |
50 | ITS PHOS TRIGGER VZERO EMCAL \ | |
51 | STEER TRD HLT/TRD \ | |
23908691 | 52 | HLT/MUON MUON \ |
53 | HLT/rec | |
33791895 | 54 | |
55 | ||
381305a4 | 56 | LIBRARY_DEP := -lHLTbase -lCDB -lSTEERBase -AliHLTTPC -lMUONbase -lAliHLTMUON -lEveDet |
33791895 | 57 | |
58 | ############################################################################### | |
59 | # | |
60 | # do not change anything below this line | |
61 | # | |
62 | include $(MODDIR)/hlt.conf | |
63 | ||
64 | SRCS:=$(patsubst %,EVE/%,$(MODULE_SRCS)) | |
65 | CINTHDRS:=$(patsubst %,EVE/%,$(CLASS_HDRS)) | |
66 | HDRS:=$(patsubst %,EVE/%,$(MODULE_HDRS)) | |
67 | DHDR:=$(patsubst %,EVE/%,$(MODULE_DHDR)) | |
68 | CINTAUTOLINK:= $(shell test "x$(MODULE_DHDR)" = "x" && echo 1) | |
69 | ||
70 | EDEFINE := ${HLTDEFS} | |
71 | PACKCXXFLAGS := $(filter-out -ansi,$(filter-out -pedantic-errors, $(CXXFLAGS))) | |
72 | PACKCFLAGS := $(filter-out -ansi, $(filter-out -pedantic-errors, $(CFLAGS))) | |
73 | PACKDCXXFLAGS:= $(filter-out -pedantic-errors, $(CXXFLAGS)) | |
74 | PACKSOFLAGS := $(HLTSOFLAGS) | |
6c5e90b6 | 75 | |
76 | endif | |
77 |