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