]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/CMakelibAliHLTHOMER.pkg
removing code duplication and using common functionality to instantiate EsdManager...
[u/mrichter/AliRoot.git] / HLT / CMakelibAliHLTHOMER.pkg
1 # $Id: CMakelibAliHLTHOMER.pkg 46803 2011-01-28 22:12:12Z richterm $
2 #--------------------------------------------------------------------------------#
3 # Package File for AliHLTHOMER                                                   #
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  include ("CMakehlt.conf")
29
30 set ( CLASS_HDRS        AliHLTHOMERReader.h AliHLTHOMERWriter.h)
31
32 set ( MODULE_HDRS       ${CLASS_HDRS} AliHLTHOMERData.h)
33
34 string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" )
35
36 set ( MODULE_DHDR       AliHLTHOMERLinkDef.h)
37
38 if (MODULE_SRCS)
39 ALICE_Format (SRCS "BASE/HOMER/" "" "${MODULE_SRCS}")
40 endif(MODULE_SRCS)
41 if (CLASS_HDRS)
42 ALICE_Format (CINTHDRS "BASE/HOMER/" "" "${CLASS_HDRS}")
43 endif(CLASS_HDRS)
44 if (MODULE_HDRS)
45 ALICE_Format (HDRS "BASE/HOMER/" "" "${MODULE_HDRS}")
46 endif(MODULE_HDRS)
47 if (MODULE_DHDR)
48 ALICE_Format (DHDR "BASE/HOMER/" "" "${MODULE_DHDR}")
49 endif(MODULE_DHDR)
50
51 if(NOT DHDR)
52   set(CINTAUTOLINK 1)
53 endif(NOT DHDR)
54
55 set ( EDEFINE  ${HLTDEFS})
56 add_definitions("-DUSE_ROOT")
57 set ( PACKCXXFLAGS  ${HLTCXXFLAGS})
58 set ( PACKCFLAGS ${HLTCLFAGS})
59 set ( PACKDCXXFLAGS ${HLTDCXXFLAGS})
60 set ( CINTFLAGS ${CINTFLAGS}  -DUSE_ROOT)
61