Old style include needed on HP
[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
435fcc02 12SRCS = AliRICH.cxx AliRICHv0.cxx AliRICHv1.cxx AliRICHv2.cxx\
237c933d 13 AliRICHDisplay.cxx AliRICHPoints.cxx AliRICHGeometry.cxx\
435fcc02 14 AliRICHSegmentationV0.cxx AliRICHTresholdMap.cxx\
237c933d 15 AliRICHSegmentationV1.cxx AliRICHResponse.cxx AliRICHResponseV0.cxx \
d47cba59 16 AliRICHClusterFinder.cxx AliRICHHitMapA1.cxx\
237c933d 17 AliRICHChamber.cxx AliRICHDetect.cxx AliRICHPatRec.cxx \
b251a2b5 18 AliRICHHit.cxx AliRICHCerenkov.cxx AliRICHSDigit.cxx \
237c933d 19 AliRICHDigit.cxx AliRICHTransientDigit.cxx \
d8a72780 20 AliRICHRawCluster.cxx AliRICHRecHit1D.cxx AliRICHRecHit3D.cxx AliRICHEllipse.cxx \
21 AliRICHMerger.cxx
fe4da5cc 22
23# C++ Headers
24
d47cba59 25#HDRS = $(SRCS:.cxx=.h) $(ROOTSYS)/include/TClonesArray.h RICHLinkDef.h
26HDRS = $(SRCS:.cxx=.h) RICHLinkDef.h
fe4da5cc 27
28# Library dictionary
29
30DICT = RICHCint.cxx
31DICTH = $(DICT:.cxx=.h)
4adb943a 32DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 33
34# FORTRAN Objectrs
35
4adb943a 36FOBJS = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 37
38# C Objects
39
4adb943a 40COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
fe4da5cc 41
42# C++ Objects
43
4adb943a 44OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 45
46# C++ compilation flags
47
48CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
cb342460 49
fe4da5cc 50# FORTRAN compilation flags
51
52FFLAGS = $(FOPT)
53
54##### TARGETS #####
55
56# Target
57
cb342460 58SLIBRARY = $(LIBDIR)/libRICH.$(SL)
59ALIBRARY = $(LIBDIR)/libRICH.a
fe4da5cc 60
61default: $(SLIBRARY)
62
cb342460 63$(LIBDIR)/libRICH.$(SL): $(OBJS)
fe4da5cc 64
65$(DICT): $(HDRS)
66
67depend: $(SRCS)
68
69TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
70
51665627 71CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
72
fe4da5cc 73############################### General Macros ################################
74
75include $(ALICE_ROOT)/conf/GeneralMacros
76
77############################ Dependencies #####################################
78
1207d6f2 79-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 80
41f6cf69 81
82
83
84
85