moving bad chunk analysis also to compiled code
[u/mrichter/AliRoot.git] / ANALYSIS / CMakelibANALYSISalice.pkg
1 # -*- mode: CMake -*- 
2 #--------------------------------------------------------------------------------#
3 # Package File for ANALYSISalice                                                 #
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     AliAnalysisTaskSE.cxx 
31     AliAnalysisTaskME.cxx 
32     AliAnalysisTaskESDfilter.cxx 
33     AliAnalysisTaskMCParticleFilter.cxx 
34     AliKineTrackCuts.cxx 
35     AliESDtrackCuts.cxx 
36     AliESDpidCuts.cxx 
37     AliESDv0Cuts.cxx 
38     AliEventPoolOTF.cxx 
39     AliEventPoolLoop.cxx 
40     AliEventPoolSparse.cxx 
41     AliAnalysisTaskTagCreator.cxx 
42     AliMultiEventInputHandler.cxx 
43     AliTriggerAnalysis.cxx 
44     AliPhysicsSelection.cxx 
45     AliBackgroundSelection.cxx 
46     AliPhysicsSelectionTask.cxx 
47     AliAnalysisFilter.cxx 
48     AliAnalysisCuts.cxx 
49     AliCollisionNormalization.cxx 
50     AliCollisionNormalizationTask.cxx 
51     AliCentralitySelectionTask.cxx 
52     AliEPSelectionTask.cxx 
53     AliVZEROEPSelectionTask.cxx 
54     AliAnalysisTaskStat.cxx 
55     AliMultiInputEventHandler.cxx 
56     AliESDv0KineCuts.cxx 
57     AliAnalysisTaskPIDResponse.cxx 
58     AliPIDResponseInputHandler.cxx 
59     AliHEPDataParser.cxx 
60     AliAnalysisTaskPIDqa.cxx 
61     AliAnalysisTaskBaseLine.cxx
62     AliEventPoolManager.cxx
63     AliAnalysisTaskPIDCombined.cxx
64     AliUnfolding.cxx
65     AliAnalysisUtils.cxx
66     BadChunkFilter/AliAnalysisTaskBadChunkID.cxx
67     )
68
69 if( ROOTHASALIEN STREQUAL "yes")
70         
71         set ( PACKCXXFLAGS  "${CXXFLAGS} -DWITHALIEN")
72
73 endif( ROOTHASALIEN STREQUAL "yes")
74
75 if( ROOTHASXML STREQUAL "yes")
76         
77         set ( PACKCXXFLAGS "${PACKCXXFLAGS}  ${CXXFLAGS} -DWITHXML")
78         set ( CINTFLAGS ${CINTFLAGS}  -DWITHXML)
79         set ( SRCS ${SRCS}  AliTagAnalysis.cxx AliXMLCollection.cxx AliAnalysisAlien.cxx)
80
81 endif( ROOTHASXML STREQUAL "yes")
82
83 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
84
85 set ( DHDR  ANALYSISaliceLinkDef.h)
86
87 string ( REPLACE ".cxx" ".h" EXPORT "${SRCS}" )
88
89 set ( EINCLUDE ANALYSIS/Aliengui ANALYSIS/BadChunkFilter STEER/AOD STEER/ESD STEER/STEERBase)
90
91 set ( ELIBS "OADB" )