Patch provided by Adrian (slightly reworked by Constantin).
[u/mrichter/AliRoot.git] / PWGJE / CMakelibPWGJE.pkg
1 # -*- mode: Makefile -*-
2 #--------------------------------------------------------------------------------#
3 # Package File for PWGJE                                                  #
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 ( SRCS  
30     AliAnaChargedJetResponseMaker.cxx
31     AliAnalysisTaskAj.cxx
32     AliAnalysisTaskFragmentationFunction.cxx
33     AliAnalysisTaskJetChem.cxx 
34     AliAnalysisTaskJetCore.cxx  
35     AliAnalysisTaskJetCorePP.cxx        
36     AliAnalysisTaskJetProperties.cxx
37     AliAnalysisTaskJetResponseV2.cxx
38     AliAnalysisTaskJetServices.cxx 
39     AliAnalysisTaskJetSpectrum2.cxx 
40     AliAnalysisTaskJetsTM.cxx 
41     AliAnalysisTaskPartonDisc.cxx
42     AliFragmentationFunctionCorrections.cxx
43     AliPWG4CosmicCandidates.cxx 
44     AliPWG4HighPtQAMC.cxx 
45     AliPWG4HighPtQATPConly.cxx 
46     AliPWG4HighPtSpectra.cxx 
47     AliPWG4HighPtTrackQA.cxx 
48     UserTasks/AliAnalysisTaskCheckSingleTrackJetRejection.cxx 
49     UserTasks/AliAnalysisTaskJetHadronCorrelation.cxx
50     UserTasks/AliAnalysisTaskJetHBOM.cxx
51     UserTasks/AliAnalysisTaskJetShape.cxx
52     UserTasks/AliAnalysisTaskJetsTriggerTRD.cxx
53     UserTasks/AliAnalysisTaskJetProtonCorr.cxx
54     )
55
56 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
57
58 set ( DHDR  PWGJELinkDef.h)
59
60 string ( REPLACE ".cxx" ".h" EXPORT "${SRCS}" )
61
62 set ( HDRS ${HDRS}  EMCALJetTasks/FJ_includes.h  )
63
64 set(FASTJET_ROOT $ENV{FASTJET_ROOT})
65
66 if(FASTJET_ROOT)
67   set (FASTJET_INC ${FASTJET_ROOT}/include)
68 else()
69   set (FASTJET_INC ${ALICE_ROOT}/JETAN/fastjet)
70 endif(FASTJET_ROOT)
71
72 #set ( EDEFINE -isystem${FASTJET_INC})
73 set ( EINCLUDE ${FASTJET_INC} ANALYSIS JETAN CORRFW PWGJE PWG/Tools PWGCF/Correlations/Base STEER/AOD STEER/ESD STEER/STEERBase)
74 #set ( EINCLUDE ANALYSIS JETAN CORRFW PWGJE PWG/Tools PWGCF/Correlations/Base STEER/AOD STEER/ESD STEER/STEERBase)
75
76 install (DIRECTORY macros
77          DESTINATION PWGJE
78          PATTERN ".svn" EXCLUDE 
79          PATTERN ".d"   EXCLUDE 
80          PATTERN ".so"  EXCLUDE)