# 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.40 04/30/92 UCB SSL CEA EGOCS
# 	Revisions:
# 	mm/dd/yy   name		description
# 	02/26/97   tnk	added ivops
# 	01/02/97   tnk	added mapcorr
# 	11/11/96   tnk	added parallax
# 	06/20/96   gareth	added cptabhdr
# 	02/20/96   gareth	added qp2evttab
# 	12/08/95   tnk	added qpdsym
# 	10/02/95   tnk	added qpdup
# 	09/29/95   tnk	backed out r1.32
# 	09/28/95   tnk	added t0xycount
# 	08/15/95   tnk	added effexp
# 	08/09/95   kelley	none
# 	04/14/95   kelley	added dscen
# 	04/14/95   akeith	added masktimes and periodint
# 	09/02/94   tnk	moved -lnr after -lcea
# 	09/02/94   akeith	added spc library
# 	06/23/94   tnk	took out hide lines
# 	06/23/94   tnk	rearranged, hid tasks
# 	06/23/94   tnk	moved mkeuvspec editwcs listspec to euvobsolete
# 	06/23/94   akeith	cleaned up
# 	05/18/94   akeith	added mkprofile task
# 	04/21/94   akeith	added tasks divea and suborder
# 	04/11/94   tnk	added compspec, commented out cumdist
# 	04/08/94   tnk	standard targets;  added euvhclean
# 	02/26/94   ericco	added preprocess target
# 	02/25/94   tnk	added getenv
# 	08/19/93   tnk	added qpwst & qprst
# 	07/16/93   akeith	put in grp lib and aspcorr
# 	05/05/93   akeith	took out aspcorr
# 	04/21/93   akeith	entered aspcorr task
# 	12/10/92   tnk	added backmon program
# 	10/07/92   gareth	added qprebuild
# 	10/06/92   gareth	added mkeuvfilt
# 	09/30/92   gareth	added tables libarary
# 	09/30/92   gareth	added rowcount
# 	08/03/92   ericco	added qcalc
# 	05/15/92   akeith	entered new task: ecliptic
# 	04/30/92   ericco	date and time created 92/04/30 13:46:34 by ericco
# H-
# 
#

# Make the tasks -- @(#)mkpkg	1.40 revised 2/26/97

$call preprocess
$call update
$call install
$exit

preprocess:
update:
	@aspcorr
	@backmon
	@compspec
	@detpos
	@divea
        @dscen
	@ecliptic
	@effexp
	@euvhclean
	@getenv
	@mapcorr
	@masktimes
	@mkaspect
	@mkprofile
	@parallax
	@periodint
	@qcalc
	@qpbin
	@qpdup
	@qpdsym
	@qpmedit
	@qppage
	@qprst
	@qpwst
	@rowcount
	@suborder
	@tfilter
	@qp2evttab
	@cptabhdr
	;

install:
	$set LIBS = "-leuvtools -lplf -lspc -ldfu -ldf -ldt -lcep -ledd"
	$set LIBS = "$(LIBS) -let -lii -lgrp -lcio -lcea -lnr -livops -ltbtables"
	$set LIBS = "$(LIBS) -lxtools -lcurfit -lgsurfit -liminterp -lllsq"

	$omake	x_euvtools.x
	$link	x_euvtools.o $(LIBS) -o xx_euvtools.e
	$move	xx_euvtools.e euvbin$x_euvtools.e
	;

