JETAN module
[u/mrichter/AliRoot.git] / JETAN / CMakelibJETAN.pkg
1 #--------------------------------------------------------------------------------#
2 # Package File for JETAN                                                         #
3 # Author : Johny Jose (johny.jose@cern.ch)                                       #
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 AliJetHeader.cxx 
30 AliJetFinder.cxx  
31 AliJetReaderHeader.cxx 
32 AliJetReader.cxx 
33 AliUA1JetHeaderV1.cxx 
34 AliUA1JetFinder.cxx 
35 AliCdfJetFinder.cxx  
36 AliCdfJetHeader.cxx 
37 AliAnalysisTaskJetsReader.cxx  
38 AliAnalysisTaskJetsFinder.cxx 
39 AliDAJetFinder.cxx AliDAJetHeader.cxx 
40 AliJetKineReaderHeader.cxx 
41 AliJetHistos.cxx 
42 AliAnalysisTaskDiJets.cxx 
43 AliEventShape.cxx 
44 AliKMeansClustering.cxx 
45 AliAnalysisTaskKMeans.cxx 
46 AliAnalysisTaskFastEmbedding.cxx 
47 AliJetBkg.cxx 
48 AliJetCalTrk.cxx 
49 AliJetFillCalTrkTrack.cxx 
50 AliJetFillCalTrkTrackMC.cxx 
51 AliJetFillCalTrkEvent.cxx 
52 )
53
54 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
55
56 set ( DHDR  JETANLinkDef.h)
57
58 set(FASTJET_ROOT $ENV{FASTJET_ROOT})
59
60 if(FASTJET_ROOT)
61   set (FASTJET_INC ${FASTJET_ROOT}/include)
62 else()
63   set (FASTJET_INC ${ALICE_ROOT}/JETAN/fastjet)
64 endif(FASTJET_ROOT)
65
66 set ( EDEFINE -isystem${FASTJET_INC})
67
68 set ( EINCLUDE  ANALYSIS  OADB STEER/STEERBase STEER/AOD STEER/ESD EMCAL)
69
70 if( ALICE_TARGET STREQUAL "win32gcc")
71         
72                         set ( PACKSOFLAGS  ${SOFLAGS} -L${ALICE_ROOT}/lib/tgt_${ALICE_TARGET} -lSTEERBase -lESD -lAOD -lANALYSIS -lANALYSISalice -L${ROOTLIBDIR} -lEG -lGeom)
73
74 endif( ALICE_TARGET STREQUAL "win32gcc")
75