]>
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 \ |
2accc11f | 13 | AliHLTSampleMonitoringComponent.h \ |
242bb794 | 14 | AliHLTAgentSample.h \ |
12ec5482 | 15 | AliHLTSamplePreprocessor.h \ |
90ebac25 | 16 | AliHLTSampleOfflineSinkComponent.h \ |
c48c8c8a | 17 | AliHLTDummyComponent.h |
18 | ||
2accc11f | 19 | # library sources, generated from the class headers |
20 | MODULE_SRCS= $(CLASS_HDRS:.h=.cxx) | |
21 | ||
c48c8c8a | 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 | ||
014e1e83 | 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:= | |
c48c8c8a | 38 | |
39 | # extra defines and flags for the AliRoot build system. NOTE: include | |
40 | # directories and linking flags/options must be specified in | |
41 | # Makefile.am (stand-alone build system) and here (AliRoot). | |
49f44941 | 42 | EDEFINE := ${HLTDEFS} |
2d7ff710 | 43 | PACKCXXFLAGS := $(filter-out -ansi,$(filter-out -pedantic-errors, $(CXXFLAGS))) |
44 | PACKCFLAGS := $(filter-out -ansi, $(filter-out -pedantic-errors, $(CFLAGS))) | |
45 | PACKDCXXFLAGS:= $(filter-out -pedantic-errors, $(CXXFLAGS)) | |
c48c8c8a | 46 | |
12ec5482 | 47 | EINCLUDE := HLT/BASE HLT/shuttle |
c48c8c8a | 48 | |
49 | ############################################################################### | |
50 | # | |
51 | # do not change anything below this line | |
52 | # | |
53 | SRCS:=$(patsubst %,SampleLib/%,$(MODULE_SRCS)) | |
54 | CINTHDRS:=$(patsubst %,SampleLib/%,$(CLASS_HDRS)) | |
55 | HDRS:=$(patsubst %,SampleLib/%,$(MODULE_HDRS)) | |
014e1e83 | 56 | DHDR:=$(patsubst %,SampleLib/%,$(MODULE_DHDR)) |
57 | CINTAUTOLINK:= $(shell test "x$(MODULE_DHDR)" = "x" && echo 1) | |
72ae28cd | 58 | |
59 | ifeq (win32gcc,$(ALICE_TARGET)) | |
60 | PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \ | |
61 | -lHLTbase -lCDB -lSTEERBase | |
62 | endif |