]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG1/CMakelibPWG1.pkg
Fix Coverity defects
[u/mrichter/AliRoot.git] / PWG1 / CMakelibPWG1.pkg
1 #--------------------------------------------------------------------------------#
2 # Package File for PWG1                                                          #
3 # Author : Johny Jose (johny.jose@cern.ch)                                       #
4 # Variables Defined :                                                            #
5 #                                                                                #
6 # SRCS - C++ source files                                                        #
7 # HDRS - C++ header files                                                        #
8 # DHDR - ROOT Dictionary Linkdef header file                                     #
9 # CSRCS - C source files                                                         #
10 # CHDRS - C header files                                                         #
11 # EINCLUDE - Include directories                                                 #
12 # EDEFINE - Compiler definitions                                                 #
13 # ELIBS - Extra libraries to link                                                #
14 # ELIBSDIR - Extra library directories                                           #
15 # PACKFFLAGS - Fortran compiler flags for package                                #
16 # PACKCXXFLAGS - C++ compiler flags for package                                  #
17 # PACKCFLAGS - C compiler flags for package                                      #
18 # PACKSOFLAGS - Shared library linking flags                                     #
19 # PACKLDFLAGS - Module linker flags                                              #
20 # PACKBLIBS - Libraries to link (Executables only)                               #
21 # EXPORT - Header files to be exported                                           #
22 # CINTHDRS - Dictionary header files                                             #
23 # CINTAUTOLINK - Set automatic dictionary generation                             #
24 # ARLIBS - Archive Libraries and objects for linking (Executables only)          #
25 # SHLIBS - Shared Libraries and objects for linking (Executables only)           #
26 #--------------------------------------------------------------------------------#
27
28 file (GLOB SRCS1 "*.cxx" )
29 file (GLOB SRCS2 "global/*.cxx" )
30 file (GLOB SRCS3 "cosmic/*.cxx" )
31 file (GLOB SRCS4 "tender/*.cxx" )
32 file (GLOB SRCS5 "HMPID/*.cxx" )
33 file (GLOB SRCS6 "ITS/*.cxx" )
34 file (GLOB SRCS7 "TRD/*.cxx" )
35 file (GLOB SRCS8 "TPC/*.cxx" )
36 file (GLOB SRCS9 "TOF/*.cxx" )
37 file (GLOB SRCS10 "TRD/info/*.cxx" )
38 file (GLOB SRCS11 "background/*.cxx" )
39
40 list(APPEND SRCS ${SRCS1} ${SRCS2} ${SRCS3} ${SRCS4} ${SRCS5} ${SRCS6} ${SRCS7} ${SRCS8} ${SRCS9} ${SRCS10} ${SRCS11})
41
42 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
43
44 set ( DHDR  PWG1LinkDef.h)
45
46 set ( EINCLUDE  STEER TPC ITS TRD TOF TRD/Cal ANALYSIS/Tender ANALYSIS PWG1/comparison PWG1/cosmic PWG1/global PWG1/tender PWG1/ITS PWG1/TPC PWG1/TOF PWG1/TRD PWG1/TRD/info PWG1/background)
47
48   if( ALICE_TARGET STREQUAL "win32gcc")
49         
50                                 set ( PACKSOFLAGS  ${SOFLAGS} -L${ALICE_ROOT}/lib/tgt_${ALICE_TARGET} -lSTEERBase -lESD -lSTEER -lTPCbase -lANALYSISalice -lANALYSIS -L${ROOTLIBDIR} -lMinuit -lEG -lGeom)
51
52 endif( ALICE_TARGET STREQUAL "win32gcc")