bug fixes
[u/mrichter/AliRoot.git] / HLT / CMakelibAliHLTTrigger.pkg
CommitLineData
947b5ea7 1# $Id$
6db31708 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
947b5ea7 29set ( 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
947b5ea7 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
411a92da 54 AliHLTTriggerCosmics.h
947b5ea7 55 AliHLTTriggerCounterComponent.h
56 AliHLTTriggerCounters.h
8ffa7c29 57 AliHLTTriggerCaloClusterEnergy.h
58 AliHLTTriggerEmcalElectron.h
c7b7f445 59 AliHLTTRDTriggerComponent.h
6b56b8ad 60# uncomment if fastjet is installed
61# AliHLTTriggerFastJet.h
62# ---------------------------------
63 AliHLTFastJetMonitorComponent.h
64 AliHLTFastJetMonitor.h
65 AliHLTEmcalElectronMonitor.h
66 AliHLTEmcalElectronMonitorComponent.h
947b5ea7 67 )
68
7634d323 69
6b56b8ad 70set(FASTJETENV $ENV{FASTJET})
71
72if(FASTJETENV)
73 set ( EDEFINE -isystem${FASTJETENV}/include/fastjet )
74else()
75 set ( EDEFINE -isystem${ALICE_ROOT}/JETAN/fastjet)
76endif(FASTJETENV)
77
6db31708 78string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" )
79
80set ( MODULE_HDRS ${CLASS_HDRS})
81
82set ( MODULE_DHDR AliHLTTriggerLinkDef.h)
83
6b56b8ad 84set ( 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 )
6db31708 85
947b5ea7 86set ( ELIBS "HLTbase AliHLTTRD AliHLTMUON AliHLTUtil")
6db31708 87
88include ("CMakehlt.conf")
89
90if (MODULE_SRCS)
91ALICE_Format (SRCS "trigger/" "" "${MODULE_SRCS}")
92endif(MODULE_SRCS)
93if (CLASS_HDRS)
94ALICE_Format (CINTHDRS "trigger/" "" "${CLASS_HDRS}")
95endif(CLASS_HDRS)
96if (MODULE_HDRS)
97ALICE_Format (HDRS "trigger/" "" "${MODULE_HDRS}")
98endif(MODULE_HDRS)
99if (MODULE_DHDR)
100ALICE_Format (DHDR "trigger/" "" "${MODULE_DHDR}")
101endif(MODULE_DHDR)
102
103if(NOT DHDR)
104 set(CINTAUTOLINK 1)
105endif(NOT DHDR)
106
107set ( EDEFINE ${HLTDEFS})
108set ( PACKCXXFLAGS ${HLTCXXFLAGS})
109set ( PACKCFLAGS ${HLTCLFAGS})
110set ( PACKDCXXFLAGS ${HLTDCXXFLAGS})
111set ( PACKSOFLAGS ${HLTSOFLAGS})
71d5ee50 112set ( EXPORT trigger/AliHLTGlobalTrigger.h)