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