eliminating resource leaks, implementing data specification for RawReaderPublisher...
[u/mrichter/AliRoot.git] / HLT / CMakelibHLTrec.pkg
CommitLineData
5a238242 1# $Id: CMakelibHLTrec.pkg 46803 2011-01-28 22:12:12Z richterm $
6db31708 2#--------------------------------------------------------------------------------#
3# Package File for HLTrec #
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 ( LIBHLTREC_VERSION 3)
30
31set ( CLASS_HDRS AliHLTReconstructor.h AliRawReaderHLT.h AliHLTOUTHomerCollection.h AliHLTEsdManagerImplementation.h AliHLTDAQInterfaceImplementation.h AliHLTOUTDigitReader.h AliHLTMiscImplementation.h AliHLTOUTRawReader.h)
32
33string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}")
34set ( MODULE_SRCS ${MODULE_SRCS} AliHLTDynamicAliLog.cxx)
35
36set ( MODULE_HDRS ${CLASS_HDRS})
37
38set ( MODULE_DHDR )
39
5a238242 40set ( EINCLUDE HLT/rec HLT/BASE HLT/BASE/HOMER STEER RAW)
6db31708 41
5a238242 42set ( LIBRARY_DEP -lHLTbase -lCDB -lESD -lSTEERBase -lSTEER -lRAWDatarec -lRAWDatabase)
6db31708 43
44include ("CMakehlt.conf")
45
46if (MODULE_SRCS)
47ALICE_Format (SRCS "rec/" "" "${MODULE_SRCS}")
48endif(MODULE_SRCS)
49if (CLASS_HDRS)
50ALICE_Format (CINTHDRS "rec/" "" "${CLASS_HDRS}")
51endif(CLASS_HDRS)
52if (MODULE_HDRS)
53ALICE_Format (HDRS "rec/" "" "${MODULE_HDRS}")
54endif(MODULE_HDRS)
55if (MODULE_DHDR)
56ALICE_Format (DHDR "rec/" "" "${MODULE_DHDR}")
57endif(MODULE_DHDR)
58
59if(NOT DHDR)
60 set(CINTAUTOLINK 1)
61endif(NOT DHDR)
62
63set ( EDEFINE ${HLTDEFS})
64set ( PACKCXXFLAGS ${HLTCXXFLAGS} )
65add_definitions("-DLIBHLTREC_VERSION=${LIBHLTREC_VERSION}")
66set ( PACKCFLAGS ${HLTCLFAGS})
67set ( PACKDCXXFLAGS ${HLTDCXXFLAGS})
68set ( PACKSOFLAGS ${HLTSOFLAGS})