# Copyright (c) 1991 - 1900.  The Regents of the University of
# California (Regents).  All Rights Reserved.
# H+
# 	Title	:  mkpkg
# 	Author	:  akeith
# 	Date	:  04/13/92
# 	Synopsis:  
# 	Keywords:
# 		@(#) mkpkg -r1.3 04/13/92 UCB SSL CEA EGOCS
# 	Revisions:
# 	mm/dd/yy   name		description
# 	04/09/94   tnk	added generic processing call
# 	04/08/94   tnk	std targets
# 	04/13/92   akeith	date and time created 92/04/13 15:34:08 by akeith
# H-
# 
#

#       Revised: 4/9/94
# Make libvt.a

$call preprocess
$call update
$call zzdebug
$exit

preprocess:
	$ifolder(vtopvct.x: vtopvct.gx)
		$generic -k -o vtopvct.x vtopvct.gx
	$endif
	;

update:
        $checkout       libvt.a euvbin$
        $update         libvt.a
        $checkin        libvt.a euvbin$
        ;


libvt.a:
	vtcreate.x	 "vt.h"
	vtdestroy.x	 <vtl.h>
	vtgddsi.x	 <vtl.h> <eerror.h>
	vtgddsp.x	 <vtl.h> <eerror.h>
	vtgidsi.x	 <vtl.h> <eerror.h>
	vtgidsp.x	 <vtl.h> <eerror.h>
	vtgvctinfo.x	 <vtl.h> <eerror.h>
	vtinit.x	 <vtl.h>
	vtocreate.x	 "vto.h"
	vtodestroy.x	 <vtl.h> "vt.h" "vto.h"
	vtogdtype.x	 <vtl.h>
	vtognelms.x	 <vtl.h>
	vtogvctinfo.x	 <vtl.h> <eerror.h>
	vtoinit.x	 <vtl.h> "vt.h"
	vtopdtype.x	 <vtl.h>
	vtopmode.x	 <vtl.h> <eerror.h> "vto.h"
	vtopnelms.x	 <vtl.h> <eerror.h>
	vtopvct.x	 <vtl.h> <eerror.h> "vto.h" "vtlid.h"
	vtoset.x	 <vtl.h> <eerror.h> "vto.h"
	vtostat.x	 <vtl.h> <eerror.h> "vto.h"
	vtovctptr.x	 <vtl.h>
	vtovtptr.x	 <vtl.h>
	vtpddsi.x	 <vtl.h> <eerror.h>
	vtpddsp.x	 <vtl.h> <eerror.h>
	vtpidsi.x	 <vtl.h> <eerror.h>
	vtpidsp.x	 <vtl.h> <eerror.h>
	vtset.x	 <vtl.h> <eerror.h> "vt.h"
	vtstat.x	 <vtl.h> <eerror.h> "vt.h"
	vtvctptr.x	 <vtl.h>
	vtvtoptr.x	 <vtl.h> "vt.h"
	;

zzdebug:
        $set LIBS = "-lvt -lcea"

        $omake  vttest.x
        $link   vttest.o $(LIBS) -o vttest.e
        ;

