]>
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 | ||
e8189707 | 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 | ||
fe4da5cc | 35 | # Fortran sources |
36 | ||
766ac21b | 37 | FSRCS = |
fe4da5cc | 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) | |
4adb943a | 47 | DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT)) |
fe4da5cc | 48 | |
49 | # FORTRAN Objectrs | |
50 | ||
4adb943a | 51 | FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS)) |
fe4da5cc | 52 | |
53 | # C Objects | |
54 | ||
4adb943a | 55 | COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS)) |
fe4da5cc | 56 | |
57 | # C++ Objects | |
58 | ||
4adb943a | 59 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) |
fe4da5cc | 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 | ||
cb342460 | 73 | SLIBRARY = $(LIBDIR)/libITS.$(SL) |
74 | ALIBRARY = $(LIBDIR)/libITS.a | |
fe4da5cc | 75 | |
76 | default: $(SLIBRARY) | |
77 | ||
58005f18 | 78 | |
cb342460 | 79 | $(LIBDIR)/libITS.$(SL): $(OBJS) |
fe4da5cc | 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 | ||
7a9a209a | 89 | CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) |
90 | ||
fe4da5cc | 91 | ############################### General Macros ################################ |
92 | ||
93 | include $(ALICE_ROOT)/conf/GeneralMacros | |
94 | ||
95 | ############################ Dependencies ##################################### | |
96 | ||
1207d6f2 | 97 | -include tgt_$(ALICE_TARGET)/Make-depend |
ed79e3fa | 98 | |
e8189707 | 99 |