No optimization with g95
[u/mrichter/AliRoot.git] / DPMJET / libdpmjet.pkg
index 88e1815b29e25f84a7b3d7e822e68838d0ddaba2..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:= $(FLUPRO)/flukapro
-SHLIB += -L $(FLUPRO) -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