Added new classes
[u/mrichter/AliRoot.git] / HLT / hough / Makefile
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
13 SRCS           = AliL3HoughTransformer.cxx AliL3Hough.cxx AliL3HoughTrack.cxx\
14                  AliL3HoughMaxFinder.cxx AliL3HoughEval.cxx AliL3HoughMerger.cxx \
15                  AliL3Histogram.cxx AliL3Histogram1D.cxx GetGoodParticles.cxx AliL3ClusterFinder.cxx \
16                  AliL3HoughIntMerger.cxx AliL3HoughGlobalMerger.cxx AliL3HoughDisplay.cxx
17
18
19 # C++ Headers
20
21 HDRS          = $(SRCS:.cxx=.h) AliL3Defs.h GetGoodParticles.h AliL3HoughLinkDef.h
22 # Library dictionary
23
24 DICT          = AliL3HoughCint.cxx
25 DICTH         = $(DICT:.cxx=.h)
26 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
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          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
39
40 # C++ compilation flags
41
42 CXXFLAGS      = $(CXXOPTS) -g -Wall -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ -I$(ALICE_ROOT)/TPC \
43                 -I$(ALICE_ROOT)/CONTAINERS -I$(HOME)/level3code/src     
44
45 #CXXFLAGS      = $(CXXOPTS) -g -Wall -I$(ROOTSYS)/include -I. -I $(ALICE_ROOT)/TPC -I$(ALICE_ROOT)/include/ -DCOMPILING
46  
47 # FORTRAN compilation flags
48
49 FFLAGS      = $(FOPT)
50  
51 ##### TARGETS #####
52  
53 # Target
54
55 SLIBRARY        = $(LEVEL3)/lib_$(USERNAME)/libAliL3Hough.$(SL)
56
57 default:        $(SLIBRARY)
58
59 $(LEVEL3)/lib_$(USERNAME)/libAliL3Hough.$(SL):  $(OBJS)
60
61 $(DICT):                $(HDRS)
62
63 depend:                 $(SRCS)
64
65 TOCLEAN                 = $(OBJS) *Cint.h *Cint.cxx
66
67 ############################### General Macros ################################
68
69 include $(ALICE_ROOT)/conf/GeneralMacros
70
71 ############################ Dependencies #####################################
72
73 include tgt_$(ALICE_TARGET)/Make-depend 
74
75 ###########
76 so:
77         rm -fr $(LEVEL3)/lib_$(USERNAME)/libAliL3Hough.so
78 clean:
79         rm -fr tgt_Linux/*.o
80         rm -fr $(LEVEL3)/lib_$(USERNAME)/libAliL3Hough.so
81         rm -fr $(DICT) $(DICTH) $(DICTO)