]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RICH/Makefile
New geometry files from R.Barbera
[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 AliRICHdisplay.cxx AliRICHpoints.cxx AliRICHHitMap.cxx AliRICHSegResV0.cxx AliRICHSegResCkv.cxx
13
14 # C++ Headers
15
16 HDRS          = $(SRCS:.cxx=.h) RICHLinkDef.h
17
18 # Library dictionary
19
20 DICT          = RICHCint.cxx
21 DICTH         = $(DICT:.cxx=.h)
22 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
23
24 # FORTRAN Objectrs
25
26 FOBJS         = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
27
28 # C Objects
29
30 COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
31
32 # C++ Objects
33
34 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
35
36 # C++ compilation flags
37
38 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
39
40 CXXFLAGS      += -I$(ALICE_ROOT)/TGeant3
41 DEPINC        += -I$(ALICE_ROOT)/TGeant3
42  
43 # FORTRAN compilation flags
44
45 FFLAGS      = $(FOPT)
46
47 ##### TARGETS #####
48  
49 # Target
50
51 SLIBRARY        = $(LIBDIR)/libRICH.$(SL)
52 ALIBRARY        = $(LIBDIR)/libRICH.a
53
54 default:        $(SLIBRARY)
55
56 $(LIBDIR)/libRICH.$(SL):                $(OBJS)
57
58 $(DICT):                                $(HDRS)
59
60 depend:                                 $(SRCS)
61
62 TOCLEAN         = $(OBJS) *Cint.cxx *Cint.h
63
64 ############################### General Macros ################################
65
66 include $(ALICE_ROOT)/conf/GeneralMacros
67
68 ############################ Dependencies #####################################
69
70 -include Make-depend