unset LDFLAGS &&
unset CFLAGS &&

make_single &&
make install-xen install-tools &&

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

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
