Compilation on win32gcc: AliGenBeamGasNew moved to THijing to avoid circular dependence
[u/mrichter/AliRoot.git] / THijing / libTHijing.pkg
index faa4df396fa17a2991d8e4151808c0f3cdcac16c..04e48b2659d088e22bbfe7c60b4a5e0b972f2743 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