]>
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 \ | |
15 | AliTrack.cxx AliVertex.cxx | |
16 | ||
17 | ||
18 | # C++ Headers | |
19 | ||
20 | HDRS = $(SRCS:.cxx=.h) RALICELinkDef.h | |
21 | ||
22 | # Library dictionary | |
23 | ||
24 | DICT = RALICECint.cxx | |
25 | DICTH = $(DICT:.cxx=.h) | |
4adb943a | 26 | DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT)) |
d88f97cc | 27 | |
28 | # FORTRAN Objectrs | |
29 | ||
30 | FOBJS = $(FSRCS:.f=.o) | |
31 | ||
32 | # C Objects | |
33 | ||
34 | COBJS = $(CSRCS:.c=.o) | |
35 | ||
36 | # C++ Objects | |
37 | ||
4adb943a | 38 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) |
d88f97cc | 39 | |
40 | # C++ compilation flags | |
41 | ||
42 | CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ | |
43 | ||
44 | # FORTRAN compilation flags | |
45 | ||
46 | FFLAGS = $(FOPT) | |
47 | ||
48 | ##### TARGETS ##### | |
49 | ||
50 | # Target | |
51 | ||
52 | SLIBRARY = $(LIBDIR)/libRALICE.$(SL) | |
53 | ||
54 | default: $(SLIBRARY) | |
55 | ||
56 | $(LIBDIR)/libRALICE.$(SL): $(OBJS) | |
57 | ||
58 | $(DICT): $(HDRS) | |
59 | ||
60 | depend: $(SRCS) | |
61 | ||
62 | TOCLEAN = $(OBJS) *Cint.h *Cint.cxx | |
63 | ||
64 | ############################### General Macros ################################ | |
65 | ||
66 | include $(ALICE_ROOT)/conf/GeneralMacros | |
67 | ||
68 | ############################ Dependencies ##################################### | |
69 | ||
70 | -include Make-depend |