Avoid linking with pythia when not needed
authoralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 16 Jun 2005 11:43:24 +0000 (11:43 +0000)
committeralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 16 Jun 2005 11:43:24 +0000 (11:43 +0000)
MONITOR/binmonitorCheck.pkg
MONITOR/binmonitorGDC.pkg
MONITOR/monitorCheck.cxx
MONITOR/monitorGDC.cxx
RAW/binalimdc.pkg

index 58fd3de5f0e0bce7390e790338b379e9f332ae82..04e1c179fb46d32d9fc43a4a4c3ce0325f2fa71b 100644 (file)
@@ -16,22 +16,15 @@ EINCLUDE+=TPC CONTAINERS ITS RAW HLT/src HLT/hough HLT/comp HLT/ITS
 ifdef DATE_ROOT
 
 ELIBSDIR:=${DATE_MONITOR_DIR}/${DATE_SYS}
-ELIBS:= ESD STEER CONTAINERS RAWData monitor shift pythia6 pdf microcern TPCbase TPCsim TPCrec ITS AliL3Src AliL3Comp AliL3Misc AliL3Hough AliL3ITS
+ELIBS:= ESD STEER CONTAINERS RAWData monitor shift TPCbase TPCsim TPCrec ITS AliL3Src AliL3Comp AliL3Misc AliL3Hough AliL3ITS
 EINCLUDE+= ${DATE_COMMON_DEFS} ${DATE_MONITOR_DIR}
 
 else
 
-ELIBS:= pythia6 pdf microcern
+PACKBLIBS := $(ROOTCLIBS) $(SYSLIBS)
 
 endif
 
 ifneq (,$(findstring macosx,$(ALICE_TARGET)))
-@PACKAGE@LIBSINIT:=$(filter-out microcern,$(ELIBS))
-@PACKAGE@LIBSINIT:=$(filter-out pdf,$(@PACKAGE@LIBSINIT))
-PACKLDFLAGS:=$(LDFLAGS) $(@PACKAGE@LIBSINIT:%=-Wl,-u,_G__cpp_setupG__%)
-# On Mac OS X gcc we need g2c for versions before 10.4
-ifneq ($(MACOSX_MINOR),4)
-ELIBS+=g2c
-ELIBSDIR+=$(dir $(shell find $(FINK_ROOT) -name 'libg2c.*'))
-endif
+PACKLDFLAGS:=$(LDFLAGS) $(ELIBS:%=-Wl,-u,_G__cpp_setupG__%)
 endif
index 1c6fdeadd07bd2e146a880a292e868bf29958394..35886c6b9e168147df9ae0856b99acae5ef185ee 100644 (file)
@@ -16,11 +16,15 @@ EINCLUDE+=TPC CONTAINERS ITS RAW HLT/src HLT/hough HLT/comp HLT/ITS
 ifdef DATE_ROOT
 
 ELIBSDIR:=${DATE_MONITOR_DIR}/${DATE_SYS}
-ELIBS:=ESD STEER RAWData TPCbase TPCsim TPCrec CONTAINERS AliL3Src AliL3Misc AliL3Hough AliL3Comp AliL3ITS ITS monitor shift pythia6 pdf microcern
+ELIBS:=ESD STEER RAWData TPCbase TPCsim TPCrec CONTAINERS AliL3Src AliL3Misc AliL3Hough AliL3Comp AliL3ITS ITS monitor shift
 EINCLUDE+= ${DATE_COMMON_DEFS} ${DATE_MONITOR_DIR}
 
 else
 
-ELIBS:= pythia6 pdf microcern
+PACKBLIBS := $(ROOTCLIBS) $(SYSLIBS)
 
 endif
+
+ifneq (,$(findstring macosx,$(ALICE_TARGET)))
+PACKLDFLAGS:=$(LDFLAGS) $(ELIBS:%=-Wl,-u,_G__cpp_setupG__%)
+endif
index 0fffd5a08524270d100bbd237ce3d87544a421d2..2b75ebceaffed1dc0af2f61e980728f5709b72e9 100644 (file)
 #include "monitor.h"
 #endif
 
-#ifdef __APPLE__
-// avoid loading pythia and pdf
-#include <Hepevt.h>
-HEPEVT_DEF HEPEVT;
-#endif
-
 //_____________________________________________________________________________
 class AliGDCInterruptHandler : public TSignalHandler {
 public:
index 9dcb358bcf903afb5ffddbd36d25d3100c70b56f..dc0c925d1c2b685be83a8f544ee90d67388711ad 100644 (file)
 #include <AliL3ITStracker.h>
 #endif
 
-#ifdef __APPLE__
-// avoid loading pythia and pdf
-#include <Hepevt.h>
-HEPEVT_DEF HEPEVT;
-#endif
-
 //_____________________________________________________________________________
 class AliGDCInterruptHandler : public TSignalHandler {
 public:
index ee56ad3baeaa19c935fba1b08dbffabfc77dc622..3e433873f9a27a583e6a1c01cbf9842b3e6d2632 100644 (file)
@@ -9,8 +9,6 @@ PACKDCXXFLAGS:= ${HLTDCXXFLAGS}
 
 SRCS:= alimdc_main.cxx ${ESRCS}
 
-#EDEFINE+= -DUSE_EB
-
 EINCLUDE+=TPC CONTAINERS ITS RAW HLT/src HLT/hough HLT/comp HLT/ITS
 # -DUSE_DEBUG for alimdc debug printout