POLISHED THE TEST SUITE
[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\
7b326aac 32 AliPHOSQAObjectCheckable.cxx AliPHOSQAChecker.cxx AliPHOSQAMeanChecker.cxx AliPHOSQAAlarm.cxx
fe4da5cc 33
34# C++ Headers
35
94de3818 36HDRS = $(SRCS:.cxx=.h) $(ROOTSYS)/include/TTree.h PHOSLinkDef.h
fe4da5cc 37
38# Library dictionary
39
40DICT = PHOSCint.cxx
41DICTH = $(DICT:.cxx=.h)
4adb943a 42DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 43
fe4da5cc 44# C++ Objects
45
4adb943a 46OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 47
48# C++ compilation flags
49
50CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
fe4da5cc 51
d15a28e7 52ALSRCS = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c
fe4da5cc 53
d15a28e7 54ALOBJS = $(SHOBJS) $(RCOBJS) $(DUOBJS)
fe4da5cc 55
56##### COMMANDS #####
57
504139a0 58SLIBRARY = $(LIBDIR)/libPHOS.$(SL)
fe4da5cc 59
60default: $(SLIBRARY)
61
504139a0 62$(LIBDIR)/libPHOS.$(SL): $(OBJS) $(FOBJS)
fe4da5cc 63
64$(DICT): $(HDRS)
65
52005fc3 66depend: $(SRCS)
fe4da5cc 67
d15a28e7 68TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
fe4da5cc 69
e2fe4c02 70CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
71
fe4da5cc 72############################### General Macros ################################
73
74include $(ALICE_ROOT)/conf/GeneralMacros
75
76############################ Dependencies #####################################
77
1207d6f2 78-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 79
cede0770 80test:
81 @echo " ____________________________________________________________ "
82 @echo " "
83 @echo " Starting the test of the simulation/reconstruction software. Please don't take the warning messages into account. "
84 @echo " ____________________________________________________________ "
85 @aliroot -b -q testsim.C > out
86 @aliroot -b -q testsimglobal.C > out
87 @rm out
88 @rm testPHOS.root
9688c1dd 89
41f6cf69 90
91
92
93
94