]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/Makefile
Streamlining of CodeAnalysis. .ii files are kept for reverse engineering
[u/mrichter/AliRoot.git] / TPC / Makefile
CommitLineData
fe4da5cc 1############################### TPC Makefile ##################################
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
8c555625 12SRCS = 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 \
16 AliSegmentID.cxx AliSegmentArray.cxx AliDigits.cxx \
17 AliSimDigits.cxx AliDigitsArray.cxx AliTPCDigitsArray.cxx \
18 AliCluster.cxx AliClusters.cxx AliClustersArray.cxx \
19 AliClusterFinder.cxx AliTPCClustersRow.cxx \
20 AliTPCClustersArray.cxx AliH2F.cxx
21
fe4da5cc 22
23# C++ Headers
24
cc80f89e 25HDRS = $(SRCS:.cxx=.h) TPCLinkDef.h
fe4da5cc 26
27# Library dictionary
28
29DICT = TPCCint.cxx
30DICTH = $(DICT:.cxx=.h)
4adb943a 31DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 32
33# FORTRAN Objectrs
34
35FOBJS = $(FSRCS:.f=.o)
36
37# C Objects
38
39COBJS = $(CSRCS:.c=.o)
40
41# C++ Objects
42
4adb943a 43OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 44
45# C++ compilation flags
46
cc80f89e 47CXXFLAGS = $(CXXOPTS) -g -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include
48#CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
fe4da5cc 49
50# FORTRAN compilation flags
51
52FFLAGS = $(FOPT)
53
cc80f89e 54##### TARGETS #######
fe4da5cc 55
56# Target
57
cb342460 58SLIBRARY = $(LIBDIR)/libTPC.$(SL)
fe4da5cc 59
60default: $(SLIBRARY)
61
cb342460 62$(LIBDIR)/libTPC.$(SL): $(OBJS)
fe4da5cc 63
64$(DICT): $(HDRS)
65
66depend: $(SRCS)
67
68TOCLEAN = $(OBJS) *Cint.h *Cint.cxx
69
e2fe4c02 70CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
71
fe4da5cc 72############################### General Macros ################################
73
74include $(ALICE_ROOT)/conf/GeneralMacros
75
76############################ Dependencies #####################################
77
e2fe4c02 78-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 79
80