Merge with TRD-develop
[u/mrichter/AliRoot.git] / TRD / Makefile
index 38ed748..312289e 100644 (file)
@@ -11,29 +11,48 @@ PACKAGE           = TRD
 
 # C++ sources
 
-SRCS          = AliTRD.cxx     AliTRDv0.cxx      AliTRDv1.cxx    AliTRDv2.cxx 
+SRCS          = AliTRD.cxx AliTRDv0.cxx AliTRDv1.cxx             \
+                AliTRDhit.cxx AliTRDdigit.cxx                    \
+               AliTRDpixel.cxx AliTRDmatrix.cxx                 \
+                AliTRDgeometry.cxx AliTRDgeometryFull.cxx        \
+                AliTRDgeometryHole.cxx AliTRDdigitizer.cxx       \
+                AliTRDclusterizer.cxx AliTRDclusterizerV0.cxx    \
+                AliTRDclusterizerV1.cxx AliTRDrecPoint.cxx       \
+                AliTRDsegmentArray.cxx AliTRDdataArray.cxx       \
+                AliTRDdataArrayI.cxx AliTRDdataArrayF.cxx        \
+                AliTRDdigitsManager.cxx AliTRDsim.cxx            \
+                AliTRDsegmentID.cxx AliTRDsegmentArrayBase.cxx   \
+                AliTRDarrayI.cxx AliTRDarrayF.cxx                \
+                AliTRDpoints.cxx AliTRDtimeBin.cxx               \
+                AliTRDtrackingSector.cxx                         \
+                AliTRDtrack.cxx AliTRDtracker.cxx                \
+                AliTRDcluster.cxx         
 
 # C++ Headers
 
-HDRS          = $(SRCS:.cxx=.h) TRDLinkDef.h
+HDRS          = $(SRCS:.cxx=.h)                \
+                $(ROOTSYS)/include/TF1.h       \
+                $(ROOTSYS)/include/TFile.h     \
+                $(ROOTSYS)/include/TObjArray.h \
+                TRDLinkDef.h
 
 # Library dictionary
 
 DICT          = TRDCint.cxx
 DICTH         = $(DICT:.cxx=.h)
-DICTO         = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DICT))
+DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
 
 # FORTRAN Objectrs
 
-FOBJS         = $(patsubst %.f,$(ALICE_TARGET)/%.o,$(FSRCS))
+FOBJS         = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
 
 # C Objects
 
-COBJS         = $(patsubst %.c,$(ALICE_TARGET)/%.o,$(CSRCS))
+COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
 
 # C++ Objects
 
-OBJS          = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
+OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
 
 # C++ compilation flags
 
@@ -60,10 +79,20 @@ depend:                             $(SRCS)
 
 TOCLEAN                        = $(OBJS) *Cint.h *Cint.cxx
 
+CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
 ############################### General Macros ################################
 
 include $(ALICE_ROOT)/conf/GeneralMacros
 
 ############################ Dependencies #####################################
 
--include Make-depend 
+-include tgt_$(ALICE_TARGET)/Make-depend 
+
+
+
+
+
+
+
+