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