]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/Makefile
New ITS code replacing the old structure and simulations code.
[u/mrichter/AliRoot.git] / STEER / Makefile
index 7a9a5497fe1cb7398f11125623590f12fb7c3f69..98a55ea1c1438fb4aec05a854ee36edf10b069f9 100644 (file)
@@ -9,33 +9,33 @@ PACKAGE = STEER
 
 # C++ sources
 
-SRCS          = AliDetector.cxx  AliHeader.cxx    AliMagF.cxx GParticle.cxx \
-                AliDigit.cxx     AliHit.cxx       AliPoints.cxx \
-                AliDisplay.cxx   AliMC.cxx        AliRun.cxx AliGenerator.cxx \
-               AliLego.cxx AliModule.cxx
-
+SRCS          = AliDetector.cxx        AliHeader.cxx   AliMagF.cxx \
+                AliDigit.cxx   AliHit.cxx      AliPoints.cxx \
+                AliDisplay.cxx AliMC.cxx       AliRun.cxx AliGenerator.cxx \
+               AliLego.cxx     AliModule.cxx   AliDigitNew.cxx \
+               AliGeometry.cxx AliRecPoint.cxx 
 
 # C++ Headers
 
-HDRS          = $(SRCS:.cxx=.h) STEERLinkDef.h
+HDRS          = $(SRCS:.cxx=.h) AliPDG.h STEERLinkDef.h
 
 # Library dictionary
 
 DICT          = STEERCint.cxx
 DICTH         = $(DICT:.cxx=.h)
-DICTO         = $(DICT:.cxx=.o)
+DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
 
 # FORTRAN Objectrs
 
-FOBJS         = $(FSRCS:.f=.o)
+FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
 
 # C Objects
 
-COBJS         = $(CSRCS:.c=.o)
+COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
 
 # C++ Objects
 
-OBJS          = $(SRCS:.cxx=.o) $(DICTO)
+OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
 
 # C++ compilation flags
 
@@ -49,25 +49,35 @@ FFLAGS      = $(FOPT)
  
 # Target
 
-SLIBRARY       = $(ALICE_ROOT)/lib/libSTEER.$(SL)
-ALIBRARY       = $(ALICE_ROOT)/lib/libSTEER.a
+SLIBRARY       = $(LIBDIR)/libSTEER.$(SL)
+ALIBRARY       = $(LIBDIR)/lib/libSTEER.a
 
-default:       $(SLIBRARY) headers
+default:       $(SLIBRARY)
 
-$(ALICE_ROOT)/lib/libSTEER.$(SL):              $(OBJS)
+$(LIBDIR)/libSTEER.$(SL):              $(OBJS)
 
 $(DICT):                               $(HDRS)
 
 depend:                                        $(SRCS)
 
-HEADERS =      $(filter-out %LinkDef.h,$(HDRS) AliConst.h AliCallf77.h)
+HEADERS =      $(filter-out %LinkDef.h,$(HDRS) AliConst.h AliCallf77.h \
+                  Copyright.h)
 
 TOCLEAN                = $(OBJS) *Cint.cxx *Cint.h
 
+CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
 ############################### General Macros ################################
 
 include $(ALICE_ROOT)/conf/GeneralMacros
 
 ############################ Dependencies #####################################
 
-include Make-depend 
+-include tgt_$(ALICE_TARGET)/Make-depend 
+
+
+
+
+
+
+