Fix for StandAlone version.
[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 SRCS +=  AliL3HoughTrack.cxx 
26 endif
27
28 ifeq ($(ALIHLT_USEPACKAGE),ROOT)
29 SRCS += AliL3HoughDisplay.cxx AliL3HoughTest.cxx AliL3HoughTransformerNew.cxx
30 HDRS = $(SRCS:.cxx=.h) $(MODNAME)LinkDef.h
31 OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(DICTO)
32 endif
33
34 ifeq ($(ALIHLT_USEPACKAGE),ALIROOT)
35 SRCS += AliL3HoughDisplay.cxx AliL3HoughTest.cxx AliL3HoughTransformerNew.cxx AliL3HoughTransformerGlobal.cxx
36 HDRS = $(SRCS:.cxx=.h) $(MODNAME)LinkDef.h
37 OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(DICTO)
38 endif
39
40 include $(ALIHLT_TOPDIR)/Makefile.rules