Changes needed by ICC/IFC compiler (Intel)
[u/mrichter/AliRoot.git] / MINICERN / Makefile
index 8687472be326f76ee889732dd1bcd2e93197c9a8..94f8f860a1c36066635c3555e566ccf9be7ca4b7 100644 (file)
@@ -9,27 +9,30 @@ PACKAGE = minicern
 
 INC    = -Ipacklib/zebra \
           -Ipacklib/kernlib/kerngen \
-         -Imathlib/gen \
-         -Ipacklib/kernlib/kernnum
+         -Imathlib/gen \
+         -Ipacklib/kernlib/kernnum \
+      -Ipacklib/kernlib/kerngen/kerngen
+
 
 # C++ compilation flags
 
 CXXFLAGS      = $(CXXOPTS) $(CLIBCXXOPTS) $(INC) $(CLIBDEFS)
+
 # C compilation flags
 
 CFLAGS      = $(COPT) $(CLIBCOPT) $(INC) $(CLIBDEFS)
+
 # FORTRAN compilation flags
 
 FFLAGS      = $(FOPT) $(CLIBFOPT) $(INC) $(CLIBDEFS)
+
 FSRCS  = dummies.F hbcdf.F fzdummies.F \
          mathlib/gen/b/atg.F \
          mathlib/gen/c/gamma.F \
          mathlib/gen/c/gamma128.F \
          mathlib/gen/c/gamma64.F \
+         mathlib/gen/c/erf64.F \
+         mathlib/gen/c/erf128.F \
          mathlib/gen/d/gauss.F \
          mathlib/gen/d/gauss128.F \
          mathlib/gen/d/gauss64.F \
@@ -56,6 +59,7 @@ FSRCS = dummies.F hbcdf.F fzdummies.F \
          packlib/kernlib/kerngen/tcgen/lenocc.F \
          packlib/kernlib/kerngen/tcgen/lorenf.F \
          packlib/kernlib/kerngen/tcgen/ranmar.F \
+         packlib/kernlib/kerngen/tcgen/sortzv.F \
          packlib/kernlib/kerngen/tcgen/traceq.F \
          packlib/kernlib/kerngen/tcgen/ubits.F \
          packlib/kernlib/kerngen/tcgen/uoptc.F \
@@ -87,6 +91,7 @@ FSRCS = dummies.F hbcdf.F fzdummies.F \
          packlib/kernlib/kerngen/tcgens/vfill.F \
          packlib/kernlib/kerngen/tcgens/vmax.F \
          packlib/kernlib/kerngen/tcgens/vmod.F \
+         packlib/kernlib/kerngen/tcgens/vscale.F \
          packlib/kernlib/kerngen/tcgens/vunit.F \
          packlib/kernlib/kerngen/tcgens/vzero.F \
          packlib/kernlib/kernnum/e104fort/fint.F \
@@ -219,8 +224,7 @@ FSRCS       = dummies.F hbcdf.F fzdummies.F \
          packlib/zebra/rz/rzver2.F \
          packlib/zebra/rz/rzveri.F \
          packlib/zebra/rz/rzwrt.F \
+
 ifeq ($(PLATFORM),linux)
          FSRC = $(FSRCS) \
          packlib/kernlib/kerngen/unix/lnxgs/rdmin.F
@@ -252,8 +256,8 @@ CSRCS       = \
          packlib/kernlib/kerngen/ccgencf/cfstati.c \
          packlib/kernlib/kerngen/ccgenu/fchput.c \
          packlib/kernlib/kerngen/ccgenu/fchtak.c \
-         packlib/kernlib/kerngen/ccgen/datime.c \
+         packlib/kernlib/kerngen/ccgen/datime.c \
+
 ifeq ($(PLATFORM),linux)
          CSRC = $(CSRCS) \
          packlib/kernlib/kerngen/unix/lnxgs/ishftr.c
@@ -269,7 +273,7 @@ endif
 ifeq ($(PLATFORM),alpha)
          CSRC = $(CSRCS) 
 endif
-       
+
 
 CXXSRC =
 
@@ -281,14 +285,14 @@ SRCS      = $(FSRC) $(CSRC) $(CXXSRC)
 OBJS   = $(FOBJ) $(COBJ) $(CXXOBJ)
 
 ##### TARGETS #####
+
 # Target
 
 SLIBRARY       = $(LIBDIR)/libminicern.$(SL)
 ALIBRARY       = $(LIBDIR)/libminicern.a
 
 ifeq ($(PLATFORM),alpha)
-        default:       $(ALIBRARY)
+        default:       $(ALIBRARY) $(SLIBRARY)
 else
         default:       $(SLIBRARY)
 endif
@@ -306,4 +310,4 @@ include $(ALICE_ROOT)/conf/GeneralMacros
 
 ############################ Dependencies #####################################
 
--include Make-depend 
+-include tgt_$(ALICE_TARGET)/Make-depend