# Copyright (c) 1991 - 1900.  The Regents of the University of
# California (Regents).  All Rights Reserved.
# H+
# 	Title	:  mkpkg
# 	Author	:  ericco
# 	Date	:  08/03/92
# 	Synopsis:  
# 	Keywords:
# 		@(#) mkpkg -r1.6 08/03/92 UCB SSL CEA EGOCS
# 	Revisions:
# 	mm/dd/yy   name		description
# 	08/24/94   tnk	fixed zzdebug
# 	04/08/94   tnk	std targets
# 	08/03/92   ericco	date and time created 92/08/03 18:46:25 by ericco
# H-
# 
#

# Make QCALC -- revised 8/24/94

$call preprocess
$call update
$call zzdebug
$exit

preprocess:
	$set	XY	= "!xyacc "
	$set	MV	= "!mv "

	$ifolder(t_qcalc.x, t_qcalc.y)
		$(XY) t_qcalc.y
		$(MV) ytab.x t_qcalc.x
	$endif
	;

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

libeuvtools.a:
	t_qcalc.x
	;

zzdebug:
	$set LIBS = "-leuvtools -lcep -lcea"
	$omake zzdebug.x
	$link	zzdebug.o $(LIBS) -o zzdebug.e
	;

