#   Make the foccs package
#
#   Special keywords recognized by IRAF mkpkg files:
#
#	mkpkg relink		update object library and link
#	mkpkg linkonly		skip object library updates and just link
#	mkpkg install		move executable to lib$
#	mkpkg update		update object library, link, and move to lib$

$call	relink
$exit

update:
	$call	relink
	$call	install
	;

relink:
	$update	foccs.a
	$call	foccs
	;

install:
	$move	xx_foccs.e stsdasbin$x_foccs.e
	;

foccs:
linkonly:
	$omake	x_foccs.x

	$link	x_foccs.o foccs.a \
		-ltbtables \
		-lxtools \
		-o xx_foccs.e
	;

foccs.a:
	@fflat
	@ffocus
	;
