startmacro u:option
local savehome

if env(ostype) eqs "VMS" then
  $@xmarea_ice:[lib]icelib.bld
else
  $/bin/sh -f $XMAREA_ICE/lib/icelib.b
  $/bin/sh -f $XMAREA_ICE/core/icecores.b
  $/bin/sh -f $XMAREA_ICE/jre/icebld.sh unpack
endif
if /MAKELIB gt 0
  xmbld * l h ice
else
  xmbld * cl mh ice
  env get home savehome
  pic home
  xmbld * cl %
  env set home savehome
endif

endmacro
