1 ############################### TRD Makefile ##################################
3 # Include machine specific definitions
5 include $(ALICE_ROOT)/conf/GeneralDef
6 include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
14 SRCS = AliTRD.cxx AliTRDv0.cxx AliTRDv1.cxx \
15 AliTRDhit.cxx AliTRDdigit.cxx \
16 AliTRDpixel.cxx AliTRDmatrix.cxx \
17 AliTRDgeometry.cxx AliTRDgeometryFull.cxx \
18 AliTRDgeometryHole.cxx AliTRDdigitizer.cxx \
19 AliTRDclusterizer.cxx AliTRDclusterizerV0.cxx \
20 AliTRDclusterizerV1.cxx AliTRDrecPoint.cxx \
21 AliTRDsegmentArray.cxx AliTRDdataArray.cxx \
22 AliTRDdataArrayI.cxx AliTRDdataArrayF.cxx \
23 AliTRDdigitsManager.cxx \
24 AliTRDsegmentID.cxx AliTRDsegmentArrayBase.cxx \
25 AliTRDarrayI.cxx AliTRDarrayF.cxx
29 HDRS = $(SRCS:.cxx=.h) TRDLinkDef.h
34 DICTH = $(DICT:.cxx=.h)
35 DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
39 FOBJS = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
43 COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
47 OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
49 # C++ compilation flags
51 CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include
53 # FORTRAN compilation flags
61 SLIBRARY = $(LIBDIR)/libTRD.$(SL)
62 ALIBRARY = $(LIBDIR)/libTRD.a
66 $(LIBDIR)/libTRD.$(SL): $(OBJS)
72 TOCLEAN = $(OBJS) *Cint.h *Cint.cxx
74 CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
76 ############################### General Macros ################################
78 include $(ALICE_ROOT)/conf/GeneralMacros
80 ############################ Dependencies #####################################
82 -include tgt_$(ALICE_TARGET)/Make-depend