]>
Commit | Line | Data |
---|---|---|
fe4da5cc | 1 | ############################### MUON 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 = MUON | |
9 | ||
10 | # C++ sources | |
11 | ||
a9e2aefa | 12 | SRCS = AliMUONChamber.cxx AliMUONChamberTrigger.cxx \ |
ad1184d9 | 13 | AliMUONSegmentationV0.cxx\ |
a9e2aefa | 14 | AliMUONResponse.cxx AliMUONResponseV0.cxx \ |
15 | AliMUONSegmentationV01.cxx \ | |
16 | AliMUONSegmentationV02.cxx AliMUONSegmentationV04.cxx \ | |
17 | AliMUONSegmentationV05.cxx\ | |
18 | AliMUONSegmentationTrigger.cxx AliMUONResponseTrigger.cxx\ | |
19 | AliMUONSegmentationTriggerX.cxx AliMUONSegmentationTriggerY.cxx \ | |
20 | AliMUONSegmentationV1.cxx AliMUON.cxx AliMUONv0.cxx AliMUONv1.cxx\ | |
21 | AliMUONDisplay.cxx AliMUONPoints.cxx \ | |
fc2ab451 | 22 | AliMUONClusterFinderVS.cxx \ |
ad1184d9 | 23 | AliMUONHitMapA1.cxx \ |
a9e2aefa | 24 | AliMUONHit.cxx AliMUONPadHit.cxx AliMUONDigit.cxx \ |
25 | AliMUONTransientDigit.cxx AliMUONRawCluster.cxx \ | |
26 | AliMUONReconstHit.cxx \ | |
27 | AliMUONTrackReconstructor.cxx \ | |
28 | AliMUONEventReconstructor.cxx \ | |
29 | AliMUONTriggerDecision.cxx \ | |
30 | AliMUONHitForRec.cxx AliMUONSegment.cxx \ | |
31 | AliMUONTrack.cxx AliMUONTrackHit.cxx AliMUONTrackParam.cxx \ | |
32 | AliMUONTriggerCircuit.cxx AliMUONTriggerLut.cxx \ | |
33 | AliMUONGlobalTrigger.cxx AliMUONLocalTrigger.cxx \ | |
30aaba74 | 34 | AliMUONTriggerConstants.cxx AliMUONConstants.cxx \ |
35 | AliMUONClusterInput.cxx | |
fe4da5cc | 36 | |
37 | # C++ Headers | |
38 | ||
c1a185bf | 39 | HDRS = $(SRCS:.cxx=.h) \ |
40 | $(ROOTSYS)/include/TF1.h \ | |
41 | $(ROOTSYS)/include/TH3.h \ | |
42 | $(ROOTSYS)/include/TMarker3DBox.h \ | |
43 | $(ROOTSYS)/include/TMatrix.h \ | |
44 | $(ROOTSYS)/include/TTree.h \ | |
45 | MUONLinkDef.h | |
fe4da5cc | 46 | |
47 | # Library dictionary | |
48 | ||
49 | DICT = MUONCint.cxx | |
50 | DICTH = $(DICT:.cxx=.h) | |
4adb943a | 51 | DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT)) |
fe4da5cc | 52 | |
53 | # Fortran sources | |
54 | ||
a6f03ddb | 55 | FSRCS = reco_muon.F extrap.F |
fe4da5cc | 56 | |
57 | # FORTRAN Objectrs | |
58 | ||
4adb943a | 59 | FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS)) |
fe4da5cc | 60 | |
61 | # C Objects | |
62 | ||
4adb943a | 63 | COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS)) |
fe4da5cc | 64 | |
65 | # C++ Objects | |
66 | ||
4adb943a | 67 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) |
fe4da5cc | 68 | |
69 | # C++ compilation flags | |
70 | ||
71 | CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ | |
72 | ||
73 | # FORTRAN compilation flags | |
74 | ||
75 | FFLAGS = $(FOPT) | |
76 | ||
77 | ##### TARGETS ##### | |
78 | ||
79 | # Target | |
80 | ||
cb342460 | 81 | SLIBRARY = $(LIBDIR)/libMUON.$(SL) |
82 | ALIBRARY = $(LIBDIR)/libMUON.a | |
fe4da5cc | 83 | |
84 | default: $(SLIBRARY) | |
85 | ||
cb342460 | 86 | $(LIBDIR)/libMUON.$(SL): $(OBJS) $(FOBJS) |
fe4da5cc | 87 | |
88 | $(DICT): $(HDRS) | |
89 | ||
90 | depend: $(SRCS) | |
91 | ||
92 | TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h | |
93 | ||
7065831b | 94 | CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) |
95 | ||
fe4da5cc | 96 | ############################### General Macros ################################ |
97 | ||
98 | include $(ALICE_ROOT)/conf/GeneralMacros | |
99 | ||
100 | ############################ Dependencies ##################################### | |
101 | ||
1207d6f2 | 102 | -include tgt_$(ALICE_TARGET)/Make-depend |