Streamlining of CodeAnalysis. .ii files are kept for reverse engineering
[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 AliRICHSegResV1.cxx AliRICHClusterFinder.cxx \
13 DataStructures.cxx AliRICHChamber.cxx AliRICHDetect.cxx 
14
15 # C++ Headers
16
17 HDRS          = $(SRCS:.cxx=.h) RICHLinkDef.h
18
19 # Library dictionary
20
21 DICT          = RICHCint.cxx
22 DICTH         = $(DICT:.cxx=.h)
23 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
24
25 # FORTRAN Objectrs
26
27 FOBJS         = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
28
29 # C Objects
30
31 COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
32
33 # C++ Objects
34
35 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
36
37 # C++ compilation flags
38
39 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
40
41 CXXFLAGS      += -I$(ALICE_ROOT)/TGeant3
42 DEPINC        += -I$(ALICE_ROOT)/TGeant3
43  
44 # FORTRAN compilation flags
45
46 FFLAGS      = $(FOPT)
47
48 ##### TARGETS #####
49  
50 # Target
51
52 SLIBRARY        = $(LIBDIR)/libRICH.$(SL)
53 ALIBRARY        = $(LIBDIR)/libRICH.a
54
55 default:        $(SLIBRARY)
56
57 $(LIBDIR)/libRICH.$(SL):                $(OBJS)
58
59 $(DICT):                                $(HDRS)
60
61 depend:                                 $(SRCS)
62
63 TOCLEAN         = $(OBJS) *Cint.cxx *Cint.h
64
65 CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
66
67 ############################### General Macros ################################
68
69 include $(ALICE_ROOT)/conf/GeneralMacros
70
71 ############################ Dependencies #####################################
72
73 -include tgt_$(ALICE_TARGET)/Make-depend 
74
75
76
77
78
79
80