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 \
13 AliPHOSvFast.cxx AliPHOSvImpacts.cxx \
17 AliPHOSEMCAGeometry.cxx \
18 AliPHOSCPVGeometry.cxx AliPHOSCPVBaseGeometry.cxx \
19 AliPHOSSupportGeometry.cxx \
20 AliPHOSCPVDigit.cxx AliPHOSDigit.cxx \
21 AliPHOSRecPoint.cxx AliPHOSEmcRecPoint.cxx \
22 AliPHOSCpvRecPoint.cxx \
23 AliPHOSClusterizer.cxx AliPHOSClusterizerv1.cxx \
24 AliPHOSLink.cxx AliPHOSSDigitizer.cxx AliPHOSDigitizer.cxx\
25 AliPHOSReconstructioner.cxx AliPHOSTrackSegment.cxx \
26 AliPHOSTrackSegmentMaker.cxx AliPHOSTrackSegmentMakerv1.cxx \
27 AliPHOSRecParticle.cxx AliPHOSPID.cxx AliPHOSPIDv1.cxx \
28 AliPHOSAnalyze.cxx AliPHOSFastRecParticle.cxx \
29 AliPHOSGetter.cxx AliPHOSTick.cxx \
30 AliPHOSQAVirtualCheckable.cxx AliPHOSQAIntCheckable.cxx \
31 AliPHOSQAFloatCheckable.cxx\
32 AliPHOSQAObjectCheckable.cxx AliPHOSQAChecker.cxx AliPHOSQAMeanChecker.cxx AliPHOSQAAlarm.cxx \
33 AliPHOSIhepAnalyze.cxx AliPHOSEvalRecPoint.cxx \
34 AliPHOSRecManager.cxx AliPHOSRecCpvManager.cxx AliPHOSRecEmcManager.cxx \
35 AliPHOSClusterizerv2.cxx
39 HDRS = $(SRCS:.cxx=.h) $(ROOTSYS)/include/TTree.h PHOSLinkDef.h
44 DICTH = $(DICT:.cxx=.h)
45 DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
49 OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
51 # C++ compilation flags
53 CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
55 ALSRCS = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c
57 ALOBJS = $(SHOBJS) $(RCOBJS) $(DUOBJS)
61 SLIBRARY = $(LIBDIR)/libPHOS.$(SL)
65 $(LIBDIR)/libPHOS.$(SL): $(OBJS) $(FOBJS)
71 TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
73 CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
75 ############################### General Macros ################################
77 include $(ALICE_ROOT)/conf/GeneralMacros
79 ############################ Dependencies #####################################
81 -include tgt_$(ALICE_TARGET)/Make-depend
85 @echo " ____________________________________________________________ "
87 @echo " Starting the test of the simulation/reconstruction software. Please don't take the warning messages into account. "
88 @echo " ____________________________________________________________ "
89 @aliroot -b -q "test.C(100)" > out
92 @rm testsimglobal_C.so
95 @echo " ____________________________________________________________ "
97 @echo " Starting the test of the simulation/reconstruction software. Please don't take the warning messages into account. "
98 @echo " ____________________________________________________________ "
99 @aliroot -b -q "test.C(10)" > out
102 @rm testsimglobal_C.so