Changes to compile with Root6
[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/AliAnalysisTaskJetShape.cxx
49     UserTasks/AliAnalysisTaskJetsTriggerTRD.cxx
50     UserTasks/AliAnalysisTaskJetProtonCorr.cxx
51     UserTasks/AliAnalysisTaskPIDV0base.cxx
52     UserTasks/AliAnalysisTaskPID.cxx
53     UserTasks/AliAnalysisTaskIDFragmentationFunction.cxx
54     UserTasks/AliAnalysisTaskIDFFTCF.cxx
55     UserTasks/AliIDFFUtils.cxx
56     )
57
58 # Add code that needs fastjet or FJWrapper here 
59 if (FASTJET_FOUND)
60   LIST(APPEND  SRCS
61     UserTasks/AliAnalysisTaskCheckSingleTrackJetRejection.cxx 
62     UserTasks/AliAnalysisTaskJetHadronCorrelation.cxx
63     UserTasks/AliAnalysisTaskJetHBOM.cxx
64   )
65   set ( CINTFLAGS ${CINTFLAGS} ${FASTJET_DEFINITIONS})
66 endif(FASTJET_FOUND)
67
68 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
69
70 set ( DHDR  PWGJELinkDef.h)
71
72 string ( REPLACE ".cxx" ".h" EXPORT "${SRCS}" )
73
74 if(FASTJET_FOUND)
75   set ( EINCLUDE ${FASTJET_INCLUDE_DIR} ANALYSIS JETAN CORRFW PWGJE PWG/Tools PWGCF/Correlations/Base STEER/AOD STEER/ESD STEER/STEERBase)
76   set ( HDRS ${HDRS}  EMCALJetTasks/FJ_includes.h  )
77 else()
78   set ( EINCLUDE ANALYSIS JETAN CORRFW PWGJE PWG/Tools PWG/TRD PWGCF/Correlations/Base STEER/AOD STEER/ESD STEER/STEERBase)
79 endif(FASTJET_FOUND)
80
81
82 install (DIRECTORY macros
83          DESTINATION PWGJE
84          PATTERN ".svn" EXCLUDE 
85          PATTERN ".d"   EXCLUDE 
86          PATTERN ".so"  EXCLUDE)