ALICEINC = -I.
-### define include dir for local case and par case
+# add include paths from other par files
ifneq ($(ESD_INCLUDE),)
ALICEINC += -I../$(ESD_INCLUDE)
- ifneq ($(AOD_INCLUDE),)
- ALICEINC += -I../$(AOD_INCLUDE)
- endif
- ifneq ($(STEERBase_INCLUDE),)
- ALICEINC += -I../$(STEERBase_INCLUDE)
- endif
-else
- ifneq ($(ALICE_ROOT),)
- ALICEINC += -I$(ALICE_ROOT)/include
- endif
endif
-# for building of ANALYSIS.par
-ifneq ($(ANALYSIS_INCLUDE),)
- ALICEINC += -I../$(ANALYSIS_INCLUDE)
+ifneq ($(AOD_INCLUDE),)
+ ALICEINC += -I../$(AOD_INCLUDE)
+endif
+
+ifneq ($(STEERBase_INCLUDE),)
+ ALICEINC += -I../$(STEERBase_INCLUDE)
+endif
+
+# only if no par file was loaded before
+ifeq ($(ALICEINC),-I.)
+ ifneq ($(ALICE_ROOT),)
+ ALICEINC += -I$(ALICE_ROOT)/include
+ endif
endif
CXXFLAGS += $(ALICEINC) -g
// Load the ANALYSIS library
gSystem->Load("libANALYSIS");
- // Set the Inlucde paths
- gSystem->SetIncludePath("-I$ROOTSYS/include -IANALYSIS");
+ // Set the include paths
gROOT->ProcessLine(".include ANALYSIS");
// Set our location, so that other packages can find us
// Load the ESD library
gSystem->Load("libAOD");
- // Set the Inlucde paths
- gSystem->SetIncludePath("-I$ROOTSYS/include -IAOD");
+ // Set the include paths
gROOT->ProcessLine(".include AOD");
// Set our location, so that other packages can find us
// Load the ESD library
gSystem->Load("libESD");
- // Set the Inlucde paths
- gSystem->SetIncludePath("-I$ROOTSYS/include -IESD");
+ // Set the include paths
gROOT->ProcessLine(".include ESD");
// Set our location, so that other packages can find us
gSystem->Load("libVMC");
gSystem->Load("libSTEERBase");
- // Set the Inlucde paths
- gSystem->SetIncludePath("-I$ROOTSYS/include -ISTEERBase");
+ // Set the include paths
gROOT->ProcessLine(".include STEERBase");
// Set our location, so that other packages can find us