]>
Commit | Line | Data |
---|---|---|
108615fc | 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 = AliL3 | |
9 | ||
10 | # C++ sources | |
11 | ||
12 | ||
13 | SRCS = AliL3ConfMapper.cxx AliL3ConfMapPoint.cxx AliLevel3.cxx\ | |
14 | AliL3ConfMapTrack.cxx AliL3ConfMapFit.cxx AliL3Track.cxx\ | |
15 | AliL3Transform.cxx AliL3TrackMerger.cxx AliL3VertexArray.cxx \ | |
4a942324 | 16 | AliL3Vertex.cxx AliL3VertexFinder.cxx \ |
108615fc | 17 | AliL3Merger.cxx AliL3GlobalMerger.cxx AliL3ClustFinder.cxx \ |
18 | AliL3TrackArray.cxx AliL3InterMerger.cxx AliL3Logger.cxx \ | |
19 | AliL3MemHandler.cxx AliL3FileHandler.cxx AliL3Evaluate.cxx \ | |
b7446f80 | 20 | AliL3Benchmark.cxx AliL3Display.cxx AliL3ClustFinderNew.cxx |
108615fc | 21 | |
22 | ||
23 | # C++ Headers | |
24 | ||
25 | HDRS = $(SRCS:.cxx=.h) AliL3LinkDef.h | |
26 | # Library dictionary | |
27 | ||
28 | DICT = AliL3Cint.cxx | |
29 | DICTH = $(DICT:.cxx=.h) | |
30 | DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT)) | |
31 | ||
32 | # FORTRAN Objectrs | |
33 | ||
34 | FOBJS = $(FSRCS:.f=.o) | |
35 | ||
36 | # C Objects | |
37 | ||
38 | COBJS = $(CSRCS:.c=.o) | |
39 | ||
40 | # C++ Objects | |
41 | ||
42 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) | |
43 | ||
44 | # C++ compilation flags | |
45 | ||
46 | CXXFLAGS = $(CXXOPTS) -g -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ -I$(ALICE_ROOT)/TPC -I$(ALICE_ROOT)/CONTAINERS | |
47 | ||
48 | #CXXFLAGS = $(CXXOPTS) -g -Wall -I$(ROOTSYS)/include -I. -I $(ALICE_ROOT)/TPC -I$(ALICE_ROOT)/include/ -DCOMPILING | |
49 | ||
50 | # FORTRAN compilation flags | |
51 | ||
52 | FFLAGS = $(FOPT) | |
53 | ||
54 | ##### TARGETS ##### | |
55 | ||
56 | # Target | |
57 | ||
ed80e789 | 58 | SLIBRARY = $(LEVEL3)/lib_$(USERNAME)/libAliL3.$(SL) |
108615fc | 59 | |
60 | default: $(SLIBRARY) | |
61 | ||
ed80e789 | 62 | $(LEVEL3)/lib_$(USERNAME)/libAliL3.$(SL): $(OBJS) |
108615fc | 63 | |
64 | $(DICT): $(HDRS) | |
65 | ||
66 | depend: $(SRCS) | |
67 | ||
68 | TOCLEAN = $(OBJS) *Cint.h *Cint.cxx | |
69 | ||
70 | ############################### General Macros ################################ | |
71 | ||
72 | include $(ALICE_ROOT)/conf/GeneralMacros | |
73 | ||
74 | ############################ Dependencies ##################################### | |
75 | ||
76 | include tgt_$(ALICE_TARGET)/Make-depend | |
77 | ||
78 | ########### | |
1406049c | 79 | mrproper: |
80 | rm -fr tgt_Linux | |
81 | rm -fr $(DICT) $(DICTH) $(DICTO) | |
108615fc | 82 | clean: |
83 | rm -fr tgt_Linux/*.o | |
ed80e789 | 84 | rm -fr $(LEVEL3)/lib_$(USERNAME)/libAliL3.so |
108615fc | 85 | rm -fr $(DICT) $(DICTH) $(DICTO) |
1406049c | 86 | |
87 | wipe: clean mrproper |