# Copyright (c) 1991 - 1900.  The Regents of the University of
# California (Regents).  All Rights Reserved.
# H+
# 	Title	:  mkpkg
# 	Author	:  akeith
# 	Date	:  04/04/94
# 	Synopsis:  
# 	Keywords:
# 		@(#) mkpkg -r1.8 04/04/94 UCB SSL CEA EGOCS
# 	Revisions:
# 	mm/dd/yy   name		description
# 	07/12/94   akeith	added prfinterp
# 	07/07/94   akeith	new and totally improved
# 	04/26/94   akeith	inluded tbtables library
# 	04/04/94   akeith	updated
# 	04/04/94   akeith	date and time created 94/04/04 20:20:33 by akeith
# H-
# 
#


#	Make mkprofile task
#       Version: @(#)mkpkg	1.8 7/12/94 UCB CEA EGO

$call preprocess
$call update
$call zzdebug
$exit

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

zzdebug:
	$set LIBS = "-leuvtools -lcea -ldt -lii -ltbtables -lxtools -lcurfit"
	$omake  zzdebug.x
	$link	zzdebug.o $(LIBS) -o zzdebug.e
	;
 
update:
	$checkout	libeuvtools.a euvbin$
	$update		libeuvtools.a
	$checkin	libeuvtools.a euvbin$
	;

libeuvtools.a:
	prf.x		"prf.h"
	prfclean.x	"prf.h"
	prffitbkg.x	"prf.h"	<pkg/gtools.h>
	prfgband.x	<imhdr.h> <imio.h> <mwset.h>
	prfgbounds.x	"prf.h"
	prfgpeak.x	"prf.h" <dtset.h>
	prfgraw.x	"prf.h"
	prfinterp.x	"prf.h"
	prfmwcopy.x	<mwset.h>
	prfmwcs.x	"prf.h" <imhdr.h> <imio.h>
	prfopen.x	"prf.h"
	t_mkprofile.x	"prf.h" <dtset.h> <imhdr.h> <imio.h>
	;
