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 \ |
2eaa6ebb |
24 | AliITSsimulationSDD.cxx AliITSTableSSD.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 \ |
55b5a0b3 |
39 | AliITSstatistics.cxx AliITSstatistics2.cxx \ |
f82e7fb9 |
40 | AliITSTrackV1.cxx AliITSIOTrack.cxx \ |
41 | AliITSRad.cxx AliITSgeoinfo.cxx AliITSTrackerV1.cxx\ |
006b5f7f |
42 | AliITSvtest.cxx \ |
88eccb61 |
43 | AliITSclusterV2.cxx AliITStrackV2.cxx AliITStrackerV2.cxx \ |
d8b00ff7 |
44 | AliITSPid.cxx AliITStrackV2Pid.cxx AliITSsDigitize.cxx \ |
e69020a0 |
45 | AliITSDigitizer.cxx AliITSreconstruction.cxx \ |
a9a2d814 |
46 | AliV0vertex.cxx AliV0vertexer.cxx \ |
1f26c323 |
47 | AliCascadeVertex.cxx AliCascadeVertexer.cxx \ |
48 | AliITSglobalRecPoint.cxx AliITSneuralTrack.cxx \ |
8db76038 |
49 | AliITSneuralTracker.cxx AliITSRiemannFit.cxx |
0b9c1447 |
50 | # AliITSAlignmentTrack.cxx AliITSAlignmentModule.cxx \ |
e8189707 |
51 | |
fe4da5cc |
52 | # Fortran sources |
53 | |
766ac21b |
54 | FSRCS = |
fe4da5cc |
55 | |
56 | # C++ Headers |
57 | |
58 | HDRS = $(SRCS:.cxx=.h) ITSLinkDef.h |
59 | |
60 | # Library dictionary |
61 | |
62 | DICT = ITSCint.cxx |
63 | DICTH = $(DICT:.cxx=.h) |
4adb943a |
64 | DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT)) |
fe4da5cc |
65 | |
66 | # FORTRAN Objectrs |
67 | |
4adb943a |
68 | FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS)) |
fe4da5cc |
69 | |
70 | # C Objects |
71 | |
4adb943a |
72 | COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS)) |
fe4da5cc |
73 | |
74 | # C++ Objects |
75 | |
4adb943a |
76 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) |
fe4da5cc |
77 | |
78 | # C++ compilation flags |
79 | |
cbfdea0d |
80 | CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I../TGeant3 -I$(ALICE_ROOT)/include/ -I$(ALICE_ROOT)/TPC -I$(ALICE_ROOT)/CONTAINERS |
71574c3c |
81 | |
fe4da5cc |
82 | # FORTRAN compilation flags |
83 | |
84 | FFLAGS = $(FOPT) -I$(ALICE_ROOT)/GEANT321 |
85 | |
86 | ##### TARGETS ##### |
71574c3c |
87 | |
fe4da5cc |
88 | # Target |
89 | |
cb342460 |
90 | SLIBRARY = $(LIBDIR)/libITS.$(SL) |
91 | ALIBRARY = $(LIBDIR)/libITS.a |
fe4da5cc |
92 | |
93 | default: $(SLIBRARY) |
94 | |
58005f18 |
95 | |
cb342460 |
96 | $(LIBDIR)/libITS.$(SL): $(OBJS) |
fe4da5cc |
97 | |
98 | $(DICT): $(HDRS) |
99 | |
71574c3c |
100 | DEPINC += -I$(ALICE_ROOT)/GEANT321 -I$(ALICE_ROOT)/TPC |
fe4da5cc |
101 | |
102 | depend: $(SRCS) $(FSRCS) |
103 | |
104 | TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h |
105 | |
7a9a209a |
106 | CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) |
107 | |
fe4da5cc |
108 | ############################### General Macros ################################ |
109 | |
110 | include $(ALICE_ROOT)/conf/GeneralMacros |
111 | |
112 | ############################ Dependencies ##################################### |
113 | |
1207d6f2 |
114 | -include tgt_$(ALICE_TARGET)/Make-depend |
ed79e3fa |
115 | |
e8189707 |
116 | |