]>
Commit | Line | Data |
---|---|---|
fe4da5cc | 1 | ############################### ITS 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 = ITS | |
9 | ||
10 | # C++ sources | |
11 | ||
e8189707 | 12 | SRCS = AliITS.cxx AliITSv1.cxx AliITSv3.cxx AliITSv5.cxx \ |
c39b3e9d | 13 | AliITSv5symm.cxx AliITSv5asymm.cxx \ |
14 | AliITSvPPRcoarseasymm.cxx AliITSvPPRcoarsesymm.cxx\ | |
d71b3de6 | 15 | AliITSvPPRasymm.cxx AliITSvPPRsymm.cxx\ |
c39b3e9d | 16 | AliITShit.cxx AliITSDetType.cxx \ |
0b9c1447 | 17 | AliITSgeom.cxx AliITSgeomMatrix.cxx \ |
c39b3e9d | 18 | AliITSgeomSPD.cxx AliITSgeomSDD.cxx \ |
e8189707 | 19 | AliITSgeomSSD.cxx AliITSmodule.cxx \ |
2aefa263 | 20 | AliITSGeant3Geometry.cxx \ |
e8189707 | 21 | AliITSsimulationFastPoints.cxx \ |
22 | AliITSsimulationFastPointsV0.cxx AliITSsimulation.cxx \ | |
21b825a4 | 23 | AliITSsimulationSPD.cxx AliITSsimulationSPDdubna.cxx \ |
d74f5aa8 | 24 | AliITSsimulationSDD.cxx \ |
e8189707 | 25 | AliITSetfSDD.cxx AliITSsimulationSSD.cxx AliITSdcsSSD.cxx \ |
26 | AliITSdigit.cxx AliITSRawCluster.cxx AliITSRecPoint.cxx \ | |
0b9c1447 | 27 | AliITSMap.cxx AliITSMapA1.cxx AliITSMapA2.cxx \ |
2134176d | 28 | AliITSpList.cxx \ |
e8189707 | 29 | AliITSsegmentation.cxx AliITSsegmentationSPD.cxx \ |
30 | AliITSsegmentationSDD.cxx AliITSsegmentationSSD.cxx\ | |
31 | AliITSresponse.cxx AliITSresponseSPD.cxx \ | |
21b825a4 | 32 | AliITSresponseSPDdubna.cxx \ |
e8189707 | 33 | AliITSresponseSDD.cxx AliITSresponseSSD.cxx \ |
34 | AliITSClusterFinder.cxx AliITSClusterFinderSPD.cxx \ | |
21b825a4 | 35 | AliITSClusterFinderSPDdubna.cxx \ |
e8189707 | 36 | AliITSClusterFinderSDD.cxx AliITSRawData.cxx \ |
37 | AliITSHuffman.cxx AliITSClusterFinderSSD.cxx \ | |
38 | AliITSclusterSSD.cxx AliITSpackageSSD.cxx \ | |
8253cd9a | 39 | AliITSdictSSD.cxx \ |
55b5a0b3 | 40 | AliITSstatistics.cxx AliITSstatistics2.cxx \ |
f82e7fb9 | 41 | AliITSTrackV1.cxx AliITSIOTrack.cxx \ |
42 | AliITSRad.cxx AliITSgeoinfo.cxx AliITSTrackerV1.cxx\ | |
006b5f7f | 43 | AliITSvtest.cxx \ |
88eccb61 | 44 | AliITSclusterV2.cxx AliITStrackV2.cxx AliITStrackerV2.cxx \ |
23efe5f1 | 45 | AliITSPid.cxx AliITStrackV2Pid.cxx \ |
7f6ddf58 | 46 | AliITSVertex.cxx \ |
a9a2d814 | 47 | AliV0vertex.cxx AliV0vertexer.cxx \ |
48 | AliCascadeVertex.cxx AliCascadeVertexer.cxx | |
0b9c1447 | 49 | # AliITSAlignmentTrack.cxx AliITSAlignmentModule.cxx \ |
e8189707 | 50 | |
fe4da5cc | 51 | # Fortran sources |
52 | ||
766ac21b | 53 | FSRCS = |
fe4da5cc | 54 | |
55 | # C++ Headers | |
56 | ||
57 | HDRS = $(SRCS:.cxx=.h) ITSLinkDef.h | |
58 | ||
59 | # Library dictionary | |
60 | ||
61 | DICT = ITSCint.cxx | |
62 | DICTH = $(DICT:.cxx=.h) | |
4adb943a | 63 | DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT)) |
fe4da5cc | 64 | |
65 | # FORTRAN Objectrs | |
66 | ||
4adb943a | 67 | FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS)) |
fe4da5cc | 68 | |
69 | # C Objects | |
70 | ||
4adb943a | 71 | COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS)) |
fe4da5cc | 72 | |
73 | # C++ Objects | |
74 | ||
4adb943a | 75 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) |
fe4da5cc | 76 | |
77 | # C++ compilation flags | |
78 | ||
cbfdea0d | 79 | CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I../TGeant3 -I$(ALICE_ROOT)/include/ -I$(ALICE_ROOT)/TPC -I$(ALICE_ROOT)/CONTAINERS |
71574c3c | 80 | |
fe4da5cc | 81 | # FORTRAN compilation flags |
82 | ||
83 | FFLAGS = $(FOPT) -I$(ALICE_ROOT)/GEANT321 | |
84 | ||
85 | ##### TARGETS ##### | |
71574c3c | 86 | |
fe4da5cc | 87 | # Target |
88 | ||
cb342460 | 89 | SLIBRARY = $(LIBDIR)/libITS.$(SL) |
90 | ALIBRARY = $(LIBDIR)/libITS.a | |
fe4da5cc | 91 | |
92 | default: $(SLIBRARY) | |
93 | ||
58005f18 | 94 | |
cb342460 | 95 | $(LIBDIR)/libITS.$(SL): $(OBJS) |
fe4da5cc | 96 | |
97 | $(DICT): $(HDRS) | |
98 | ||
71574c3c | 99 | DEPINC += -I$(ALICE_ROOT)/GEANT321 -I$(ALICE_ROOT)/TPC |
fe4da5cc | 100 | |
101 | depend: $(SRCS) $(FSRCS) | |
102 | ||
103 | TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h | |
104 | ||
7a9a209a | 105 | CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) |
106 | ||
fe4da5cc | 107 | ############################### General Macros ################################ |
108 | ||
109 | include $(ALICE_ROOT)/conf/GeneralMacros | |
110 | ||
111 | ############################ Dependencies ##################################### | |
112 | ||
1207d6f2 | 113 | -include tgt_$(ALICE_TARGET)/Make-depend |
ed79e3fa | 114 | |
e8189707 | 115 |