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 \ |
d74f5aa8 |
23 | AliITSsimulationSPD.cxx AliITSsimulationSPDbari.cxx \ |
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 \ |
e8189707 |
28 | AliITSsegmentation.cxx AliITSsegmentationSPD.cxx \ |
29 | AliITSsegmentationSDD.cxx AliITSsegmentationSSD.cxx\ |
30 | AliITSresponse.cxx AliITSresponseSPD.cxx \ |
d74f5aa8 |
31 | AliITSresponseSPDbari.cxx \ |
e8189707 |
32 | AliITSresponseSDD.cxx AliITSresponseSSD.cxx \ |
33 | AliITSClusterFinder.cxx AliITSClusterFinderSPD.cxx \ |
d74f5aa8 |
34 | AliITSClusterFinderSPDbari.cxx \ |
e8189707 |
35 | AliITSClusterFinderSDD.cxx AliITSRawData.cxx \ |
36 | AliITSHuffman.cxx AliITSClusterFinderSSD.cxx \ |
37 | AliITSclusterSSD.cxx AliITSpackageSSD.cxx \ |
8253cd9a |
38 | AliITSdictSSD.cxx \ |
55b5a0b3 |
39 | AliITSstatistics.cxx AliITSstatistics2.cxx \ |
f420bbae |
40 | AliITStrack.cxx AliITStracking.cxx AliITSiotrack.cxx \ |
41 | AliITSvtest.cxx |
0b9c1447 |
42 | # AliITSAlignmentTrack.cxx AliITSAlignmentModule.cxx \ |
f420bbae |
43 | # AliITStrack.cxx |
e8189707 |
44 | |
fe4da5cc |
45 | # Fortran sources |
46 | |
766ac21b |
47 | FSRCS = |
fe4da5cc |
48 | |
49 | # C++ Headers |
50 | |
51 | HDRS = $(SRCS:.cxx=.h) ITSLinkDef.h |
52 | |
53 | # Library dictionary |
54 | |
55 | DICT = ITSCint.cxx |
56 | DICTH = $(DICT:.cxx=.h) |
4adb943a |
57 | DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT)) |
fe4da5cc |
58 | |
59 | # FORTRAN Objectrs |
60 | |
4adb943a |
61 | FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS)) |
fe4da5cc |
62 | |
63 | # C Objects |
64 | |
4adb943a |
65 | COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS)) |
fe4da5cc |
66 | |
67 | # C++ Objects |
68 | |
4adb943a |
69 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) |
fe4da5cc |
70 | |
71 | # C++ compilation flags |
72 | |
73 | CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ |
74 | |
75 | # FORTRAN compilation flags |
76 | |
77 | FFLAGS = $(FOPT) -I$(ALICE_ROOT)/GEANT321 |
78 | |
79 | ##### TARGETS ##### |
80 | |
81 | # Target |
82 | |
cb342460 |
83 | SLIBRARY = $(LIBDIR)/libITS.$(SL) |
84 | ALIBRARY = $(LIBDIR)/libITS.a |
fe4da5cc |
85 | |
86 | default: $(SLIBRARY) |
87 | |
58005f18 |
88 | |
cb342460 |
89 | $(LIBDIR)/libITS.$(SL): $(OBJS) |
fe4da5cc |
90 | |
91 | $(DICT): $(HDRS) |
92 | |
93 | DEPINC += -I$(ALICE_ROOT)/GEANT321 |
94 | |
95 | depend: $(SRCS) $(FSRCS) |
96 | |
97 | TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h |
98 | |
7a9a209a |
99 | CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) |
100 | |
fe4da5cc |
101 | ############################### General Macros ################################ |
102 | |
103 | include $(ALICE_ROOT)/conf/GeneralMacros |
104 | |
105 | ############################ Dependencies ##################################### |
106 | |
1207d6f2 |
107 | -include tgt_$(ALICE_TARGET)/Make-depend |
ed79e3fa |
108 | |
e8189707 |
109 | |