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 \ |
07ae2744 |
31 | AliITSstatistics.cxx AliITSstatistics2.cxx \ |
32 | AliITSAlignmentTrack.cxx AliITSAlignmentModule.cxx |
e8189707 |
33 | |
fe4da5cc |
34 | # Fortran sources |
35 | |
766ac21b |
36 | FSRCS = |
fe4da5cc |
37 | |
38 | # C++ Headers |
39 | |
40 | HDRS = $(SRCS:.cxx=.h) ITSLinkDef.h |
41 | |
42 | # Library dictionary |
43 | |
44 | DICT = ITSCint.cxx |
45 | DICTH = $(DICT:.cxx=.h) |
4adb943a |
46 | DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT)) |
fe4da5cc |
47 | |
48 | # FORTRAN Objectrs |
49 | |
4adb943a |
50 | FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS)) |
fe4da5cc |
51 | |
52 | # C Objects |
53 | |
4adb943a |
54 | COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS)) |
fe4da5cc |
55 | |
56 | # C++ Objects |
57 | |
4adb943a |
58 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) |
fe4da5cc |
59 | |
60 | # C++ compilation flags |
61 | |
62 | CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ |
63 | |
64 | # FORTRAN compilation flags |
65 | |
66 | FFLAGS = $(FOPT) -I$(ALICE_ROOT)/GEANT321 |
67 | |
68 | ##### TARGETS ##### |
69 | |
70 | # Target |
71 | |
cb342460 |
72 | SLIBRARY = $(LIBDIR)/libITS.$(SL) |
73 | ALIBRARY = $(LIBDIR)/libITS.a |
fe4da5cc |
74 | |
75 | default: $(SLIBRARY) |
76 | |
58005f18 |
77 | |
cb342460 |
78 | $(LIBDIR)/libITS.$(SL): $(OBJS) |
fe4da5cc |
79 | |
80 | $(DICT): $(HDRS) |
81 | |
82 | DEPINC += -I$(ALICE_ROOT)/GEANT321 |
83 | |
84 | depend: $(SRCS) $(FSRCS) |
85 | |
86 | TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h |
87 | |
7a9a209a |
88 | CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) |
89 | |
fe4da5cc |
90 | ############################### General Macros ################################ |
91 | |
92 | include $(ALICE_ROOT)/conf/GeneralMacros |
93 | |
94 | ############################ Dependencies ##################################### |
95 | |
1207d6f2 |
96 | -include tgt_$(ALICE_TARGET)/Make-depend |
ed79e3fa |
97 | |
e8189707 |
98 | |