]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - DPMJET/libdpmjet.pkg
Technical fix: additional protection in the printout
[u/mrichter/AliRoot.git] / DPMJET / libdpmjet.pkg
index f2ff1fca067e2bd0a59515dee5fecfcee4fd7274..31fbd9d935cea0228638b332d405d457eecaaf21 100644 (file)
@@ -1,3 +1,6 @@
+#-*- Mode: Makefile -*-
+
+
 SRCS:=AliDpmJetRndm.cxx
 
 HDRS= $(SRCS:.cxx=.h) 
@@ -7,10 +10,15 @@ DHDR:=dpmjetLinkDef.h
 FSRCS:= \
 dpmjet3.0-5.f\
 phojet1.12-35c3.f\
-pythia6115dpm3.f\
 user3.0-5.f\
 openfile.f
 
-EINCLUDE:= $(FLUPRO)/flukapro
-SHLIB += -L $(FLUPRO) -lflukahp
-PACKFFLAGS:=   -fno-second-underscore -malign-double
+
+ifeq (g95,$(F77))
+PACKFFLAGS := $(filter-out -O%,$(FFLAGS))
+endif
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lmicrocern
+endif