]>
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 \ |
13 | AliMUONSegmentation.cxx AliMUONSegmentationV0.cxx\ | |
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 \ |
a9e2aefa | 23 | AliMUONHitMap.cxx AliMUONHitMapA1.cxx \ |
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 | ||
a9e2aefa | 39 | HDRS = $(SRCS:.cxx=.h) MUONLinkDef.h |
fe4da5cc | 40 | |
41 | # Library dictionary | |
42 | ||
43 | DICT = MUONCint.cxx | |
44 | DICTH = $(DICT:.cxx=.h) | |
4adb943a | 45 | DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT)) |
fe4da5cc | 46 | |
47 | # Fortran sources | |
48 | ||
a9e2aefa | 49 | FSRCS = reco_muon.F |
fe4da5cc | 50 | |
51 | # FORTRAN Objectrs | |
52 | ||
4adb943a | 53 | FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS)) |
fe4da5cc | 54 | |
55 | # C Objects | |
56 | ||
4adb943a | 57 | COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS)) |
fe4da5cc | 58 | |
59 | # C++ Objects | |
60 | ||
4adb943a | 61 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) |
fe4da5cc | 62 | |
63 | # C++ compilation flags | |
64 | ||
65 | CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ | |
66 | ||
67 | # FORTRAN compilation flags | |
68 | ||
69 | FFLAGS = $(FOPT) | |
70 | ||
71 | ##### TARGETS ##### | |
72 | ||
73 | # Target | |
74 | ||
cb342460 | 75 | SLIBRARY = $(LIBDIR)/libMUON.$(SL) |
76 | ALIBRARY = $(LIBDIR)/libMUON.a | |
fe4da5cc | 77 | |
78 | default: $(SLIBRARY) | |
79 | ||
cb342460 | 80 | $(LIBDIR)/libMUON.$(SL): $(OBJS) $(FOBJS) |
fe4da5cc | 81 | |
82 | $(DICT): $(HDRS) | |
83 | ||
84 | depend: $(SRCS) | |
85 | ||
86 | TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h | |
87 | ||
7065831b | 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 |