major change in build system for HLT libraries: library dependencies correctly set
[u/mrichter/AliRoot.git] / HLT / CMakelibHLTrec.pkg
CommitLineData
947b5ea7 1# $Id$
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
947b5ea7 31set ( CLASS_HDRS
32 AliHLTReconstructor.h
33 AliRawReaderHLT.h
34 AliHLTOUTHomerCollection.h
35 AliHLTEsdManagerImplementation.h
36 AliHLTDAQInterfaceImplementation.h
37 AliHLTOUTDigitReader.h
38 AliHLTMiscImplementation.h
39 AliHLTOUTRawReader.h
40 )
6db31708 41
42string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}")
43set ( MODULE_SRCS ${MODULE_SRCS} AliHLTDynamicAliLog.cxx)
44
45set ( MODULE_HDRS ${CLASS_HDRS})
46
47set ( MODULE_DHDR )
48
947b5ea7 49set ( EINCLUDE "HLT/rec HLT/BASE HLT/BASE/HOMER STEER RAW")
6db31708 50
947b5ea7 51set ( ELIBS "HLTbase CDB ESD STEERBase STEER RAWDatarec RAWDatabase")
6db31708 52
53include ("CMakehlt.conf")
54
55if (MODULE_SRCS)
56ALICE_Format (SRCS "rec/" "" "${MODULE_SRCS}")
57endif(MODULE_SRCS)
58if (CLASS_HDRS)
59ALICE_Format (CINTHDRS "rec/" "" "${CLASS_HDRS}")
60endif(CLASS_HDRS)
61if (MODULE_HDRS)
62ALICE_Format (HDRS "rec/" "" "${MODULE_HDRS}")
63endif(MODULE_HDRS)
64if (MODULE_DHDR)
65ALICE_Format (DHDR "rec/" "" "${MODULE_DHDR}")
66endif(MODULE_DHDR)
67
68if(NOT DHDR)
69 set(CINTAUTOLINK 1)
70endif(NOT DHDR)
71
72set ( EDEFINE ${HLTDEFS})
73set ( PACKCXXFLAGS ${HLTCXXFLAGS} )
74add_definitions("-DLIBHLTREC_VERSION=${LIBHLTREC_VERSION}")
75set ( PACKCFLAGS ${HLTCLFAGS})
76set ( PACKDCXXFLAGS ${HLTDCXXFLAGS})
77set ( PACKSOFLAGS ${HLTSOFLAGS})