]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - TPC/Makefile
Introduce standard Author and Modified fields
[u/mrichter/AliRoot.git] / TPC / Makefile
... / ...
CommitLineData
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
12SRCS = AliTPC.cxx AliTPCv0.cxx AliTPCv1.cxx AliTPCv2.cxx \
13 AliTPCD.cxx AliTPCPRF2D.cxx AliTPCRF1D.cxx AliTPCParam.cxx \
14 AliTPCv3.cxx
15
16# C++ Headers
17
18HDRS = $(SRCS:.cxx=.h) AliTPCSecGeo.h TPCLinkDef.h
19
20# Library dictionary
21
22DICT = TPCCint.cxx
23DICTH = $(DICT:.cxx=.h)
24DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
25
26# FORTRAN Objectrs
27
28FOBJS = $(FSRCS:.f=.o)
29
30# C Objects
31
32COBJS = $(CSRCS:.c=.o)
33
34# C++ Objects
35
36OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
37
38# C++ compilation flags
39
40CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
41
42# FORTRAN compilation flags
43
44FFLAGS = $(FOPT)
45
46##### TARGETS #####
47
48# Target
49
50SLIBRARY = $(LIBDIR)/libTPC.$(SL)
51
52default: $(SLIBRARY)
53
54$(LIBDIR)/libTPC.$(SL): $(OBJS)
55
56$(DICT): $(HDRS)
57
58depend: $(SRCS)
59
60TOCLEAN = $(OBJS) *Cint.h *Cint.cxx
61
62############################### General Macros ################################
63
64include $(ALICE_ROOT)/conf/GeneralMacros
65
66############################ Dependencies #####################################
67
68-include tgt_$(ALICE_TARGET)/Make-depend
69
70### Target check creates violation reports (.viol), which depend on
71### stripped files (.ii), which in turn depend on preprocessed
72### files (.i). Dependences are in conf/GeneralDef.
73
74CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
75
76check: $(CHECKS)
77
78
79
80
81
82
83