Taking into account that only 1 or 2 values may be present for the
[u/mrichter/AliRoot.git] / PWG2 / Makefile
index 7a14875..e54a51d 100644 (file)
@@ -9,32 +9,56 @@ default-target: lib$(PACKAGE).so
 ALICEINC      = -I.
 
 ### define include dir for local case and par case
-ifneq ($(STEERBase_INCLUDE),)
-  ALICEINC += -I../$(STEERBase_INCLUDE)
+ifneq ($(ESD_INCLUDE),)
+   ALICEINC += -I../$(ESD_INCLUDE)
+   ALICEINC += -I../$(AOD_INCLUDE)
+   ALICEINC += -I../$(STEERBase_INCLUDE)
+   ALICEINC += -I../$(ANALYSIS_INCLUDE)
+   ALICEINC += -I../$(ANALYSISalice_INCLUDE)
+ else
+    ifneq ($(ALICE_ROOT),)
+       ALICEINC += -I$(ALICE_ROOT)/include
+     endif
 endif
 
-ifneq ($(ESD_INCLUDE),)
-  ALICEINC += -I../$(ESD_INCLUDE)
+ifneq ($(CORRFW_INCLUDE),)
+  ALICEINC += -I../$(CORRFW_INCLUDE)
 endif
 
-ifneq ($(AOD_INCLUDE),)
-  ALICEINC += -I../$(AOD_INCLUDE)
+ifneq ($(PWG2AOD_INCLUDE),)
+  ALICEINC += -I../$(PWG2AOD_INCLUDE)
 endif
 
-ifneq ($(ANALYSIS_INCLUDE),)
-  ALICEINC += -I../$(ANALYSIS_INCLUDE)
+ifneq ($(PWG2femtoscopy_INCLUDE),)
+  ALICEINC += -I../$(PWG2femtoscopy_INCLUDE)
 endif
 
-ifneq ($(ANALYSISalice_INCLUDE),)
-  ALICEINC += -I../$(ANALYSISalice_INCLUDE)
+ifneq ($(PWG2femtoscopyUser_INCLUDE),)
+  ALICEINC += -I../$(PWG2femtoscopyUser_INCLUDE)
 endif
 
-ifneq ($(PWG2AOD_INCLUDE),)
-  ALICEINC += -I../$(PWG2AOD_INCLUDE)
+ifneq ($(PWG2flowCommon_INCLUDE),)
+  ALICEINC += -I../$(PWG2flowCommon_INCLUDE)
 endif
 
-ifneq ($(PWG2femtoscopy_INCLUDE),)
-  ALICEINC += -I../$(PWG2femtoscopy_INCLUDE)
+ifneq ($(PWG2flowTasks_INCLUDE),)
+  ALICEINC += -I../$(PWG2flowTasks_INCLUDE)
+endif
+
+ifneq ($(PWG2resonances_INCLUDE),)
+  ALICEINC += -I../$(PWG2resonances_INCLUDE)
+endif
+
+ifneq ($(PWG2unicor_INCLUDE),)
+  ALICEINC += -I../$(PWG2unicor_INCLUDE)
+endif
+
+ifneq ($(PWG2evchar_INCLUDE),)
+  ALICEINC += -I../$(PWG2evchar_INCLUDE)
+endif
+
+ifneq ($(PWG2kink_INCLUDE),)
+  ALICEINC += -I../$(PWG2kink_INCLUDE)
 endif
 
 # only if no par file was loaded before