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