]>
Commit | Line | Data |
---|---|---|
d88f97cc | 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 = RALICE | |
9 | ||
10 | # C++ sources | |
11 | ||
12 | SRCS = Ali3Vector.cxx Ali4Vector.cxx AliBoost.cxx AliCalcluster.cxx \ | |
13 | AliCalmodule.cxx AliCalorimeter.cxx AliInvmass.cxx AliJet.cxx \ | |
14 | AliMath.cxx AliPosition.cxx AliRandom.cxx AliSample.cxx AliSignal.cxx \ | |
959fbac5 | 15 | AliTrack.cxx AliVertex.cxx Ali3VectorObj.cxx Ali4VectorObj.cxx \ |
e0a93fae | 16 | AliPositionObj.cxx AliEvent.cxx |
d88f97cc | 17 | |
18 | ||
19 | # C++ Headers | |
20 | ||
21 | HDRS = $(SRCS:.cxx=.h) RALICELinkDef.h | |
22 | ||
23 | # Library dictionary | |
24 | ||
25 | DICT = RALICECint.cxx | |
26 | DICTH = $(DICT:.cxx=.h) | |
4adb943a | 27 | DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT)) |
d88f97cc | 28 | |
29 | # FORTRAN Objectrs | |
30 | ||
31 | FOBJS = $(FSRCS:.f=.o) | |
32 | ||
33 | # C Objects | |
34 | ||
35 | COBJS = $(CSRCS:.c=.o) | |
36 | ||
37 | # C++ Objects | |
38 | ||
4adb943a | 39 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) |
d88f97cc | 40 | |
41 | # C++ compilation flags | |
42 | ||
43 | CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ | |
44 | ||
45 | # FORTRAN compilation flags | |
46 | ||
47 | FFLAGS = $(FOPT) | |
48 | ||
49 | ##### TARGETS ##### | |
50 | ||
51 | # Target | |
52 | ||
53 | SLIBRARY = $(LIBDIR)/libRALICE.$(SL) | |
54 | ||
55 | default: $(SLIBRARY) | |
56 | ||
57 | $(LIBDIR)/libRALICE.$(SL): $(OBJS) | |
58 | ||
59 | $(DICT): $(HDRS) | |
60 | ||
61 | depend: $(SRCS) | |
62 | ||
63 | TOCLEAN = $(OBJS) *Cint.h *Cint.cxx | |
64 | ||
e2fe4c02 | 65 | CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) |
66 | ||
d88f97cc | 67 | ############################### General Macros ################################ |
68 | ||
69 | include $(ALICE_ROOT)/conf/GeneralMacros | |
70 | ||
71 | ############################ Dependencies ##################################### | |
72 | ||
1207d6f2 | 73 | -include tgt_$(ALICE_TARGET)/Make-depend |
41f6cf69 | 74 | |
41f6cf69 | 75 | |
76 | ||
77 | ||
78 | ||
79 | ||
80 |