Patch provided by Adrian (slightly reworked by Constantin).
[u/mrichter/AliRoot.git] / PWGJE / CMakelibPWGJEEMCALJetTasks.pkg
1 # -*- mode: Makefile -*-
2 # $Id$
3 #--------------------------------------------------------------------------------#
4 # Variables Defined :                                                            #
5 #                                                                                #
6 # SRCS - C++ source files                                                        #
7 # HDRS - C++ header files                                                        #
8 # DHDR - ROOT Dictionary Linkdef header file                                     #
9 # CSRCS - C source files                                                         #
10 # CHDRS - C header files                                                         #
11 # EINCLUDE - Include directories                                                 #
12 # EDEFINE - Compiler definitions                                                 #
13 # ELIBS - Extra libraries to link                                                #
14 # ELIBSDIR - Extra library directories                                           #
15 # PACKFFLAGS - Fortran compiler flags for package                                #
16 # PACKCXXFLAGS - C++ compiler flags for package                                  #
17 # PACKCFLAGS - C compiler flags for package                                      #
18 # PACKSOFLAGS - Shared library linking flags                                     #
19 # PACKLDFLAGS - Module linker flags                                              #
20 # PACKBLIBS - Libraries to link (Executables only)                               #
21 # EXPORT - Header files to be exported                                           #
22 # CINTHDRS - Dictionary header files                                             #
23 # CINTAUTOLINK - Set automatic dictionary generation                             #
24 # ARLIBS - Archive Libraries and objects for linking (Executables only)          #
25 # SHLIBS - Shared Libraries and objects for linking (Executables only)           #
26 #--------------------------------------------------------------------------------#
27
28 set ( SRCS 
29  EMCALJetTasks/AliFJWrapper.cxx
30  EMCALJetTasks/AliAnalysisTaskDeltaPt.cxx
31  EMCALJetTasks/AliAnalysisTaskEmcalJet.cxx
32  EMCALJetTasks/AliAnalysisTaskEmcalJetDev.cxx
33  EMCALJetTasks/AliAnalysisTaskEmcalJetSample.cxx
34  EMCALJetTasks/AliAnalysisTaskEmcalJetSampleDev.cxx
35  EMCALJetTasks/AliAnalysisTaskRho.cxx
36  EMCALJetTasks/AliAnalysisTaskRhoAverage.cxx
37  EMCALJetTasks/AliAnalysisTaskRhoBase.cxx
38  EMCALJetTasks/AliAnalysisTaskRhoFlow.cxx
39  EMCALJetTasks/AliAnalysisTaskRhoSparse.cxx
40  EMCALJetTasks/AliAnalysisTaskLocalRho.cxx
41  EMCALJetTasks/AliAnalysisTaskScale.cxx
42  EMCALJetTasks/AliEmcalJet.cxx
43  EMCALJetTasks/AliEmcalJetTask.cxx
44  EMCALJetTasks/AliHadCorrTask.cxx
45  EMCALJetTasks/AliJetConstituentTagCopier.cxx
46  EMCALJetTasks/AliJetContainer.cxx
47  EMCALJetTasks/AliJetEmbeddingFromAODTask.cxx
48  EMCALJetTasks/AliJetEmbeddingFromGenTask.cxx
49  EMCALJetTasks/AliJetEmbeddingFromPYTHIATask.cxx
50  EMCALJetTasks/AliJetEmbeddingTask.cxx
51  EMCALJetTasks/AliJetModelBaseTask.cxx
52  EMCALJetTasks/AliJetRandomizerTask.cxx
53  EMCALJetTasks/AliJetResponseMaker.cxx
54  EMCALJetTasks/AliRhoParameter.cxx
55  EMCALJetTasks/AliLocalRhoParameter.cxx
56  EMCALJetTasks/AliEmcalJetFinder.cxx
57  EMCALJetTasks/AliJetTriggerSelectionTask.cxx
58  EMCALJetTasks/UserTasks/AliAnalysisTaskCLQA.cxx
59  EMCALJetTasks/UserTasks/AliAnalysisTaskChargedJetsPA.cxx
60  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalBadCells.cxx
61  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalDiJetBase.cxx
62  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalDiJetAna.cxx
63  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalDiJetResponse.cxx
64  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetHMEC.cxx
65  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetHadCorQA.cxx
66  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetSpectra.cxx
67  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetSpectraMECpA.cxx
68  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetTriggerQA.cxx
69  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalTriggerInfoQA.cxx
70  EMCALJetTasks/UserTasks/AliAnalysisTaskFullpAJets.cxx
71  EMCALJetTasks/UserTasks/AliAnalysisTaskFullppJet.cxx
72  EMCALJetTasks/UserTasks/AliAnalysisTaskHJetEmbed.cxx
73  EMCALJetTasks/UserTasks/AliAnalysisTaskRhoVnModulation.cxx
74  EMCALJetTasks/UserTasks/AliAnalysisTaskJetMatching.cxx
75  EMCALJetTasks/UserTasks/AliAnalysisTaskSAJF.cxx
76  EMCALJetTasks/UserTasks/AliAnalysisTaskSAQA.cxx
77  EMCALJetTasks/UserTasks/AliAnalysisTaskSOH.cxx
78 )
79
80 set ( DHDR  PWGJEEMCALJetTasksLinkDef.h)
81
82 string ( REPLACE ".cxx" ".h" EXPORT "${SRCS}" )
83
84 set ( SRCS ${SRCS}  EMCALJetTasks/AliFJWrapper.cxx )
85
86 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
87
88 set ( HDRS ${HDRS}  EMCALJetTasks/FJ_includes.h )
89
90 set ( FASTJET_ROOT $ENV{FASTJET_ROOT} )
91
92 if(FASTJET_ROOT)
93   set (FASTJET_INC ${FASTJET_ROOT}/include)
94 else()
95   set (FASTJET_INC ${ALICE_ROOT}/JETAN/fastjet)
96 endif(FASTJET_ROOT)
97
98 set ( EDEFINE -isystem${FASTJET_INC})
99 set ( EINCLUDE ${FASTJET_INC} PWGJE/EMCALJetTasks PWG/EMCAL EMCAL OADB STEER/ESD STEER/STEERBase )