]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/comp/Makefile
Taking into account the edge effects (M.Ivanov)
[u/mrichter/AliRoot.git] / HLT / comp / Makefile
1 #$Id$
2 ################################
3 # Makefile for HLT Comp code.  #
4 #                              #
5 # Author: Anders Vestbo        #                    
6 #         Constantin Loizides  #
7 ################################
8
9 MODNAME = AliL3Comp
10
11 ifndef ALIHLT_TOPDIR
12 ALIHLT_TOPDIR = $(shell pwd)/..
13 endif
14
15 include $(ALIHLT_TOPDIR)/Makefile.conf
16
17 SRCS =  AliL3Modeller.cxx AliL3ModelTrack.cxx AliL3ClusterFitter.cxx \
18         AliL3Compress.cxx AliL3DataCompressor.cxx 
19
20 ADD_C_OBJS = $(OBJDIR)/bitio.o $(OBJDIR)/errhand.o $(OBJDIR)/AliL3FitUtilities.o
21
22 ifeq ($(ALIHLT_USEPACKAGE),ROOT)
23 HDRS = $(SRCS:.cxx=.h) $(MODNAME)LinkDef.h
24 OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(ADD_C_OBJS) $(DICTO)
25 endif
26
27 ifeq ($(ALIHLT_USEPACKAGE),ALIROOT)
28 SRCS += AliL3OfflineDataCompressor.cxx
29 HDRS = $(SRCS:.cxx=.h) $(MODNAME)LinkDef.h
30 OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(ADD_C_OBJS) $(DICTO)
31 endif
32
33 ifeq ($(ALIHLT_USEPACKAGE),STANDALONE)
34 OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(ADD_C_OBJS)
35 endif
36
37 include $(ALIHLT_TOPDIR)/Makefile.rules
38
39
40 $(OBJDIR)/bitio.o: bitio.c
41         $(CXX) -c -o $(OBJDIR)/bitio.o bitio.c
42
43 $(OBJDIR)/errhand.o: errhand.c
44         $(CXX) -c -o $(OBJDIR)/errhand.o errhand.c
45
46 $(OBJDIR)/AliL3FitUtilities.o: AliL3FitUtilities.c
47         $(CXX) -c -o $(OBJDIR)/AliL3FitUtilities.o AliL3FitUtilities.c