]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/Makefile
New class replacing AliCluster
[u/mrichter/AliRoot.git] / TPC / Makefile
CommitLineData
73042f01 1############################## TPC Makefile ##################################
fe4da5cc 2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = TPC
9
10# C++ sources
11
73042f01 12SRCS = AliDigits.cxx AliSegmentArray.cxx AliTPCClusterFinder.cxx AliTPC.cxx AliTPCv0.cxx AliTPCv1.cxx AliTPCv2.cxx \
cc80f89e 13 AliTPCv3.cxx AliDetectorParam.cxx AliTPCParam.cxx \
14 AliTPCParamSR.cxx AliTPCParamCR.cxx AliTPCPRF2D.cxx \
15 AliTPCRF1D.cxx AliArrayI.cxx AliArrayS.cxx \
73042f01 16 AliSegmentID.cxx \
cc80f89e 17 AliSimDigits.cxx AliDigitsArray.cxx AliTPCDigitsArray.cxx \
fa562da6 18 AliComplexCluster.cxx AliClusters.cxx AliClustersArray.cxx \
73042f01 19 AliTPCClustersRow.cxx \
20 AliTPCClustersArray.cxx AliH2F.cxx \
21 AliTPCcluster.cxx AliTPCclusterer.cxx \
22 AliTPCtrack.cxx AliTPCtracker.cxx
cc80f89e 23
fe4da5cc 24
25# C++ Headers
26
cc80f89e 27HDRS = $(SRCS:.cxx=.h) TPCLinkDef.h
fe4da5cc 28
29# Library dictionary
30
31DICT = TPCCint.cxx
32DICTH = $(DICT:.cxx=.h)
4adb943a 33DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 34
35# FORTRAN Objectrs
36
37FOBJS = $(FSRCS:.f=.o)
38
39# C Objects
40
41COBJS = $(CSRCS:.c=.o)
42
43# C++ Objects
44
4adb943a 45OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 46
47# C++ compilation flags
48
cc80f89e 49CXXFLAGS = $(CXXOPTS) -g -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include
50#CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
fe4da5cc 51
52# FORTRAN compilation flags
53
54FFLAGS = $(FOPT)
55
cc80f89e 56##### TARGETS #######
fe4da5cc 57
58# Target
59
cb342460 60SLIBRARY = $(LIBDIR)/libTPC.$(SL)
fe4da5cc 61
62default: $(SLIBRARY)
63
cb342460 64$(LIBDIR)/libTPC.$(SL): $(OBJS)
fe4da5cc 65
66$(DICT): $(HDRS)
67
68depend: $(SRCS)
69
70TOCLEAN = $(OBJS) *Cint.h *Cint.cxx
71
e2fe4c02 72CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
73
fe4da5cc 74############################### General Macros ################################
75
76include $(ALICE_ROOT)/conf/GeneralMacros
77
78############################ Dependencies #####################################
79
e2fe4c02 80-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 81
73042f01 82check : $(CHECKS)
41f6cf69 83