factorize tasks
[u/mrichter/AliRoot.git] / PWGGA / CMakelibPWGGAEMCALJetTasks.pkg
CommitLineData
51455ade 1# -*- mode: Makefile -*-
2#--------------------------------------------------------------------------------#
3# Variables Defined : #
4# #
5# SRCS - C++ source files #
6# HDRS - C++ header files #
7# DHDR - ROOT Dictionary Linkdef header file #
8# CSRCS - C source files #
9# CHDRS - C header files #
10# EINCLUDE - Include directories #
11# EDEFINE - Compiler definitions #
12# ELIBS - Extra libraries to link #
13# ELIBSDIR - Extra library directories #
14# PACKFFLAGS - Fortran compiler flags for package #
15# PACKCXXFLAGS - C++ compiler flags for package #
16# PACKCFLAGS - C compiler flags for package #
17# PACKSOFLAGS - Shared library linking flags #
18# PACKLDFLAGS - Module linker flags #
19# PACKBLIBS - Libraries to link (Executables only) #
20# EXPORT - Header files to be exported #
21# CINTHDRS - Dictionary header files #
22# CINTAUTOLINK - Set automatic dictionary generation #
23# ARLIBS - Archive Libraries and objects for linking (Executables only) #
24# SHLIBS - Shared Libraries and objects for linking (Executables only) #
25#--------------------------------------------------------------------------------#
26
27set ( SRCS
28 EMCALJetTasks/AliEsdJetTask.cxx
29 EMCALJetTasks/AliFJWrapper.cxx
30)
31
32string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
33
34set ( DHDR PWGGAEMCALJetTasksLinkDef.h)
35
36string ( REPLACE ".cxx" ".h" EXPORT "${SRCS}" )
37
38set(FASTJET_ROOT $ENV{FASTJET_ROOT})
39if(FASTJET_ROOT)
40 set ( EDEFINE -isystem${FASTJET_ROOT}/include)
41else()
42 set(FASTJET $ENV{FASTJET})
43 if(FASTJET)
44 set ( EDEFINE -isystem${FASTJET}/include)
45 else()
46 set ( EDEFINE -isystem${ALICE_ROOT}/JETAN/fastjet)
47 endif(FASTJET)
48endif(FASTJET_ROOT)
49
50set ( EINCLUDE PWGGA/EMCALJetTasks EMCAL OADB STEER/ESD STEER/STEERBase)