Updated definitions
[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
e2fe4c02 65CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
66
fe4da5cc 67############################### General Macros ################################
68
69include $(ALICE_ROOT)/conf/GeneralMacros
70
71############################ Dependencies #####################################
72
1207d6f2 73-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 74
41f6cf69 75
76
77
78
79
80