Compilation on win32gcc: AliGenBeamGasNew moved to THijing to avoid circular dependence
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 Feb 2008 07:36:44 +0000 (07:36 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 Feb 2008 07:36:44 +0000 (07:36 +0000)
EVGEN/EVGENLinkDef.h
EVGEN/libEVGEN.pkg
THijing/AliGenBeamGasNew.cxx [moved from EVGEN/AliGenBeamGasNew.cxx with 100% similarity]
THijing/AliGenBeamGasNew.h [moved from EVGEN/AliGenBeamGasNew.h with 100% similarity]
THijing/THijingLinkDef.h
THijing/libTHijing.pkg

index 1c719f7..07218a7 100644 (file)
@@ -47,7 +47,6 @@
 #pragma link C++ class  AliGenGeVSimEventHeader+;
 #pragma link C++ class  AliGeVSimParticle+;
 #pragma link C++ class  AliGenBeamGas+;
-#pragma link C++ class  AliGenBeamGasNew+;
 #pragma link C++ class  AliGenAfterBurnerFlow+;
 #pragma link C++ class  AliGenSlowNucleons+;
 #pragma link C++ class  AliSlowNucleonModel+;
index 35d713e..1893620 100644 (file)
@@ -1,3 +1,5 @@
+#-*- Mode: Makefile -*-
+
 SRCS          = AliGenHIJINGpara.cxx AliGenBox.cxx AliGenFixed.cxx \
                 AliGenCocktail.cxx AliGenCocktailAfterBurner.cxx AliGenFLUKAsource.cxx \
                 AliGenLib.cxx \
@@ -11,7 +13,7 @@ SRCS          = AliGenHIJINGpara.cxx AliGenBox.cxx AliGenFixed.cxx \
                AliGenReader.cxx AliGenReaderCwn.cxx AliGenReaderTreeK.cxx \
                 AliGenReaderEcalHijing.cxx AliGenReaderEcalJets.cxx\
                AliGenHIJINGparaBa.cxx AliGeVSimParticle.cxx AliGenGeVSim.cxx\
-               AliGenThetaSlice.cxx AliGenSTRANGElib.cxx AliGenBeamGas.cxx AliGenBeamGasNew.cxx\
+               AliGenThetaSlice.cxx AliGenSTRANGElib.cxx AliGenBeamGas.cxx \
                AliGenAfterBurnerFlow.cxx \
                AliGenSlowNucleons.cxx \
                AliGenGeVSimEventHeader.cxx\
@@ -31,4 +33,8 @@ EXPORT:=AliDecayer.h AliGenMC.h AliGenCocktailAfterBurner.h AliGenCocktail.h
 
 EINCLUDE:=FASTSIM THijing PYTHIA6
 
-
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lSTEER -lESD -lSTEERbase -lFASTSIM \
+                         -L$(shell root-config --libdir) -lVMC -lEG
+endif
index 667e4c1..a4dce32 100644 (file)
@@ -6,4 +6,5 @@
  
 #pragma link C++ class THijing+;
 #pragma link C++ class AliGenHijing+;
+#pragma link C++ class  AliGenBeamGasNew+;
 #endif
index faa4df3..04e48b2 100644 (file)
@@ -1,4 +1,6 @@
-SRCS= THijing.cxx AliGenHijing.cxx
+#-*- Mode: Makefile -*-
+
+SRCS= THijing.cxx AliGenHijing.cxx AliGenBeamGasNew.cxx
 
 HDRS= $(SRCS:.cxx=.h) 
 
@@ -6,4 +8,10 @@ DHDR:=THijingLinkDef.h
 
 EXPORT:=THijing.h
 
-EINCLUDE:=HIJING
+EINCLUDE:=HIJING EVGEN
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lEVGEN -lSTEER -lSTEERBase -lhijing \
+                         -L$(shell root-config --libdir) -lEG
+endif