]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/Makefile
Bugfix in AliPoints2Memory
[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 \
15                 AliTRDv0.cxx \
16                 AliTRDv1.cxx \
17                 AliTRDv2.cxx \
18                 AliTRDhit.cxx \
19                 AliTRDdigit.cxx \
20                 AliTRDpixel.cxx \
21                 AliTRDmatrix.cxx \
22                 AliTRDgeometry.cxx \
23                 AliTRDgeometryFull.cxx \
24                 AliTRDgeometryHole.cxx \
25                 AliTRDdigitizer.cxx \
26                 AliTRDgeometryDetail.cxx \
27                 AliTRDclusterizer.cxx \
28                 AliTRDclusterizerV0.cxx \
29                 AliTRDclusterizerV1.cxx \
30                 AliTRDrecPoint.cxx \
31                 AliTRDsegmentArray.cxx \
32                 AliTRDdataArray.cxx \
33                 AliTRDdataArrayI.cxx \
34                 AliTRDdataArrayF.cxx \
35                 AliTRDdigitsManager.cxx \
36                 AliTRDsim.cxx \
37                 AliTRDsegmentID.cxx \
38                 AliTRDsegmentArrayBase.cxx \
39                 AliTRDarrayI.cxx \
40                 AliTRDarrayF.cxx \
41                 AliTRDpoints.cxx \
42                 AliTRDtrackHits.cxx \
43                 AliTRDtrack.cxx \
44                 AliTRDtracker.cxx \
45                 AliTRDcluster.cxx \
46                 AliTRDpid.cxx \
47                 AliTRDpidLQ.cxx \
48                 AliTRDmcTrack.cxx \
49                 AliTRDsimple.cxx \
50                 AliTRDsimpleMC.cxx \
51                 AliTRDsimpleGen.cxx \
52                 AliTRDparameter.cxx               
53
54 # C++ Headers
55
56 HDRS          = $(SRCS:.cxx=.h)                \
57                 $(ROOTSYS)/include/TF1.h       \
58                 $(ROOTSYS)/include/TFile.h     \
59                 $(ROOTSYS)/include/TObjArray.h \
60                 TRDLinkDef.h
61
62 # Library dictionary
63
64 DICT          = TRDCint.cxx
65 DICTH         = $(DICT:.cxx=.h)
66 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
67
68 # FORTRAN Objectrs
69
70 FOBJS         = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
71
72 # C Objects
73
74 COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
75
76 # C++ Objects
77
78 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
79
80 # C++ compilation flags
81
82 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include
83  
84 # FORTRAN compilation flags
85
86 FFLAGS      = $(FOPT)
87
88 ##### TARGETS #####
89  
90 # Target
91
92 SLIBRARY        = $(LIBDIR)/libTRD.$(SL)
93 ALIBRARY        = $(LIBDIR)/libTRD.a
94
95 default:        $(SLIBRARY)
96
97 $(LIBDIR)/libTRD.$(SL): $(OBJS)
98
99 TRDCint.cxx:                    $(HDRS)
100
101 depend:                         $(SRCS)
102
103 TOCLEAN                 = $(OBJS) *Cint.h *Cint.cxx
104
105 CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
106
107 ############################### General Macros ################################
108
109 include $(ALICE_ROOT)/conf/GeneralMacros
110
111 ############################ Dependencies #####################################
112
113 -include tgt_$(ALICE_TARGET)/Make-depend 
114
115
116
117
118
119
120
121