# Copyright (c) 1991 - 1900.  The Regents of the University of
# California (Regents).  All Rights Reserved.
# H+
# 	Title	:  mkpkg
# 	Author	:  akeith
# 	Date	:  06/27/94
# 	Synopsis:  
# 	Keywords:
# 		@(#) mkpkg -r1.2 06/27/94 UCB SSL CEA EGOCS
# 	Revisions:
# 	mm/dd/yy   name		description
# 	09/14/94   akeith	added spc library
# 	06/27/94   akeith	date and time created 94/06/27 15:01:48 by akeith
# H-
# 
#

#	Make subord task
#	revision: @(#)mkpkg	1.2 9/14/94

$call preprocess
$call update
$call zzdebug
$exit

preprocess:
	$ifolder (socmd.x, so.cmd)
		!cmd2spp prefix=so xsrc=socmd.x so.cmd
	$endif

        $ifolder (so.x, so.dsd)
                !dsd2spp rightmargin=80 options=x,h,memory so.dsd
        $endif

        $ifolder (spc.x, spc.dsd)
                !dsd2spp rightmargin=80 options=x,h,memory spc.dsd
        $endif
	;

zzdebug:
	$set LIBS =  "-leuvtools -lspc -ldfu -ldf -ldt -let"
	$set LIBS =  "$(LIBS) -ledd -lii -ltbtables -lcio -lcea"
	$omake  zzdebug.x
	$link   zzdebug.o $(LIBS) -o zzdebug.e
	;
 
update:
	$checkout       libeuvtools.a euvbin$
	$update         libeuvtools.a
	$checkin        libeuvtools.a euvbin$
	;

libeuvtools.a:
	so.x		"so.h"
	spc.x		"spc.h"
	socmd.x		<iierr.h>
	soacmd.x	"so.h" "spc.h"
	soclose.x	"so.h" "spc.h"
	sodisplay.x	"so.h" "spc.h" <gset.h>
	soincrement.x	"so.h" "spc.h"
	sojcmd.x	"so.h" "spc.h"
	soopen.x	"so.h" "spc.h"
	soops.x		"so.h" "spc.h"
	soorder.x	"so.h" "spc.h" <dfset.h>
	soordinit.x	"so.h" "spc.h"
	soquest.x	"so.h"
	sospace.x	"so.h"
	soundo.x	"so.h" "spc.h"
	sowcmd.x	"so.h" "spc.h"
	sowrite.x	"so.h" "spc.h" <dfset.h> <imhdr.h>
	soxtrct.x	"so.h" "spc.h"
	sozcmd.x	"so.h" "spc.h"
	spcopen.x	"so.h" "spc.h" <dfset.h>
	t_suborder.x	"so.h" "spc.h" <dfset.h> <gset.h>
	;

