Added OADB as external library dependency to ANALYSISalice. OADB will get automatical...
[u/mrichter/AliRoot.git] / ANALYSIS / CMakelibANALYSISalice.pkg
CommitLineData
6db31708 1#--------------------------------------------------------------------------------#
2# Package File for ANALYSISalice #
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
6a45d03f 28set ( SRCS AliAnalysisTaskSE.cxx AliAnalysisTaskME.cxx AliAnalysisTaskESDfilter.cxx AliAnalysisTaskMCParticleFilter.cxx AliKineTrackCuts.cxx AliESDtrackCuts.cxx AliESDpidCuts.cxx AliESDv0Cuts.cxx AliEventPoolOTF.cxx AliEventPoolLoop.cxx AliEventPoolSparse.cxx AliAnalysisTaskTagCreator.cxx AliMultiEventInputHandler.cxx AliTriggerAnalysis.cxx AliPhysicsSelection.cxx AliBackgroundSelection.cxx AliPhysicsSelectionTask.cxx AliAnalysisFilter.cxx AliAnalysisCuts.cxx AliCollisionNormalization.cxx AliCollisionNormalizationTask.cxx AliCentralitySelectionTask.cxx AliAnalysisTaskAODCentralityMaker.cxx AliEPSelectionTask.cxx AliAnalysisTaskStat.cxx AliMultiInputEventHandler.cxx AliESDv0KineCuts.cxx AliAnalysisTaskPIDResponse.cxx AliPIDResponseInputHandler.cxx)
6db31708 29
30if( ROOTHASALIEN STREQUAL "yes")
31
eb51fe64 32 set ( PACKCXXFLAGS "${CXXFLAGS} -DWITHALIEN")
6db31708 33
34endif( ROOTHASALIEN STREQUAL "yes")
35
36if( ROOTHASXML STREQUAL "yes")
37
eb51fe64 38 set ( PACKCXXFLAGS "${PACKCXXFLAGS} ${CXXFLAGS} -DWITHXML")
6db31708 39 set ( CINTFLAGS ${CINTFLAGS} -DWITHXML)
40 set ( SRCS ${SRCS} AliTagAnalysis.cxx AliXMLCollection.cxx AliAnalysisAlien.cxx)
41
42endif( ROOTHASXML STREQUAL "yes")
43
44string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
45
46set ( DHDR ANALYSISaliceLinkDef.h)
47
48string ( REPLACE ".cxx" ".h" EXPORT "${SRCS}" )
49
50set ( EINCLUDE ANALYSIS/Aliengui)
51
1570c197 52set ( ELIBS "OADB" )
53
6db31708 54if( ALICE_TARGET STREQUAL "win32gcc")
55
7c55ebd9 56 set ( PACKSOFLAGS ${SOFLAGS} -L${ALICE_ROOT}/lib/tgt_${ALICE_TARGET} -lANALYSIS -lSTEERBase -lAOD -lESD -L${ROOTLIBDIR} -lTreePlayer -lXMLIO -lOADB)
6db31708 57
58endif( ALICE_TARGET STREQUAL "win32gcc")