]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/libAliHLTSample.pkg
including cmath to be consistent with macosx
[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                 AliHLTSampleRawAnalysisComponent.h \
16                 AliHLTSampleMonitoringComponent.h \
17                 AliHLTAgentSample.h \
18                 AliHLTSamplePreprocessor.h \
19                 AliHLTSampleOfflineSinkComponent.h \
20                 AliHLTDummyComponent.h
21
22 # library sources, generated from the class headers
23 MODULE_SRCS=    $(CLASS_HDRS:.h=.cxx)
24
25 # library headers
26 # in most cases you might have already added all the header files to
27 # the CLASS_HDRS variable. So we just use the content of this. You
28 # can simply add more header files which don't contain classes with
29 # ROOT dictionary support
30 MODULE_HDRS:=   $(CLASS_HDRS)
31
32 # The LinkDef file required by the ROOT dictionary generation can be
33 # generated automatically. For the all header files specified in
34 # CLASS_HDRS an entry will be generated
35 # pragma link C++ class <class-name>+;
36 #
37 # If the default behavior is not enough, you can provide a custom
38 # *LinkDef.h to the MODULE_DHDR variable. Leave MODULE_DHDR empty to
39 # enable automatic generation. 
40 MODULE_DHDR:=
41
42 EINCLUDE := HLT/BASE HLT/shuttle HLT/SampleLib STEER RAW
43
44 LIBRARY_DEP := -lHLTbase -lCDB -lSTEERBase
45
46 ###############################################################################
47 #
48 # do not change anything below this line
49 #
50 include $(MODDIR)/hlt.conf
51
52 SRCS:=$(patsubst %,SampleLib/%,$(MODULE_SRCS))
53 CINTHDRS:=$(patsubst %,SampleLib/%,$(CLASS_HDRS))
54 HDRS:=$(patsubst %,SampleLib/%,$(MODULE_HDRS))
55 DHDR:=$(patsubst %,SampleLib/%,$(MODULE_DHDR))
56 CINTAUTOLINK:= $(shell test "x$(MODULE_DHDR)" = "x" && echo 1)
57
58 EDEFINE      := ${HLTDEFS}
59 PACKCXXFLAGS := $(filter-out -ansi,$(filter-out -pedantic-errors, $(CXXFLAGS)))
60 PACKCFLAGS   := $(filter-out -ansi, $(filter-out -pedantic-errors, $(CFLAGS)))
61 PACKDCXXFLAGS:= $(filter-out -pedantic-errors, $(CXXFLAGS))
62 PACKSOFLAGS  := $(HLTSOFLAGS)