]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RICH/Makefile
Change of argument list of methods GetPadCxy, GetPadIxy, SetHit and FirstPad
[u/mrichter/AliRoot.git] / RICH / Makefile
1 ############################### RICH 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 = RICH
9
10 # C++ sources
11
12 SRCS   = AliRICH.cxx AliRICHv0.cxx AliRICHv1.cxx \
13          AliRICHDisplay.cxx AliRICHPoints.cxx AliRICHGeometry.cxx\
14          AliRICHHitMap.cxx AliRICHHitMapA1.cxx AliRICHSegmentation.cxx \
15          AliRICHSegmentationV0.cxx \
16          AliRICHSegmentationV1.cxx AliRICHResponse.cxx AliRICHResponseV0.cxx \
17          AliRICHClusterFinder.cxx \
18          AliRICHChamber.cxx AliRICHDetect.cxx AliRICHPatRec.cxx \
19          AliRICHHit.cxx AliRICHCerenkov.cxx AliRICHPadHit.cxx \
20          AliRICHDigit.cxx AliRICHTransientDigit.cxx \
21          AliRICHRawCluster.cxx AliRICHRecHit.cxx AliRICHEllipse.cxx
22
23 # C++ Headers
24
25 HDRS          = $(SRCS:.cxx=.h) RICHLinkDef.h
26
27 # Library dictionary
28
29 DICT          = RICHCint.cxx
30 DICTH         = $(DICT:.cxx=.h)
31 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
32
33 # FORTRAN Objectrs
34
35 FOBJS         = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
36
37 # C Objects
38
39 COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
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 CXXFLAGS      += -I$(ALICE_ROOT)/TGeant3
50 DEPINC        += -I$(ALICE_ROOT)/TGeant3
51  
52 # FORTRAN compilation flags
53
54 FFLAGS      = $(FOPT)
55
56 ##### TARGETS #####
57  
58 # Target
59
60 SLIBRARY        = $(LIBDIR)/libRICH.$(SL)
61 ALIBRARY        = $(LIBDIR)/libRICH.a
62
63 default:        $(SLIBRARY)
64
65 $(LIBDIR)/libRICH.$(SL):                $(OBJS)
66
67 $(DICT):                                $(HDRS)
68
69 depend:                                 $(SRCS)
70
71 TOCLEAN         = $(OBJS) *Cint.cxx *Cint.h
72
73 CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
74
75 ############################### General Macros ################################
76
77 include $(ALICE_ROOT)/conf/GeneralMacros
78
79 ############################ Dependencies #####################################
80
81 -include tgt_$(ALICE_TARGET)/Make-depend 
82
83
84
85
86
87
88