]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/libAliHLTTrigger.pkg
- addign classes to the build system
[u/mrichter/AliRoot.git] / HLT / libAliHLTTrigger.pkg
1 #-*- Mode: Makefile -*-
2 # $Id$
3
4 # This files defines the source and header files for the
5 # libAliHLTTrigger 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:= \
12                 AliHLTTrigger.h                             \
13                 AliHLTGlobalTrigger.h                       \
14                 AliHLTGlobalTriggerConfig.h                 \
15                 AliHLTGlobalTriggerComponent.h              \
16                 AliHLTTriggerBarrelMultiplicity.h           \
17                 AliHLTTriggerBarrelCosmic.h                 \
18                 AliHLTTriggerAgent.h                        \
19                 AliHLTEventSummary.h                        \
20                 AliHLTEventSummaryProducerComponent.h       \
21                 AliHLTRunSummary.h                          \
22                 AliHLTRunSummaryProducerComponent.h         \
23                 AliHLTTriggerSelectiveReadoutComponent.h    \
24                 AliHLTTriggerMonitoringComponent.h          \
25                 AliHLTTriggerPhosClusterEnergy.h            \
26                 AliHLTTriggerPhosMip.h                      \
27                 AliHLTTriggerTrdClusterMultiplicity.h       \
28                 AliHLTTriggerBarrelGeomMultiplicity.h       \
29                 AliHLTTriggerDetectorGeom.h
30
31
32 # library sources
33 MODULE_SRCS:=   $(CLASS_HDRS:.h=.cxx)
34
35 # library headers
36 # in most cases you might have already added all the header files to
37 # the CLASS_HDRS variable. So we just use the content of this. You
38 # can simply add more header files which don't contain classes with
39 # ROOT dictionary support
40 MODULE_HDRS:=   $(CLASS_HDRS)
41
42 # The LinkDef file required by the ROOT dictionary generation can be
43 # generated automatically. For the all header files specified in
44 # CLASS_HDRS an entry will be generated
45 # pragma link C++ class <class-name>+;
46 #
47 # If the default behavior is not enough, you can provide a custom
48 # *LinkDef.h to the MODULE_DHDR variable. Leave MODULE_DHDR empty to
49 # enable automatic generation. 
50 MODULE_DHDR:=   AliHLTTriggerLinkDef.h
51
52 EINCLUDE := HLT/BASE HLT/BASE/util HLT/trigger HLT/TPCLib HLT/TRD TRD
53
54 LIBRARY_DEP := -lHLTbase 
55
56 ###############################################################################
57 #
58 # do not change anything below this line
59 #
60 include $(MODDIR)/hlt.conf
61
62 SRCS:=$(patsubst %,trigger/%,$(MODULE_SRCS))
63 CINTHDRS:=$(patsubst %,trigger/%,$(CLASS_HDRS))
64 HDRS:=$(patsubst %,trigger/%,$(MODULE_HDRS))
65 DHDR:=$(patsubst %,trigger/%,$(MODULE_DHDR))
66 CINTAUTOLINK:= $(shell test "x$(MODULE_DHDR)" = "x" && echo 1)
67
68 EDEFINE      := ${HLTDEFS}
69 PACKCXXFLAGS := ${HLTCXXFLAGS}
70 PACKCFLAGS   := ${HLTCLFAGS}
71 PACKDCXXFLAGS:= ${HLTDCXXFLAGS}
72 PACKSOFLAGS  := $(HLTSOFLAGS)