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