New Clusterization by IHEP (yuri)
[u/mrichter/AliRoot.git] / PHOS / Makefile
CommitLineData
fe4da5cc 1############################### PHOS Makefile #################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = PHOS
9
10# C++ sources
11
9688c1dd 12SRCS = AliPHOS.cxx AliPHOSv0.cxx AliPHOSv1.cxx \
13 AliPHOSvFast.cxx AliPHOSvImpacts.cxx \
f9f98839 14 AliPHOSImpact.cxx \
7437a0f7 15 AliPHOSHit.cxx AliPHOSTick.cxx\
cce428fe 16 AliPHOSGeometry.cxx \
3d402178 17 AliPHOSEMCAGeometry.cxx \
0d90a31c 18 AliPHOSCPVGeometry.cxx AliPHOSCPVBaseGeometry.cxx \
9688c1dd 19 AliPHOSSupportGeometry.cxx \
5c617c31 20 AliPHOSCPVDigit.cxx AliPHOSDigit.cxx \
3d402178 21 AliPHOSRecPoint.cxx AliPHOSEmcRecPoint.cxx \
9688c1dd 22 AliPHOSCpvRecPoint.cxx \
990119d6 23 AliPHOSClusterizer.cxx AliPHOSClusterizerv1.cxx \
24 AliPHOSLink.cxx AliPHOSSDigitizer.cxx AliPHOSDigitizer.cxx\
cce428fe 25 AliPHOSReconstructioner.cxx AliPHOSTrackSegment.cxx \
26 AliPHOSTrackSegmentMaker.cxx AliPHOSTrackSegmentMakerv1.cxx \
27 AliPHOSRecParticle.cxx AliPHOSPID.cxx AliPHOSPIDv1.cxx \
5f20d3fb 28 AliPHOSAnalyze.cxx AliPHOSFastRecParticle.cxx \
7437a0f7 29 AliPHOSGetter.cxx AliPHOSTick.cxx \
30 AliPHOSQAVirtualCheckable.cxx AliPHOSQAIntCheckable.cxx \
31 AliPHOSQAFloatCheckable.cxx\
cbd576a6 32 AliPHOSQAObjectCheckable.cxx AliPHOSQAChecker.cxx AliPHOSQAMeanChecker.cxx AliPHOSQAAlarm.cxx \
33 AliPHOSIhepAnalyze.cxx AliPHOSEvalRecPoint.cxx \
34 AliPHOSRecManager.cxx AliPHOSRecCpvManager.cxx AliPHOSRecEmcManager.cxx \
35 AliPHOSClusterizerv2.cxx
fe4da5cc 36
37# C++ Headers
38
94de3818 39HDRS = $(SRCS:.cxx=.h) $(ROOTSYS)/include/TTree.h PHOSLinkDef.h
fe4da5cc 40
41# Library dictionary
42
43DICT = PHOSCint.cxx
44DICTH = $(DICT:.cxx=.h)
4adb943a 45DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 46
fe4da5cc 47# C++ Objects
48
4adb943a 49OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 50
51# C++ compilation flags
52
53CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
fe4da5cc 54
d15a28e7 55ALSRCS = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c
fe4da5cc 56
d15a28e7 57ALOBJS = $(SHOBJS) $(RCOBJS) $(DUOBJS)
fe4da5cc 58
59##### COMMANDS #####
60
504139a0 61SLIBRARY = $(LIBDIR)/libPHOS.$(SL)
fe4da5cc 62
63default: $(SLIBRARY)
64
504139a0 65$(LIBDIR)/libPHOS.$(SL): $(OBJS) $(FOBJS)
fe4da5cc 66
67$(DICT): $(HDRS)
68
52005fc3 69depend: $(SRCS)
fe4da5cc 70
d15a28e7 71TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
fe4da5cc 72
e2fe4c02 73CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
74
fe4da5cc 75############################### General Macros ################################
76
77include $(ALICE_ROOT)/conf/GeneralMacros
78
79############################ Dependencies #####################################
80
1207d6f2 81-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 82
cede0770 83test:
84 @echo " ____________________________________________________________ "
85 @echo " "
86 @echo " Starting the test of the simulation/reconstruction software. Please don't take the warning messages into account. "
87 @echo " ____________________________________________________________ "
cbd576a6 88 @aliroot -b -q testsim.C > out
cede0770 89 @aliroot -b -q testsimglobal.C > out
90 @rm out
91 @rm testPHOS.root
9688c1dd 92
cbd576a6 93
94
41f6cf69 95
96
97