]>
Commit | Line | Data |
---|---|---|
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 | AliHLTSampleMonitoringComponent.h \ | |
14 | AliHLTAgentSample.h \ | |
15 | AliHLTSamplePreprocessor.h \ | |
16 | AliHLTSampleOfflineSinkComponent.h \ | |
17 | AliHLTDummyComponent.h | |
18 | ||
19 | # library sources, generated from the class headers | |
20 | MODULE_SRCS= $(CLASS_HDRS:.h=.cxx) | |
21 | ||
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 | |
27 | MODULE_HDRS:= $(CLASS_HDRS) | |
28 | ||
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. | |
37 | MODULE_DHDR:= | |
38 | ||
39 | EINCLUDE := HLT/BASE HLT/shuttle HLT/SampleLib | |
40 | ||
41 | LIBRARY_DEP := -lHLTbase -lCDB -lSTEERBase | |
42 | ||
43 | ############################################################################### | |
44 | # | |
45 | # do not change anything below this line | |
46 | # | |
47 | include $(MODDIR)/hlt.conf | |
48 | ||
49 | SRCS:=$(patsubst %,SampleLib/%,$(MODULE_SRCS)) | |
50 | CINTHDRS:=$(patsubst %,SampleLib/%,$(CLASS_HDRS)) | |
51 | HDRS:=$(patsubst %,SampleLib/%,$(MODULE_HDRS)) | |
52 | DHDR:=$(patsubst %,SampleLib/%,$(MODULE_DHDR)) | |
53 | CINTAUTOLINK:= $(shell test "x$(MODULE_DHDR)" = "x" && echo 1) | |
54 | ||
55 | EDEFINE := ${HLTDEFS} | |
56 | PACKCXXFLAGS := $(filter-out -ansi,$(filter-out -pedantic-errors, $(CXXFLAGS))) | |
57 | PACKCFLAGS := $(filter-out -ansi, $(filter-out -pedantic-errors, $(CFLAGS))) | |
58 | PACKDCXXFLAGS:= $(filter-out -pedantic-errors, $(CXXFLAGS)) | |
59 | PACKSOFLAGS := $(HLTSOFLAGS) |