]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RICH/Makefile
Macro to find raw clusters (JB, AM)
[u/mrichter/AliRoot.git] / RICH / Makefile
CommitLineData
fe4da5cc 1############################### RICH Makefile #################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = RICH
9
10# C++ sources
11
018d117f 12SRCS = AliRICH.cxx AliRICHv0.cxx AliRICHDisplay.cxx AliRICHPoints.cxx AliRICHHitMap.cxx AliRICHSegResV0.cxx AliRICHSegResV1.cxx AliRICHClusterFinder.cxx \
13DataStructures.cxx AliRICHChamber.cxx AliRICHDetect.cxx
fe4da5cc 14
15# C++ Headers
16
17HDRS = $(SRCS:.cxx=.h) RICHLinkDef.h
18
19# Library dictionary
20
21DICT = RICHCint.cxx
22DICTH = $(DICT:.cxx=.h)
4adb943a 23DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 24
25# FORTRAN Objectrs
26
4adb943a 27FOBJS = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 28
29# C Objects
30
4adb943a 31COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
fe4da5cc 32
33# C++ Objects
34
4adb943a 35OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 36
37# C++ compilation flags
38
39CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
cb342460 40
41CXXFLAGS += -I$(ALICE_ROOT)/TGeant3
42DEPINC += -I$(ALICE_ROOT)/TGeant3
fe4da5cc 43
44# FORTRAN compilation flags
45
46FFLAGS = $(FOPT)
47
48##### TARGETS #####
49
50# Target
51
cb342460 52SLIBRARY = $(LIBDIR)/libRICH.$(SL)
53ALIBRARY = $(LIBDIR)/libRICH.a
fe4da5cc 54
55default: $(SLIBRARY)
56
cb342460 57$(LIBDIR)/libRICH.$(SL): $(OBJS)
fe4da5cc 58
59$(DICT): $(HDRS)
60
61depend: $(SRCS)
62
63TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
64
65############################### General Macros ################################
66
67include $(ALICE_ROOT)/conf/GeneralMacros
68
69############################ Dependencies #####################################
70
1207d6f2 71-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 72
73### Target check creates violation reports (.viol), which depend on
74### stripped files (.ii), which in turn depend on preprocessed
75### files (.i). Dependences are in conf/GeneralDef.
76
77CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
78
79check: $(CHECKS)
80
81
82
83
84
85
86