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