# Copyright (c) 1991 - 1900.  The Regents of the University of
# California (Regents).  All Rights Reserved.
# H+
# 	Title	:  mkpkg
# 	Author	:  akeith
# 	Date	:  06/21/93
# 	Synopsis:  
# 	Keywords:
# 		@(#) mkpkg -r1.4 06/21/93 UCB SSL CEA EGOCS
# 	Revisions:
# 	mm/dd/yy   name		description
# 	06/03/94   tnk	added -lcep to pick up er lib
# 	04/08/94   tnk	std targets
# 	07/16/93   akeith	now utilizes the group library
# 	06/21/93   akeith	date and time created 93/06/21 16:51:28 by akeith
# H-
# 
#

#       Version: @(#)mkpkg	1.4 6/3/94 UCB CEA EGO

$call preprocess
$call update
$call zzdebug
$exit

preprocess:
	$set D2S = "!dsd2spp options=h,x,memory "

	$ifolder(atb.x, atb.dsd)
		$(D2S) atb.dsd
	$endif
	;

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

libeuvtools.a:
	atb.x		"atb.h"
	t_aspcorr.x	"atb.h" <tbset.h>
	;

zzdebug:
	$set LIBS = "-leuvtools -lgrp -lcep -lcea -ltbtables"

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


