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