9 ### define include dir for local case and par case
10 ifneq ($(ESD_INCLUDE),)
11 ALICEINC += -I../$(ESD_INCLUDE)
12 ifneq ($(STEERBase_INCLUDE),)
13 ALICEINC += -I../$(STEERBase_INCLUDE)
15 ifneq ($(CDB_INCLUDE),)
16 ALICEINC += -I../$(CDB_INCLUDE)
18 ifneq ($(AOD_INCLUDE),)
19 ALICEINC += -I../$(AOD_INCLUDE)
21 ifneq ($(ANALYSIS_INCLUDE),)
22 ALICEINC += -I../$(ANALYSIS_INCLUDE)
24 ifneq ($(ANALYSISalice_INCLUDE),)
25 ALICEINC += -I../$(ANALYSISalice_INCLUDE)
27 ifneq ($(CORRFW_INCLUDE),)
28 ALICEINC += -I../$(CORRFW_INCLUDE)
30 ifneq ($(CORRFW_INCLUDE),)
31 ALICEINC += -I../$(CORRFW_INCLUDE)
33 ifneq ($(PWGHFvertexingHF_INCLUDE),)
34 ALICEINC += -I../$(PWGHFvertexingHF_INCLUDE)
36 ifneq ($(PWGflowBase_INCLUDE),)
37 ALICEINC += -I../$(PWGflowBase_INCLUDE)
39 ifneq ($(PWGflowTasks_INCLUDE),)
40 ALICEINC += -I../$(PWGflowTasks_INCLUDE)
43 ifneq ($(ALICE_ROOT),)
44 ALICEINC += -I$(ALICE_ROOT)/include -I$(ALICE_ROOT)/PWGHF/base -I$(ALICE_ROOT)/PWGHF/vertexingHF -I$(ALICE_ROOT)/PWG/FLOW/Base -I$(ALICE_ROOT)/PWG/FLOW/Tasks
49 SRCS = $(wildcard $(subst PWGHF,,$(PACKAGE))/*.cxx)
50 HDRS = $(SRCS:.cxx=.h)
51 DHDR = $(PACKAGE)LinkDef.h
52 CXXFLAGS += $(ALICEINC) -g
56 SRCS_PWGHF := $(SRCS) G__$(PACKAGE).cxx
57 OBJS_PWGHF := $(SRCS_PWGHF:.cxx=.o)
59 PARFILE = $(PACKAGE).par
61 lib$(PACKAGE).so: $(OBJS_PWGHF)
62 @echo "Linking" $@ ...
64 $(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
69 $(CXX) $(CXXFLAGS) -c $< -o $@
71 G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
72 @echo "Generating dictionary ..."
73 rootcint -f $@ -c $(ALICEINC) $^
76 @rm -f $(OBJS) *.so G__$(PACKAGE).* $(PARFILE)