]>
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 \ |
23efe5f1 | 47 | AliV0vertex.cxx AliV0vertexer.cxx |
0b9c1447 | 48 | # AliITSAlignmentTrack.cxx AliITSAlignmentModule.cxx \ |
e8189707 | 49 | |
fe4da5cc | 50 | # Fortran sources |
51 | ||
766ac21b | 52 | FSRCS = |
fe4da5cc | 53 | |
54 | # C++ Headers | |
55 | ||
56 | HDRS = $(SRCS:.cxx=.h) ITSLinkDef.h | |
57 | ||
58 | # Library dictionary | |
59 | ||
60 | DICT = ITSCint.cxx | |
61 | DICTH = $(DICT:.cxx=.h) | |
4adb943a | 62 | DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT)) |
fe4da5cc | 63 | |
64 | # FORTRAN Objectrs | |
65 | ||
4adb943a | 66 | FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS)) |
fe4da5cc | 67 | |
68 | # C Objects | |
69 | ||
4adb943a | 70 | COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS)) |
fe4da5cc | 71 | |
72 | # C++ Objects | |
73 | ||
4adb943a | 74 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) |
fe4da5cc | 75 | |
76 | # C++ compilation flags | |
77 | ||
cbfdea0d | 78 | CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I../TGeant3 -I$(ALICE_ROOT)/include/ -I$(ALICE_ROOT)/TPC -I$(ALICE_ROOT)/CONTAINERS |
71574c3c | 79 | |
fe4da5cc | 80 | # FORTRAN compilation flags |
81 | ||
82 | FFLAGS = $(FOPT) -I$(ALICE_ROOT)/GEANT321 | |
83 | ||
84 | ##### TARGETS ##### | |
71574c3c | 85 | |
fe4da5cc | 86 | # Target |
87 | ||
cb342460 | 88 | SLIBRARY = $(LIBDIR)/libITS.$(SL) |
89 | ALIBRARY = $(LIBDIR)/libITS.a | |
fe4da5cc | 90 | |
91 | default: $(SLIBRARY) | |
92 | ||
58005f18 | 93 | |
cb342460 | 94 | $(LIBDIR)/libITS.$(SL): $(OBJS) |
fe4da5cc | 95 | |
96 | $(DICT): $(HDRS) | |
97 | ||
71574c3c | 98 | DEPINC += -I$(ALICE_ROOT)/GEANT321 -I$(ALICE_ROOT)/TPC |
fe4da5cc | 99 | |
100 | depend: $(SRCS) $(FSRCS) | |
101 | ||
102 | TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h | |
103 | ||
7a9a209a | 104 | CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) |
105 | ||
fe4da5cc | 106 | ############################### General Macros ################################ |
107 | ||
108 | include $(ALICE_ROOT)/conf/GeneralMacros | |
109 | ||
110 | ############################ Dependencies ##################################### | |
111 | ||
1207d6f2 | 112 | -include tgt_$(ALICE_TARGET)/Make-depend |
ed79e3fa | 113 | |
e8189707 | 114 |