]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Avoid linking with Pythia
authoralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 14 Jun 2005 10:49:36 +0000 (10:49 +0000)
committeralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 14 Jun 2005 10:49:36 +0000 (10:49 +0000)
RAW/alimdc_main.cxx
RAW/binalimdc.pkg

index 61b19dd7b60e13e7c5c20de37e946b1b1369300e..e37fdbcb84361282aa7486ce2bc05be484289e65 100644 (file)
@@ -33,6 +33,12 @@ extern "C" {
 
 #include "AliMDC.h"
 
+#ifdef __APPLE__
+// avoid loading pythia and pdf
+#include <Hepevt.h>
+HEPEVT_DEF HEPEVT;
+#endif
+
 //______________________________________________________________________________
 static void AliMDCErrorHandler(int level, Bool_t abort, const char *location,
                                const char *msg)
index 9bab0897b5f73cc12403ba8f6432f7c46dfebe2a..ee56ad3baeaa19c935fba1b08dbffabfc77dc622 100644 (file)
@@ -14,17 +14,10 @@ SRCS:= alimdc_main.cxx ${ESRCS}
 EINCLUDE+=TPC CONTAINERS ITS RAW HLT/src HLT/hough HLT/comp HLT/ITS
 # -DUSE_DEBUG for alimdc debug printout
 
-ELIBS:=ESD RAWData MDC MDCFilter STEER TPCbase TPCsim TPCrec CONTAINERS AliL3Src AliL3Misc AliL3Hough AliL3Comp AliL3ITS ITS pythia6 pdf microcern
+ELIBS:=ESD RAWData MDC MDCFilter STEER TPCbase TPCsim TPCrec CONTAINERS AliL3Src AliL3Misc AliL3Hough AliL3Comp AliL3ITS ITS 
 
 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
 endif
 
 ifdef DATE_ROOT