]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/CMakelibHLTshuttle.pkg
coverity fix
[u/mrichter/AliRoot.git] / HLT / CMakelibHLTshuttle.pkg
1 # $Id$
2 #--------------------------------------------------------------------------------#
3 # Package File for HLTshuttle                                                    #
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 ( LIBHLTSHUTTLE_VERSION  0)
30
31 set ( CLASS_HDRS
32     AliHLTPreprocessor.h
33     )
34
35 string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" )
36
37 set ( MODULE_HDRS       ${CLASS_HDRS})
38
39 set ( MODULE_DHDR )
40
41 set ( EINCLUDE  HLT/shuttle HLT/BASE STEER)
42
43 set ( ELIBS  "HLTbase CDB")
44
45 include ("CMakehlt.conf")
46
47 if (MODULE_SRCS)
48 ALICE_Format (SRCS "shuttle/" "" "${MODULE_SRCS}")
49 endif(MODULE_SRCS)
50 if (CLASS_HDRS)
51 ALICE_Format (CINTHDRS "shuttle/" "" "${CLASS_HDRS}")
52 endif(CLASS_HDRS)
53 if (MODULE_HDRS)
54 ALICE_Format (HDRS "shuttle/" "" "${MODULE_HDRS}")
55 endif(MODULE_HDRS)
56 if (MODULE_DHDR)
57 ALICE_Format (DHDR "shuttle/" "" "${MODULE_DHDR}")
58 endif(MODULE_DHDR)
59
60 if(NOT DHDR)
61   set(CINTAUTOLINK 1)
62 endif(NOT DHDR)
63
64 set ( EDEFINE  ${HLTDEFS})
65 set ( PACKCXXFLAGS  ${HLTCXXFLAGS})
66 add_definitions("-DLIBHLTSHUTTLE_VERSION=${LIBHLTSHUTTLE_VERSION}")
67 set ( PACKCFLAGS  ${HLTCLFAGS})
68 set ( PACKDCXXFLAGS  ${HLTDCXXFLAGS})
69 set ( PACKSOFLAGS ${HLTSOFLAGS})