]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/libAliHLTSample.pkg
completely re-worked TPC CA tracking code (Sergey/Ivan)
[u/mrichter/AliRoot.git] / HLT / libAliHLTSample.pkg
index 72602d2bbbb24bc7236ab8cbf4471f1e3d45f428..ae44e8ef6ab10de4ec76f4995f7ac36935b73652 100644 (file)
@@ -1,5 +1,5 @@
 #-*- Mode: Makefile -*-
-# $Id
+# $Id$
 
 # This files defines the source and header files for the
 # libAliHLTSample library and additional flags for the compilation
@@ -9,12 +9,16 @@
 # library sources
 MODULE_SRCS=   AliHLTSampleComponent1.cxx \
                AliHLTSampleComponent2.cxx \
+               AliHLTAgentSample.cxx \
+               AliHLTSampleOfflineSinkComponent.cxx \
                AliHLTDummyComponent.cxx
 
 # class header files, the link definition for the root dictionary
 # will be created from the names of the header files
 CLASS_HDRS:=   AliHLTSampleComponent1.h \
                AliHLTSampleComponent2.h \
+               AliHLTAgentSample.h \
+               AliHLTSampleOfflineSinkComponent.h \
                AliHLTDummyComponent.h
 
 # library headers
@@ -24,16 +28,15 @@ CLASS_HDRS:=        AliHLTSampleComponent1.h \
 # ROOT dictionary support
 MODULE_HDRS:=  $(CLASS_HDRS)
 
-# The autotools-based stand-alone built system creates  the LinkDef
-# file required by the ROOT dictionary generation for the all header
-# files specified in CLASS_HDRS.  
-# When creating a ROOT dictionary in AliRoot you must eventually
-# provide a *LinkDef.h file which tells rootcint what to do with the
-# classes. The *LinkDef.h must be added to DHDR in that case.
-# There might be an extension also in ALIROOT which allows to 
-# generate the LinkDef automatically.
-DHDR:=                 
-CINTAUTOLINK:=
+# The LinkDef file required by the ROOT dictionary generation can be
+# generated automatically. For the all header files specified in
+# CLASS_HDRS an entry will be generated
+# pragma link C++ class <class-name>+;
+#
+# If the default behavior is not enough, you can provide a custom
+# *LinkDef.h to the MODULE_DHDR variable. Leave MODULE_DHDR empty to
+# enable automatic generation. 
+MODULE_DHDR:=
 
 # extra defines and flags for the AliRoot build system. NOTE: include
 # directories and linking flags/options must be specified in 
@@ -52,3 +55,5 @@ EINCLUDE := HLT/BASE
 SRCS:=$(patsubst %,SampleLib/%,$(MODULE_SRCS))
 CINTHDRS:=$(patsubst %,SampleLib/%,$(CLASS_HDRS))
 HDRS:=$(patsubst %,SampleLib/%,$(MODULE_HDRS))
+DHDR:=$(patsubst %,SampleLib/%,$(MODULE_DHDR))
+CINTAUTOLINK:= $(shell test "x$(MODULE_DHDR)" = "x" && echo 1)