1 ############################### PHOS Makefile #################################
3 # Include machine specific definitions
5 include $(ALICE_ROOT)/conf/GeneralDef
6 include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
12 SRCS = AliPHOS.cxx AliPHOSv0.cxx AliPHOSv0_hits.cxx AliPHOSv1.cxx AliPHOSHit.cxx \
15 AliPHOSRecPoint.cxx AliPHOSEmcRecPoint.cxx AliPHOSPpsdRecPoint.cxx \
16 AliPHOSClusterizer.cxx AliPHOSClusterizerv1.cxx AliPHOSLink.cxx \
17 AliPHOSReconstructioner.cxx AliPHOSTrackSegment.cxx \
18 AliPHOSTrackSegmentMaker.cxx AliPHOSTrackSegmentMakerv1.cxx \
19 AliPHOSRecParticle.cxx AliPHOSPID.cxx AliPHOSPIDv1.cxx \
20 AliPHOSAnalyze.cxx AliPHOSvFast.cxx AliPHOSFastRecParticle.cxx \
21 AliPHOSIndexToObject.cxx \
25 HDRS = $(SRCS:.cxx=.h) PHOSLinkDef.h
30 DICTH = $(DICT:.cxx=.h)
31 DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
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 ALSRCS = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c
43 ALOBJS = $(SHOBJS) $(RCOBJS) $(DUOBJS)
47 SLIBRARY = $(LIBDIR)/libPHOS.$(SL)
51 $(LIBDIR)/libPHOS.$(SL): $(OBJS) $(FOBJS)
57 TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
59 ############################### General Macros ################################
61 include $(ALICE_ROOT)/conf/GeneralMacros
63 ############################ Dependencies #####################################
65 -include tgt_$(ALICE_TARGET)/Make-depend
67 ### Target check creates violation reports (.viol), which depend on
68 ### stripped files (.ii), which in turn depend on preprocessed
69 ### files (.i). Dependences are in conf/GeneralDef.
71 CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))