]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/Makefile
Minor changes and cosmetics according to Anders.
[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 \
defdcccf 22 AliTPCTrackHits.cxx AliTPCDigitizer.cxx \
d952e289 23 AliTPCTrackHitsV2.cxx AliTPCtrackerParam.cxx \
24 AliTPCkineGrid.cxx
cc80f89e 25
fe4da5cc 26
27# C++ Headers
28
cc80f89e 29HDRS = $(SRCS:.cxx=.h) TPCLinkDef.h
fe4da5cc 30
31# Library dictionary
32
33DICT = TPCCint.cxx
34DICTH = $(DICT:.cxx=.h)
4adb943a 35DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 36
37# FORTRAN Objectrs
38
39FOBJS = $(FSRCS:.f=.o)
40
41# C Objects
42
43COBJS = $(CSRCS:.c=.o)
44
45# C++ Objects
46
4adb943a 47OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 48
49# C++ compilation flags
50
cf98c13f 51CXXFLAGS = $(CXXOPTS) -g -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include \
52 -I$(ALICE_ROOT)/CONTAINERS
fe4da5cc 53
54# FORTRAN compilation flags
55
56FFLAGS = $(FOPT)
57
cc80f89e 58##### TARGETS #######
fe4da5cc 59
60# Target
61
cb342460 62SLIBRARY = $(LIBDIR)/libTPC.$(SL)
cf98c13f 63ALIBRARY = $(LIBDIR)/static/libTPC.a
fe4da5cc 64
cf98c13f 65default: $(SLIBRARY)
fe4da5cc 66
cb342460 67$(LIBDIR)/libTPC.$(SL): $(OBJS)
cf98c13f 68$(LIBDIR)/static/libTPC.a: $(OBJS)
fe4da5cc 69
70$(DICT): $(HDRS)
71
72depend: $(SRCS)
73
74TOCLEAN = $(OBJS) *Cint.h *Cint.cxx
75
e2fe4c02 76CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
77
fe4da5cc 78############################### General Macros ################################
79
80include $(ALICE_ROOT)/conf/GeneralMacros
81
82############################ Dependencies #####################################
83
e2fe4c02 84-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 85
73042f01 86check : $(CHECKS)
41f6cf69 87