b6c2ac7176b9a7cab7f04a39025a2f9c43fce21e
[u/mrichter/AliRoot.git] / HLT / hough / Makefile
1 #$Id$
2 ################################
3 # Makefile for HLT Hough code. #
4 #                              #
5 # Author: Anders Vestbo,       #                    
6 #         Constantin Loizides  #
7 ################################
8
9 MODNAME = AliL3Hough
10
11 ifndef ALIHLT_TOPDIR
12 ALIHLT_TOPDIR = $(shell pwd)/..
13 endif
14
15 include $(ALIHLT_TOPDIR)/Makefile.conf
16
17 SRCS = AliL3HoughTransformer.cxx AliL3HoughClusterTransformer.cxx \
18        AliL3HoughEval.cxx AliL3HoughMerger.cxx AliL3HoughBaseTransformer.cxx \
19        AliL3HoughIntMerger.cxx AliL3HoughGlobalMerger.cxx AliL3HoughTransformerVhdl.cxx \
20        AliL3Histogram.cxx AliL3Histogram1D.cxx AliL3HoughMaxFinder.cxx AliL3Hough.cxx \
21        AliL3HoughTransformerLUT.cxx AliL3HoughTransformerRow.cxx AliL3HistogramAdaptive.cxx 
22
23 ifeq ($(ARCH),macosx)
24 ## AliL3HoughTrack put into src as symbolic link
25 EXTRA_SRCS = AliL3HoughDisplay.cxx AliL3HoughTransformerNew.cxx
26 else
27 EXTRA_SRCS = AliL3HoughDisplay.cxx AliL3HoughTransformerNew.cxx  AliL3HoughTrack.cxx AliL3HoughTest.cxx
28 endif
29
30 ifeq ($(ALIHLT_USEPACKAGE),ROOT)
31 SRCS += $(EXTRA_SRCS)
32 HDRS = $(SRCS:.cxx=.h) $(MODNAME)LinkDef.h
33 OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(DICTO)
34 endif
35
36 ifeq ($(ALIHLT_USEPACKAGE),ALIROOT)
37 SRCS += $(EXTRA_SRCS) AliL3HoughTransformerGlobal.cxx
38 HDRS = $(SRCS:.cxx=.h) $(MODNAME)LinkDef.h
39 OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(DICTO)
40 endif
41
42 include $(ALIHLT_TOPDIR)/Makefile.rules