]>
Commit | Line | Data |
---|---|---|
947b5ea7 | 1 | # $Id$ |
6db31708 | 2 | #--------------------------------------------------------------------------------# |
3 | # Package File for AliHLTComp # | |
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 | ||
947b5ea7 | 29 | set ( CLASS_HDRS |
30 | AliHLTCompAgent.h | |
31 | AliHLTCompPreprocessor.h | |
32 | AliHLTCompDefinitions.h | |
33 | AliHLTCOMPHuffmanAltro.h | |
34 | AliHLTCOMPHuffmanAltroComponent.h | |
35 | AliHLTCOMPHuffmanCodeData.h | |
36 | AliHLTCOMPHuffmanData.h | |
37 | AliHLTCOMPHuffmanOccurrenceData.h | |
38 | AliHLTCOMPHuffmanAltroCalibComponent.h | |
39 | ) | |
6db31708 | 40 | |
41 | string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" ) | |
42 | ||
43 | set ( MODULE_HDRS ${CLASS_HDRS}) | |
44 | ||
45 | set ( MODULE_DHDR ) | |
46 | ||
47 | set ( EINCLUDE HLT/BASE HLT/shuttle HLT/TPCLib HLT/comp STEER) | |
48 | ||
947b5ea7 | 49 | set ( ELIBS "HLTbase CDB") |
6db31708 | 50 | |
51 | include ("CMakehlt.conf") | |
52 | ||
53 | if (MODULE_SRCS) | |
54 | ALICE_Format (SRCS "comp/" "" "${MODULE_SRCS}") | |
55 | endif(MODULE_SRCS) | |
56 | if (CLASS_HDRS) | |
57 | ALICE_Format (CINTHDRS "comp/" "" "${CLASS_HDRS}") | |
58 | endif(CLASS_HDRS) | |
59 | if (MODULE_HDRS) | |
60 | ALICE_Format (HDRS "comp/" "" "${MODULE_HDRS}") | |
61 | endif(MODULE_HDRS) | |
62 | if (MODULE_DHDR) | |
63 | ALICE_Format (DHDR "comp/" "" "${MODULE_DHDR}") | |
64 | endif(MODULE_DHDR) | |
65 | ||
66 | if(NOT DHDR) | |
67 | set(CINTAUTOLINK 1) | |
68 | endif(NOT DHDR) | |
69 | ||
70 | set ( EDEFINE ${HLTDEFS}) | |
71 | set ( PACKCXXFLAGS ${HLTCXXFLAGS}) | |
72 | set ( PACKCFLAGS ${HLTCLFAGS}) | |
73 | set ( PACKDCXXFLAGS ${HLTDCXXFLAGS}) | |
74 | set ( PACKSOFLAGS ${HLTSOFLAGS}) |