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