]>
Commit | Line | Data |
---|---|---|
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 | 11 | CLASS_HDRS:= AliHLTSampleComponent1.h \ |
c48c8c8a | 12 | AliHLTSampleComponent2.h \ |
8ef16e6a | 13 | AliHLTSampleCalibrationComponent.h \ |
e8b9b7f2 | 14 | AliHLTSampleESDAnalysisComponent.h \ |
65834196 | 15 | AliHLTSampleRawAnalysisComponent.h \ |
2accc11f | 16 | AliHLTSampleMonitoringComponent.h \ |
242bb794 | 17 | AliHLTAgentSample.h \ |
12ec5482 | 18 | AliHLTSamplePreprocessor.h \ |
90ebac25 | 19 | AliHLTSampleOfflineSinkComponent.h \ |
c48c8c8a | 20 | AliHLTDummyComponent.h |
21 | ||
2accc11f | 22 | # library sources, generated from the class headers |
23 | MODULE_SRCS= $(CLASS_HDRS:.h=.cxx) | |
24 | ||
c48c8c8a | 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 | ||
014e1e83 | 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:= | |
c48c8c8a | 41 | |
65834196 | 42 | EINCLUDE := HLT/BASE HLT/shuttle HLT/SampleLib STEER RAW |
c48c8c8a | 43 | |
abd75f15 | 44 | LIBRARY_DEP := -lHLTbase -lCDB -lSTEERBase |
45 | ||
c48c8c8a | 46 | ############################################################################### |
47 | # | |
48 | # do not change anything below this line | |
49 | # | |
abd75f15 | 50 | include $(MODDIR)/hlt.conf |
51 | ||
c48c8c8a | 52 | SRCS:=$(patsubst %,SampleLib/%,$(MODULE_SRCS)) |
53 | CINTHDRS:=$(patsubst %,SampleLib/%,$(CLASS_HDRS)) | |
54 | HDRS:=$(patsubst %,SampleLib/%,$(MODULE_HDRS)) | |
014e1e83 | 55 | DHDR:=$(patsubst %,SampleLib/%,$(MODULE_DHDR)) |
56 | CINTAUTOLINK:= $(shell test "x$(MODULE_DHDR)" = "x" && echo 1) | |
72ae28cd | 57 | |
abd75f15 | 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) |