fix to evict getting the event header twice
[u/mrichter/AliRoot.git] / PWGHF / Makefile
index dd734d1..23339f6 100644 (file)
@@ -27,13 +27,22 @@ ifneq ($(ESD_INCLUDE),)
        ifneq ($(CORRFW_INCLUDE),)
                ALICEINC += -I../$(CORRFW_INCLUDE)
        endif
-       ifneq ($(PWGHFbase_INCLUDE),)
-               ALICEINC += -I../$(PWGHFbase_INCLUDE)
+       ifneq ($(CORRFW_INCLUDE),)
+               ALICEINC += -I../$(CORRFW_INCLUDE)
+       endif
+       ifneq ($(PWGHFvertexingHF_INCLUDE),)
+               ALICEINC += -I../$(PWGHFvertexingHF_INCLUDE)
        endif
+        ifneq ($(PWGflowBase_INCLUDE),)
+                ALICEINC += -I../$(PWGflowBase_INCLUDE)
+        endif
+        ifneq ($(PWGflowTasks_INCLUDE),)
+                ALICEINC += -I../$(PWGflowTasks_INCLUDE)
+        endif
 else
   ifneq ($(ALICE_ROOT),)
-    ALICEINC += -I$(ALICE_ROOT)/include -I$(ALICE_ROOT)/PWGHF/base
-else
+    ALICEINC += -I$(ALICE_ROOT)/include -I$(ALICE_ROOT)/PWGHF/base -I$(ALICE_ROOT)/PWGHF/vertexingHF -I$(ALICE_ROOT)/PWGHF/hfe -I$(ALICE_ROOT)/PWG/FLOW/Base -I$(ALICE_ROOT)/PWG/FLOW/Tasks
+  else
   endif
 endif
 
@@ -52,7 +61,11 @@ PARFILE       = $(PACKAGE).par
 lib$(PACKAGE).so: $(OBJS_PWGHF)
        @echo "Linking" $@ ...
        @/bin/rm -f $@
+ifeq ($(PLATFORM),macosx)
+       $(LD) $(SOFLAGS) -flat_namespace -undefined suppress $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
+else
        $(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
+endif
        @chmod a+x $@
        @echo "done"