Changes to compile with Root6 on macosx64
[u/mrichter/AliRoot.git] / MONITOR / CMakelibMONITORzmq.pkg
CommitLineData
4b4ef58d 1# -*- mode: CMake -*-
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
29set ( SRCS
30 AliEventServerWindow.cxx
31 AliRecoServerThread.cxx
32 AliRecoServer.cxx
33 )
34
35string ( REPLACE ".cxx" ".h" CINTHDRS "${SRCS}" )
36
37string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
38
39set ( DHDR MONITORzmqLinkDef.h)
40
41set ( EINCLUDE STEER/STEERBase "${ZEROMQ_INCLUDE_DIR}")
42
43set(DIMDIR $ENV{DIMDIR})
44set(ODIR $ENV{ODIR})
45
46if(DIMDIR)
47 set ( SRCS ${SRCS} SORNotifier.cxx)
48 set ( EINCLUDE ${EINCLUDE} ${DIMDIR}/dim)
49 set ( ELIBS dim)
50 set ( ELIBSDIR ${DIMDIR}/${ODIR})
51 if(ELIBSDIR STREQUAL "${DIMDIR}/")
52 set (ELIBSDIR ${DIMDIR}/linux)
53 endif(ELIBSDIR STREQUAL "${DIMDIR}/")
54
55 set ( CXXFLAGS "-DALI_DIM ${CXXFLAGS}")
56endif(DIMDIR)
57
58set ( ELIBS ${ELIBS} ${ZEROMQ_LIBRARY} )
59
60# this must be set in a better way
61set ( ELIBSDIR ${ELIBSDIR} /usr/lib64)