new naming of the AliPHOS versions
[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 \
16 AliPHOSDigit.cxx \
17 AliPHOSRecPoint.cxx AliPHOSEmcRecPoint.cxx AliPHOSPpsdRecPoint.cxx \
18 AliPHOSClusterizer.cxx AliPHOSClusterizerv1.cxx AliPHOSLink.cxx \
19 AliPHOSReconstructioner.cxx AliPHOSTrackSegment.cxx \
20 AliPHOSTrackSegmentMaker.cxx AliPHOSTrackSegmentMakerv1.cxx \
21 AliPHOSRecParticle.cxx AliPHOSPID.cxx AliPHOSPIDv1.cxx \
5f20d3fb 22 AliPHOSAnalyze.cxx AliPHOSFastRecParticle.cxx \
cce428fe 23 AliPHOSIndexToObject.cxx \
fe4da5cc 24
25# C++ Headers
26
27HDRS = $(SRCS:.cxx=.h) PHOSLinkDef.h
28
29# Library dictionary
30
31DICT = PHOSCint.cxx
32DICTH = $(DICT:.cxx=.h)
4adb943a 33DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 34
fe4da5cc 35# C++ Objects
36
4adb943a 37OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 38
39# C++ compilation flags
40
41CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
fe4da5cc 42
d15a28e7 43ALSRCS = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c
fe4da5cc 44
d15a28e7 45ALOBJS = $(SHOBJS) $(RCOBJS) $(DUOBJS)
fe4da5cc 46
47##### COMMANDS #####
48
52005fc3 49SLIBRARY = $(LIBDIR)/libPHOS.$(SL)
fe4da5cc 50
51default: $(SLIBRARY)
52
cb342460 53$(LIBDIR)/libPHOS.$(SL): $(OBJS) $(FOBJS)
fe4da5cc 54
55$(DICT): $(HDRS)
56
52005fc3 57depend: $(SRCS)
fe4da5cc 58
d15a28e7 59TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
fe4da5cc 60
e2fe4c02 61CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
6b2a48af 62REVENGS = $(patsubst %.cxx,check/%.ii,$(SRCS))
e2fe4c02 63
6b2a48af 64# IRST reverse engineering
65reveng : $(REVENGS)
66 @$(REV_ENG) $(REVENGS)
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