58db79e5e0a734fda11fd57f791f1e824f4b76f9
[u/mrichter/AliRoot.git] / CORRFW / CMakelibCORRFW.pkg
1 #--------------------------------------------------------------------------------#
2 # Package File for CORRFW                                                        #
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  AliCFFrame.cxx AliCFGridSparse.cxx AliCFEffGrid.cxx AliCFDataGrid.cxx AliCFContainer.cxx AliCFManager.cxx AliCFCutBase.cxx AliCFEventClassCuts.cxx AliCFEventGenCuts.cxx AliCFEventRecCuts.cxx AliCFParticleGenCuts.cxx AliCFAcceptanceCuts.cxx AliCFTrackKineCuts.cxx AliCFTrackQualityCuts.cxx AliCFTrackIsPrimaryCuts.cxx AliCFTrackCutPid.cxx AliCFPair.cxx AliCFPairAcceptanceCuts.cxx AliCFPairQualityCuts.cxx AliCFPairIsPrimaryCuts.cxx AliCFPairPidCut.cxx AliCFV0TopoCuts.cxx AliCFUnfolding.cxx)
29
30 if( ROOTHASALIEN STREQUAL "yes")
31         
32         set ( PACKCXXFLAGS  "${CXXFLAGS} -DWITHALIEN")
33
34 endif( ROOTHASALIEN STREQUAL "yes")
35
36 if( ROOTHASXML STREQUAL "yes")
37         
38         set ( PACKCXXFLAGS "${PACKCXXFLAGS}  ${CXXFLAGS} -DWITHXML")
39         set ( CINTFLAGS ${CINTFLAGS}  -DWITHXML)
40
41 endif( ROOTHASXML STREQUAL "yes")
42
43 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
44
45 set ( DHDR  CORRFWLinkDef.h)
46
47 string ( REPLACE ".cxx" ".h" EXPORT "${SRCS}" )
48
49 set ( EINCLUDE  ANALYSIS)
50
51 if( ALICE_TARGET STREQUAL "win32gcc")
52         
53                         set ( PACKSOFLAGS  ${SOFLAGS} -L${ALICE_ROOT}/lib/tgt_${ALICE_TARGET} -lSTEERBase -lANALYSIS -lESD -lAOD -L${ROOTLIBDIR} -lEG)
54
55 endif( ALICE_TARGET STREQUAL "win32gcc")