Additional odifications to compile without ZeroMQ
[u/mrichter/AliRoot.git] / EVE / CMakebinalieve.pkg
CommitLineData
71d5ee50 1# -*- mode: CMake -*-
2#-----------------------------------------------------------------------#
6db31708 3# Package File for alieve #
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) #
71d5ee50 27#-----------------------------------------------------------------------#
6db31708 28
29set ( SRCS alieve_main/alieve_main.cxx)
30set ( CSRCS )
31
32set ( EINCLUDE )
33set ( ELIBSDIR )
34
164d3d29 35set ( ELIBS EveBase EveDet MUONmapping MUONevaluation MUONsim MUONrec MUONgeometry MUONcalib MUONbase MUONraw MUONtrigger MUONcore TPCsim TPCrec TPCbase TPCutil ITSbase ITSsim ITSrec ITSUpgradeBase ITSUpgradeSim PMDbase PMDsim PMDrec TRDbase TRDsim TRDrec FMDbase FMDsim FMDrec TOFbase TOFrec TOFsim PHOSUtils PHOSbase PHOSsim PHOSrec ACORDEbase ACORDEsim ACORDErec HMPIDbase HMPIDrec HMPIDsim ZDCbase ZDCsim ZDCrec VZERObase VZEROsim VZEROrec EMCALUtils EMCALbase EMCALsim EMCALrec EMCALraw BCM STRUCT T0base T0sim T0rec STEER CDB AOD ESD STEERBase ANALYSISalice ANALYSIS THijing hijing THbtp TEPEMGEN FASTSIM microcern RAWDatasim RAWDatarec RAWDatabase HLTbase XMLParser STAT OADB MONITOR)
6db31708 36
37if(PYTHIA6)
b897d37f 38 list (APPEND ELIBS EVGEN HepMC HepMCParser)
6db31708 39endif(PYTHIA6)
6db31708 40
164d3d29 41set (ARPACKS FMDbase FMDsim FMDrec ACORDEbase ACORDEsim ACORDErec HMPIDbase HMPIDsim HMPIDrec ZDCbase ZDCsim ZDCrec VZERObase VZEROsim VZEROrec MFTbase MFTsim MFTrec EMCALUtils EMCALbase EMCALsim EMCALrec T0base T0sim T0rec TOFbase TOFsim TOFrec TRDbase TRDsim TRDrec PMDbase PMDsim PMDrec MUONmapping MUONmapping MUONgeometry MUONbase MUONsim MUONrec MUONraw PHOSUtils PHOSbase PHOSsim PHOSrec HLTbase ITSbase ITSsim ITSrec STRUCT TPCbase TPCsim TPCrec TPCfast STEER CDB ESD STEERBase RAWDatabase RAWDatasim RAWDatarec MDC TRIGGERbase)
42
43set ( PACKBLIBS ${ROOTCLIBS} ${ROOTPLIBS} -lTreePlayer -lGeomPainter -lGed -lRGL -lEve -lMONITOR ${SYSLIBS} )
6db31708 44
45if( ALICE_TARGET STREQUAL "macosx")
46
47 set ( ELIBS ${ELIBS} GL)
48 set ( ELIBSDIR ${ELIBSDIR} /usr/X11R6/lib/)
49
50 set ( ELIBSCPP ${ELIBS})
51 list(REMOVE_ITEM ELIBSCPP microcern lhapdf herwig)
52
53 ALICE_Format(PACKLDFLAGS "-Wl,-u,_G__cpp_setupG__" "" ${LDFLAGS})
54
55 if( MACOSX_MINOR STREQUAL "5")
56
57 set ( PACKLDFLAGS "${PACKLDFLAGS} -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib")
58
59 endif( MACOSX_MINOR STREQUAL "5")
60
61 set ( ELIBS ${ELIBS} GLU)
62 set ( ELIBSDIR ${ELIBSDIR} ${FINK_ROOT}/lib)
63
64endif( ALICE_TARGET STREQUAL "macosx")
71d5ee50 65
164d3d29 66set ( ELIBS ${ELIBS} EveBase MONITOR )
67
68if(ZEROMQ_FOUND)
69set ( ELIBS ${ELIBS} MONITORzmq )
70set ( CXXFLAGS "-DZMQ ${CXXFLAGS}")
71ENDIF(ZEROMQ_FOUND)
72
71d5ee50 73install (DIRECTORY macros
74 DESTINATION EVE/
75 PATTERN ".svn" EXCLUDE
76 PATTERN "*.d" EXCLUDE
77 PATTERN "*_C.so" EXCLUDE)
71d5ee50 78
79install (DIRECTORY alice-macros
80 DESTINATION EVE/
81 PATTERN ".svn" EXCLUDE
82 PATTERN "*.d" EXCLUDE
83 PATTERN "*_C.so" EXCLUDE)
84
85install (DIRECTORY alice-data
86 DESTINATION EVE/
87 PATTERN ".svn" EXCLUDE
88 PATTERN "*.d" EXCLUDE
89 PATTERN "*_C.so" EXCLUDE)
90
91install (DIRECTORY hlt-macros
92 DESTINATION EVE/
93 PATTERN ".svn" EXCLUDE
94 PATTERN "*.d" EXCLUDE
95 PATTERN "*_C.so" EXCLUDE)
96
aaa336aa 97install (DIRECTORY icons
98 DESTINATION EVE/
99 PATTERN ".svn" EXCLUDE
100 PATTERN "*.d" EXCLUDE
101 PATTERN "*_C.so" EXCLUDE)
2e29a658 102