]>
Commit | Line | Data |
---|---|---|
4de874d1 | 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 = AliL3Hough | |
9 | ||
10 | # C++ sources | |
11 | ||
12 | ||
52a2a604 | 13 | SRCS = AliL3HoughTransformer.cxx AliL3Hough.cxx \ |
9f33a1db | 14 | AliL3HoughMaxFinder.cxx AliL3HoughEval.cxx AliL3HoughMerge.cxx \ |
15 | AliL3Histogram.cxx | |
16 | ||
4de874d1 | 17 | |
18 | # C++ Headers | |
19 | ||
20 | HDRS = $(SRCS:.cxx=.h) AliL3Defs.h AliL3HoughLinkDef.h | |
21 | # Library dictionary | |
22 | ||
23 | DICT = AliL3HoughCint.cxx | |
24 | DICTH = $(DICT:.cxx=.h) | |
25 | DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT)) | |
26 | ||
27 | # FORTRAN Objectrs | |
28 | ||
29 | FOBJS = $(FSRCS:.f=.o) | |
30 | ||
31 | # C Objects | |
32 | ||
33 | COBJS = $(CSRCS:.c=.o) | |
34 | ||
35 | # C++ Objects | |
36 | ||
37 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) | |
38 | ||
39 | # C++ compilation flags | |
40 | ||
41 | CXXFLAGS = $(CXXOPTS) -g -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ -I$(ALICE_ROOT)/TPC \ | |
430c83b4 | 42 | -I$(ALICE_ROOT)/CONTAINERS -I$(HOME)/level3code/src |
4de874d1 | 43 | |
44 | #CXXFLAGS = $(CXXOPTS) -g -Wall -I$(ROOTSYS)/include -I. -I $(ALICE_ROOT)/TPC -I$(ALICE_ROOT)/include/ -DCOMPILING | |
45 | ||
46 | # FORTRAN compilation flags | |
47 | ||
48 | FFLAGS = $(FOPT) | |
49 | ||
50 | ##### TARGETS ##### | |
51 | ||
52 | # Target | |
53 | ||
ed80e789 | 54 | SLIBRARY = $(LEVEL3)/lib_$(USERNAME)/libAliL3Hough.$(SL) |
4de874d1 | 55 | |
56 | default: $(SLIBRARY) | |
57 | ||
ed80e789 | 58 | $(LEVEL3)/lib_$(USERNAME)/libAliL3Hough.$(SL): $(OBJS) |
4de874d1 | 59 | |
60 | $(DICT): $(HDRS) | |
61 | ||
62 | depend: $(SRCS) | |
63 | ||
64 | TOCLEAN = $(OBJS) *Cint.h *Cint.cxx | |
65 | ||
66 | ############################### General Macros ################################ | |
67 | ||
68 | include $(ALICE_ROOT)/conf/GeneralMacros | |
69 | ||
70 | ############################ Dependencies ##################################### | |
71 | ||
72 | include tgt_$(ALICE_TARGET)/Make-depend | |
73 | ||
74 | ########### | |
75 | so: | |
ed80e789 | 76 | rm -fr $(LEVEL3)/lib_$(USERNAME)/libAliL3Hough.so |
4de874d1 | 77 | clean: |
78 | rm -fr tgt_Linux/*.o | |
ed80e789 | 79 | rm -fr $(LEVEL3)/lib_$(USERNAME)/libAliL3Hough.so |
4de874d1 | 80 | rm -fr $(DICT) $(DICTH) $(DICTO) |