AC_MSG_RESULT([$enable_module])
AC_SUBST([ALIJET_LIBS])
+dnl ------------------------------------------------------------------
+AH_TEMPLATE([HLT_VZERO],[hlt vzero library])
+
+ALIVZERO_LIBS=
+CHECK_HLTMODULE([vzero],
+ [], [$ALIROOT_CPPFLAGS],
+ [], [-L$ROOTLIBDIR], [$ROOTLIBS $ADD_ROOTLIBS],
+ [], [-L$ROOTLIBDIR $ALIROOT_LDFLAGS],
+ [$ROOTLIBS $ADD_ROOTLIBS $ALIROOT_LIBS])
+
+if test "x$enable_module" = "xmissheader"; then
+ enable_module="no...header.missing"
+ enable_vzero=$enable_module
+elif test "x$enable_module" = "xforce"; then
+ enable_vzero="yes"
+else
+ enable_vzero=$enable_module
+fi
+
+if test "x$enable_vzero" = "xyes" ; then
+ AC_DEFINE(HLT_VZERO)
+ ALIVZERO_LIBS=$ALIHLTMODULE_LIBS
+else
+ enable_module=$enable_vzero
+fi
+AM_CONDITIONAL(EN_HLT_VZERO, test x$enable_vzero = xyes)
+AC_MSG_CHECKING([whether to compile VZERO library])
+AC_MSG_RESULT([$enable_module])
+AC_SUBST([ALIVZERO_LIBS])
+
dnl ------------------------------------------------------------------
AH_TEMPLATE([HLT_ITS],[hlt its library])
AC_CONFIG_FILES([JET/Makefile])
fi
+AC_MSG_NOTICE([compile vzero library: $enable_vzero])
+if test "x$enable_vzero" = "xyes"; then
+ AC_CONFIG_FILES([VZERO/Makefile])
+fi
+
AC_MSG_NOTICE([compile comp library: $enable_comp])
if test "x$enable_comp" = "xyes"; then
AC_CONFIG_FILES([comp/Makefile])
--- /dev/null
+#-*- Mode: Makefile -*-
+# $Id: libAliHLTVZERO.pkg $
+
+# This files defines the source and header files for the
+# libAliHLTVZERO library and additional flags for the compilation
+# and linking process.
+
+# class header files, the link definition for the root dictionary
+# will be created from the names of the header files
+CLASS_HDRS:= AliHLTVZERORecoComponent.h \
+ AliHLTVZEROAgent.h
+
+# library sources, generated from the class headers
+MODULE_SRCS= $(CLASS_HDRS:.h=.cxx)
+
+# library headers
+MODULE_HDRS:= $(CLASS_HDRS)
+
+# Leave MODULE_DHDR empty to enable automatic generation of *LinkDef.h
+MODULE_DHDR:=
+
+EINCLUDE := HLT/BASE \
+ HLT/VZERO \
+ VZERO \
+ STEER \
+ RAW
+
+LIBRARY_DEP := -lHLTbase \
+ -lCDB -lESD -lSTEER -lSTEERBase \
+ -lRAWDatarec -lRAWDatabase \
+ -lVZERObase -lVZEROrec \
+ -L$(ROOTLIBDIR) -lEG
+
+###############################################################################
+#
+# do not change anything below this line
+#
+include $(MODDIR)/hlt.conf
+
+SRCS := $(patsubst %,VZERO/%,$(MODULE_SRCS))
+CINTHDRS := $(patsubst %,VZERO/%,$(CLASS_HDRS))
+HDRS := $(patsubst %,VZERO/%,$(MODULE_HDRS))
+DHDR := $(patsubst %,VZERO/%,$(MODULE_DHDR))
+CINTAUTOLINK := $(shell test "x$(MODULE_DHDR)" = "x" && echo 1)
+
+EDEFINE := ${HLTDEFS}
+PACKCXXFLAGS := ${HLTCXXFLAGS}
+PACKCFLAGS := ${HLTCLFAGS}
+PACKDCXXFLAGS:= ${HLTDCXXFLAGS}
+PACKSOFLAGS := $(HLTSOFLAGS)