Hits with detailed information moved to AliPHOSDebugHit
[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 \
3d402178 16 AliPHOSEMCAGeometry.cxx \
0d90a31c 17 AliPHOSCPVGeometry.cxx AliPHOSCPVBaseGeometry.cxx \
18 AliPHOSPPSDGeometry.cxx AliPHOSSupportGeometry.cxx \
5c617c31 19 AliPHOSCPVDigit.cxx AliPHOSDigit.cxx \
3d402178 20 AliPHOSRecPoint.cxx AliPHOSEmcRecPoint.cxx \
21 AliPHOSPpsdRecPoint.cxx AliPHOSCpvRecPoint.cxx \
cce428fe 22 AliPHOSClusterizer.cxx AliPHOSClusterizerv1.cxx AliPHOSLink.cxx \
23 AliPHOSReconstructioner.cxx AliPHOSTrackSegment.cxx \
24 AliPHOSTrackSegmentMaker.cxx AliPHOSTrackSegmentMakerv1.cxx \
25 AliPHOSRecParticle.cxx AliPHOSPID.cxx AliPHOSPIDv1.cxx \
5f20d3fb 26 AliPHOSAnalyze.cxx AliPHOSFastRecParticle.cxx \
3d402178 27 AliPHOSIndexToObject.cxx
fe4da5cc 28
29# C++ Headers
30
94de3818 31HDRS = $(SRCS:.cxx=.h) $(ROOTSYS)/include/TTree.h PHOSLinkDef.h
fe4da5cc 32
33# Library dictionary
34
35DICT = PHOSCint.cxx
36DICTH = $(DICT:.cxx=.h)
4adb943a 37DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 38
fe4da5cc 39# C++ Objects
40
4adb943a 41OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 42
43# C++ compilation flags
44
45CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
fe4da5cc 46
d15a28e7 47ALSRCS = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c
fe4da5cc 48
d15a28e7 49ALOBJS = $(SHOBJS) $(RCOBJS) $(DUOBJS)
fe4da5cc 50
51##### COMMANDS #####
52
504139a0 53SLIBRARY = $(LIBDIR)/libPHOS.$(SL)
fe4da5cc 54
55default: $(SLIBRARY)
56
504139a0 57$(LIBDIR)/libPHOS.$(SL): $(OBJS) $(FOBJS)
fe4da5cc 58
59$(DICT): $(HDRS)
60
52005fc3 61depend: $(SRCS)
fe4da5cc 62
d15a28e7 63TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
fe4da5cc 64
e2fe4c02 65CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
66
fe4da5cc 67############################### General Macros ################################
68
69include $(ALICE_ROOT)/conf/GeneralMacros
70
71############################ Dependencies #####################################
72
1207d6f2 73-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 74
41f6cf69 75
76
77
78
79
80