]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/libAliHLTTRD.pkg
- add the histogram component to the agent and the build system
[u/mrichter/AliRoot.git] / HLT / libAliHLTTRD.pkg
index 81560058719f7e5d78a42a14faf5fb3641842371..bd16b1b4366459b5bd1c3e80ae878f51be222a00 100644 (file)
@@ -1,62 +1,65 @@
 #-*- Mode: Makefile -*-
-# $Id: 
-
-include $(MODDIR)/hlt.conf
-
-# This files defines the source and header files for the
-# libAliHLTSample library and additional flags for the compilation
-# and linking process. For further information refer to the 
-# README.
-
-# library sources
-MODULE_SRCS= \
-        AliHLTTRDClusterizerComponent.cxx \
-        AliHLTTRDDefinitions.cxx \
-        AliHLTTRDTrackerComponent.cxx \
-        AliTRDclusterizerHLT.cxx \
-       AliTRDtrackerHLT.cxx
+# $Id$
+# package definition for the libAliHLTTRD library
 
 # class header files, the link definition for the root dictionary
 # will be created from the names of the header files
 CLASS_HDRS:= \
         AliHLTTRDClusterizerComponent.h \
         AliHLTTRDDefinitions.h \
-        AliHLTTRDTrackerComponent.h \
-        AliTRDclusterizerHLT.h \
-       AliTRDtrackerHLT.h
+        AliHLTTRDTrackerV1Component.h \
+       AliHLTTRDClusterizer.h \
+       AliHLTTRDEsdWriterComponent.h \
+       AliHLTTRDCalibrationComponent.h \
+       AliHLTTRDCluster.h \
+       AliHLTTRDTracklet.h \
+       AliHLTTRDTrack.h \
+       AliHLTTRDAgent.h \
+       AliHLTTRDUtils.h \
+       AliHLTTRDClusterHistoComponent.h
+
+# library sources
+MODULE_SRCS= \
+       $(CLASS_HDRS:.h=.cxx)
 
 # library headers
 # in most cases you might have already added all the header files to
 # the CLASS_HDRS variable. So we just use the content of this. You
 # can simply add more header files which don't contain classes with
 # 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:=                 TRD/AliHLTTRDLinkDef.h          
-CINTAUTOLINK:=
-
-# extra defines and flags for the AliRoot build system. NOTE: include
-# directories and linking flags/options must be specified in 
-# Makefile.am (stand-alone build system) and here (AliRoot).
-EDEFINE      := ${HLTDEFS}
-PACKCXXFLAGS := ${HLTCXXFLAGS}
-PACKCFLAGS   := ${HLTCLFAGS}
-PACKDCXXFLAGS:= ${HLTDCXXFLAGS}
+MODULE_HDRS:= \
+       AliHLTTRDTrackletWordArray.h \
+       $(CLASS_HDRS)
+
+# 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:=
 
-EINCLUDE := HLT/BASE HLT/TRD TRD RAW
+EINCLUDE := HLT/BASE HLT/BASE/util HLT/TRD TRD STEER RAW
+
+LIBRARY_DEP := -lHLTbase -lAliHLTUtil -lESD -lCDB -lTRDrec -lTRDbase \
+               -lSTEER -lSTEERBase -lRAWDatarec
 
 ###############################################################################
 #
 # do not change anything below this line
 #
+include $(MODDIR)/hlt.conf
+
 SRCS:=$(patsubst %,TRD/%,$(MODULE_SRCS))
 CINTHDRS:=$(patsubst %,TRD/%,$(CLASS_HDRS))
 HDRS:=$(patsubst %,TRD/%,$(MODULE_HDRS))
+DHDR:=$(patsubst %,TRD/%,$(MODULE_DHDR))
+CINTAUTOLINK:= $(shell test "x$(MODULE_DHDR)" = "x" && echo 1)
+
+EDEFINE      := ${HLTDEFS}
+PACKCXXFLAGS := ${HLTCXXFLAGS}
+PACKCFLAGS   := ${HLTCLFAGS}
+PACKDCXXFLAGS:= ${HLTDCXXFLAGS}
+PACKSOFLAGS  := $(HLTSOFLAGS)