Using detector quality flag (taken from ALICE logbook) to decide whether to rpodcue...
[u/mrichter/AliRoot.git] / ALIROOT / CMakebinaliroot.pkg
CommitLineData
7330f0e5 1# -*- mode: CMake -*-
d9298a37 2#-----------------------------------------------------------------------#
6db31708 3# Package File for aliroot #
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) #
d9298a37 27#-----------------------------------------------------------------------#
6db31708 28
29set ( SRCS aliroot.cxx)
30set ( CSRCS fpu.c)
31
32set ( ELIBSDIR )
33
5e319bd5 34set ( ELIBS MUONevaluation MUONmapping MUONshuttle MUONgraphics MUONsim MUONrec MUONgeometry MUONcalib MUONbase MUONraw MUONtrigger MUONcore TPCbase TPCsim TPCrec TPCutil ITSbase ITSsim ITSrec PMDbase PMDsim PMDrec TRDbase TRDsim TRDrec FMDbase FMDsim FMDrec TOFbase TOFrec TOFsim PHOSUtils PHOSbase PHOSsim PHOSrec ADbase ADsim ADrec ACORDEbase ACORDEsim ACORDErec HMPIDbase HMPIDrec HMPIDsim ZDCbase ZDCsim ZDCrec VZERObase VZEROsim VZEROrec MFTbase MFTsim MFTrec EMCALUtils EMCALbase EMCALsim EMCALrec EMCALraw BCM STRUCT T0base T0sim T0rec FASTSIM microcern HLTbase HLTshuttle TRIGGERbase STEER STAT CDB AOD STEERBase ESD ANALYSIS RAWDatasim RAWDatarec RAWDatabase)
6db31708 35
36if(PYTHIA6)
b897d37f 37 list(APPEND ELIBS EVGEN HepMC HepMCParser)
6db31708 38endif(PYTHIA6)
39
40if( ALICE_TARGET STREQUAL "macosx")
41
06b08d4a 42 string(REGEX REPLACE "(microcern|lhapdf|herwig)" "" ELIBS "${ELIBS}")
6db31708 43
44 ALICE_Format(PACKLDFLAGS "-Wl,-u,_G__cpp_setupG__" "" "${LDFLAGS};${ELIBSCPP}")
06b08d4a 45 string ( REPLACE "%" "-Wl,-u,_G__cpp_setupG__%" PACKLDFLAGS "${LDFLAGS} ${ELIBSCPP}" )
6db31708 46
47 set ( ELIBSDIR ${ELIBSDIR} ${FINK_ROOT}/lib)
48
49endif( ALICE_TARGET STREQUAL "macosx")
50
38e7ce48 51set (ARPACKS FMDbase FMDsim FMDrec ADbase ADsim ADrec 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 HLTshuttle ITSbase ITSsim ITSrec STRUCT TPCbase TPCsim TPCrec TPCutil STEER CDB ESD STEERBase RAWDatabase RAWDatasim RAWDatarec MDC TRIGGERbase)
6db31708 52
53set(GFILES)
54foreach (pkg ${ARPACKS})
55# foreach(mod ${MODDIRS})
56# string(REGEX MATCH "${mod}" DIR ${pkg})
57# if(DIR)
58# list(APPEND GFILES "${CMAKE_BINARY_DIR}/${DIR}/CMakeFiles/${pkg}_a.dir/G__${pkg}.cxx.o" )
59# set_source_files_properties("G${pkg}" PROPERTIES GENERATED TRUE )
60# set_source_files_properties("G__${pkg}.cxx" PROPERTIES GENERATED TRUE)
61 list(APPEND AFILES "${pkg}_a")
62
63# endif(DIR)
64# endforeach(mod)
65endforeach(pkg)
66set (ARLIBS ${AFILES})
67list(APPEND SRCS ${GFILES})
68set ( SHLIBS ${BINLIBDIRS} EVGEN -lEGPythia6 Pythia6 -lpythia6 AliPythia6 lhapdf THijing hijing THerwig herwig TPHIC FASTSIM microcern)
7330f0e5 69
0c3433e6 70set ( EINCLUDE STEER/STEER ${CMAKE_INCLUDE_EXPORT_DIRECTORY}/FromTemplate/)
d9298a37 71#
72# EOF
73#