A new (final?) geometry developed
[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
5f20d3fb 12SRCS = AliPHOS.cxx AliPHOSv0.cxx AliPHOSv1.cxx AliPHOSv2.cxx \
f9f98839 13 AliPHOSv3.cxx AliPHOSv4.cxx AliPHOSvImpacts.cxx \
14 AliPHOSImpact.cxx \
5f20d3fb 15 AliPHOSHit.cxx \
cce428fe 16 AliPHOSGeometry.cxx \
3d402178 17 AliPHOSEMCAGeometry.cxx \
0d90a31c 18 AliPHOSCPVGeometry.cxx AliPHOSCPVBaseGeometry.cxx \
19 AliPHOSPPSDGeometry.cxx AliPHOSSupportGeometry.cxx \
5c617c31 20 AliPHOSCPVDigit.cxx AliPHOSDigit.cxx \
3d402178 21 AliPHOSRecPoint.cxx AliPHOSEmcRecPoint.cxx \
22 AliPHOSPpsdRecPoint.cxx 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 \
4ae78bb1 29 AliPHOSGetter.cxx \
7b326aac 30 AliPHOSQAVirtualCheckable.cxx AliPHOSQAIntCheckable.cxx AliPHOSQAFloatCheckable.cxx\
31 AliPHOSQAObjectCheckable.cxx AliPHOSQAChecker.cxx AliPHOSQAMeanChecker.cxx AliPHOSQAAlarm.cxx
fe4da5cc 32
33# C++ Headers
34
94de3818 35HDRS = $(SRCS:.cxx=.h) $(ROOTSYS)/include/TTree.h PHOSLinkDef.h
fe4da5cc 36
37# Library dictionary
38
39DICT = PHOSCint.cxx
40DICTH = $(DICT:.cxx=.h)
4adb943a 41DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 42
fe4da5cc 43# C++ Objects
44
4adb943a 45OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 46
47# C++ compilation flags
48
49CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
fe4da5cc 50
d15a28e7 51ALSRCS = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c
fe4da5cc 52
d15a28e7 53ALOBJS = $(SHOBJS) $(RCOBJS) $(DUOBJS)
fe4da5cc 54
55##### COMMANDS #####
56
504139a0 57SLIBRARY = $(LIBDIR)/libPHOS.$(SL)
fe4da5cc 58
59default: $(SLIBRARY)
60
504139a0 61$(LIBDIR)/libPHOS.$(SL): $(OBJS) $(FOBJS)
fe4da5cc 62
63$(DICT): $(HDRS)
64
52005fc3 65depend: $(SRCS)
fe4da5cc 66
d15a28e7 67TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
fe4da5cc 68
e2fe4c02 69CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
70
fe4da5cc 71############################### General Macros ################################
72
73include $(ALICE_ROOT)/conf/GeneralMacros
74
75############################ Dependencies #####################################
76
1207d6f2 77-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 78
d084d50d 79test:
2b60655b 80 @echo " ____________________________________________________________ "
81 @echo " "
82 @echo " Starting the test of the simulation/reconstruction software. Please don't take the warning messages into account. "
83 @echo " ____________________________________________________________ "
84 @aliroot -b -q testsim.C > out
85 @aliroot -b -q testsimexam.C > out
86 @aliroot -b -q testreconSDigits.C > out
87 @aliroot -b -q testreconDigits.C > out
88 @aliroot -b -q testreconRecPoints.C > out
89 @aliroot -b -q testreconTrackSegments.C > out
90 @aliroot -b -q testreconRecParticles.C > out
d084d50d 91 @rm out
92# @rm galice.root
41f6cf69 93
94
95
96
97