]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/libAliHLTSample.pkg
set variable in order to match new make.dict
[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                 AliHLTSampleOfflineSinkComponent.cxx \
14                 AliHLTDummyComponent.cxx
15
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 \
20                 AliHLTAgentSample.h \
21                 AliHLTSampleOfflineSinkComponent.h \
22                 AliHLTDummyComponent.h
23
24 # library headers
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)
30
31 # The autotools-based stand-alone built system creates  the LinkDef
32 # file required by the ROOT dictionary generation for the all header
33 # files specified in CLASS_HDRS.  
34 # When creating a ROOT dictionary in AliRoot you must eventually
35 # provide a *LinkDef.h file which tells rootcint what to do with the
36 # classes. The *LinkDef.h must be added to DHDR in that case.
37 # There might be an extension also in ALIROOT which allows to 
38 # generate the LinkDef automatically.
39 #DHDR:=                 SampleLib/AliHLTSampleLinkDef.h         
40 CINTAUTOLINK:=1
41
42 # extra defines and flags for the AliRoot build system. NOTE: include
43 # directories and linking flags/options must be specified in 
44 # Makefile.am (stand-alone build system) and here (AliRoot).
45 EDEFINE      := ${HLTDEFS}
46 PACKCXXFLAGS := $(filter-out -ansi,$(filter-out -pedantic-errors, $(CXXFLAGS)))
47 PACKCFLAGS   := $(filter-out -ansi, $(filter-out -pedantic-errors, $(CFLAGS)))
48 PACKDCXXFLAGS:= $(filter-out -pedantic-errors, $(CXXFLAGS))
49
50 EINCLUDE := HLT/BASE
51
52 ###############################################################################
53 #
54 # do not change anything below this line
55 #
56 SRCS:=$(patsubst %,SampleLib/%,$(MODULE_SRCS))
57 CINTHDRS:=$(patsubst %,SampleLib/%,$(CLASS_HDRS))
58 HDRS:=$(patsubst %,SampleLib/%,$(MODULE_HDRS))