]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/Makefile
Add MEVSIM and TMEVSIM
[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
cf98c13f 12SRCS = 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 \
cf98c13f 15 AliTPCRF1D.cxx \
cc80f89e 16 AliSimDigits.cxx AliDigitsArray.cxx AliTPCDigitsArray.cxx \
fa562da6 17 AliComplexCluster.cxx AliClusters.cxx AliClustersArray.cxx \
73042f01 18 AliTPCClustersRow.cxx \
19 AliTPCClustersArray.cxx AliH2F.cxx \
20 AliTPCcluster.cxx AliTPCclusterer.cxx \
cf98c13f 21 AliTPCtrack.cxx AliTPCtracker.cxx \
22 AliTPCTrackHits.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
cf98c13f 49CXXFLAGS = $(CXXOPTS) -g -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include \
50 -I$(ALICE_ROOT)/CONTAINERS
fe4da5cc 51
52# FORTRAN compilation flags
53
54FFLAGS = $(FOPT)
55
cc80f89e 56##### TARGETS #######
fe4da5cc 57
58# Target
59
cb342460 60SLIBRARY = $(LIBDIR)/libTPC.$(SL)
cf98c13f 61ALIBRARY = $(LIBDIR)/static/libTPC.a
fe4da5cc 62
cf98c13f 63default: $(SLIBRARY)
fe4da5cc 64
cb342460 65$(LIBDIR)/libTPC.$(SL): $(OBJS)
cf98c13f 66$(LIBDIR)/static/libTPC.a: $(OBJS)
fe4da5cc 67
68$(DICT): $(HDRS)
69
70depend: $(SRCS)
71
72TOCLEAN = $(OBJS) *Cint.h *Cint.cxx
73
e2fe4c02 74CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
75
fe4da5cc 76############################### General Macros ################################
77
78include $(ALICE_ROOT)/conf/GeneralMacros
79
80############################ Dependencies #####################################
81
e2fe4c02 82-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 83
73042f01 84check : $(CHECKS)
41f6cf69 85