Include the new TRD classes
[u/mrichter/AliRoot.git] / TRD / Makefile
CommitLineData
fe4da5cc 1############################### TRD Makefile ##################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8# Package name
9
10PACKAGE = TRD
11
12# C++ sources
13
851d3db9 14SRCS = 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 \
22 AliTRDarrayI.cxx
fe4da5cc 23
24# C++ Headers
25
26HDRS = $(SRCS:.cxx=.h) TRDLinkDef.h
27
28# Library dictionary
29
30DICT = TRDCint.cxx
31DICTH = $(DICT:.cxx=.h)
4adb943a 32DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 33
34# FORTRAN Objectrs
35
4adb943a 36FOBJS = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 37
38# C Objects
39
4adb943a 40COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
fe4da5cc 41
42# C++ Objects
43
4adb943a 44OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 45
46# C++ compilation flags
47
48CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include
49
50# FORTRAN compilation flags
51
52FFLAGS = $(FOPT)
53
54##### TARGETS #####
55
56# Target
57
cb342460 58SLIBRARY = $(LIBDIR)/libTRD.$(SL)
59ALIBRARY = $(LIBDIR)/libTRD.a
fe4da5cc 60
31ccd13b 61default: $(SLIBRARY)
fe4da5cc 62
cb342460 63$(LIBDIR)/libTRD.$(SL): $(OBJS)
fe4da5cc 64
65TRDCint.cxx: $(HDRS)
66
fe4da5cc 67depend: $(SRCS)
68
69TOCLEAN = $(OBJS) *Cint.h *Cint.cxx
70
71############################### General Macros ################################
72
73include $(ALICE_ROOT)/conf/GeneralMacros
74
75############################ Dependencies #####################################
76
1207d6f2 77-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 78
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.
82
83CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
84
85check: $(CHECKS)
86
87
88
89
90
91
92