#   Make the focutility package.
#
#   Special keywords recognized by STSDAS mkpkg files:
#
#	mkpkg relink		update object library and link
#	mkpkg linkonly		skip object library updates and just link
#	mkpkg install		move executable to bin$
#	mkpkg update		update object library, link, and move to bin$

$call	relink
$exit

update:
	$call	relink
	$call	install
	;

relink:
	$update	focutility.a
	$call	focutility
	;

install:
	$move	xx_focutility.e stsdasbin$x_focutility.e
	;

focutil:
linkonly:
	$omake	x_focutility.x

	$link	x_focutility.o focutility.a \
		-lapplib -ltbtables \
		-lgsurfit \
		-o xx_focutility.e
	;

focutility.a:
	@overflowx
	@rsdpbacx
	@rsdpfmtx
	@rsdpsdex
	@rsdpunix
	@testimx
	;

