# Copyright (c) 1991 - 1900.  The Regents of the University of
# California (Regents).  All Rights Reserved.
# H+
# 	Title	:  mkpkg
# 	Author	:  ericco
# 	Date	:  04/22/91
# 	Synopsis:  
# 	Keywords:
# 		@(#) mkpkg -r1.23 04/22/91 UCB SSL CEA EGOCS
# 	Revisions:
# 	mm/dd/yy   name		description
# 	07/29/94   akeith	added eox lib
# 	06/23/94   tnk	cleanup
# 	06/23/94   akeith	removed euvcombine and revamped libs
# 	04/14/94   tnk	removed compspec entries
# 	04/08/94   tnk	made standard targets
# 	04/08/94   akeith	include ili library for new euvextract
# 	03/25/94   tnk	added qpkmim
# 	02/26/94   ericco	added preprocess target
# 	05/03/93   ericco	removed distcrt and maskcrt
# 	02/12/93   akeith	added vfio library
# 	12/18/92   akeith	put in qs lib
# 	12/10/92   ericco	put dq in a separate library
# 	04/08/92   akeith	Librarys were added for dqselect.
# 	04/07/92   akeith	Added dqselect.
# 	04/07/92   ericco	updated for new euv package. also added new subdirs
# 	10/29/91   ericco	added qcnvt, qppage specmod, seltime, gettm tasks
# removed debug flags
# 	04/22/91   ericco	date and time created 91/04/22 18:08:58 by ericco
# H-
# 
#

# Make the tasks -- revised 7/29/94

$call	preprocess
$call	update
$call	install
$exit

preprocess:
update:
	@cep
	@dqselect
	@euvextract
	@gettm
	@mkprimbsch
	@qpmkim
	;

install:
	$set LIBS = "-leuvred -ldq -leox -lili -ldf -ldt -lcio -lgt -lvt -lii"
	$set LIBS = "$(LIBS) -lnr -lplf -lcep -ledd -let -lqs -livops"
	$set LIBS = "$(LIBS) -lcea -ltbtables -lxtools -liminterp -lgsurfit"

	$omake	x_euvred.x
	$link	x_euvred.o $(LIBS) -o xx_euvred.e
	$move	xx_euvred.e euvbin$x_euvred.e
	;

