1 #-*- Mode: Makefile -*-
4 # This files defines the source and header files for the
5 # libAliHLTSample library and additional flags for the compilation
6 # and linking process. For further information refer to the
9 # class header files, the link definition for the root dictionary
10 # will be created from the names of the header files
11 CLASS_HDRS:= AliHLTSampleComponent1.h \
12 AliHLTSampleComponent2.h \
13 AliHLTSampleCalibrationComponent.h \
14 AliHLTSampleESDAnalysisComponent.h \
15 AliHLTSampleRawAnalysisComponent.h \
16 AliHLTSampleMonitoringComponent.h \
18 AliHLTSamplePreprocessor.h \
19 AliHLTSampleOfflineSinkComponent.h \
20 AliHLTDummyComponent.h
22 # library sources, generated from the class headers
23 MODULE_SRCS= $(CLASS_HDRS:.h=.cxx)
26 # in most cases you might have already added all the header files to
27 # the CLASS_HDRS variable. So we just use the content of this. You
28 # can simply add more header files which don't contain classes with
29 # ROOT dictionary support
30 MODULE_HDRS:= $(CLASS_HDRS)
32 # The LinkDef file required by the ROOT dictionary generation can be
33 # generated automatically. For the all header files specified in
34 # CLASS_HDRS an entry will be generated
35 # pragma link C++ class <class-name>+;
37 # If the default behavior is not enough, you can provide a custom
38 # *LinkDef.h to the MODULE_DHDR variable. Leave MODULE_DHDR empty to
39 # enable automatic generation.
42 EINCLUDE := HLT/BASE HLT/shuttle HLT/SampleLib STEER RAW
44 LIBRARY_DEP := -lHLTbase -lCDB -lSTEERBase
46 ###############################################################################
48 # do not change anything below this line
50 include $(MODDIR)/hlt.conf
52 SRCS:=$(patsubst %,SampleLib/%,$(MODULE_SRCS))
53 CINTHDRS:=$(patsubst %,SampleLib/%,$(CLASS_HDRS))
54 HDRS:=$(patsubst %,SampleLib/%,$(MODULE_HDRS))
55 DHDR:=$(patsubst %,SampleLib/%,$(MODULE_DHDR))
56 CINTAUTOLINK:= $(shell test "x$(MODULE_DHDR)" = "x" && echo 1)
59 PACKCXXFLAGS := $(filter-out -ansi,$(filter-out -pedantic-errors, $(CXXFLAGS)))
60 PACKCFLAGS := $(filter-out -ansi, $(filter-out -pedantic-errors, $(CFLAGS)))
61 PACKDCXXFLAGS:= $(filter-out -pedantic-errors, $(CXXFLAGS))
62 PACKSOFLAGS := $(HLTSOFLAGS)