AC_MSG_RESULT([$enable_module])
AC_SUBST([ALIFMD_LIBS])
+dnl ------------------------------------------------------------------
+AH_TEMPLATE([HLT_ZDC],[hlt zdc library])
+
+ALIZDC_LIBS=$ALIHLTMODULE_LIBS
+CHECK_HLTMODULE([zdc],
+ [], [$ALIROOT_CPPFLAGS],
+ [], [-L$ROOTLIBDIR], [$ROOTLIBS $ADD_ROOTLIBS],
+ [ZDCbase ZDCrec], [-L$ROOTLIBDIR $ALIROOT_LDFLAGS],
+ [$ROOTLIBS $ADD_ROOTLIBS $ALIROOT_LIBS])
+
+if test "x$enable_module" = "xmissheader"; then
+ enable_module="no...missing.headers"
+ enable_zdc=$enable_module
+elif test "x$enable_module" = "xforce"; then
+ enable_zdc="yes"
+else
+ enable_zdc=$enable_module
+fi
+
+if test "x$enable_zdc" = "xyes" ; then
+ AC_DEFINE(HLT_ZDC)
+ ALIZDC_LIBS=$ALIHLTMODULE_LIBS
+else
+ enable_module=$enable_zdc
+fi
+AM_CONDITIONAL(EN_HLT_ZDC, test x$enable_zdc = xyes)
+AC_MSG_CHECKING([whether to compile ZDC library])
+AC_MSG_RESULT([$enable_module])
+AC_SUBST([ALIZDC_LIBS])
+
dnl ------------------------------------------------------------------
AH_TEMPLATE([HLT_MUON],[hlt dimuon library])
AC_CONFIG_FILES([FMD/Makefile])
fi
+AC_MSG_NOTICE([compile ZDC library: $enable_zdc])
+if test "x$enable_zdc" = "xyes"; then
+ AC_CONFIG_FILES([ZDC/Makefile])
+fi
+
AC_MSG_NOTICE([compile MUON library: $enable_muon])
if test "x$enable_muon" = "xyes"; then
AC_CONFIG_FILES([MUON/Makefile])
--- /dev/null
+#-*- Mode: Makefile -*-
+# $Id: libAliHLTZDC.pkg $
+
+# This files defines the source and header files for the
+# libAliHLTZDC 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:= AliHLTZDCESDRecoComponent.h \
+ AliHLTZDCAgent.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/ZDC \
+ ZDC \
+ STEER \
+ RAW
+
+LIBRARY_DEP := -lHLTbase \
+ -lCDB -lESD -lSTEER -lSTEERBase \
+ -lRAWDatarec -lRAWDatabase \
+ -lZDCbase -lZDCrec \
+ -L$(ROOTLIBDIR) -lEG
+
+###############################################################################
+#
+# do not change anything below this line
+#
+include $(MODDIR)/hlt.conf
+
+SRCS := $(patsubst %,ZDC/%,$(MODULE_SRCS))
+CINTHDRS := $(patsubst %,ZDC/%,$(CLASS_HDRS))
+HDRS := $(patsubst %,ZDC/%,$(MODULE_HDRS))
+DHDR := $(patsubst %,ZDC/%,$(MODULE_DHDR))
+CINTAUTOLINK := $(shell test "x$(MODULE_DHDR)" = "x" && echo 1)
+
+EDEFINE := ${HLTDEFS}
+PACKCXXFLAGS := ${HLTCXXFLAGS}
+PACKCFLAGS := ${HLTCLFAGS}
+PACKDCXXFLAGS:= ${HLTDCXXFLAGS}
+PACKSOFLAGS := $(HLTSOFLAGS)