]>
Commit | Line | Data |
---|---|---|
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 | ||
12 | SRCS = AliITS.cxx AliITSv1.cxx AliITSv3.cxx AliITSv5.cxx \ | |
13 | AliITSv5symm.cxx AliITSv5asymm.cxx \ | |
14 | AliITSvPPRcoarseasymm.cxx AliITSvPPRcoarsesymm.cxx\ | |
15 | AliITSvPPRasymm.cxx AliITSvPPRsymm.cxx\ | |
16 | AliITShit.cxx AliITSDetType.cxx \ | |
17 | AliITSgeom.cxx AliITSgeomMatrix.cxx \ | |
18 | AliITSgeomSPD.cxx AliITSgeomSDD.cxx \ | |
19 | AliITSgeomSSD.cxx AliITSmodule.cxx \ | |
20 | AliITSGeant3Geometry.cxx \ | |
21 | AliITSsimulationFastPoints.cxx \ | |
22 | AliITSsimulationFastPointsV0.cxx AliITSsimulation.cxx \ | |
23 | AliITSsimulationSPD.cxx AliITSsimulationSPDbari.cxx \ | |
24 | AliITSsimulationSDD.cxx \ | |
25 | AliITSetfSDD.cxx AliITSsimulationSSD.cxx AliITSdcsSSD.cxx \ | |
26 | AliITSdigit.cxx AliITSRawCluster.cxx AliITSRecPoint.cxx \ | |
27 | AliITSMap.cxx AliITSMapA1.cxx AliITSMapA2.cxx \ | |
28 | AliITSsegmentation.cxx AliITSsegmentationSPD.cxx \ | |
29 | AliITSsegmentationSDD.cxx AliITSsegmentationSSD.cxx\ | |
30 | AliITSresponse.cxx AliITSresponseSPD.cxx \ | |
31 | AliITSresponseSPDbari.cxx \ | |
32 | AliITSresponseSDD.cxx AliITSresponseSSD.cxx \ | |
33 | AliITSClusterFinder.cxx AliITSClusterFinderSPD.cxx \ | |
34 | AliITSClusterFinderSPDbari.cxx \ | |
35 | AliITSClusterFinderSDD.cxx AliITSRawData.cxx \ | |
36 | AliITSHuffman.cxx AliITSClusterFinderSSD.cxx \ | |
37 | AliITSclusterSSD.cxx AliITSpackageSSD.cxx \ | |
38 | AliITSdictSSD.cxx \ | |
39 | AliITSstatistics.cxx AliITSstatistics2.cxx \ | |
40 | AliITStrack.cxx AliITStracking.cxx AliITSiotrack.cxx \ | |
41 | AliITSRad.cxx \ | |
42 | AliITSvtest.cxx \ | |
43 | AliITSclusterV2.cxx AliITStrackV2.cxx AliITStrackerV2.cxx \ | |
44 | AliITSVertex.cxx | |
45 | # AliITSAlignmentTrack.cxx AliITSAlignmentModule.cxx \ | |
46 | # AliITStrack.cxx | |
47 | ||
48 | # Fortran sources | |
49 | ||
50 | FSRCS = | |
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) | |
60 | DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT)) | |
61 | ||
62 | # FORTRAN Objectrs | |
63 | ||
64 | FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS)) | |
65 | ||
66 | # C Objects | |
67 | ||
68 | COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS)) | |
69 | ||
70 | # C++ Objects | |
71 | ||
72 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) | |
73 | ||
74 | # C++ compilation flags | |
75 | ||
76 | CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I../TGeant3 -I$(ALICE_ROOT)/include/ -I$(ALICE_ROOT)/TPC -I$(ALICE_ROOT)/CONTAINERS | |
77 | ||
78 | # FORTRAN compilation flags | |
79 | ||
80 | FFLAGS = $(FOPT) -I$(ALICE_ROOT)/GEANT321 | |
81 | ||
82 | ##### TARGETS ##### | |
83 | ||
84 | # Target | |
85 | ||
86 | SLIBRARY = $(LIBDIR)/libITS.$(SL) | |
87 | ALIBRARY = $(LIBDIR)/libITS.a | |
88 | ||
89 | default: $(SLIBRARY) | |
90 | ||
91 | ||
92 | $(LIBDIR)/libITS.$(SL): $(OBJS) | |
93 | ||
94 | $(DICT): $(HDRS) | |
95 | ||
96 | DEPINC += -I$(ALICE_ROOT)/GEANT321 -I$(ALICE_ROOT)/TPC | |
97 | ||
98 | depend: $(SRCS) $(FSRCS) | |
99 | ||
100 | TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h | |
101 | ||
102 | CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) | |
103 | ||
104 | ############################### General Macros ################################ | |
105 | ||
106 | include $(ALICE_ROOT)/conf/GeneralMacros | |
107 | ||
108 | ############################ Dependencies ##################################### | |
109 | ||
110 | -include tgt_$(ALICE_TARGET)/Make-depend | |
111 | ||
112 |