]>
Commit | Line | Data |
---|---|---|
94de8339 | 1 | ############################### PHOS Makefile ################################# |
fe4da5cc | 2 | |
3 | # Include machine specific definitions | |
4 | ||
5 | include $(ALICE_ROOT)/conf/GeneralDef | |
6 | include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET) | |
7 | ||
8 | PACKAGE = PHOS | |
9 | ||
10 | # C++ sources | |
11 | ||
9688c1dd | 12 | SRCS = AliPHOS.cxx AliPHOSv0.cxx AliPHOSv1.cxx \ |
13 | AliPHOSvFast.cxx AliPHOSvImpacts.cxx \ | |
f9f98839 | 14 | AliPHOSImpact.cxx \ |
aedaf302 | 15 | AliPHOSHit.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\ | |
aedaf302 | 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 | 39 | HDRS = $(SRCS:.cxx=.h) $(ROOTSYS)/include/TTree.h PHOSLinkDef.h |
fe4da5cc | 40 | |
41 | # Library dictionary | |
42 | ||
43 | DICT = PHOSCint.cxx | |
44 | DICTH = $(DICT:.cxx=.h) | |
4adb943a | 45 | DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT)) |
fe4da5cc | 46 | |
fe4da5cc | 47 | # C++ Objects |
48 | ||
4adb943a | 49 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) |
fe4da5cc | 50 | |
51 | # C++ compilation flags | |
52 | ||
53 | CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ | |
fe4da5cc | 54 | |
d15a28e7 | 55 | ALSRCS = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c |
fe4da5cc | 56 | |
d15a28e7 | 57 | ALOBJS = $(SHOBJS) $(RCOBJS) $(DUOBJS) |
fe4da5cc | 58 | |
59 | ##### COMMANDS ##### | |
60 | ||
504139a0 | 61 | SLIBRARY = $(LIBDIR)/libPHOS.$(SL) |
fe4da5cc | 62 | |
63 | default: $(SLIBRARY) | |
64 | ||
504139a0 | 65 | $(LIBDIR)/libPHOS.$(SL): $(OBJS) $(FOBJS) |
fe4da5cc | 66 | |
67 | $(DICT): $(HDRS) | |
68 | ||
52005fc3 | 69 | depend: $(SRCS) |
fe4da5cc | 70 | |
d15a28e7 | 71 | TOCLEAN = $(OBJS) *Cint.cxx *Cint.h |
fe4da5cc | 72 | |
e2fe4c02 | 73 | CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) |
74 | ||
fe4da5cc | 75 | ############################### General Macros ################################ |
76 | ||
77 | include $(ALICE_ROOT)/conf/GeneralMacros | |
78 | ||
79 | ############################ Dependencies ##################################### | |
80 | ||
1207d6f2 | 81 | -include tgt_$(ALICE_TARGET)/Make-depend |
41f6cf69 | 82 | |
69c46d16 | 83 | |
cede0770 | 84 | test: |
85 | @echo " ____________________________________________________________ " | |
86 | @echo " " | |
87 | @echo " Starting the test of the simulation/reconstruction software. Please don't take the warning messages into account. " | |
88 | @echo " ____________________________________________________________ " | |
94de8339 | 89 | @aliroot -b -q "test.C(100)" > out |
6a40c29e | 90 | # @rm out |
91 | # @rm testPHOS.root | |
f1fe953e | 92 | @rm testsimglobal_C.so |
9688c1dd | 93 | |
69c46d16 | 94 | test10: |
95 | @echo " ____________________________________________________________ " | |
96 | @echo " " | |
97 | @echo " Starting the test of the simulation/reconstruction software. Please don't take the warning messages into account. " | |
98 | @echo " ____________________________________________________________ " | |
94de8339 | 99 | @aliroot -b -q "test.C(10)" > out |
69c46d16 | 100 | @rm out |
101 | @rm testPHOS.root | |
f1fe953e | 102 | @rm testsimglobal_C.so |
41f6cf69 | 103 | |
104 |