]>
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 | |
3e87ef69 | 9 | MODNAME = AliL3Comp |
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 | |
1f1942b8 | 17 | SRCS = AliL3Modeller.cxx AliL3ClusterFitter.cxx \ |
de3c3890 | 18 | AliL3Compress.cxx AliL3DataCompressor.cxx AliL3CompressAC.cxx |
1f1942b8 | 19 | |
20 | ifneq ($(ARCH),Darwin) | |
21 | SRCS += AliL3DataCompressorHelper.cxx AliL3ModelTrack.cxx | |
22 | endif | |
dfc8670c | 23 | |
3e87ef69 | 24 | ADD_C_OBJS = $(OBJDIR)/bitio.o $(OBJDIR)/errhand.o $(OBJDIR)/AliL3FitUtilities.o |
735e167e | 25 | |
3e87ef69 | 26 | ifeq ($(ALIHLT_USEPACKAGE),ROOT) |
27 | HDRS = $(SRCS:.cxx=.h) $(MODNAME)LinkDef.h | |
28 | OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(ADD_C_OBJS) $(DICTO) | |
c1123a44 | 29 | endif |
30 | ||
3e87ef69 | 31 | ifeq ($(ALIHLT_USEPACKAGE),ALIROOT) |
0a86fbb7 | 32 | SRCS += AliL3OfflineDataCompressor.cxx |
3e87ef69 | 33 | HDRS = $(SRCS:.cxx=.h) $(MODNAME)LinkDef.h |
34 | OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(ADD_C_OBJS) $(DICTO) | |
c1123a44 | 35 | endif |
735e167e | 36 | |
3e87ef69 | 37 | ifeq ($(ALIHLT_USEPACKAGE),STANDALONE) |
38 | OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(ADD_C_OBJS) | |
6fd65d1d | 39 | endif |
40 | ||
3e87ef69 | 41 | include $(ALIHLT_TOPDIR)/Makefile.rules |
6fd65d1d | 42 | |
cc4d912a | 43 | |
3e87ef69 | 44 | $(OBJDIR)/bitio.o: bitio.c |
5a31e9df | 45 | $(CXX) $(CXXFLAGS) -c -o $(OBJDIR)/bitio.o bitio.c |
6fd65d1d | 46 | |
3e87ef69 | 47 | $(OBJDIR)/errhand.o: errhand.c |
5a31e9df | 48 | $(CXX) $(CXXFLAGS) -c -o $(OBJDIR)/errhand.o errhand.c |
735e167e | 49 | |
3e87ef69 | 50 | $(OBJDIR)/AliL3FitUtilities.o: AliL3FitUtilities.c |
5a31e9df | 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 |