]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/libAliHLTSample.pkg
Removing some compilation warnings.
[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                 AliHLTSampleCalibrationComponent.h \
14                 AliHLTSampleESDAnalysisComponent.h \
15                 AliHLTSampleMonitoringComponent.h \
16                 AliHLTAgentSample.h \
17                 AliHLTSamplePreprocessor.h \
18                 AliHLTSampleOfflineSinkComponent.h \
19                 AliHLTDummyComponent.h
20
21 # library sources, generated from the class headers
22 MODULE_SRCS=    $(CLASS_HDRS:.h=.cxx)
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 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>+;
35 #
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. 
39 MODULE_DHDR:=
40
41 EINCLUDE := HLT/BASE HLT/shuttle HLT/SampleLib STEER
42
43 LIBRARY_DEP := -lHLTbase -lCDB -lSTEERBase
44
45 ###############################################################################
46 #
47 # do not change anything below this line
48 #
49 include $(MODDIR)/hlt.conf
50
51 SRCS:=$(patsubst %,SampleLib/%,$(MODULE_SRCS))
52 CINTHDRS:=$(patsubst %,SampleLib/%,$(CLASS_HDRS))
53 HDRS:=$(patsubst %,SampleLib/%,$(MODULE_HDRS))
54 DHDR:=$(patsubst %,SampleLib/%,$(MODULE_DHDR))
55 CINTAUTOLINK:= $(shell test "x$(MODULE_DHDR)" = "x" && echo 1)
56
57 EDEFINE      := ${HLTDEFS}
58 PACKCXXFLAGS := $(filter-out -ansi,$(filter-out -pedantic-errors, $(CXXFLAGS)))
59 PACKCFLAGS   := $(filter-out -ansi, $(filter-out -pedantic-errors, $(CFLAGS)))
60 PACKDCXXFLAGS:= $(filter-out -pedantic-errors, $(CXXFLAGS))
61 PACKSOFLAGS  := $(HLTSOFLAGS)