]>
Commit | Line | Data |
---|---|---|
fe4da5cc | 1 | ############################### TPC Makefile ################################## |
2 | ||
3 | # Include machine specific definitions | |
4 | ||
5 | include $(ALICE_ROOT)/conf/GeneralDef | |
6 | include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET) | |
7 | ||
8 | PACKAGE = TPC | |
9 | ||
10 | # C++ sources | |
11 | ||
8c555625 | 12 | SRCS = 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 | 25 | HDRS = $(SRCS:.cxx=.h) TPCLinkDef.h |
fe4da5cc | 26 | |
27 | # Library dictionary | |
28 | ||
29 | DICT = TPCCint.cxx | |
30 | DICTH = $(DICT:.cxx=.h) | |
4adb943a | 31 | DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT)) |
fe4da5cc | 32 | |
33 | # FORTRAN Objectrs | |
34 | ||
35 | FOBJS = $(FSRCS:.f=.o) | |
36 | ||
37 | # C Objects | |
38 | ||
39 | COBJS = $(CSRCS:.c=.o) | |
40 | ||
41 | # C++ Objects | |
42 | ||
4adb943a | 43 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) |
fe4da5cc | 44 | |
45 | # C++ compilation flags | |
46 | ||
cc80f89e | 47 | CXXFLAGS = $(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 | ||
52 | FFLAGS = $(FOPT) | |
53 | ||
cc80f89e | 54 | ##### TARGETS ####### |
fe4da5cc | 55 | |
56 | # Target | |
57 | ||
cb342460 | 58 | SLIBRARY = $(LIBDIR)/libTPC.$(SL) |
fe4da5cc | 59 | |
60 | default: $(SLIBRARY) | |
61 | ||
cb342460 | 62 | $(LIBDIR)/libTPC.$(SL): $(OBJS) |
fe4da5cc | 63 | |
64 | $(DICT): $(HDRS) | |
65 | ||
66 | depend: $(SRCS) | |
67 | ||
68 | TOCLEAN = $(OBJS) *Cint.h *Cint.cxx | |
69 | ||
e2fe4c02 | 70 | CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) |
71 | ||
fe4da5cc | 72 | ############################### General Macros ################################ |
73 | ||
74 | include $(ALICE_ROOT)/conf/GeneralMacros | |
75 | ||
76 | ############################ Dependencies ##################################### | |
77 | ||
e2fe4c02 | 78 | -include tgt_$(ALICE_TARGET)/Make-depend |
41f6cf69 | 79 | |
80 |