#   Make the focgeom package
#   Author: GIARETTA, 23-DEC-1987
#
#   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 bin$
#	mkpkg update		update object library, link, and move to bin$

$call	relink
$exit

update:
	$call	relink
	$call	install
	;

relink:
	$update	focgeom.a
	$call	focgeom
	;

install:
	$move	xx_focgeom.e stsdasbin$x_focgeom.e
	;

focgeom:
linkonly:
	$omake	x_focgeom.x

	$link	x_focgeom.o \
		focgeom.a \
		-lapplib -lstxtools \
		-ltbtables \
		-lxtools \
		-lgsurfit \
		-o xx_focgeom.e
	;

focgeom.a:
	@lib
	@fitxy
	@p2geo
	@rappendx
	@revalfitx
	@rextrap
	@rdifferx
	@rdirectoryx
	@resavg
	@rfindx
	@rfitx
	@rfixx
	@rgenx
	@rinterx
	@rmarkerx
	@rplotx
	@rprintx
	@rstat
	@rsubset
	@rtodbx
	@rtransformx
	@slitanglex
	;
