]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/libAliHLTSample.pkg
added monitoring example component and macro
[u/mrichter/AliRoot.git] / HLT / libAliHLTSample.pkg
1 #-*- Mode: Makefile -*-
2 # $Id$
3
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 
7 # README.
8
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 \
14                 AliHLTAgentSample.h \
15                 AliHLTSamplePreprocessor.h \
16                 AliHLTSampleOfflineSinkComponent.h \
17                 AliHLTDummyComponent.h
18
19 # library sources, generated from the class headers
20 MODULE_SRCS=    $(CLASS_HDRS:.h=.cxx)
21
22 # library headers
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)
28
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>+;
33 #
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. 
37 MODULE_DHDR:=
38
39 # extra defines and flags for the AliRoot build system. NOTE: include
40 # directories and linking flags/options must be specified in 
41 # Makefile.am (stand-alone build system) and here (AliRoot).
42 EDEFINE      := ${HLTDEFS}
43 PACKCXXFLAGS := $(filter-out -ansi,$(filter-out -pedantic-errors, $(CXXFLAGS)))
44 PACKCFLAGS   := $(filter-out -ansi, $(filter-out -pedantic-errors, $(CFLAGS)))
45 PACKDCXXFLAGS:= $(filter-out -pedantic-errors, $(CXXFLAGS))
46
47 EINCLUDE := HLT/BASE HLT/shuttle
48
49 ###############################################################################
50 #
51 # do not change anything below this line
52 #
53 SRCS:=$(patsubst %,SampleLib/%,$(MODULE_SRCS))
54 CINTHDRS:=$(patsubst %,SampleLib/%,$(CLASS_HDRS))
55 HDRS:=$(patsubst %,SampleLib/%,$(MODULE_HDRS))
56 DHDR:=$(patsubst %,SampleLib/%,$(MODULE_DHDR))
57 CINTAUTOLINK:= $(shell test "x$(MODULE_DHDR)" = "x" && echo 1)