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 AliMUONSegResV0.cxx AliMUONSegResV01.cxx \
13 AliMUONSegResV02.cxx AliMUONSegResV04.cxx AliMUONSegResV05.cxx\
14 AliMUONSegResV1.cxx AliMUON.cxx AliMUONv0.cxx \
15 AliMUONdisplay.cxx AliMUONpoints.cxx \
16 AliMUONClusterFinder.cxx AliMUONClusterFinderv0.cxx \
17 AliMUONHitMap.cxx AliMUONTUBE.cxx
21 HDRS = $(SRCS:.cxx=.h) AliMUONConst.h MUONLinkDef.h
26 DICTH = $(DICT:.cxx=.h)
27 DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
31 FSRCS = algo.F reco_muon.F
35 FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
39 COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
43 OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
45 # C++ compilation flags
47 CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
49 # FORTRAN compilation flags
57 SLIBRARY = $(LIBDIR)/libMUON.$(SL)
58 ALIBRARY = $(LIBDIR)/libMUON.a
62 $(LIBDIR)/libMUON.$(SL): $(OBJS) $(FOBJS)
68 TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
70 ############################### General Macros ################################
72 include $(ALICE_ROOT)/conf/GeneralMacros
74 ############################ Dependencies #####################################
76 -include tgt_$(ALICE_TARGET)/Make-depend
79 ### Target check creates violation reports (.viol), which depend on
80 ### stripped files (.ii), which in turn depend on preprocessed
81 ### files (.i). Dependences are in conf/GeneralDef.
83 CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))