No optimization with g95
[u/mrichter/AliRoot.git] / DPMJET / libdpmjet.pkg
index f2ff1fca067e2bd0a59515dee5fecfcee4fd7274..9b898a9d5cfe8ba50f64f5b416b25771d9b4e181 100644 (file)
@@ -1,3 +1,5 @@
+#-*- Mode: Makefile -*-
+
 SRCS:=AliDpmJetRndm.cxx
 
 HDRS= $(SRCS:.cxx=.h) 
@@ -11,6 +13,11 @@ 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