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 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
24 HDRS = $(SRCS:.cxx=.h) PHOSLinkDef.h
29 DICTH = $(DICT:.cxx=.h)
30 DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
34 OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
36 # C++ compilation flags
38 CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
40 ALSRCS = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c
42 ALOBJS = $(SHOBJS) $(RCOBJS) $(DUOBJS)
46 SLIBRARY = $(LIBDIR)/libPHOS.$(SL)
50 $(LIBDIR)/libPHOS.$(SL): $(OBJS) $(FOBJS)
56 TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
58 ############################### General Macros ################################
60 include $(ALICE_ROOT)/conf/GeneralMacros
62 ############################ Dependencies #####################################
64 -include tgt_$(ALICE_TARGET)/Make-depend
66 ### Target check creates violation reports (.viol), which depend on
67 ### stripped files (.ii), which in turn depend on preprocessed
68 ### files (.i). Dependences are in conf/GeneralDef.
70 CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))