Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / EVE / CMakebinalieve.pkg
... / ...
CommitLineData
1# -*- mode: CMake -*-
2#-----------------------------------------------------------------------#
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) #
27#-----------------------------------------------------------------------#
28
29set ( SRCS alieve_main/alieve_main.cxx)
30set ( CSRCS )
31
32set ( EINCLUDE )
33set ( ELIBSDIR )
34
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)
36
37if(PYTHIA6)
38 list (APPEND ELIBS EVGEN)
39endif(PYTHIA6)
40
41set ( PACKBLIBS ${ROOTCLIBS} ${ROOTPLIBS} -lTreePlayer -lGeomPainter -lGed -lRGL -lEve ${SYSLIBS} )
42
43if( ALICE_TARGET STREQUAL "macosx")
44
45 set ( ELIBS ${ELIBS} GL)
46 set ( ELIBSDIR ${ELIBSDIR} /usr/X11R6/lib/)
47
48 set ( ELIBSCPP ${ELIBS})
49 list(REMOVE_ITEM ELIBSCPP microcern lhapdf herwig)
50
51 ALICE_Format(PACKLDFLAGS "-Wl,-u,_G__cpp_setupG__" "" ${LDFLAGS})
52
53 if( MACOSX_MINOR STREQUAL "5")
54
55 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")
56
57 endif( MACOSX_MINOR STREQUAL "5")
58
59 set ( ELIBS ${ELIBS} GLU)
60 set ( ELIBSDIR ${ELIBSDIR} ${FINK_ROOT}/lib)
61
62endif( ALICE_TARGET STREQUAL "macosx")
63
64install (DIRECTORY macros
65 DESTINATION EVE/
66 PATTERN ".svn" EXCLUDE
67 PATTERN "*.d" EXCLUDE
68 PATTERN "*_C.so" EXCLUDE)
69
70install (DIRECTORY alice-macros
71 DESTINATION EVE/
72 PATTERN ".svn" EXCLUDE
73 PATTERN "*.d" EXCLUDE
74 PATTERN "*_C.so" EXCLUDE)
75
76install (DIRECTORY alice-data
77 DESTINATION EVE/
78 PATTERN ".svn" EXCLUDE
79 PATTERN "*.d" EXCLUDE
80 PATTERN "*_C.so" EXCLUDE)
81
82install (DIRECTORY hlt-macros
83 DESTINATION EVE/
84 PATTERN ".svn" EXCLUDE
85 PATTERN "*.d" EXCLUDE
86 PATTERN "*_C.so" EXCLUDE)
87
88install (DIRECTORY icons
89 DESTINATION EVE/
90 PATTERN ".svn" EXCLUDE
91 PATTERN "*.d" EXCLUDE
92 PATTERN "*_C.so" EXCLUDE)
93