Restored PAR file functionallity: make test-par-all works
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 23 Feb 2012 05:46:11 +0000 (05:46 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 23 Feb 2012 05:46:11 +0000 (05:46 +0000)
13 files changed:
JETAN/PROOF-INF.FASTJETANdev/BUILD.sh [changed mode: 0644->0755]
JETAN/PROOF-INF.JETANdev/BUILD.sh [changed mode: 0644->0755]
PWG/Makefile
PWG/PROOF-INF.PWGTools/BUILD.sh [changed mode: 0644->0755]
PWGCF/Makefile [new file with mode: 0644]
PWGCF/PROOF-INF.PWGCFunicor/BUILD.sh
PWGDQ/Makefile [new file with mode: 0644]
PWGGA/Makefile [new file with mode: 0644]
PWGHF/Makefile [new file with mode: 0644]
PWGLF/Makefile
PWGLF/PROOF-INF.PWGLFSTRANGENESS/BUILD.sh
PWGPP/Makefile [new file with mode: 0644]
PWGUD/Makefile [new file with mode: 0644]

old mode 100644 (file)
new mode 100755 (executable)
index fc9490a..f03c5c8
@@ -1,3 +1,3 @@
-#! /bin/sh
+#!/bin/sh
 
 make 
old mode 100644 (file)
new mode 100755 (executable)
index fc9490a..f03c5c8
@@ -1,3 +1,3 @@
-#! /bin/sh
+#!/bin/sh
 
 make 
index 615a36f..a25bdab 100644 (file)
@@ -61,6 +61,8 @@ endif
   ifneq ($(ALICE_ROOT),)
     ALICEINC += -I$(ALICE_ROOT)/include
     ALICEINC += -I$(ALICE_ROOT)/ANALYSIS
+    ALICEINC += -I$(ALICE_ROOT)/PWG/FLOW/Base
+    ALICEINC += -I$(ALICE_ROOT)/MUON
   endif
 #endif
 
old mode 100644 (file)
new mode 100755 (executable)
index fc9490a..f03c5c8
@@ -1,3 +1,3 @@
-#! /bin/sh
+#!/bin/sh
 
 make 
diff --git a/PWGCF/Makefile b/PWGCF/Makefile
new file mode 100644 (file)
index 0000000..618b769
--- /dev/null
@@ -0,0 +1,68 @@
+PACKAGE = invalid-only-for-proof
+
+include Makefile.arch
+
+SRCS     = $(wildcard *.cxx)
+HDRS     = $(SRCS:.cxx=.h)
+DHDR     = $(PACKAGE)LinkDef.h
+
+
+ifndef PACKCXXFLAGS
+   PACKCXXFLAGS = $(CXXFLAGS)
+endif
+
+ALICEINC = -I.
+ALICEINC += -I./$(PACKAGE)/
+
+ifneq ($(PWGCFebye_INCLUDE),)
+   ALICEINC += -I../$(PWGCFebye_INCLUDE) -I../$(PWGCFebye_INCLUDE)/LRC 
+else
+   ALICEINC += -I$(ALICE_ROOT)/PWGCF/EBYE -I$(ALICE_ROOT)/PWGCF/EBYE/LRC
+endif
+
+ifneq ($(PWGCFfemtoscopy_INCLUDE),)
+   ALICEINC += -I../$(PWGCFfemtoscopy_INCLUDE) -I../$(PWGCFfemtoscopy_INCLUDE)/AliFemto
+else
+   ALICEINC += -I$(ALICE_ROOT)/PWGCF/FEMTOSCOPY -I$(ALICE_ROOT)/PWGCF/FEMTOSCOPY/AliFemto
+endif
+
+ifneq ($(PWGCFfemtoscopyUser_INCLUDE),)
+   ALICEINC += -I../$(PWGCFfemtoscopyUser_INCLUDE)
+endif
+
+ifneq ($(PWGCFunicor_INCLUDE),)
+   ALICEINC += -I../$(PWGCFunicor_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
+
+SRCS         += G__$(PACKAGE).cxx
+OBJS          = $(SRCS:.cxx=.o)
+
+lib$(PACKAGE).so: $(OBJS)
+       @echo "Linking" $@ ...
+       @/bin/rm -f $@
+       $(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
+       @chmod a+x $@
+       @echo "done"
+
+%.o:    %.cxx %.h
+       $(CXX) $(PACKCXXFLAGS) -c $< -o $@
+
+clean:
+       @rm -f $(OBJS) *.so G__$(PACKAGE).*
+
+G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
+       @echo "Generating dictionaries ..." $(ALICEINC)
+       rootcint -f $@ -c $(CINTFLAGS) $(ALICEINC) $^
+
index 13f6b86..270077b 100755 (executable)
@@ -1,5 +1,3 @@
 #! /bin/sh
 
-touch libPWGCFunicor.pkg
-
 make libPWGCFunicor.so
diff --git a/PWGDQ/Makefile b/PWGDQ/Makefile
new file mode 100644 (file)
index 0000000..5fe9933
--- /dev/null
@@ -0,0 +1,56 @@
+PACKAGE = invalid-only-for-proof
+
+include Makefile.arch
+
+SRCS     = $(wildcard *.cxx)
+HDRS     = $(SRCS:.cxx=.h)
+DHDR     = $(PACKAGE)LinkDef.h
+
+
+ifndef PACKCXXFLAGS
+   PACKCXXFLAGS = $(CXXFLAGS)
+endif
+
+ALICEINC = -I.
+ALICEINC += -I./$(PACKAGE)/
+
+ifneq ($(PWGDQbase_INCLUDE),)
+   ALICEINC += -I../$(PWGDQbase_INCLUDE) 
+endif
+
+ifneq ($(PWGDQdielectron_INCLUDE),)
+   ALICEINC += -I../$(PWGDQdielectron_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
+
+SRCS         += G__$(PACKAGE).cxx
+OBJS          = $(SRCS:.cxx=.o)
+
+lib$(PACKAGE).so: $(OBJS)
+       @echo "Linking" $@ ...
+       @/bin/rm -f $@
+       $(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
+       @chmod a+x $@
+       @echo "done"
+
+%.o:    %.cxx %.h
+       $(CXX) $(PACKCXXFLAGS) -c $< -o $@
+
+clean:
+       @rm -f $(OBJS) *.so G__$(PACKAGE).*
+
+G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
+       @echo "Generating dictionaries ..." $(ALICEINC)
+       rootcint -f $@ -c $(CINTFLAGS) $(ALICEINC) $^
+
diff --git a/PWGGA/Makefile b/PWGGA/Makefile
new file mode 100644 (file)
index 0000000..a23ea1f
--- /dev/null
@@ -0,0 +1,71 @@
+PACKAGE = invalid-only-for-proof
+
+include Makefile.arch
+
+ifndef PACKCXXFLAGS
+   PACKCXXFLAGS = $(CXXFLAGS)
+endif
+
+ALICEINC = -I.
+
+### define include dir for local case and par case
+
+ifneq ($(PWGGACaloTasks_INCLUDE),)
+  ALICEINC += -I../$(PWGGACaloTasks_INCLUDE)
+endif
+
+ifneq ($(PWGGACaloTrackCorrelations_INCLUDE),)
+  ALICEINC += -I../$(PWGGACaloTrackCorrelations_INCLUDE)
+endif
+
+ifneq ($(PWGGAEMCALTasks_INCLUDE),)
+  ALICEINC += -I../$(PWGGAEMCALTasks_INCLUDE)
+endif
+
+ifneq ($(PWGGAGammaConv_INCLUDE),)
+  ALICEINC += -I../$(PWGGAGammaConv_INCLUDE)
+endif
+
+ifneq ($(PWGGAPHOSTasks_INCLUDE),)
+  ALICEINC += -I../$(PWGGAPHOSTasks_INCLUDE)
+endif
+
+# only if no par file was loaded before
+#ifeq ($(ALICEINC),-I.)
+  ifneq ($(ALICE_ROOT),)
+    ALICEINC += -I$(ALICE_ROOT)/include
+    ALICEINC += -I$(ALICE_ROOT)/ANALYSIS
+    ALICEINC += -I$(ALICE_ROOT)/PHOS
+    ALICEINC += -I$(ALICE_ROOT)/EMCAL
+  endif
+#endif
+
+CXXFLAGS += $(ALICEINC) -g
+
+SRCS     = $(wildcard $(subst PWGGA,,$(PACKAGE))/*.cxx)
+HDRS     = $(SRCS:.cxx=.h)
+DHDR     = $(PACKAGE)LinkDef.h
+
+DHDR_PWGGA := $(DHDR)
+HDRS_PWGGA := $(HDRS)
+SRCS_PWGGA := $(SRCS) G__$(PACKAGE).cxx
+OBJS_PWGGA := $(SRCS_PWGGA:.cxx=.o)
+
+PARFILE       = $(PACKAGE).par
+
+lib$(PACKAGE).so: $(OBJS_PWGGA)
+       @echo "Linking" $@ ...
+       @/bin/rm -f $@
+       $(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
+       @chmod a+x $@
+       @echo "done"
+
+%.o:    %.cxx %.h
+       $(CXX) $(PACKCXXFLAGS) -c $< -o $@
+
+clean:
+       @rm -f $(OBJS) *.so G__$(PACKAGE).*
+
+G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
+       @echo "Generating dictionaries ..." $(ALICEINC)
+       rootcint -f $@ -c $(CINTFLAGS) $(ALICEINC) $^
diff --git a/PWGHF/Makefile b/PWGHF/Makefile
new file mode 100644 (file)
index 0000000..dd734d1
--- /dev/null
@@ -0,0 +1,67 @@
+# $Id$
+
+PACKAGE = PWGHF
+
+include Makefile.arch
+
+ALICEINC      = -I.
+
+### define include dir for local case and par case
+ifneq ($(ESD_INCLUDE),)
+   ALICEINC += -I../$(ESD_INCLUDE)
+       ifneq ($(STEERBase_INCLUDE),)
+               ALICEINC += -I../$(STEERBase_INCLUDE)
+       endif                           
+       ifneq ($(CDB_INCLUDE),)
+               ALICEINC += -I../$(CDB_INCLUDE)
+       endif                           
+       ifneq ($(AOD_INCLUDE),)
+               ALICEINC += -I../$(AOD_INCLUDE)
+       endif
+       ifneq ($(ANALYSIS_INCLUDE),)
+               ALICEINC += -I../$(ANALYSIS_INCLUDE)
+       endif
+       ifneq ($(ANALYSISalice_INCLUDE),)
+               ALICEINC += -I../$(ANALYSISalice_INCLUDE)
+       endif
+       ifneq ($(CORRFW_INCLUDE),)
+               ALICEINC += -I../$(CORRFW_INCLUDE)
+       endif
+       ifneq ($(PWGHFbase_INCLUDE),)
+               ALICEINC += -I../$(PWGHFbase_INCLUDE)
+       endif
+else
+  ifneq ($(ALICE_ROOT),)
+    ALICEINC += -I$(ALICE_ROOT)/include -I$(ALICE_ROOT)/PWGHF/base
+else
+  endif
+endif
+
+SRCS     = $(wildcard $(subst PWGHF,,$(PACKAGE))/*.cxx)
+HDRS     = $(SRCS:.cxx=.h)
+DHDR     = $(PACKAGE)LinkDef.h
+CXXFLAGS     += $(ALICEINC) -g
+
+DHDR_PWGHF := $(DHDR)
+HDRS_PWGHF := $(HDRS)
+SRCS_PWGHF := $(SRCS) G__$(PACKAGE).cxx
+OBJS_PWGHF := $(SRCS_PWGHF:.cxx=.o)
+
+PARFILE       = $(PACKAGE).par
+
+lib$(PACKAGE).so: $(OBJS_PWGHF)
+       @echo "Linking" $@ ...
+       @/bin/rm -f $@
+       $(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
+       @chmod a+x $@
+       @echo "done"
+
+%.o:    %.cxx %.h
+       $(CXX) $(CXXFLAGS) -c $< -o $@
+
+G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
+       @echo "Generating dictionary ..."
+       rootcint -f $@ -c $(ALICEINC) $^
+
+clean:
+       @rm -f $(OBJS)  *.so G__$(PACKAGE).*  $(PARFILE)
index d25c016..d50b74d 100644 (file)
@@ -6,7 +6,7 @@ PACKAGE = PWGLFresonances
 
 default-target: lib$(PACKAGE).so 
 
-ALICEINC      = -I. -I$(ALICE_ROOT)/TOF -I$(ALICE_ROOT)/ANALYSIS/EventMixing
+ALICEINC      = -I. -I$(ALICE_ROOT)/TOF -I$(ALICE_ROOT)/ANALYSIS/EventMixing -I$(ALICE_ROOT)/PWGUD/base
 
 ### define include dir for local case and par case
 ifneq ($(ESD_INCLUDE),)
index 27061e8..cae67ff 100755 (executable)
@@ -1,3 +1,3 @@
 #! /bin/sh
 
-make libPWGLFSNGENESS.so
+make libPWGLFSTRANGENESS.so
diff --git a/PWGPP/Makefile b/PWGPP/Makefile
new file mode 100644 (file)
index 0000000..a301f6d
--- /dev/null
@@ -0,0 +1,54 @@
+PACKAGE = invalid-only-for-proof
+
+include Makefile.arch
+
+SRCS     = $(wildcard *.cxx)
+HDRS     = $(SRCS:.cxx=.h)
+DHDR     = $(PACKAGE)LinkDef.h
+
+
+ifndef PACKCXXFLAGS
+   PACKCXXFLAGS = $(CXXFLAGS)
+endif
+
+ALICEINC = -I.
+ALICEINC += -I./$(PACKAGE)/
+
+ifneq ($(PWGPPevchar_INCLUDE),)
+   ALICEINC += -I../$(PWGPPevchar_INCLUDE) 
+endif
+
+# only if no par file was loaded before
+#ifeq ($(ALICEINC),-I.)
+  ifneq ($(ALICE_ROOT),)
+    ALICEINC += -I$(ALICE_ROOT)/include -I$(ALICE_ROOT)/ITS
+  endif
+#endif
+
+ifneq ($(EINCLUDE),)
+  ALICEINC += $(EINCLUDE:%=-I$(ALICE_ROOT)/%)
+endif
+
+
+CXXFLAGS += $(ALICEINC) -g
+
+SRCS         += G__$(PACKAGE).cxx
+OBJS          = $(SRCS:.cxx=.o)
+
+lib$(PACKAGE).so: $(OBJS)
+       @echo "Linking" $@ ...
+       @/bin/rm -f $@
+       $(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
+       @chmod a+x $@
+       @echo "done"
+
+%.o:    %.cxx %.h
+       $(CXX) $(PACKCXXFLAGS) -c $< -o $@
+
+clean:
+       @rm -f $(OBJS) *.so G__$(PACKAGE).*
+
+G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
+       @echo "Generating dictionaries ..." $(ALICEINC)
+       rootcint -f $@ -c $(CINTFLAGS) $(ALICEINC) $^
+
diff --git a/PWGUD/Makefile b/PWGUD/Makefile
new file mode 100644 (file)
index 0000000..fb3dd35
--- /dev/null
@@ -0,0 +1,56 @@
+PACKAGE = invalid-only-for-proof
+
+include Makefile.arch
+
+SRCS     = $(wildcard *.cxx)
+HDRS     = $(SRCS:.cxx=.h)
+DHDR     = $(PACKAGE)LinkDef.h
+
+
+ifndef PACKCXXFLAGS
+   PACKCXXFLAGS = $(CXXFLAGS)
+endif
+
+ALICEINC = -I.
+ALICEINC += -I./$(PACKAGE)/
+
+ifneq ($(PWGUDbase_INCLUDE),)
+   ALICEINC += -I../$(PWGUDbase_INCLUDE) 
+endif
+
+ifneq ($(PWGUDdep_INCLUDE),)
+   ALICEINC += -I../$(PWGUDdep_INCLUDE) 
+endif
+
+# only if no par file was loaded before
+#ifeq ($(ALICEINC),-I.)
+  ifneq ($(ALICE_ROOT),)
+    ALICEINC += -I$(ALICE_ROOT)/include -I$(ALICE_ROOT)/PWGUD/base
+  endif
+#endif
+
+
+
+
+CXXFLAGS += $(ALICEINC) -g
+
+SRCS         += G__$(PACKAGE).cxx
+OBJS          = $(SRCS:.cxx=.o)
+
+lib$(PACKAGE).so: $(OBJS)
+       @echo "Linking" $@ ...
+       @/bin/rm -f $@
+       $(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
+       @chmod a+x $@
+       @echo "done"
+
+%.o:    %.cxx %.h
+       $(CXX) $(PACKCXXFLAGS) -c $< -o $@
+
+clean:
+       @rm -f $(OBJS) *.so G__$(PACKAGE).*
+
+G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
+       @echo "Generating dictionaries ..." $(ALICEINC)
+       rootcint -f $@ -c $(CINTFLAGS) $(ALICEINC) $^
+