# Update the hstio systems code in the hstio system library
# M.D. De La Pena - 29 December 1998: Added the conditional definition
# for an ALPHA running Digital Unix.  This definition is needed by numeric.c.
# M.D. De La Pena - 03 March 1999: Added the /PREFIX switch for VMS and 
# OpenVMS systems in order to force prefixing and use of IMAGELIB.OLB.

$set XFLAGS = "$(XFLAGS) -Inolibc -DIRAF"
$ifeq (hostid, vms)
        $set XFLAGS = "$(XFLAGS) -I[] -I$(stsdaslib) -/PREFIX=ALL_ENTRIES \
                       -D__VMS -DD_FLOAT"
$else
        $set XFLAGS = "$(XFLAGS) -I. "
$endif

$ifeq (MACH, alpha)
        $set XFLAGS = "$(XFLAGS) -D__DU"
$endif
 
$checkout libhstio.a ../
$update   libhstio.a
$checkin  libhstio.a ../


$exit


libhstio.a:
	hstio.c		<hstio.h> hstioirf.c
	numeric.c	<numeric.h>
	keyword.c	<hstio.h> <numeric.h>
	;

