]>
Commit | Line | Data |
---|---|---|
e998e586 | 1 | #$Id$ |
3e87ef69 | 2 | ################################ |
3 | # Makefile for HLT Comp code. # | |
4 | # # | |
5 | # Author: Anders Vestbo # | |
6 | # Constantin Loizides # | |
7 | ################################ | |
735e167e | 8 | |
4aa41877 | 9 | MODNAME = AliHLTComp |
6fd65d1d | 10 | |
3e87ef69 | 11 | ifndef ALIHLT_TOPDIR |
12 | ALIHLT_TOPDIR = $(shell pwd)/.. | |
71e6af6c | 13 | endif |
e2e0cb81 | 14 | |
3e87ef69 | 15 | include $(ALIHLT_TOPDIR)/Makefile.conf |
735e167e | 16 | |
4aa41877 | 17 | SRCS = AliHLTModeller.cxx AliHLTClusterFitter.cxx \ |
18 | AliHLTCompress.cxx AliHLTDataCompressor.cxx AliHLTCompressAC.cxx | |
1f1942b8 | 19 | |
86b74d5e | 20 | ifneq ($(ARCH),macosx) |
ead9cc3e | 21 | ## for macosx put into src as symbolic link |
4aa41877 | 22 | SRCS += AliHLTDataCompressorHelper.cxx AliHLTModelTrack.cxx |
1f1942b8 | 23 | endif |
dfc8670c | 24 | |
4aa41877 | 25 | ADD_C_OBJS = $(OBJDIR)/bitio.o $(OBJDIR)/errhand.o $(OBJDIR)/AliHLTFitUtilities.o |
735e167e | 26 | |
3e87ef69 | 27 | ifeq ($(ALIHLT_USEPACKAGE),ROOT) |
28 | HDRS = $(SRCS:.cxx=.h) $(MODNAME)LinkDef.h | |
29 | OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(ADD_C_OBJS) $(DICTO) | |
c1123a44 | 30 | endif |
31 | ||
3e87ef69 | 32 | ifeq ($(ALIHLT_USEPACKAGE),ALIROOT) |
4aa41877 | 33 | SRCS += AliHLTOfflineDataCompressor.cxx |
3e87ef69 | 34 | HDRS = $(SRCS:.cxx=.h) $(MODNAME)LinkDef.h |
35 | OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(ADD_C_OBJS) $(DICTO) | |
c1123a44 | 36 | endif |
735e167e | 37 | |
3e87ef69 | 38 | ifeq ($(ALIHLT_USEPACKAGE),STANDALONE) |
39 | OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(ADD_C_OBJS) | |
6fd65d1d | 40 | endif |
41 | ||
3e87ef69 | 42 | include $(ALIHLT_TOPDIR)/Makefile.rules |
6fd65d1d | 43 | |
cc4d912a | 44 | |
3e87ef69 | 45 | $(OBJDIR)/bitio.o: bitio.c |
5a31e9df | 46 | $(CXX) $(CXXFLAGS) -c -o $(OBJDIR)/bitio.o bitio.c |
6fd65d1d | 47 | |
3e87ef69 | 48 | $(OBJDIR)/errhand.o: errhand.c |
5a31e9df | 49 | $(CXX) $(CXXFLAGS) -c -o $(OBJDIR)/errhand.o errhand.c |
735e167e | 50 | |
4aa41877 | 51 | $(OBJDIR)/AliHLTFitUtilities.o: AliHLTFitUtilities.c |
52 | $(CXX) $(CXXFLAGS) -c -o $(OBJDIR)/AliHLTFitUtilities.o AliHLTFitUtilities.c | |
5a31e9df | 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 | ||
4aa41877 | 60 | $(OBJDIR)/AliHLTFitUtilities.sto: AliHLTFitUtilities.c |
61 | $(CXX) $(PROFILEFLAGS) $(CXXFLAGS) -c -o $(OBJDIR)/AliHLTFitUtilities.sto AliHLTFitUtilities.c |