]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/Makefile
Improve documentation
[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
92862013 12SRCS = AliPHOS.cxx AliPHOSv0.cxx AliPHOSv1.cxx AliPHOSHit.cxx \
d15a28e7 13 AliPHOSGeometry.cxx \
b2a60966 14 AliPHOSDigit.cxx \
d15a28e7 15 AliPHOSRecPoint.cxx AliPHOSEmcRecPoint.cxx AliPHOSPpsdRecPoint.cxx \
16 AliPHOSClusterizer.cxx AliPHOSClusterizerv1.cxx AliPHOSLink.cxx \
17 AliPHOSReconstructioner.cxx AliPHOSTrackSegment.cxx \
6ad0bfa0 18 AliPHOSTrackSegmentMaker.cxx AliPHOSTrackSegmentMakerv1.cxx \
26d4b141 19 AliPHOSRecParticle.cxx AliPHOSPID.cxx AliPHOSPIDv1.cxx \
b2a60966 20 AliPHOSAnalyze.cxx AliPHOSvFast.cxx AliPHOSFastRecParticle.cxx \
21 AliPHOSArray.cxx
d15a28e7 22
fe4da5cc 23
24# C++ Headers
25
26HDRS = $(SRCS:.cxx=.h) PHOSLinkDef.h
27
28# Library dictionary
29
30DICT = PHOSCint.cxx
31DICTH = $(DICT:.cxx=.h)
4adb943a 32DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 33
fe4da5cc 34# C++ Objects
35
4adb943a 36OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 37
38# C++ compilation flags
39
40CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
fe4da5cc 41
d15a28e7 42ALSRCS = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c
fe4da5cc 43
d15a28e7 44ALOBJS = $(SHOBJS) $(RCOBJS) $(DUOBJS)
fe4da5cc 45
46##### COMMANDS #####
47
52005fc3 48SLIBRARY = $(LIBDIR)/libPHOS.$(SL)
fe4da5cc 49
50default: $(SLIBRARY)
51
cb342460 52$(LIBDIR)/libPHOS.$(SL): $(OBJS) $(FOBJS)
fe4da5cc 53
54$(DICT): $(HDRS)
55
52005fc3 56depend: $(SRCS)
fe4da5cc 57
d15a28e7 58TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
fe4da5cc 59
60############################### General Macros ################################
61
62include $(ALICE_ROOT)/conf/GeneralMacros
63
64############################ Dependencies #####################################
65
1207d6f2 66-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 67
68### Target check creates violation reports (.viol), which depend on
69### stripped files (.ii), which in turn depend on preprocessed
70### files (.i). Dependences are in conf/GeneralDef.
71
72CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
73
74check: $(CHECKS)
75
76
77
78
79
80
81