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