]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/comp/Makefile
Fixes.
[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 AliL3ClusterFitter.cxx \
18         AliL3Compress.cxx  AliL3DataCompressor.cxx AliL3CompressAC.cxx
19
20 ifneq ($(ARCH),Darwin)
21 SRCS += AliL3DataCompressorHelper.cxx AliL3ModelTrack.cxx
22 endif
23
24 ADD_C_OBJS = $(OBJDIR)/bitio.o $(OBJDIR)/errhand.o $(OBJDIR)/AliL3FitUtilities.o
25
26 ifeq ($(ALIHLT_USEPACKAGE),ROOT)
27 HDRS = $(SRCS:.cxx=.h) $(MODNAME)LinkDef.h
28 OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(ADD_C_OBJS) $(DICTO)
29 endif
30
31 ifeq ($(ALIHLT_USEPACKAGE),ALIROOT)
32 SRCS += AliL3OfflineDataCompressor.cxx
33 HDRS = $(SRCS:.cxx=.h) $(MODNAME)LinkDef.h
34 OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(ADD_C_OBJS) $(DICTO)
35 endif
36
37 ifeq ($(ALIHLT_USEPACKAGE),STANDALONE)
38 OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(ADD_C_OBJS)
39 endif
40
41 include $(ALIHLT_TOPDIR)/Makefile.rules
42
43
44 $(OBJDIR)/bitio.o: bitio.c
45         $(CXX) $(CXXFLAGS) -c -o $(OBJDIR)/bitio.o bitio.c
46
47 $(OBJDIR)/errhand.o: errhand.c
48         $(CXX) $(CXXFLAGS) -c -o $(OBJDIR)/errhand.o errhand.c
49
50 $(OBJDIR)/AliL3FitUtilities.o: AliL3FitUtilities.c
51         $(CXX) $(CXXFLAGS) -c -o $(OBJDIR)/AliL3FitUtilities.o AliL3FitUtilities.c
52
53 $(OBJDIR)/bitio.sto: bitio.c
54         $(CXX) $(PROFILEFLAGS) $(CXXFLAGS) -c -o $(OBJDIR)/bitio.sto bitio.c
55
56 $(OBJDIR)/errhand.sto: errhand.c
57         $(CXX) $(PROFILEFLAGS) $(CXXFLAGS) -c -o $(OBJDIR)/errhand.sto errhand.c
58
59 $(OBJDIR)/AliL3FitUtilities.sto: AliL3FitUtilities.c
60         $(CXX) $(PROFILEFLAGS) $(CXXFLAGS) -c -o $(OBJDIR)/AliL3FitUtilities.sto AliL3FitUtilities.c