]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MONITOR/CMakebinmonitorCheck.pkg
Modifications needed to use PID framework based mass during tracking and
[u/mrichter/AliRoot.git] / MONITOR / CMakebinmonitorCheck.pkg
1 #--------------------------------------------------------------------------------#
2 # Package File for monitorCheck                                                  #
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 monitorCheck.cxx)
29
30 set ( EINCLUDE ${EINCLUDE}  TPC ITS RAW)
31
32 set ( PACKBLIBS  ${ROOTCLIBS} ${SYSLIBS})
33
34 set ( ELIBS   MONITOR TPCbase TPCsim TPCrec HLTbase ITSbase ITSsim ITSrec MUONmapping MUONevaluation MUONsim MUONrec MUONgeometry MUONcalib MUONbase MUONraw RAWDatasim MUONtrigger MUONcore STEER CDB AOD RAWDatarec ESD RAWDatabase STEERBase ANALYSIS)
35
36 set(DATE_ROOT $ENV{DATE_ROOT})
37 set(ODIR $ENV{ODIR})
38 if(DATE_ROOT)
39
40   set ( PACKBLIBS ${PACKBLIBS}  ${DMONLIBS})
41   set ( ELIBSDIR )
42
43   set ( EINCLUDE ${EINCLUDE}  ${DATE_COMMON_DEFS} ${DATE_MONITOR_DIR})
44
45   set(DIMDIR $ENV{DIMDIR})
46
47   if (DIMDIR)
48
49     set ( EINCLUDE ${EINCLUDE}  ${DIMDIR}/dim)
50     set ( ELIBS ${ELIBS}  dim)
51     set ( ELIBSDIR ${ELIBSDIR}  ${DIMDIR}/${ODIR})
52     if(ELIBSDIR STREQUAL "${DIMDIR}/")
53       set (ELIBSDIR ${DIMDIR}/linux)
54     endif(ELIBSDIR STREQUAL "${DIMDIR}/")
55  
56   endif(DIMDIR)
57
58 endif(DATE_ROOT)
59
60 if( ALICE_TARGET MATCHES "macosx")
61   
62   ALICE_Format(TEMP "-Wl,-u,_G__cpp_setupG__" "" ${ELIBS})
63   set ( PACKLDFLAGS "${LDFLAGS} ${TEMP}")
64
65 endif( ALICE_TARGET MATCHES "macosx")