1 ############################### MUON Makefile #################################
3 # Include machine specific definitions
5 include $(ALICE_ROOT)/conf/GeneralDef
6 include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
12 SRCS = AliMUONChamber.cxx AliMUONChamberTrigger.cxx \
13 AliMUONSegmentationV0.cxx\
14 AliMUONResponse.cxx AliMUONResponseV0.cxx \
15 AliMUONSegmentationV01.cxx \
16 AliMUONSegmentationV02.cxx AliMUONSegmentationV04.cxx \
17 AliMUONSegmentationV05.cxx\
18 AliMUONSegmentationTrigger.cxx AliMUONResponseTrigger.cxx\
19 AliMUONResponseTriggerV1.cxx\
20 AliMUONSegmentationTriggerX.cxx AliMUONSegmentationTriggerY.cxx \
21 AliMUONSegmentationV1.cxx AliMUON.cxx AliMUONv0.cxx AliMUONv1.cxx AliMUONvTemp.cxx\
22 AliMUONDisplay.cxx AliMUONPoints.cxx \
23 AliMUONClusterFinderVS.cxx \
25 AliMUONHit.cxx AliMUONPadHit.cxx AliMUONDigit.cxx \
26 AliMUONTransientDigit.cxx AliMUONRawCluster.cxx \
27 AliMUONReconstHit.cxx \
28 AliMUONTrackReconstructor.cxx \
29 AliMUONEventReconstructor.cxx \
30 AliMUONTriggerDecision.cxx \
31 AliMUONHitForRec.cxx AliMUONSegment.cxx \
32 AliMUONTrack.cxx AliMUONTrackHit.cxx AliMUONTrackParam.cxx \
33 AliMUONTriggerCircuit.cxx AliMUONTriggerLut.cxx \
34 AliMUONGlobalTrigger.cxx AliMUONLocalTrigger.cxx \
35 AliMUONTriggerConstants.cxx AliMUONConstants.cxx \
36 AliMUONClusterInput.cxx \
37 AliMUONSegmentationSlatModule.cxx AliMUONSegmentationSlatModuleN.cxx \
38 AliMUONSegmentationSlat.cxx AliMUONSegmentationSlatN.cxx \
39 AliMUONRecoEvent.cxx AliMUONRecoDisplay.cxx \
44 HDRS = $(SRCS:.cxx=.h) \
45 $(ROOTSYS)/include/TF1.h \
46 $(ROOTSYS)/include/TH3.h \
47 $(ROOTSYS)/include/TMarker3DBox.h \
48 $(ROOTSYS)/include/TMatrix.h \
49 $(ROOTSYS)/include/TTree.h \
55 DICTH = $(DICT:.cxx=.h)
56 DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
60 FSRCS = reco_muon.F extrap.F
64 FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
68 COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
72 OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
74 # C++ compilation flags
76 CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
78 # FORTRAN compilation flags
86 SLIBRARY = $(LIBDIR)/libMUON.$(SL)
87 ALIBRARY = $(LIBDIR)/libMUON.a
91 $(LIBDIR)/libMUON.$(SL): $(OBJS) $(FOBJS)
97 TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
99 CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
101 ############################### General Macros ################################
103 include $(ALICE_ROOT)/conf/GeneralMacros
105 ############################ Dependencies #####################################
107 -include tgt_$(ALICE_TARGET)/Make-depend