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