]>
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 | ||
9 | # library sources | |
10 | MODULE_SRCS= AliHLTSampleComponent1.cxx \ | |
11 | AliHLTSampleComponent2.cxx \ | |
242bb794 | 12 | AliHLTAgentSample.cxx \ |
c48c8c8a | 13 | AliHLTDummyComponent.cxx |
14 | ||
15 | # class header files, the link definition for the root dictionary | |
16 | # will be created from the names of the header files | |
17 | CLASS_HDRS:= AliHLTSampleComponent1.h \ | |
18 | AliHLTSampleComponent2.h \ | |
242bb794 | 19 | AliHLTAgentSample.h \ |
c48c8c8a | 20 | AliHLTDummyComponent.h |
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 autotools-based stand-alone built system creates the LinkDef | |
30 | # file required by the ROOT dictionary generation for the all header | |
31 | # files specified in CLASS_HDRS. | |
32 | # When creating a ROOT dictionary in AliRoot you must eventually | |
33 | # provide a *LinkDef.h file which tells rootcint what to do with the | |
34 | # classes. The *LinkDef.h must be added to DHDR in that case. | |
35 | # There might be an extension also in ALIROOT which allows to | |
36 | # generate the LinkDef automatically. | |
242bb794 | 37 | #DHDR:= SampleLib/AliHLTSampleLinkDef.h |
38 | CINTAUTOLINK:=1 | |
c48c8c8a | 39 | |
40 | # extra defines and flags for the AliRoot build system. NOTE: include | |
41 | # directories and linking flags/options must be specified in | |
42 | # Makefile.am (stand-alone build system) and here (AliRoot). | |
49f44941 | 43 | EDEFINE := ${HLTDEFS} |
2d7ff710 | 44 | PACKCXXFLAGS := $(filter-out -ansi,$(filter-out -pedantic-errors, $(CXXFLAGS))) |
45 | PACKCFLAGS := $(filter-out -ansi, $(filter-out -pedantic-errors, $(CFLAGS))) | |
46 | PACKDCXXFLAGS:= $(filter-out -pedantic-errors, $(CXXFLAGS)) | |
c48c8c8a | 47 | |
48 | EINCLUDE := HLT/BASE | |
49 | ||
50 | ############################################################################### | |
51 | # | |
52 | # do not change anything below this line | |
53 | # | |
54 | SRCS:=$(patsubst %,SampleLib/%,$(MODULE_SRCS)) | |
55 | CINTHDRS:=$(patsubst %,SampleLib/%,$(CLASS_HDRS)) | |
56 | HDRS:=$(patsubst %,SampleLib/%,$(MODULE_HDRS)) |