1 ############################### RICH Makefile #################################
3 # Include machine specific definitions
5 include $(ALICE_ROOT)/conf/GeneralDef
6 include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
12 SRCS = AliRICH.cxx AliRICHv0.cxx AliRICHv1.cxx AliRICHDisplay.cxx AliRICHPoints.cxx AliRICHHitMap.cxx AliRICHSegResV0.cxx AliRICHSegResV1.cxx AliRICHClusterFinder.cxx \
13 DataStructures.cxx AliRICHChamber.cxx AliRICHDetect.cxx AliRICHPatRec.cxx
17 HDRS = $(SRCS:.cxx=.h) RICHLinkDef.h
22 DICTH = $(DICT:.cxx=.h)
23 DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
27 FOBJS = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
31 COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
35 OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
37 # C++ compilation flags
39 CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
41 CXXFLAGS += -I$(ALICE_ROOT)/TGeant3
42 DEPINC += -I$(ALICE_ROOT)/TGeant3
44 # FORTRAN compilation flags
52 SLIBRARY = $(LIBDIR)/libRICH.$(SL)
53 ALIBRARY = $(LIBDIR)/libRICH.a
57 $(LIBDIR)/libRICH.$(SL): $(OBJS)
63 TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
65 CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
67 ############################### General Macros ################################
69 include $(ALICE_ROOT)/conf/GeneralMacros
71 ############################ Dependencies #####################################
73 -include tgt_$(ALICE_TARGET)/Make-depend