]>
Commit | Line | Data |
---|---|---|
95a00d93 | 1 | ############################### HLT Makefile ################################## |
71e7116d | 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 \ | |
16 | AliL3Vertex.cxx AliL3VertexFinder.cxx \ | |
17 | AliL3Merger.cxx AliL3GlobalMerger.cxx AliL3ClustFinder.cxx \ | |
18 | AliL3TrackArray.cxx AliL3InterMerger.cxx AliL3Logger.cxx \ | |
19 | AliL3MemHandler.cxx AliL3FileHandler.cxx AliL3Evaluate.cxx \ | |
20 | AliL3Benchmark.cxx AliL3Display.cxx AliL3ClustFinderNew.cxx AliL3Fitter.cxx | |
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 | ||
95a00d93 | 46 | CXXFLAGS = $(CXXOPTS) -g -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ -I$(ALICE_ROOT)/TPC -I$(ALICE_ROOT)/CONTAINERS -I$(HOME)/level3code/hough/ -I$(HOME)/level3code/comp/ |
71e7116d | 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 | ||
58 | SLIBRARY = $(LEVEL3)/lib_$(USERNAME)/libAliL3.$(SL) | |
59 | ||
60 | default: $(SLIBRARY) | |
61 | ||
62 | $(LEVEL3)/lib_$(USERNAME)/libAliL3.$(SL): $(OBJS) | |
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 | ########### | |
79 | mrproper: | |
80 | rm -fr tgt_Linux | |
81 | rm -fr $(DICT) $(DICTH) $(DICTO) | |
82 | clean: | |
83 | rm -fr tgt_Linux/*.o | |
84 | rm -fr $(LEVEL3)/lib_$(USERNAME)/libAliL3.so | |
85 | rm -fr $(DICT) $(DICTH) $(DICTO) | |
86 | ||
87 | wipe: clean mrproper |