#
# mkpkg file for the MX library
#
# AUTHOR:  K. J. Mighell (mighell@noao.edu)
#
# DOCUMENTATION:  http://www.noao.edu/staff/mighell/mx
#
# DATE:  20000314
#
# MOD:  3
#
# + ***** WARNING ***** ----------------------------------------------------+
# |                                                                         |
# |  MX is written in ANSI C and must be compiled with an ANSI C compiler!  |
# |                                                                         |
# |  Some SunOS systems (e.g. gemini.tuc.noao.edu) still use a K&R C        |
# |  compiler as the default.  Changing the default to a ANSI C compiler    |
# |  like Sun's acc compiler can be done with the following command:        |
# |                                                                         |
# |    setenv XC-CC acc                                                     |
# |                                                                         |
# |  which *must* be exectuted before starting IRAF.                        |
# |                                                                         |
# +-------------------------------------------------------------------------+
# 
# Copyleft (L) 2000 Kenneth John Mighell
#

$call update
$exit

update:
	$set XFLAGS="-Inolibc '-Istsdaslib$cvos/irafstdio' -p stsdas $(XFLAGS)"
	$set LFLAGS="-H -z -p stsdas $(LFLAGS)"

	$checkout libmx.a mxtoolslib$
	$update   libmx.a
	$checkin  libmx.a mxtoolslib$
	;

libmx.a: 
        ip_close.c	<mx.h>
        ip_const_add.c	<mx.h>
        ip_const_mul.c	<mx.h>
        ip_info.c	<mx.h>
        ip_limits.c	<mx.h>
        ip_list.c	<mx.h>
        ip_ok.c		<mx.h>
        ip_open.c	<mx.h>
        ip_ramp.c	<mx.h>
        iraf_close.c	<mx.h>
        iraf_errchk.c	<mx.h>
        iraf_info.c	<mx.h>
        iraf_limits.c	<mx.h>
        iraf_list.c	<mx.h>
        iraf_ok.c	<mx.h>
        iraf_open.c	<mx.h>
        p_dummy.c	<mx.h>
        p_emsg_appnd.c	<mx.h>
        p_emsg_dump.c	<mx.h>
        p_emsg_init.c	<mx.h>
        p_emsg_set.c	<mx.h>
        p_init.c	<mx.h>
        p_init_rng.c	<mx.h>
        p_tmsg_init.c	<mx.h>
	;
