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 AliTRDpixel.cxx AliTRDmatrix.cxx \
16 AliTRDgeometry.cxx AliTRDgeometryFull.cxx \
17 AliTRDgeometryHole.cxx AliTRDdigitizer.cxx \
18 AliTRDclusterizer.cxx AliTRDclusterizerV0.cxx \
19 AliTRDclusterizerV1.cxx AliTRDrecPoint.cxx \
20 AliTRDsegmentArray.cxx AliTRDdataArray.cxx \
21 AliTRDsegmentID.cxx AliTRDsegmentArrayBase.cxx \
26 HDRS = $(SRCS:.cxx=.h) TRDLinkDef.h
31 DICTH = $(DICT:.cxx=.h)
32 DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
36 FOBJS = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
40 COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
44 OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
46 # C++ compilation flags
48 CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include
50 # FORTRAN compilation flags
58 SLIBRARY = $(LIBDIR)/libTRD.$(SL)
59 ALIBRARY = $(LIBDIR)/libTRD.a
63 $(LIBDIR)/libTRD.$(SL): $(OBJS)
69 TOCLEAN = $(OBJS) *Cint.h *Cint.cxx
71 ############################### General Macros ################################
73 include $(ALICE_ROOT)/conf/GeneralMacros
75 ############################ Dependencies #####################################
77 -include tgt_$(ALICE_TARGET)/Make-depend
79 ### Target check creates violation reports (.viol), which depend on
80 ### stripped files (.ii), which in turn depend on preprocessed
81 ### files (.i). Dependences are in conf/GeneralDef.
83 CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))