Fix for Mac and gcc 4
[u/mrichter/AliRoot.git] / HLT / src / Makefile
CommitLineData
95a00d93 1#$Id$
3e87ef69 2#################################
3# Makefile for HLT Src code. #
4# #
5# Author: Anders Vestbo, #
6# Constantin Loizides #
7#################################
95a00d93 8
3e87ef69 9MODNAME = AliL3Src
475d367a 10
3e87ef69 11ifndef ALIHLT_TOPDIR
12ALIHLT_TOPDIR = $(shell pwd)/..
05d3c0f8 13endif
152be1b5 14
3e87ef69 15include $(ALIHLT_TOPDIR)/Makefile.conf
05d3c0f8 16
61ec2ed0 17SRCS = AliL3ConfMapper.cxx AliL3ConfMapPoint.cxx \
352eb143 18 AliL3ConfMapTrack.cxx AliL3ConfMapFit.cxx AliL3Track.cxx\
19 AliL3Transform.cxx AliL3TrackMerger.cxx AliL3VertexArray.cxx \
20 AliL3Vertex.cxx AliL3VertexFinder.cxx \
21 AliL3Merger.cxx AliL3GlobalMerger.cxx AliL3ClustFinderNew.cxx \
22 AliL3TrackArray.cxx AliL3InterMerger.cxx AliL3Logger.cxx \
1f1942b8 23 AliL3MemHandler.cxx AliLevel3.cxx AliL3Benchmark.cxx \
0167aa42 24 AliL3Fitter.cxx AliL3RawDataFileHandler.cxx AliL3Log.cxx \
25 AliL3TPCBeamTestMemHandler.cxx
1f1942b8 26
86b74d5e 27ifeq ($(ARCH),macosx)
1f1942b8 28EXTRA_SRCS = AliL3HoughTrack.cxx AliL3ModelTrack.cxx \
29 AliL3DataCompressorHelper.cxx AliL3DataHandler.cxx \
30 AliL3TransBit.cxx AliL3DDLDataFileHandler.cxx
31endif
32
33SRCS += $(EXTRA_SRCS)
108615fc 34
3e87ef69 35ifeq ($(ALIHLT_USEPACKAGE),ROOT)
61ec2ed0 36SRCS += AliL3Display.cxx
e4bdb4bf 37HDRS = $(SRCS:.cxx=.h) AliL3SpacePointData.h $(MODNAME)LinkDef.h
352eb143 38OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(DICTO)
95a00d93 39endif
40
3e87ef69 41ifeq ($(ALIHLT_USEPACKAGE),ALIROOT)
de3c3890 42SRCS += AliL3Display.cxx AliL3FileHandler.cxx AliL3Evaluate.cxx AliHLTReconstructor.cxx
e4bdb4bf 43HDRS = $(SRCS:.cxx=.h) AliL3SpacePointData.h $(MODNAME)LinkDef.h
3e87ef69 44OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(DICTO)
475d367a 45endif
46
de3c3890 47include $(ALIHLT_TOPDIR)/Makefile.rules