# Copyright (c) 1991 - 1900.  The Regents of the University of
# California (Regents).  All Rights Reserved.
# H+
# 	Title	:  mkpkg
# 	Author	:  akeith
# 	Date	:  12/15/92
# 	Synopsis:  
# 	Keywords:
# 		@(#) mkpkg -r1.9 12/15/92 UCB SSL CEA EGOCS
# 	Revisions:
# 	mm/dd/yy   name		description
# 	09/27/94   akeith	now utilizes the FMIO library
# 	06/29/94   akeith	fixed imdir for tmp files
# 	04/09/94   tnk	changed ifnewer to ifolder
# 	04/08/94   tnk	std targets
# 	03/31/93   akeith	error handling fix
# 	03/24/93   akeith	everything has changed
# 	01/27/93   akeith	Now using vfio library instead of fmio
# 	12/15/92   akeith	date and time created 92/12/15 11:07:21 by akeith
# H-
# 
#

#       Version: @(#)mkpkg	1.9 9/27/94 UCB CEA EGO
# Make libqs.a

$call preprocess
$call update
$call zzdebug
$exit

preprocess:
        $ifolder(qs.x: qs.dsd)
                !dsd2spp rightmargin=85 options=h,x,memory qs.dsd
        $endif
	;

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

libqs.a:
	qpsrt.x	 <qpset.h> <qpioset.h> <fmset.h> "qpoe$qpio.h" "qpoe$qpoe.h" "qs.h"
	qpsrtclose.x	 "qs.h"
	qpsrtopen.x
	qpsrtseti.x	<qpsrt.h> "qs.h"
	qpsrtputev.x	<qpsrt.h> <fmset.h> "qs.h" "qs.com"
	qs.x	 "qs.h"
	qscmp.x	 "qs.com" "qs.h"
	;

zzdebug:
	$set LIBS = ""
 
	$omake  zzdebug.x <error.h> <ctype.h> <fmlfstat.h> <mach.h> "fmio$fmset.h"
	$link   zzdebug.o $(LIBS) -o zzdebug.e
	;

