]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/Makefile
Decay_t moved to AliDecayer.h
[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          = 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 \
16                 AliSimDigits.cxx AliDigitsArray.cxx  AliTPCDigitsArray.cxx \
17                 AliComplexCluster.cxx AliClusters.cxx AliClustersArray.cxx \
18                  AliTPCClustersRow.cxx \
19                 AliTPCClustersArray.cxx AliH2F.cxx \
20                 AliTPCcluster.cxx AliTPCclusterer.cxx \
21                 AliTPCtrack.cxx AliTPCtracker.cxx \
22                 AliTPCTrackHits.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                 -I$(ALICE_ROOT)/CONTAINERS
51  
52 # FORTRAN compilation flags
53
54 FFLAGS      = $(FOPT)
55  
56 ##### TARGETS #######
57  
58 # Target
59
60 SLIBRARY        = $(LIBDIR)/libTPC.$(SL)
61 ALIBRARY      = $(LIBDIR)/static/libTPC.a
62
63 default:        $(SLIBRARY) 
64
65 $(LIBDIR)/libTPC.$(SL):  $(OBJS)
66 $(LIBDIR)/static/libTPC.a:  $(OBJS)
67
68 $(DICT):                $(HDRS)
69
70 depend:                 $(SRCS)
71
72 TOCLEAN                 = $(OBJS) *Cint.h *Cint.cxx
73
74 CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
75
76 ############################### General Macros ################################
77
78 include $(ALICE_ROOT)/conf/GeneralMacros
79
80 ############################ Dependencies #####################################
81
82 -include tgt_$(ALICE_TARGET)/Make-depend 
83
84 check : $(CHECKS)
85