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 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 \
22 AliMUONClusterFinderVS.cxx AliMUONClusterFinder.cxx \
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 \
34 AliMUONTriggerConstants.cxx
38 HDRS = $(SRCS:.cxx=.h) MUONLinkDef.h
43 DICTH = $(DICT:.cxx=.h)
44 DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
52 FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
56 COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
60 OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
62 # C++ compilation flags
64 CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
66 # FORTRAN compilation flags
74 SLIBRARY = $(LIBDIR)/libMUON.$(SL)
75 ALIBRARY = $(LIBDIR)/libMUON.a
79 $(LIBDIR)/libMUON.$(SL): $(OBJS) $(FOBJS)
85 TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
87 ############################### General Macros ################################
89 include $(ALICE_ROOT)/conf/GeneralMacros
91 ############################ Dependencies #####################################
93 -include tgt_$(ALICE_TARGET)/Make-depend
96 ### Target check creates violation reports (.viol), which depend on
97 ### stripped files (.ii), which in turn depend on preprocessed
98 ### files (.i). Dependences are in conf/GeneralDef.
100 CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))