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
10 MODULE_SRCS= AliHLTSampleComponent1.cxx \
11 AliHLTSampleComponent2.cxx \
12 AliHLTAgentSample.cxx \
13 AliHLTSampleOfflineSinkComponent.cxx \
14 AliHLTDummyComponent.cxx
16 # class header files, the link definition for the root dictionary
17 # will be created from the names of the header files
18 CLASS_HDRS:= AliHLTSampleComponent1.h \
19 AliHLTSampleComponent2.h \
21 AliHLTSampleOfflineSinkComponent.h \
22 AliHLTDummyComponent.h
25 # in most cases you might have already added all the header files to
26 # the CLASS_HDRS variable. So we just use the content of this. You
27 # can simply add more header files which don't contain classes with
28 # ROOT dictionary support
29 MODULE_HDRS:= $(CLASS_HDRS)
31 # The LinkDef file required by the ROOT dictionary generation can be
32 # generated automatically. For the all header files specified in
33 # CLASS_HDRS an entry will be generated
34 # pragma link C++ class <class-name>+;
36 # If the default behavior is not enough, you can provide a custom
37 # *LinkDef.h to the MODULE_DHDR variable. Leave MODULE_DHDR empty to
38 # enable automatic generation.
41 # extra defines and flags for the AliRoot build system. NOTE: include
42 # directories and linking flags/options must be specified in
43 # Makefile.am (stand-alone build system) and here (AliRoot).
45 PACKCXXFLAGS := $(filter-out -ansi,$(filter-out -pedantic-errors, $(CXXFLAGS)))
46 PACKCFLAGS := $(filter-out -ansi, $(filter-out -pedantic-errors, $(CFLAGS)))
47 PACKDCXXFLAGS:= $(filter-out -pedantic-errors, $(CXXFLAGS))
51 ###############################################################################
53 # do not change anything below this line
55 SRCS:=$(patsubst %,SampleLib/%,$(MODULE_SRCS))
56 CINTHDRS:=$(patsubst %,SampleLib/%,$(CLASS_HDRS))
57 HDRS:=$(patsubst %,SampleLib/%,$(MODULE_HDRS))
58 DHDR:=$(patsubst %,SampleLib/%,$(MODULE_DHDR))
59 CINTAUTOLINK:= $(shell test "x$(MODULE_DHDR)" = "x" && echo 1)