No optimization with g95
[u/mrichter/AliRoot.git] / DPMJET / libdpmjet.pkg
index b1cf492b06174850a910b13e1d55936156d07053..9b898a9d5cfe8ba50f64f5b416b25771d9b4e181 100644 (file)
@@ -1,9 +1,23 @@
+#-*- Mode: Makefile -*-
+
+SRCS:=AliDpmJetRndm.cxx
+
+HDRS= $(SRCS:.cxx=.h) 
+
+DHDR:=dpmjetLinkDef.h
+
 FSRCS:= \
-dpmjet3.0-4.f \
-phojet1.12-35c.f \
-pythia6115.f \
-user3.0-4.f
-
-EINCLUDE:=$(ALICE_ROOT)/DPMJET/flukapro
-SHLIB += -L $(ALICE_ROOT)/DPMJET -lflukahp
-PACKFFLAGS:=   -fno-second-underscore -malign-double
+dpmjet3.0-5.f\
+phojet1.12-35c3.f\
+pythia6115dpm3.f\
+user3.0-5.f\
+openfile.f
+
+ifeq (g95,$(F77))
+PACKFFLAGS := $(filter-out -O%,$(FFLAGS))
+endif
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lmicrocern
+endif