]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/Makefile
New class replacing AliCluster
[u/mrichter/AliRoot.git] / TPC / Makefile
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
12 SRCS          = AliDigits.cxx   AliSegmentArray.cxx AliTPCClusterFinder.cxx  AliTPC.cxx  AliTPCv0.cxx    AliTPCv1.cxx      AliTPCv2.cxx  \
13                 AliTPCv3.cxx AliDetectorParam.cxx AliTPCParam.cxx \
14                 AliTPCParamSR.cxx AliTPCParamCR.cxx  AliTPCPRF2D.cxx \
15                 AliTPCRF1D.cxx AliArrayI.cxx AliArrayS.cxx \
16                 AliSegmentID.cxx  \
17                 AliSimDigits.cxx AliDigitsArray.cxx  AliTPCDigitsArray.cxx \
18                 AliComplexCluster.cxx AliClusters.cxx AliClustersArray.cxx \
19                  AliTPCClustersRow.cxx \
20                 AliTPCClustersArray.cxx AliH2F.cxx \
21                 AliTPCcluster.cxx AliTPCclusterer.cxx \
22                 AliTPCtrack.cxx AliTPCtracker.cxx
23
24
25 # C++ Headers
26
27 HDRS          = $(SRCS:.cxx=.h) TPCLinkDef.h
28
29 # Library dictionary
30
31 DICT          = TPCCint.cxx
32 DICTH         = $(DICT:.cxx=.h)
33 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
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
45 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
46
47 # C++ compilation flags
48
49 CXXFLAGS      = $(CXXOPTS) -g -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include
50 #CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
51  
52 # FORTRAN compilation flags
53
54 FFLAGS      = $(FOPT)
55  
56 ##### TARGETS #######
57  
58 # Target
59
60 SLIBRARY        = $(LIBDIR)/libTPC.$(SL)
61
62 default:        $(SLIBRARY)
63
64 $(LIBDIR)/libTPC.$(SL):  $(OBJS)
65
66 $(DICT):                $(HDRS)
67
68 depend:                 $(SRCS)
69
70 TOCLEAN                 = $(OBJS) *Cint.h *Cint.cxx
71
72 CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
73
74 ############################### General Macros ################################
75
76 include $(ALICE_ROOT)/conf/GeneralMacros
77
78 ############################ Dependencies #####################################
79
80 -include tgt_$(ALICE_TARGET)/Make-depend 
81
82 check : $(CHECKS)
83