]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/comp/Makefile
bugfix, added missing header file
[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 = AliHLTComp
10
11 ifndef ALIHLT_TOPDIR
12 ALIHLT_TOPDIR = $(shell pwd)/..
13 endif
14
15 include $(ALIHLT_TOPDIR)/Makefile.conf
16
17 SRCS =  AliHLTModeller.cxx AliHLTClusterFitter.cxx \
18         AliHLTCompress.cxx  AliHLTDataCompressor.cxx AliHLTCompressAC.cxx
19
20 ifneq ($(ARCH),macosx)
21 ## for macosx put into src as symbolic link
22 SRCS += AliHLTDataCompressorHelper.cxx AliHLTModelTrack.cxx
23 endif
24
25 ADD_C_OBJS = $(OBJDIR)/bitio.o $(OBJDIR)/errhand.o $(OBJDIR)/AliHLTFitUtilities.o
26
27 ifeq ($(ALIHLT_USEPACKAGE),ROOT)
28 HDRS = $(SRCS:.cxx=.h) $(MODNAME)LinkDef.h
29 OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(ADD_C_OBJS) $(DICTO)
30 endif
31
32 ifeq ($(ALIHLT_USEPACKAGE),ALIROOT)
33 SRCS += AliHLTOfflineDataCompressor.cxx
34 HDRS = $(SRCS:.cxx=.h) $(MODNAME)LinkDef.h
35 OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(ADD_C_OBJS) $(DICTO)
36 endif
37
38 ifeq ($(ALIHLT_USEPACKAGE),STANDALONE)
39 OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(ADD_C_OBJS)
40 endif
41
42 include $(ALIHLT_TOPDIR)/Makefile.rules
43
44
45 $(OBJDIR)/bitio.o: bitio.c
46         $(CXX) $(CXXFLAGS) -c -o $(OBJDIR)/bitio.o bitio.c
47
48 $(OBJDIR)/errhand.o: errhand.c
49         $(CXX) $(CXXFLAGS) -c -o $(OBJDIR)/errhand.o errhand.c
50
51 $(OBJDIR)/AliHLTFitUtilities.o: AliHLTFitUtilities.c
52         $(CXX) $(CXXFLAGS) -c -o $(OBJDIR)/AliHLTFitUtilities.o AliHLTFitUtilities.c
53
54 $(OBJDIR)/bitio.sto: bitio.c
55         $(CXX) $(PROFILEFLAGS) $(CXXFLAGS) -c -o $(OBJDIR)/bitio.sto bitio.c
56
57 $(OBJDIR)/errhand.sto: errhand.c
58         $(CXX) $(PROFILEFLAGS) $(CXXFLAGS) -c -o $(OBJDIR)/errhand.sto errhand.c
59
60 $(OBJDIR)/AliHLTFitUtilities.sto: AliHLTFitUtilities.c
61         $(CXX) $(PROFILEFLAGS) $(CXXFLAGS) -c -o $(OBJDIR)/AliHLTFitUtilities.sto AliHLTFitUtilities.c