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