Merge with TRD-develop
[u/mrichter/AliRoot.git] / TRD / Makefile
index 7d86e70..312289e 100644 (file)
@@ -11,11 +11,30 @@ 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
 
@@ -60,6 +79,8 @@ depend:                               $(SRCS)
 
 TOCLEAN                        = $(OBJS) *Cint.h *Cint.cxx
 
+CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
 ############################### General Macros ################################
 
 include $(ALICE_ROOT)/conf/GeneralMacros
@@ -68,13 +89,6 @@ include $(ALICE_ROOT)/conf/GeneralMacros
 
 -include tgt_$(ALICE_TARGET)/Make-depend 
 
-### Target check creates violation reports (.viol), which depend on
-### stripped files (.ii), which in turn depend on preprocessed
-### files (.i). Dependences are in conf/GeneralDef.
-
-CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
-
-check:          $(CHECKS)