Protections for coverity: DIVIDE_BY_ZERO
[u/mrichter/AliRoot.git] / JETAN / CMakelibJETAN.pkg
1 # -*- mode: CMake -*- 
2 #--------------------------------------------------------------------------------#
3 # Package File for JETAN                                                         #
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     AliJetHeader.cxx 
31     AliJetFinder.cxx 
32     AliJetReaderHeader.cxx 
33     AliJetESDReaderHeader.cxx 
34     AliJetReader.cxx 
35     AliJetESDReader.cxx 
36     AliUA1JetHeader.cxx 
37     AliJetProductionData.cxx 
38     AliUA1JetFinderV1.cxx 
39     AliUA1JetFinderV2.cxx 
40     AliUA1JetHeaderV1.cxx 
41     AliCdfJetFinder.cxx 
42     AliCdfJetHeader.cxx 
43     AliJetGrid.cxx 
44     AliJetUnitArray.cxx 
45     AliJetHadronCorrection.cxx 
46     AliJetHadronCorrectionv0.cxx 
47     AliJetHadronCorrectionv1.cxx 
48     AliJetFillUnitArray.cxx 
49     AliJetESDFillUnitArrayTracks.cxx 
50     AliJetESDFillUnitArrayEMCalDigits.cxx 
51     AliJetAODFillUnitArrayTracks.cxx 
52     AliJetAODFillUnitArrayEMCalDigits.cxx 
53     AliJetDummyGeo.cxx 
54     AliJetDummyShishKebabTrd1Module.cxx 
55     AliJetFinderTypes.cxx 
56     AliAnalysisTaskJets.cxx 
57     AliAnalysisTaskJetsCDF.cxx 
58     AliDAJetFinder.cxx 
59     AliDAJetHeader.cxx 
60     AliJetAODReader.cxx 
61     AliJetAODReaderHeader.cxx 
62     AliJetKineReader.cxx 
63     AliJetKineReaderHeader.cxx 
64     AliJetMCReader.cxx 
65     AliJetMCReaderHeader.cxx 
66     AliJetHistos.cxx 
67     AliAnalysisTaskDiJets.cxx 
68     AliEventShape.cxx 
69     AliKMeansClustering.cxx 
70     AliAnalysisTaskKMeans.cxx 
71     AliAnalysisTaskFastEmbedding.cxx 
72     )
73
74 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
75
76 set ( DHDR  JETANLinkDef.h)
77
78 set(FASTJET_ROOT $ENV{FASTJET_ROOT})
79
80 if(FASTJET_ROOT)
81   set ( EDEFINE -isystem${FASTJET_ROOT}/include)
82 else()
83   set ( EDEFINE -isystem${ALICE_ROOT}/JETAN/fastjet)
84 endif(FASTJET_ROOT)
85
86 set ( EINCLUDE  ANALYSIS  OADB STEER/AOD STEER/ESD STEER/STEERBase)