]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MONITOR/CMakelibMONITORzmq.pkg
Fix in the TRD time-offset calibration (Hans)
[u/mrichter/AliRoot.git] / MONITOR / CMakelibMONITORzmq.pkg
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
29 set ( SRCS
30     AliNetMessage.cxx
31     AliSocket.cxx
32     AliThreadedSocket.cxx
33     AliRecoServerThread.cxx
34     AliRecoServer.cxx
35     AliEventServerWindow.cxx
36     )
37
38 string ( REPLACE ".cxx" ".h" CINTHDRS "${SRCS}" )
39
40 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
41
42 set ( DHDR  MONITORzmqLinkDef.h)
43
44 set ( EINCLUDE STEER/STEERBase ) # ${ZEROMQ_INCLUDE_DIR})
45
46 set(DIMDIR $ENV{DIMDIR})
47 set(ODIR $ENV{ODIR})
48
49 if(DIMDIR)
50   set ( SRCS ${SRCS}  SORNotifier.cxx)
51   set ( EINCLUDE ${EINCLUDE}  ${DIMDIR}/dim)
52   set ( ELIBS  dim)
53   set ( ELIBSDIR  ${DIMDIR}/${ODIR})
54   if(ELIBSDIR STREQUAL "${DIMDIR}/")
55     set (ELIBSDIR ${DIMDIR}/linux)
56   endif(ELIBSDIR STREQUAL "${DIMDIR}/")
57
58   set ( CXXFLAGS  "-DALI_DIM ${CXXFLAGS}")
59 endif(DIMDIR)
60
61 set (ELIBS ${ELIBS} ${ZEROMQ_LIBRARIES} )
62
63 # this must be set in a better way
64 set ( ELIBSDIR ${ELIBSDIR}  /usr/lib64)
65
66 set (EXPORT 
67                 AliSocket.h
68                 AliNetMessage.h
69         AliThreadedSocket.h
70   )