]>
Commit | Line | Data |
---|---|---|
fe4da5cc | 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 | ||
8c555625 | 12 | SRCS = AliTPC.cxx AliTPCv0.cxx AliTPCv1.cxx AliTPCv2.cxx \ |
13 | AliTPCD.cxx AliTPCPRF2D.cxx AliTPCRF1D.cxx AliTPCParam.cxx | |
fe4da5cc | 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 = $(DICT:.cxx=.o) | |
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 = $(SRCS:.cxx=.o) $(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 = $(ALICE_ROOT)/lib/libTPC.$(SL) | |
fe4da5cc | 50 | |
51 | default: $(SLIBRARY) | |
52 | ||
53 | $(ALICE_ROOT)/lib/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 | ||
9f84158c | 67 | -include Make-depend |