new classes that were automatically generated from mysql tables
[u/mrichter/AliRoot.git] / PHOS / Makefile
1 ############################### PHOS Makefile #################################
2
3 # Include machine specific definitions
4
5 include $(ALICE_ROOT)/conf/GeneralDef
6 include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8 PACKAGE = PHOS
9
10 # C++ sources
11
12 SRCS          =  AliPHOS.cxx AliPHOSv0.cxx AliPHOSv1.cxx AliPHOSv2.cxx \
13                  AliPHOSv3.cxx AliPHOSv4.cxx \
14                  AliPHOSHit.cxx \
15                  AliPHOSGeometry.cxx \
16                  AliPHOSEMCAGeometry.cxx \
17                  AliPHOSCPVGeometry.cxx AliPHOSCPVBaseGeometry.cxx \
18                  AliPHOSPPSDGeometry.cxx AliPHOSSupportGeometry.cxx \
19                  AliPHOSCPVDigit.cxx AliPHOSDigit.cxx  \
20                  AliPHOSRecPoint.cxx AliPHOSEmcRecPoint.cxx \
21                  AliPHOSPpsdRecPoint.cxx AliPHOSCpvRecPoint.cxx \
22                  AliPHOSClusterizer.cxx AliPHOSClusterizerv1.cxx  \
23                  AliPHOSLink.cxx AliPHOSSDigitizer.cxx AliPHOSDigitizer.cxx\
24                  AliPHOSReconstructioner.cxx  AliPHOSTrackSegment.cxx \
25                  AliPHOSTrackSegmentMaker.cxx AliPHOSTrackSegmentMakerv1.cxx \
26                  AliPHOSRecParticle.cxx AliPHOSPID.cxx AliPHOSPIDv1.cxx \
27                  AliPHOSAnalyze.cxx AliPHOSFastRecParticle.cxx \
28                  AliPHOSIndexToObject.cxx \
29                  AliDBPPR.cxx AliDBPPRS.cxx
30
31 # C++ Headers
32
33 HDRS          = $(SRCS:.cxx=.h) $(ROOTSYS)/include/TTree.h PHOSLinkDef.h
34
35 # Library dictionary
36
37 DICT          = PHOSCint.cxx
38 DICTH         = $(DICT:.cxx=.h)
39 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
40
41 # C++ Objects
42
43 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
44
45 # C++ compilation flags
46
47 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
48
49 ALSRCS  = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c
50
51 ALOBJS  = $(SHOBJS) $(RCOBJS) $(DUOBJS)
52
53 ##### COMMANDS ##### 
54
55 SLIBRARY        = $(LIBDIR)/libPHOS.$(SL)
56
57 default:        $(SLIBRARY)
58
59 $(LIBDIR)/libPHOS.$(SL):                        $(OBJS) $(FOBJS)
60
61 $(DICT):                                        $(HDRS)
62
63 depend:                         $(SRCS) 
64
65 TOCLEAN         =        $(OBJS) *Cint.cxx *Cint.h
66
67 CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
68
69 ############################### General Macros ################################
70
71 include $(ALICE_ROOT)/conf/GeneralMacros
72
73 ############################ Dependencies #####################################
74
75 -include tgt_$(ALICE_TARGET)/Make-depend 
76
77
78
79
80
81
82