]>
Commit | Line | Data |
---|---|---|
fe4da5cc | 1 | ############################### ITS 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 = ITS | |
9 | ||
10 | # C++ sources | |
11 | ||
766ac21b | 12 | SRCS = AliITS.cxx AliITSv0.cxx AliITSv1.cxx AliITSv3.cxx AliITSv5.cxx |
fe4da5cc | 13 | |
14 | # Fortran sources | |
15 | ||
766ac21b | 16 | FSRCS = |
fe4da5cc | 17 | |
18 | # C++ Headers | |
19 | ||
20 | HDRS = $(SRCS:.cxx=.h) ITSLinkDef.h | |
21 | ||
22 | # Library dictionary | |
23 | ||
24 | DICT = ITSCint.cxx | |
25 | DICTH = $(DICT:.cxx=.h) | |
26 | DICTO = $(DICT:.cxx=.o) | |
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 | ||
38 | OBJS = $(SRCS:.cxx=.o) $(DICTO) | |
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) -I$(ALICE_ROOT)/GEANT321 | |
47 | ||
48 | ##### TARGETS ##### | |
49 | ||
50 | # Target | |
51 | ||
52 | SLIBRARY = $(ALICE_ROOT)/lib/libITS.$(SL) | |
53 | ALIBRARY = $(ALICE_ROOT)/lib/libITS.a | |
54 | ||
55 | default: $(SLIBRARY) | |
56 | ||
57 | $(ALICE_ROOT)/lib/libITS.$(SL): $(OBJS) $(FOBJS) | |
58 | ||
59 | $(DICT): $(HDRS) | |
60 | ||
61 | DEPINC += -I$(ALICE_ROOT)/GEANT321 | |
62 | ||
63 | depend: $(SRCS) $(FSRCS) | |
64 | ||
65 | TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h | |
66 | ||
67 | ############################### General Macros ################################ | |
68 | ||
69 | include $(ALICE_ROOT)/conf/GeneralMacros | |
70 | ||
71 | ############################ Dependencies ##################################### | |
72 | ||
f2bd4a7f | 73 | -include Make-depend |