reverting r46803, not yet the correct way to set dependencies between AliRoot packages
[u/mrichter/AliRoot.git] / HLT / CMakelibHLTpendolino.pkg
1 # $Id: CMakelibHLTpendolino.pkg 46803 2011-01-28 22:12:12Z richterm $
2 #--------------------------------------------------------------------------------#
3 # Package File for HLTpendolino                                                  #
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 ( CLASS_HDRS        AliHLTPendolino.h AliHLTPendolinoListReader.h PredictionProcessor/AliHLTPredictionProcessorInterface.h PredictionProcessor/AliHLTPendolinoLoggerOStream.h PredictionProcessor/AliHLTPredictionProcessorDummy.h PredictionProcessor/AliHLTPendolinoLogger.h PredictionProcessor/AliHLTPendolinoLoggerDump.h PredictionProcessor/HLT/AliHLTPredicProcTempMonitor.h PredictionProcessor/HLT/AliHLTPredictionProcessorHLT.h PredictionProcessor/GRP/AliHLTPredictionProcessorGRP.h PredictionProcessor/MUON/AliHLTPredictionProcessorMCH.h PredictionProcessor/MUON/AliHLTPredictionProcessorMTR.h PredictionProcessor/TPC/AliHLTDCSArray.h PredictionProcessor/TPC/AliHLTPredictionProcessorTPC.h)
30
31 string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" )
32
33 set ( MODULE_HDRS       ${CLASS_HDRS})
34
35 set ( MODULE_DHDR )
36
37 set ( EINCLUDE          HLT/pendolino HLT/pendolino/PredictionProcessor HLT/pendolino/PredictionProcessor/GRP HLT/pendolino/PredictionProcessor/HLT HLT/pendolino/PredictionProcessor/MUON HLT/pendolino/PredictionProcessor/TPC HLT/BASE STEER TPC MUON)
38
39 set ( LIBRARY_DEP  -lHLTbase -lCDB)
40
41 include ("CMakehlt.conf")
42
43 set ( LIBHLTPENDOLINO_VERSION  0)
44
45 if (MODULE_SRCS)
46 ALICE_Format (SRCS "pendolino/" "" "${MODULE_SRCS}")
47 endif(MODULE_SRCS)
48 if (CLASS_HDRS)
49 ALICE_Format (CINTHDRS "pendolino/" "" "${CLASS_HDRS}")
50 endif(CLASS_HDRS)
51 if (MODULE_HDRS)
52 ALICE_Format (HDRS "pendolino/" "" "${MODULE_HDRS}")
53 endif(MODULE_HDRS)
54 if (MODULE_DHDR)
55 ALICE_Format (DHDR "pendolino/" "" "${MODULE_DHDR}")
56 endif(MODULE_DHDR)
57
58 if(NOT DHDR)
59   set(CINTAUTOLINK 1)
60 endif(NOT DHDR)
61
62 set ( EDEFINE  ${HLTDEFS})
63 set ( PACKCXXFLAGS  ${HLTCXXFLAGS})
64 add_definitions("-DLIBHLTPENDELINO_VERSION=${LIBHLTPENDOLINO_VERSION}")
65 set ( PACKCFLAGS  ${HLTCLFAGS})
66 set ( PACKDCXXFLAGS  ${HLTDCXXFLAGS})
67 set ( PACKSOFLAGS ${HLTSOFLAGS})