cuts on Q out, side, long added
[u/mrichter/AliRoot.git] / MINICERN / Makefile
index 33d23bb..e82c865 100644 (file)
@@ -33,6 +33,7 @@ FSRCS = dummies.F hbcdf.F fzdummies.F \
          mathlib/gen/d/gauss.F \
          mathlib/gen/d/gauss128.F \
          mathlib/gen/d/gauss64.F \
+         mathlib/gen/g/prob.F \
          mathlib/gen/n/mtlprt.F \
          mathlib/gen/n/mtlset.F \
          mathlib/gen/v/ranlux.F \
@@ -55,6 +56,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 \
@@ -86,6 +88,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 \
@@ -272,9 +275,9 @@ endif
 
 CXXSRC =
 
-FOBJ   = $(FSRC:.F=.o)
-COBJ   = $(CSRC:.c=.o)
-CXXOBJ = $(CXXSRC:.cxx=.o)
+FOBJ   = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRC))
+COBJ   = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRC))
+CXXOBJ = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(CXXSRC))
 
 SRCS   = $(FSRC) $(CSRC) $(CXXSRC)
 OBJS   = $(FOBJ) $(COBJ) $(CXXOBJ)
@@ -283,17 +286,17 @@ OBJS      = $(FOBJ) $(COBJ) $(CXXOBJ)
  
 # Target
 
-SLIBRARY       = $(ALICE_ROOT)/lib/libminicern.$(SL)
-ALIBRARY       = $(ALICE_ROOT)/lib/libminicern.a
+SLIBRARY       = $(LIBDIR)/libminicern.$(SL)
+ALIBRARY       = $(LIBDIR)/libminicern.a
 
 ifeq ($(PLATFORM),alpha)
-        default:       $(ALIBRARY)
+        default:       $(ALIBRARY) $(SLIBRARY)
 else
         default:       $(SLIBRARY)
 endif
 
-$(ALICE_ROOT)/lib/libminicern.$(SL):  $(OBJS)
-$(ALICE_ROOT)/lib/libminicern.a:  $(OBJS)
+$(LIBDIR)/libminicern.$(SL):  $(OBJS)
+$(LIBDIR)/libminicern.a:  $(OBJS)
 
 depend:                        $(SRCS)
 
@@ -305,4 +308,4 @@ include $(ALICE_ROOT)/conf/GeneralMacros
 
 ############################ Dependencies #####################################
 
-include Make-depend 
+-include tgt_$(ALICE_TARGET)/Make-depend