1 #--------------------------------------------------------------------------------#
2 # Package File for PWG1 #
3 # Author : Johny Jose (johny.jose@cern.ch) #
4 # Variables Defined : #
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 #--------------------------------------------------------------------------------#
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 file (GLOB SRCS12 "Centrality/*.cxx" )
40 file (GLOB SRCS13 "ZDC/*.cxx" )
42 list(APPEND SRCS ${SRCS1} ${SRCS2} ${SRCS3} ${SRCS4} ${SRCS5} ${SRCS6} ${SRCS7} ${SRCS8} ${SRCS9} ${SRCS10} ${SRCS11} ${SRCS12} ${SRCS13})
44 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
46 set ( DHDR PWG1LinkDef.h)
48 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 PWG1/Centrality)
50 if( ALICE_TARGET STREQUAL "win32gcc")
52 set ( PACKSOFLAGS ${SOFLAGS} -L${ALICE_ROOT}/lib/tgt_${ALICE_TARGET} -lSTEERBase -lESD -lSTEER -lTPCbase -lANALYSISalice -lANALYSIS -L${ROOTLIBDIR} -lMinuit -lEG -lGeom)
54 endif( ALICE_TARGET STREQUAL "win32gcc")