unset LDFLAGS &&
unset CFLAGS &&

make install-xen install-tools &&

if [[ $XEN_STUBDOM == y ]]; then
  make_single &&
  make install-stubdom &&
  make_normal
fi &&

if [[ $INIT_INSTALLED ]]; then
  install_config_file "$SPELL_DIRECTORY/init.d/xend.conf" \
                      "$INSTALL_ROOT/etc/sysconfig/xend" &&

  install_config_file "$SPELL_DIRECTORY/init.d/xendomains.conf" \
                      "$INSTALL_ROOT/etc/sysconfig/xendomains"
fi
