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