# Make the longplot task

$verbose
$call	relink
$exit

update:
	$call	relink
	$call	install
	;

relink:
#	$set	XFLAGS	= "-cgFq"
#	$set	LFLAGS	= "-gq"
	$set	LIBS = "-lxtools"
	$update	libpkg.a
	$omake	x_longplot.x
	$link	x_longplot.o libpkg.a $(LIBS) -o xx_longplot.e
	;

install:
	$move	xx_longplot.e pkgbin$x_longplot.e
	;

libpkg.a:
	lplappear.x	lpl.h 
	lplasnttl.x	lpl.h
	lplcalccd.x	lpl.h lpx.h <gki.h> <gset.h>
	lplcnvltp.x	lpl.h
	lplcnvmkr.x	lpl.h <ctotok.h>
	lplcoords.x	lpl.h <gset.h> <mach.h>
	lpldrwdat.x	lpl.h lpx.h <gset.h>
	lpldrwlgd.x	lpl.h lpx.h
	lplfrelpx.x	lpx.h
	lplgetvp.x	lpl.h lpx.h
	lplglabax.x	lpl.h lpx.h <gset.h>
	lplimproj.x	lpl.h <imhdr.h>
	lplindir.x	lpl.h lpx.h <chars.h>
	lplinilpx.x	lpx.h
	lplinito.x	lpl.h
	lplintype.x	lpl.h <ctype.h>
	lplinvert.x
#	lplltrans.x	<gio.h>
	lplnextin.x	lpl.h <ctype.h>
	lplparscd.x	lpl.h <ctotok.h>
	lplparstr.x	lpl.h functions.h <ctotok.h>
	lplplot.x	lpl.h lpx.h <gescape.h> <mach.h>
	lplrdcrv.x	lpl.h
	lplrdcrvs.x	lpl.h lpx.h <error.h>
	lplreslpx.x	lpx.h
	lplrimg2.x	lpl.h <error.h> <imhdr.h>
	lplrlst2.x	lpl.h <error.h> <ctype.h>
	lplsclbar.x	lpl.h
	lplsetext.x	lpl.h <gescape.h> <mach.h>		# lplset
	lplsetltp.x	lpl.h lpx.h				# lplsee
	lplsetmkr.x	lpl.h lpx.h				# lplser
	lplsetplt.x	lpl.h <gset.h>				# lplsep
	lplsetrgs.x	lpl.h lpx.h				# lplses
	lplsetwv.x	lpl.h lpx.h				# lplsev
	lpltrans.x	lpl.h functions.h
	lplwcsext.x	lpl.h
	t_longplot.x	lpl.h <ctype.h> <fset.h>
	;
