hlt build system fixed after commit 25261: ifdef in pkg definitions; added explicit...
[u/mrichter/AliRoot.git] / HLT / libAliHLTSample.pkg
CommitLineData
c48c8c8a 1#-*- Mode: Makefile -*-
fc455fba 2# $Id$
c48c8c8a 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
c48c8c8a 9# class header files, the link definition for the root dictionary
10# will be created from the names of the header files
2accc11f 11CLASS_HDRS:= AliHLTSampleComponent1.h \
c48c8c8a 12 AliHLTSampleComponent2.h \
2accc11f 13 AliHLTSampleMonitoringComponent.h \
242bb794 14 AliHLTAgentSample.h \
12ec5482 15 AliHLTSamplePreprocessor.h \
90ebac25 16 AliHLTSampleOfflineSinkComponent.h \
c48c8c8a 17 AliHLTDummyComponent.h
18
2accc11f 19# library sources, generated from the class headers
20MODULE_SRCS= $(CLASS_HDRS:.h=.cxx)
21
c48c8c8a 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
27MODULE_HDRS:= $(CLASS_HDRS)
28
014e1e83 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.
37MODULE_DHDR:=
c48c8c8a 38
12ec5482 39EINCLUDE := HLT/BASE HLT/shuttle
c48c8c8a 40
abd75f15 41LIBRARY_DEP := -lHLTbase -lCDB -lSTEERBase
42
c48c8c8a 43###############################################################################
44#
45# do not change anything below this line
46#
abd75f15 47include $(MODDIR)/hlt.conf
48
c48c8c8a 49SRCS:=$(patsubst %,SampleLib/%,$(MODULE_SRCS))
50CINTHDRS:=$(patsubst %,SampleLib/%,$(CLASS_HDRS))
51HDRS:=$(patsubst %,SampleLib/%,$(MODULE_HDRS))
014e1e83 52DHDR:=$(patsubst %,SampleLib/%,$(MODULE_DHDR))
53CINTAUTOLINK:= $(shell test "x$(MODULE_DHDR)" = "x" && echo 1)
72ae28cd 54
abd75f15 55EDEFINE := ${HLTDEFS}
56PACKCXXFLAGS := $(filter-out -ansi,$(filter-out -pedantic-errors, $(CXXFLAGS)))
57PACKCFLAGS := $(filter-out -ansi, $(filter-out -pedantic-errors, $(CFLAGS)))
58PACKDCXXFLAGS:= $(filter-out -pedantic-errors, $(CXXFLAGS))
59PACKSOFLAGS := $(HLTSOFLAGS)