# Copyright (c) 1991 - 1900.  The Regents of the University of
# California (Regents).  All Rights Reserved.
# H+
# 	Title	:  mkpkg
# 	Author	:  ericco
# 	Date	:  04/30/92
# 	Synopsis:  
# 	Keywords:
# 		@(#) mkpkg -r1.4 04/30/92 UCB SSL CEA EGOCS
# 	Revisions:
# 	mm/dd/yy   name		description
# 	04/09/94   tnk	changed ifnewer to ifolder
# 	04/08/94   tnk	std targets, adjusted zzdebug libs
# 	07/12/93   tnk	changed to use dsd2spp
# 	04/30/92   ericco	date and time created 92/04/30 00:36:00 by ericco
# H-
# 
#

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

$call preprocess
$call update
$call zzdebug
$exit

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

	$ifolder(ek.x: ek.dsd)
		$(D2S) ek.dsd 
	$endif
	;

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

libcio.a:
	ek.x		 "ek.h"
	ekopen.x	 "ek.h"
	ekclose.x	 "ek.h"
	ekgcur.x	 "ek.h"
	;

zzdebug:
	$set LIBS = "-lcio -lii -lcea"

	$omake	test.x
	$link	test.o $(LIBS) -o test.e


