New class AliPHOSCPVDigit
[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 \
13 AliPHOSv3.cxx AliPHOSv4.cxx \
14 AliPHOSHit.cxx \
cce428fe 15 AliPHOSGeometry.cxx \
07d027a1 16 AliEMCAGeometry.cxx \
17 AliCPVGeometry.cxx AliCPVBaseGeometry.cxx AliPPSDGeometry.cxx \
18 AliPHOSCPV.cxx \
cce428fe 19 AliPHOSDigit.cxx \
20 AliPHOSRecPoint.cxx AliPHOSEmcRecPoint.cxx AliPHOSPpsdRecPoint.cxx \
21 AliPHOSClusterizer.cxx AliPHOSClusterizerv1.cxx AliPHOSLink.cxx \
22 AliPHOSReconstructioner.cxx AliPHOSTrackSegment.cxx \
23 AliPHOSTrackSegmentMaker.cxx AliPHOSTrackSegmentMakerv1.cxx \
24 AliPHOSRecParticle.cxx AliPHOSPID.cxx AliPHOSPIDv1.cxx \
5f20d3fb 25 AliPHOSAnalyze.cxx AliPHOSFastRecParticle.cxx \
cce428fe 26 AliPHOSIndexToObject.cxx \
fe4da5cc 27
28# C++ Headers
29
94de3818 30HDRS = $(SRCS:.cxx=.h) $(ROOTSYS)/include/TTree.h PHOSLinkDef.h
fe4da5cc 31
32# Library dictionary
33
34DICT = PHOSCint.cxx
35DICTH = $(DICT:.cxx=.h)
4adb943a 36DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 37
fe4da5cc 38# C++ Objects
39
4adb943a 40OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 41
42# C++ compilation flags
43
44CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
fe4da5cc 45
d15a28e7 46ALSRCS = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c
fe4da5cc 47
d15a28e7 48ALOBJS = $(SHOBJS) $(RCOBJS) $(DUOBJS)
fe4da5cc 49
50##### COMMANDS #####
51
52005fc3 52SLIBRARY = $(LIBDIR)/libPHOS.$(SL)
fe4da5cc 53
54default: $(SLIBRARY)
55
cb342460 56$(LIBDIR)/libPHOS.$(SL): $(OBJS) $(FOBJS)
fe4da5cc 57
58$(DICT): $(HDRS)
59
52005fc3 60depend: $(SRCS)
fe4da5cc 61
d15a28e7 62TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
fe4da5cc 63
e2fe4c02 64CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
6b2a48af 65REVENGS = $(patsubst %.cxx,check/%.ii,$(SRCS))
e2fe4c02 66
6b2a48af 67# IRST reverse engineering
68reveng : $(REVENGS)
69 @$(REV_ENG) $(REVENGS)
fe4da5cc 70############################### General Macros ################################
71
72include $(ALICE_ROOT)/conf/GeneralMacros
73
74############################ Dependencies #####################################
75
1207d6f2 76-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 77
41f6cf69 78
79
80
81
82
83