]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/Makefile
d2a394a3b70f6ac79a2803e0164aceefd7ae52bf
[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          = AliTPC.cxx  AliTPCv0.cxx    AliTPCv1.cxx      AliTPCv2.cxx  \
13                 AliTPCD.cxx AliTPCPRF2D.cxx AliTPCRF1D.cxx AliTPCParam.cxx
14
15 # C++ Headers
16
17 HDRS          = $(SRCS:.cxx=.h) AliTPCSecGeo.h TPCLinkDef.h
18
19 # Library dictionary
20
21 DICT          = TPCCint.cxx
22 DICTH         = $(DICT:.cxx=.h)
23 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
24
25 # FORTRAN Objectrs
26
27 FOBJS         = $(FSRCS:.f=.o)
28
29 # C Objects
30
31 COBJS         = $(CSRCS:.c=.o)
32
33 # C++ Objects
34
35 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
36
37 # C++ compilation flags
38
39 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
40  
41 # FORTRAN compilation flags
42
43 FFLAGS      = $(FOPT)
44  
45 ##### TARGETS #####
46  
47 # Target
48
49 SLIBRARY        = $(LIBDIR)/libTPC.$(SL)
50
51 default:        $(SLIBRARY)
52
53 $(LIBDIR)/libTPC.$(SL):  $(OBJS)
54
55 $(DICT):                $(HDRS)
56
57 depend:                 $(SRCS)
58
59 TOCLEAN                 = $(OBJS) *Cint.h *Cint.cxx
60
61 ############################### General Macros ################################
62
63 include $(ALICE_ROOT)/conf/GeneralMacros
64
65 ############################ Dependencies #####################################
66
67 -include Make-depend