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 AliHLTSampleMonitoringComponent.h \
15 AliHLTSamplePreprocessor.h \
16 AliHLTSampleOfflineSinkComponent.h \
17 AliHLTDummyComponent.h
19 # library sources, generated from the class headers
20 MODULE_SRCS= $(CLASS_HDRS:.h=.cxx)
23 # in most cases you might have already added all the header files to
24 # the CLASS_HDRS variable. So we just use the content of this. You
25 # can simply add more header files which don't contain classes with
26 # ROOT dictionary support
27 MODULE_HDRS:= $(CLASS_HDRS)
29 # The LinkDef file required by the ROOT dictionary generation can be
30 # generated automatically. For the all header files specified in
31 # CLASS_HDRS an entry will be generated
32 # pragma link C++ class <class-name>+;
34 # If the default behavior is not enough, you can provide a custom
35 # *LinkDef.h to the MODULE_DHDR variable. Leave MODULE_DHDR empty to
36 # enable automatic generation.
39 EINCLUDE := HLT/BASE HLT/shuttle
41 LIBRARY_DEP := -lHLTbase -lCDB -lSTEERBase
43 ###############################################################################
45 # do not change anything below this line
47 include $(MODDIR)/hlt.conf
49 SRCS:=$(patsubst %,SampleLib/%,$(MODULE_SRCS))
50 CINTHDRS:=$(patsubst %,SampleLib/%,$(CLASS_HDRS))
51 HDRS:=$(patsubst %,SampleLib/%,$(MODULE_HDRS))
52 DHDR:=$(patsubst %,SampleLib/%,$(MODULE_DHDR))
53 CINTAUTOLINK:= $(shell test "x$(MODULE_DHDR)" = "x" && echo 1)
56 PACKCXXFLAGS := $(filter-out -ansi,$(filter-out -pedantic-errors, $(CXXFLAGS)))
57 PACKCFLAGS := $(filter-out -ansi, $(filter-out -pedantic-errors, $(CFLAGS)))
58 PACKDCXXFLAGS:= $(filter-out -pedantic-errors, $(CXXFLAGS))
59 PACKSOFLAGS := $(HLTSOFLAGS)