]>
Commit | Line | Data |
---|---|---|
1 | # $Id$ | |
2 | #--------------------------------------------------------------------------------# | |
3 | # Package File for AliHLTTrigger # | |
4 | # Author : Johny Jose (johny.jose@cern.ch) # | |
5 | # Variables Defined : # | |
6 | # # | |
7 | # SRCS - C++ source files # | |
8 | # HDRS - C++ header files # | |
9 | # DHDR - ROOT Dictionary Linkdef header file # | |
10 | # CSRCS - C source files # | |
11 | # CHDRS - C header files # | |
12 | # EINCLUDE - Include directories # | |
13 | # EDEFINE - Compiler definitions # | |
14 | # ELIBS - Extra libraries to link # | |
15 | # ELIBSDIR - Extra library directories # | |
16 | # PACKFFLAGS - Fortran compiler flags for package # | |
17 | # PACKCXXFLAGS - C++ compiler flags for package # | |
18 | # PACKCFLAGS - C compiler flags for package # | |
19 | # PACKSOFLAGS - Shared library linking flags # | |
20 | # PACKLDFLAGS - Module linker flags # | |
21 | # PACKBLIBS - Libraries to link (Executables only) # | |
22 | # EXPORT - Header files to be exported # | |
23 | # CINTHDRS - Dictionary header files # | |
24 | # CINTAUTOLINK - Set automatic dictionary generation # | |
25 | # ARLIBS - Archive Libraries and objects for linking (Executables only) # | |
26 | # SHLIBS - Shared Libraries and objects for linking (Executables only) # | |
27 | #--------------------------------------------------------------------------------# | |
28 | ||
29 | set ( CLASS_HDRS | |
30 | AliHLTTrigger.h | |
31 | AliHLTGlobalTrigger.h | |
32 | AliHLTGlobalTriggerWrapper.h | |
33 | AliHLTGlobalTriggerConfig.h | |
34 | AliHLTGlobalTriggerComponent.h | |
35 | AliHLTTriggerBarrelMultiplicity.h | |
36 | AliHLTD0Trigger.h | |
37 | AliHLTD0toKpi.h | |
38 | AliHLTD0Candidate.h | |
39 | AliHLTTriggerITSMultiplicity.h | |
40 | AliHLTTriggerAgent.h | |
41 | AliHLTTriggerCaloClusterEnergy.h | |
42 | AliHLTTriggerPhosClusterEnergy.h | |
43 | AliHLTTriggerEmcalClusterEnergy.h | |
44 | AliHLTTriggerPhosMip.h | |
45 | AliHLTTriggerTrdClusterMultiplicity.h | |
46 | AliHLTTriggerBarrelGeomMultiplicity.h | |
47 | AliHLTTriggerDetectorGeom.h | |
48 | AliHLTTriggerDetectorGeomRectangle.h | |
49 | AliHLTTriggerDecisionParameters.h | |
50 | AliHLTTriggerGammaConversion.h | |
51 | AliHLTMuonSpectroScalars.h | |
52 | AliHLTMuonSpectroTriggerComponent.h | |
53 | AliHLTUpcTriggerComponent.h | |
54 | AliHLTTriggerCosmics.h | |
55 | AliHLTTriggerCounterComponent.h | |
56 | AliHLTTriggerCounters.h | |
57 | AliHLTTriggerCaloClusterEnergy.h | |
58 | AliHLTTriggerEmcalElectron.h | |
59 | AliHLTTRDTriggerComponent.h | |
60 | # uncomment if fastjet is installed | |
61 | # AliHLTTriggerFastJet.h | |
62 | # --------------------------------- | |
63 | AliHLTFastJetMonitorComponent.h | |
64 | AliHLTFastJetMonitor.h | |
65 | AliHLTEmcalElectronMonitor.h | |
66 | AliHLTEmcalElectronMonitorComponent.h | |
67 | ) | |
68 | ||
69 | ||
70 | set(FASTJETENV $ENV{FASTJET}) | |
71 | ||
72 | if(FASTJETENV) | |
73 | set ( EDEFINE -isystem${FASTJETENV}/include/fastjet ) | |
74 | else() | |
75 | set ( EDEFINE -isystem${ALICE_ROOT}/JETAN/fastjet) | |
76 | endif(FASTJETENV) | |
77 | ||
78 | string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" ) | |
79 | ||
80 | set ( MODULE_HDRS ${CLASS_HDRS}) | |
81 | ||
82 | set ( MODULE_DHDR AliHLTTriggerLinkDef.h) | |
83 | ||
84 | set ( EINCLUDE HLT/BASE HLT/BASE/util HLT/trigger HLT/TPCLib HLT/TRD TRD HLT/ITS HLT/MUON MUON HLT/FJWrapper ${FASTJETENV}/include ${FASTJETENV}/include/fastjet ${FASTJETENV}/include/fastjet/internal ) | |
85 | ||
86 | set ( ELIBS "HLTbase AliHLTTRD AliHLTMUON AliHLTUtil") | |
87 | ||
88 | include ("CMakehlt.conf") | |
89 | ||
90 | if (MODULE_SRCS) | |
91 | ALICE_Format (SRCS "trigger/" "" "${MODULE_SRCS}") | |
92 | endif(MODULE_SRCS) | |
93 | if (CLASS_HDRS) | |
94 | ALICE_Format (CINTHDRS "trigger/" "" "${CLASS_HDRS}") | |
95 | endif(CLASS_HDRS) | |
96 | if (MODULE_HDRS) | |
97 | ALICE_Format (HDRS "trigger/" "" "${MODULE_HDRS}") | |
98 | endif(MODULE_HDRS) | |
99 | if (MODULE_DHDR) | |
100 | ALICE_Format (DHDR "trigger/" "" "${MODULE_DHDR}") | |
101 | endif(MODULE_DHDR) | |
102 | ||
103 | if(NOT DHDR) | |
104 | set(CINTAUTOLINK 1) | |
105 | endif(NOT DHDR) | |
106 | ||
107 | set ( EDEFINE ${HLTDEFS}) | |
108 | set ( PACKCXXFLAGS ${HLTCXXFLAGS}) | |
109 | set ( PACKCFLAGS ${HLTCLFAGS}) | |
110 | set ( PACKDCXXFLAGS ${HLTDCXXFLAGS}) | |
111 | set ( PACKSOFLAGS ${HLTSOFLAGS}) | |
112 | set ( EXPORT trigger/AliHLTGlobalTrigger.h) |