]>
Commit | Line | Data |
---|---|---|
18a2b8b1 | 1 | # Include machine specific definitions |
2 | ||
3 | include $(ALICE_ROOT)/conf/GeneralDef | |
4 | include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET) | |
5 | ||
6 | PACKAGE = CONTAINERS | |
7 | ||
8 | # C++ sources | |
9 | ||
10 | SRCS = AliMemArray.cxx AliClassInfo.cxx AliDataType.cxx\ | |
11 | AliObjectArray.cxx TArrayOfArray.cxx AliArrayBranch.cxx\ | |
12 | AliSegmentID.cxx AliSegmentArray.cxx \ | |
13 | AliDigits.cxx AliArrayI.cxx AliArrayS.cxx | |
14 | # C++ Headers | |
15 | ||
16 | HDRS = $(SRCS:.cxx=.h) CONTAINERSLinkDef.h | |
17 | ||
18 | # Library dictionary | |
19 | ||
20 | DICT = CONTAINERSCint.cxx | |
21 | DICTH = $(DICT:.cxx=.h) | |
22 | DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT)) | |
23 | ||
24 | # FORTRAN Objectrs | |
25 | ||
26 | FOBJS = $(FSRCS:.f=.o) | |
27 | # C Objects | |
28 | ||
29 | COBJS = $(CSRCS:.c=.o) | |
30 | ||
31 | # C++ Objects | |
32 | ||
33 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) | |
34 | ||
35 | # C++ compilation flags | |
36 | ||
37 | CXXFLAGS = $(CXXOPTS) -g -I$(ALICE_ROOT)/CONTAINERS -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include -I$(ALICE_ROOT)/TPC | |
38 | #CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ | |
39 | ||
40 | # FORTRAN compilation flags | |
41 | ||
42 | FFLAGS = $(FOPT) | |
43 | ||
44 | ##### TARGETS ####### | |
45 | ||
46 | # Target | |
47 | ||
48 | SLIBRARY = $(LIBDIR)/libCONTAINERS.$(SL) | |
49 | ||
50 | default: $(SLIBRARY) | |
51 | ||
52 | $(LIBDIR)/libCONTAINERS.$(SL): $(OBJS) | |
53 | ||
54 | $(DICT): $(HDRS) | |
55 | ||
56 | depend: $(SRCS) | |
57 | ||
58 | TOCLEAN = $(OBJS) *Cint.h *Cint.cxx | |
59 | ||
60 | CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) | |
61 | ||
62 | ############################### General Macros ################################ | |
63 | ||
64 | include $(ALICE_ROOT)/conf/GeneralMacros | |
65 | ||
66 | ############################ Dependencies ##################################### | |
67 | ||
68 | -include tgt_$(ALICE_TARGET)/Make-depend | |
69 | ||
70 |