also on a batch farm encode spaces to avoid problems parsing arguments
[u/mrichter/AliRoot.git] / MONITOR / CMakelibMONITOR.pkg
CommitLineData
7330f0e5 1# -*- mode: CMake -*-
6db31708 2#--------------------------------------------------------------------------------#
3# Package File for MONITOR #
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
7330f0e5 29set ( SRCS
30 AliQAHistNavigator.cxx
31 AliQAHistViewer.cxx
32 AliOnlineRecoTrigger.cxx
33 AliDimIntNotifier.cxx
7e0cf530 34 AliChildProcTerminator.cxx
35 AliEventServerPreferencesWindow.cxx
7330f0e5 36 AliTestChildProc.cxx
37 )
6db31708 38
39string ( REPLACE ".cxx" ".h" CINTHDRS "${SRCS}" )
40
41string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
42
43set ( DHDR MONITORLinkDef.h)
44
4b4ef58d 45set ( EINCLUDE TPC TPC/Rec ITS RAW STEER/STEER STEER/CDB STEER/STEERBase)
6db31708 46
47set(DIMDIR $ENV{DIMDIR})
48set(ODIR $ENV{ODIR})
49
50if(DIMDIR)
6db31708 51 set ( SRCS ${SRCS} SORNotifier.cxx)
52 set ( EINCLUDE ${EINCLUDE} ${DIMDIR}/dim)
53 set ( ELIBS dim)
6994d646 54 set ( ELIBSDIR ${DIMDIR}/${ODIR})
7e0cf530 55 if(ELIBSDIR STREQUAL "${DIMDIR}/")
6994d646 56 set (ELIBSDIR ${DIMDIR}/linux)
57 endif(ELIBSDIR STREQUAL "${DIMDIR}/")
6994d646 58
7e0cf530 59 set ( CXXFLAGS "-DALI_DIM ${CXXFLAGS}")
6db31708 60endif(DIMDIR)
7e0cf530 61
6aa2e699 62set ( ELIBS ${ELIBS} )
7e0cf530 63
64# this must be set in a better way
65set ( ELIBSDIR ${ELIBSDIR} /usr/lib64)