preparing jet v2 task for train run
[u/mrichter/AliRoot.git] / PWGJE / Makefile
index 0f49f15..a33b856 100644 (file)
@@ -1,4 +1,4 @@
-PACKAGE = PWG4JetTasks
+PACKAGE = invalid-only-for-proof
 
 include Makefile.arch
 
@@ -33,16 +33,12 @@ ifneq ($(EventMixing_INCLUDE),)
   ALICEINC += -I../$(EventMixing_INCLUDE)
 endif
 
-ifneq ($(JETAN_INCLUDE),)
-  ALICEINC += -I../$(JETAN_INCLUDE)
-endif
-
 ifneq ($(CORRFW_INCLUDE),)
   ALICEINC += -I../$(CORRFW_INCLUDE)
 endif
 
-ifneq ($(PWGBase_INCLUDE),)
-  ALICEINC += -I../$(PWGBase_INCLUDE)
+ifneq ($(PWGTools_INCLUDE),)
+  ALICEINC += -I../$(PWGTools_INCLUDE)
 endif
 
 ifneq ($(PHOSUtils_INCLUDE),)
@@ -67,23 +63,19 @@ ifneq ($(EMCALrec_INCLUDE),)
   ALICEINC += -I../$(EMCALrec_INCLUDE)
 endif
 
-ifneq ($(PWG4PartCorrBase_INCLUDE),)
-  ALICEINC += -I../$(PWG4PartCorrBase_INCLUDE)
+ifneq ($(PWGCaloTrackCorrBase_INCLUDE),)
+  ALICEINC += -I../$(PWGCaloTrackCorrBase_INCLUDE)
 endif
 
 ifneq ($(PWG4PartCorrDep_INCLUDE),)
- ALICEINC += -I../$(PWG4PartCorrBase_INCLUDE) 
- ALICEINC += -I../$(PWG4PartCorrDep_INCLUDE)
+ ALICEINC += -I../$(PWGCaloTrackCorrBase_INCLUDE)
+ ALICEINC += -I../$(PWGGACaloTrackCorrelations_INCLUDE)
 endif
 
-ifneq ($(PWG4GammaConv_INCLUDE),)
+ifneq ($(PWGGACaloTrackCorrelations_INCLUDE),)
   ALICEINC += -I../$(PWG4GammaConv_INCLUDE)
 endif
 
-ifneq ($(PWG4JetTasks_INCLUDE),)
-  ALICEINC += -I../$(PWG4JetTasks_INCLUDE)
-endif
-
 ifneq ($(JETAN_INCLUDE),)
   ALICEINC += -I../$(JETAN_INCLUDE)
 endif
@@ -92,8 +84,12 @@ ifneq ($(JETANDEV_INCLUDE),)
   ALICEINC += -I../$(JETANDEV_INCLUDE)
 endif
 
-ifneq ($(PWG4JCORRAN_INCLUDE),)
-  ALICEINC += -I../$(PWG4JCORRAN_INCLUDE)
+ifneq ($(PWGEMCAL_INCLUDE),)
+  ALICEINC += -I../$(PWGEMCAL_INCLUDE)
+endif
+
+ifneq ($(PWGJEEMCALJetTasks_INCLUDE),)
+  ALICEINC += -I../$(PWGJEEMCALJetTasks_INCLUDE)
 endif
 
 # only if no par file was loaded before
@@ -101,51 +97,33 @@ endif
   ifneq ($(ALICE_ROOT),)
     ALICEINC += -I$(ALICE_ROOT)/include
     ALICEINC += -I$(ALICE_ROOT)/ANALYSIS
-    ALICEINC += -I$(ALICE_ROOT)/JETAN   # some extra includes
     ALICEINC += -I$(ALICE_ROOT)/PHOS
     ALICEINC += -I$(ALICE_ROOT)/EMCAL
-    ALICEINC += -I$(ALICE_ROOT)/PWG4/PartCorrBase
+    ALICEINC += -I$(ALICE_ROOT)/JETAN
+    ALICEINC += -I$(ALICE_ROOT)/JETAN/fastjet
+    ALICEINC += -I$(ALICE_ROOT)/PWGJE/EMCALJetTasks
+    ALICEINC += -I$(ALICE_ROOT)/PWG/CaloTrackCorrBase
+    ALICEINC += -I$(ALICE_ROOT)/PWGHF/vertexingHF
   endif
 #endif
 
 CXXFLAGS += $(ALICEINC) -g
 
-SRCS     = $(wildcard $(subst PWG4,,$(PACKAGE))/*.cxx)
-HDRS     = $(SRCS:.cxx=.h)
-DHDR     = $(PACKAGE)LinkDef.h
+SRCS = $(wildcard *.cxx)
+HDRS = $(SRCS:.cxx=.h)
+DHDR = $(PACKAGE)LinkDef.h
 
-DHDR_PWG4 := $(DHDR)
-HDRS_PWG4 := $(HDRS)
-SRCS_PWG4 := $(SRCS) G__$(PACKAGE).cxx
-OBJS_PWG4 := $(SRCS_PWG4:.cxx=.o)
+DHDR_PWGJE := $(DHDR)
+HDRS_PWGJE := $(HDRS)
+SRCS_PWGJE := $(SRCS) G__$(PACKAGE).cxx
+OBJS_PWGJE := $(SRCS_PWGJE:.cxx=.o)
 
 PARFILE       = $(PACKAGE).par
 
-lib$(PACKAGE).so: $(OBJS_PWG4)
+lib$(PACKAGE).so: $(OBJS_PWGJE)
        @echo "Linking" $@ ...
        @/bin/rm -f $@
-ifeq ($(PLATFORM),macosx)
-# We need to make both the .dylib and the .so
-               $(LD) $(SOFLAGS)$@ $(LDFLAGS) $^ $(OutPutOpt) $@
-ifneq ($(subst $(MACOSX_MINOR),,1234),1234)
-ifeq ($(MACOSX_MINOR),4)
-               ln -sf $@ $(subst .$(DllSuf),.so,$@)
-else
-               $(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ \
-                  $(OutPutOpt) $(subst .$(DllSuf),.so,$@)
-endif
-endif
-else
-ifeq ($(PLATFORM),win32)
-               bindexplib $* $^ > $*.def
-               lib -nologo -MACHINE:IX86 $^ -def:$*.def \
-                  $(OutPutOpt)$(EVENTLIB)
-               $(LD) $(SOFLAGS) $(LDFLAGS) $^ $*.exp $(LIBS) \
-                  $(OutPutOpt)$@
-else
-               $(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
-endif
-endif
+       $(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
        @chmod a+x $@
        @echo "done"
 
@@ -153,7 +131,7 @@ endif
        $(CXX) $(PACKCXXFLAGS) -c $< -o $@
 
 clean:
-       @rm -f $(OBJS_PWG4) *.so G__$(PACKAGE).*
+       @rm -f $(OBJS_PWGJE) *.so G__$(PACKAGE).*
 
 G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
        @echo "Generating dictionaries ..." $(ALICEINC)