Index: /trunk/psLib/AUTHORS
===================================================================
--- /trunk/psLib/AUTHORS	(revision 3115)
+++ /trunk/psLib/AUTHORS	(revision 3115)
@@ -0,0 +1,1 @@
+Copyright 2004 Maui High Performance Computing Center, University of Hawaii
Index: /trunk/psLib/COPYING
===================================================================
--- /trunk/psLib/COPYING	(revision 3115)
+++ /trunk/psLib/COPYING	(revision 3115)
@@ -0,0 +1,345 @@
+		    GNU GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+                       59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+
+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+
+	    How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) year name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Library General
+Public License instead of this License.
Index: /trunk/psLib/INSTALL
===================================================================
--- /trunk/psLib/INSTALL	(revision 3115)
+++ /trunk/psLib/INSTALL	(revision 3115)
@@ -0,0 +1,167 @@
+Basic Installation
+==================
+
+   These are generic installation instructions.
+
+   The `configure' shell script attempts to guess correct values for
+various system-dependent variables used during compilation.  It uses
+those values to create a `Makefile' in each directory of the package.
+It may also create one or more `.h' files containing system-dependent
+definitions.  Finally, it creates a shell script `config.status' that
+you can run in the future to recreate the current configuration, a file
+`config.cache' that saves the results of its tests to speed up
+reconfiguring, and a file `config.log' containing compiler output
+(useful mainly for debugging `configure').
+
+   If you need to do unusual things to compile the package, please try
+to figure out how `configure' could check whether to do them, and mail
+diffs or instructions to the address given in the `README' so they can
+be considered for the next release.  If at some point `config.cache'
+contains results you don't want to keep, you may remove or edit it.
+
+   The file `configure.in' is used to create `configure' by a program
+called `autoconf'.  You only need `configure.in' if you want to change
+it or regenerate `configure' using a newer version of `autoconf'.
+
+The simplest way to compile this package is:
+
+  1. `cd' to the directory containing the package's source code and type
+     `./configure' to configure the package for your system.  If you're
+     using `csh' on an old version of System V, you might need to type
+     `sh ./configure' instead to prevent `csh' from trying to execute
+     `configure' itself.
+
+     Running `configure' takes a while.  While running, it prints some
+     messages telling which features it is checking for.
+
+  2. Type `make' to compile the package.
+
+  3. Type `make install' to install the programs and any data files and
+     documentation.
+
+  4. You can remove the program binaries and object files from the
+     source code directory by typing `make clean'.  
+
+Compilers and Options
+=====================
+
+   Some systems require unusual options for compilation or linking that
+the `configure' script does not know about.  You can give `configure'
+initial values for variables by setting them in the environment.  Using
+a Bourne-compatible shell, you can do that on the command line like
+this:
+     CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
+
+Or on systems that have the `env' program, you can do it like this:
+     env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
+
+Compiling For Multiple Architectures
+====================================
+
+   You can compile the package for more than one kind of computer at the
+same time, by placing the object files for each architecture in their
+own directory.  To do this, you must use a version of `make' that
+supports the `VPATH' variable, such as GNU `make'.  `cd' to the
+directory where you want the object files and executables to go and run
+the `configure' script.  `configure' automatically checks for the
+source code in the directory that `configure' is in and in `..'.
+
+   If you have to use a `make' that does not supports the `VPATH'
+variable, you have to compile the package for one architecture at a time
+in the source code directory.  After you have installed the package for
+one architecture, use `make distclean' before reconfiguring for another
+architecture.
+
+Installation Names
+==================
+
+   By default, `make install' will install the package's files in
+`/usr/local/bin', `/usr/local/man', etc.  You can specify an
+installation prefix other than `/usr/local' by giving `configure' the
+option `--prefix=PATH'.
+
+   You can specify separate installation prefixes for
+architecture-specific files and architecture-independent files.  If you
+give `configure' the option `--exec-prefix=PATH', the package will use
+PATH as the prefix for installing programs and libraries.
+Documentation and other data files will still use the regular prefix.
+
+   If the package supports it, you can cause programs to be installed
+with an extra prefix or suffix on their names by giving `configure' the
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+
+Optional Features
+=================
+
+   Some packages pay attention to `--enable-FEATURE' options to
+`configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
+is something like `gnu-as' or `x' (for the X Window System).  The
+`README' should mention any `--enable-' and `--with-' options that the
+package recognizes.
+
+   For packages that use the X Window System, `configure' can usually
+find the X include and library files automatically, but if it doesn't,
+you can use the `configure' options `--x-includes=DIR' and
+`--x-libraries=DIR' to specify their locations.
+
+Specifying the System Type
+==========================
+
+   There may be some features `configure' can not figure out
+automatically, but needs to determine by the type of host the package
+will run on.  Usually `configure' can figure that out, but if it prints
+a message saying it can not guess the host type, give it the
+`--host=TYPE' option.  TYPE can either be a short name for the system
+type, such as `sun4', or a canonical name with three fields:
+     CPU-COMPANY-SYSTEM
+
+See the file `config.sub' for the possible values of each field.  If
+`config.sub' isn't included in this package, then this package doesn't
+need to know the host type.
+
+   If you are building compiler tools for cross-compiling, you can also
+use the `--target=TYPE' option to select the type of system they will
+produce code for and the `--build=TYPE' option to select the type of
+system on which you are compiling the package.
+
+Sharing Defaults
+================
+
+   If you want to set default values for `configure' scripts to share,
+you can create a site shell script called `config.site' that gives
+default values for variables like `CC', `cache_file', and `prefix'.
+`configure' looks for `PREFIX/share/config.site' if it exists, then
+`PREFIX/etc/config.site' if it exists.  Or, you can set the
+`CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all `configure' scripts look for a site script.
+
+Operation Controls
+==================
+
+   `configure' recognizes the following options to control how it
+operates.
+
+`--cache-file=FILE'
+     Use and save the results of the tests in FILE instead of
+     `./config.cache'.  Set FILE to `/dev/null' to disable caching, for
+     debugging `configure'.
+
+`--help'
+     Print a summary of the options to `configure', and exit.
+
+`--quiet'
+`--silent'
+`-q'
+     Do not print messages saying which checks are being made.
+
+`--srcdir=DIR'
+     Look for the package's source code in directory DIR.  Usually
+     `configure' can determine that directory automatically.
+
+`--version'
+     Print the version of Autoconf used to generate the `configure'
+     script, and exit.
+
+`configure' also accepts some other, not widely useful, options.
+
Index: /trunk/psLib/Makefile.am
===================================================================
--- /trunk/psLib/Makefile.am	(revision 3115)
+++ /trunk/psLib/Makefile.am	(revision 3115)
@@ -0,0 +1,12 @@
+# not a GNU package. You can remove this line, if
+# have all needed files, that a GNU package needs
+AUTOMAKE_OPTIONS = foreign 1.4
+
+SUBDIRS = src test
+
+bin_SCRIPTS = pslib-config
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA= pslib.pc
+
+EXTRA_DIST = pslib-config.in pslib.pc.in 
Index: /trunk/psLib/Makefile.cvs
===================================================================
--- /trunk/psLib/Makefile.cvs	(revision 3115)
+++ /trunk/psLib/Makefile.cvs	(revision 3115)
@@ -0,0 +1,8 @@
+default: all
+
+all:
+	aclocal
+	autoheader
+	automake
+	autoconf
+
Index: /trunk/psLib/configure.in
===================================================================
--- /trunk/psLib/configure.in	(revision 3115)
+++ /trunk/psLib/configure.in	(revision 3115)
@@ -0,0 +1,138 @@
+AC_INIT(configure.in)
+
+AM_CONFIG_HEADER(src/config.h)
+AM_INIT_AUTOMAKE(pslib, 1.5)
+
+AC_LANG_C
+AC_PROG_CC
+AC_DISABLE_STATIC
+AC_PROG_LIBTOOL
+
+AC_PREFIX_DEFAULT([`pwd`])
+test "$prefix" = NONE && prefix=`pwd`
+
+CFLAGS="${CFLAGS=} -g2 -Wall -std=c99 -D_GNU_SOURCE"
+FFLAGS="-fno-second-underscore -O -fno-f2c"
+
+AC_PROG_INSTALL
+AM_PROG_LIBTOOL
+
+dnl ----------------- CFITSIO options --------------------
+AC_ARG_WITH(cfitsio,
+[AS_HELP_STRING([--with-cfitsio=DIR],[Specify location of CFITSIO.])],
+[CFITSIO_CFLAGS="-I$withval/include"
+ CFITSIO_LDFLAGS="-L$withval/lib"])
+AC_ARG_WITH(cfitsio-include,
+[AS_HELP_STRING([--with-cfitsio-include=DIR],[Specify CFITSIO include directory.])],
+[CFITSIO_CFLAGS="-I$withval"])
+AC_ARG_WITH(cfitsio-lib,
+[AS_HELP_STRING([--with-cfitsio-lib=DIR],[Specify CFITSIO library directory.])],
+[CFITSIO_LDFLAGS="-L$withval"])
+CFLAGS="${CFLAGS=} $CFITSIO_CFLAGS"
+PSLIB_LIBS="${PSLIB_LIBS=} $CFITSIO_LDFLAGS -lcfitsio"
+
+dnl ------------------ FFTW3 options ---------------------
+AC_ARG_WITH(fftw3,
+[AS_HELP_STRING([--with-fftw3=DIR],[Specify location of FFTW version 3.])],
+[FFTW3_CFLAGS="-I$withval/include"
+ FFTW3_LDFLAGS="-L$withval/lib"])
+AC_ARG_WITH(fftw3-include,
+[AS_HELP_STRING([--with-fftw3-include=DIR],[Specify FFTW version 3 include directory.])],
+[FFTW3_CFLAGS="-I$withval"])
+AC_ARG_WITH(fftw3-lib,
+[AS_HELP_STRING([--with-fftw3-lib=DIR],[Specify FFTW version 3 library directory.])],
+[FFTW3_LDFLAGS="-L$withval"])
+CFLAGS="${CFLAGS=} $FFTW3_CFLAGS"
+PSLIB_LIBS="${PSLIB_LIBS=} $FFTW3_LDFLAGS -lfftw3f"
+
+dnl -------------------- GSL options ---------------------
+AC_ARG_WITH(gsl,
+[AS_HELP_STRING([--with-gsl=DIR],[Specify location of GSL.])],
+[AC_CHECK_PROG(GSL_CONFIG, $withval/bin/gsl-config, $withval/bin/gsl-config)],
+[AC_CHECK_PROG(GSL_CONFIG, gsl-config, `which gsl-config`)])
+if test "$GSL_CONFIG" != ""
+then
+    CFLAGS="${CFLAGS=} `${GSL_CONFIG} --cflags`"
+    PSLIB_LIBS="${PSLIB_LIBS=} `${GSL_CONFIG} --libs`"
+fi
+
+dnl ------------------- XML2 options ---------------------
+AC_ARG_WITH(xml,
+[AS_HELP_STRING([--with-xml=DIR],[Specify location of libxml2.])],
+[AC_CHECK_PROG(XML_CONFIG, $withval/bin/xml2-config, $withval/bin/xml2-config)],
+[AC_CHECK_PROG(XML_CONFIG, xml2-config, `which xml2-config`)])
+if test "$XML_CONFIG" != ""
+then
+    CFLAGS="${CFLAGS=} `${XML_CONFIG} --cflags`"
+    PSLIB_LIBS="${PSLIB_LIBS=} `${XML_CONFIG} --libs`"
+fi
+
+dnl ------------------- SWIG options ---------------------
+AC_ARG_WITH(swig,
+[AS_HELP_STRING([--with-swig=FILE],[Specify location of SWIG executable.])],
+[AC_CHECK_PROG(SWIG, $withval, $withval)],
+[AC_CHECK_PROG(SWIG, swig, `which swig`)])
+if test "$SWIG" == ""
+then
+     AC_MSG_ERROR([SWIG is required.  Obtain it at www.swig.org or use --with-swig to specify its install location.]);
+fi
+AC_SUBST(SWIG,$SWIG)
+
+dnl ------------------- PERL options ---------------------
+AC_ARG_WITH(perl,
+[AS_HELP_STRING([--with-perl=FILE],[Specify location of PERL executable.])],
+[AC_CHECK_PROG(PERL, $withval, $withval)],
+[AC_CHECK_PROG(PERL, perl, `which perl`)])
+if test "$PERL" == ""
+then
+     AC_MSG_ERROR([PERL is required.  Use --with-perl to specify its install location.]);
+fi
+AC_SUBST(PERL,$PERL)
+
+dnl ---------------- config dir options ------------------
+AC_ARG_WITH(configdir,
+[AS_HELP_STRING([--with-configdir=DIR],[Specify location of psLib's config directory. [default=PREFIX/config]])],
+[CONFIG_FILE="$withval/psTime.config"
+ XML_CONFIG_FILE="$withval/psTime.xml"],
+[CONFIG_FILE="${prefix}/config/psTime.config"
+ XML_CONFIG_FILE="${prefix}/config/psTime.xml"])
+AC_DEFINE_UNQUOTED(CONFIG_FILE, "$CONFIG_FILE", [Location of the psTime.config file])
+AC_DEFINE_UNQUOTED(XML_CONFIG_FILE, "$XML_CONFIG_FILE", [Location of the psTime.xml file])
+
+dnl ----------------- data dir options -------------------
+AC_ARG_WITH(datadir,
+[AS_HELP_STRING([--with-datadir=DIR],[Specify location of psLib's data directory. [default=PREFIX/data]])],
+[UTC_DAT_FILE="$withval/tai_utc.dat"],
+[UTC_DAT_FILE="${prefix}/data/tai_utc.dat"])
+AC_DEFINE_UNQUOTED(UTC_DAT_FILE, "$UTC_DAT_FILE", [Location of the tai_utc.dat file])
+
+dnl for MacOSX, where sqrtf is in mx
+AC_CHECK_LIB(mx,sqrtf)
+
+dnl ---------------- export variables --------------------
+PSLIB_CFLAGS="-I${includedir=}"
+AC_SUBST(PSLIB_LIBS,["-L$libdir -lpslib $PSLIB_LIBS"])
+AC_SUBST(PSLIB_CFLAGS,[$PSLIB_CFLAGS])
+AC_SUBST(CONFIG_FILE,[$CONFIG_FILE])
+
+AC_CONFIG_FILES([ Makefile ])
+AC_CONFIG_FILES([ src/Makefile ])
+AC_CONFIG_FILES([ src/astronomy/Makefile ])
+AC_CONFIG_FILES([ src/collections/Makefile ])
+AC_CONFIG_FILES([ src/dataManip/Makefile ])
+AC_CONFIG_FILES([ src/fileUtils/Makefile ])
+AC_CONFIG_FILES([ src/image/Makefile ])
+AC_CONFIG_FILES([ src/sysUtils/Makefile ])
+AC_CONFIG_FILES([ src/swig/Makefile ])
+AC_CONFIG_FILES([ test/Makefile ])
+AC_CONFIG_FILES([ test/astronomy/Makefile ])
+AC_CONFIG_FILES([ test/collections/Makefile ])
+AC_CONFIG_FILES([ test/dataManip/Makefile ])
+AC_CONFIG_FILES([ test/fileUtils/Makefile ])
+AC_CONFIG_FILES([ test/image/Makefile ])
+AC_CONFIG_FILES([ test/sysUtils/Makefile ])
+AC_CONFIG_FILES([ pslib-config ])
+AC_CONFIG_FILES([ pslib.pc ])
+
+AC_OUTPUT
+
Index: /trunk/psLib/pslib.kdevelop
===================================================================
--- /trunk/psLib/pslib.kdevelop	(revision 3115)
+++ /trunk/psLib/pslib.kdevelop	(revision 3115)
@@ -0,0 +1,156 @@
+<?xml version = '1.0'?>
+<kdevelop>
+  <general>
+    <author>Robert Daniel DeSonia</author>
+    <email>robert.desonia@mhpcc.hpc.mil</email>
+    <version>1.5</version>
+    <projectmanagement>KDevAutoProject</projectmanagement>
+    <primarylanguage>C</primarylanguage>
+    <keywords>
+      <keyword>C</keyword>
+      <keyword>Code</keyword>
+    </keywords>
+    <ignoreparts>
+      <part>KDevCTags</part>
+      <part>KDevsubversion</part>
+      <part>KDevcopyto</part>
+      <part>KDevClearCase</part>
+      <part>KDevFileGroups</part>
+      <part>CvsService</part>
+      <part>KDevPerforce</part>
+    </ignoreparts>
+  </general>
+  <kdevautoproject>
+    <general>
+      <activetarget>src/pslib</activetarget>
+      <useconfiguration>debug</useconfiguration>
+    </general>
+    <run>
+      <mainprogram>src/pslib</mainprogram>
+      <terminal>true</terminal>
+      <directoryradio>executable</directoryradio>
+    </run>
+    <configurations>
+      <optimized>
+        <builddir>optimized</builddir>
+        <ccompiler>kdevgccoptions</ccompiler>
+        <cxxcompiler>kdevgppoptions</cxxcompiler>
+        <f77compiler>kdevg77options</f77compiler>
+        <cflags>-O2 -g0 </cflags>
+      </optimized>
+      <debug>
+        <configargs>--enable-debug=full</configargs>
+        <builddir>debug</builddir>
+        <ccompiler>kdevgccoptions</ccompiler>
+        <cxxcompiler>kdevgppoptions</cxxcompiler>
+        <f77compiler>kdevg77options</f77compiler>
+        <cflags>-O0 -g3 </cflags>
+      </debug>
+    </configurations>
+    <make>
+      <envvars>
+        <envvar value="1" name="WANT_AUTOCONF_2_5" />
+        <envvar value="1" name="WANT_AUTOMAKE_1_6" />
+      </envvars>
+    </make>
+  </kdevautoproject>
+  <kdevdoctreeview>
+    <ignoretocs>
+      <toc>ada</toc>
+      <toc>ada_bugs_gcc</toc>
+      <toc>bash</toc>
+      <toc>bash_bugs</toc>
+      <toc>clanlib</toc>
+      <toc>w3c-dom-level2-html</toc>
+      <toc>fortran_bugs_gcc</toc>
+      <toc>gnome1</toc>
+      <toc>gnustep</toc>
+      <toc>gtk</toc>
+      <toc>gtk_bugs</toc>
+      <toc>haskell</toc>
+      <toc>haskell_bugs_ghc</toc>
+      <toc>java_bugs_gcc</toc>
+      <toc>java_bugs_sun</toc>
+      <toc>kde2book</toc>
+      <toc>libstdc++</toc>
+      <toc>opengl</toc>
+      <toc>pascal_bugs_fp</toc>
+      <toc>php</toc>
+      <toc>php_bugs</toc>
+      <toc>perl</toc>
+      <toc>perl_bugs</toc>
+      <toc>python</toc>
+      <toc>python_bugs</toc>
+      <toc>qt-kdev3</toc>
+      <toc>ruby</toc>
+      <toc>ruby_bugs</toc>
+      <toc>sdl</toc>
+      <toc>stl</toc>
+      <toc>w3c-svg</toc>
+      <toc>sw</toc>
+      <toc>w3c-uaag10</toc>
+      <toc>wxwidgets_bugs</toc>
+    </ignoretocs>
+    <ignoreqt_xml>
+      <toc>Guide to the Qt Translation Tools</toc>
+      <toc>Qt Assistant Manual</toc>
+      <toc>Qt Designer Manual</toc>
+      <toc>Qt Reference Documentation</toc>
+      <toc>qmake User Guide</toc>
+    </ignoreqt_xml>
+    <ignoredoxygen>
+      <toc>KDE Libraries (Doxygen)</toc>
+    </ignoredoxygen>
+  </kdevdoctreeview>
+  <kdevfilecreate>
+    <useglobaltypes>
+      <type ext="c" />
+      <type ext="h" />
+    </useglobaltypes>
+  </kdevfilecreate>
+  <kdevfileview>
+    <groups>
+      <group pattern="*.h" name="Header files" />
+      <group pattern="*.c" name="Source files" />
+    </groups>
+    <tree>
+      <hidepatterns>*.o,*.lo,CVS</hidepatterns>
+      <hidenonprojectfiles>false</hidenonprojectfiles>
+    </tree>
+  </kdevfileview>
+  <kdevdocumentation>
+    <projectdoc>
+      <docsystem>Doxygen Documentation Collection</docsystem>
+      <docurl>${APPNAMELC}.tag</docurl>
+    </projectdoc>
+  </kdevdocumentation>
+  <substmap>
+    <APPNAME>psLib</APPNAME>
+    <APPNAMELC>pslib</APPNAMELC>
+    <APPNAMEUC>PSLIB</APPNAMEUC>
+    <AUTHOR>Robert Daniel DeSonia</AUTHOR>
+    <CFLAGS/>
+    <EMAIL>robert.desonia@mhpcc.hpc.mil</EMAIL>
+    <LICENSE>GPL</LICENSE>
+    <LICENSEFILE>COPYING</LICENSEFILE>
+    <OPT_INCS>-I/usr/include</OPT_INCS>
+    <OPT_LIBS>-lm</OPT_LIBS>
+    <VERSION>1.5</VERSION>
+    <dest>/home/desonia/pslib</dest>
+  </substmap>
+  <kdevcppsupport>
+    <references/>
+    <codecompletion>
+      <includeGlobalFunctions>true</includeGlobalFunctions>
+      <includeTypes>true</includeTypes>
+      <includeEnums>true</includeEnums>
+      <includeTypedefs>false</includeTypedefs>
+      <automaticCodeCompletion>true</automaticCodeCompletion>
+      <automaticArgumentsHint>true</automaticArgumentsHint>
+      <automaticHeaderCompletion>true</automaticHeaderCompletion>
+      <codeCompletionDelay>250</codeCompletionDelay>
+      <argumentsHintDelay>400</argumentsHintDelay>
+      <headerCompletionDelay>250</headerCompletionDelay>
+    </codecompletion>
+  </kdevcppsupport>
+</kdevelop>
Index: /trunk/psLib/pslib.kdevses
===================================================================
--- /trunk/psLib/pslib.kdevses	(revision 3115)
+++ /trunk/psLib/pslib.kdevses	(revision 3115)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE KDevPrjSession>
+<KDevPrjSession>
+ <DocsAndViews NumberOfDocuments="1" >
+  <Doc0 NumberOfViews="1" URL="file:/home/desonia/pslib/src/pslib.c" >
+   <View0 line="0" Type="Source" />
+  </Doc0>
+ </DocsAndViews>
+ <pluginList>
+  <kdevbookmarks>
+   <bookmarks/>
+  </kdevbookmarks>
+  <kdevvalgrind>
+   <executable path="" params="" />
+   <valgrind path="" params="" />
+   <calltree path="" params="" />
+   <kcachegrind path="" />
+  </kdevvalgrind>
+  <kdevdebugger>
+   <breakpointList/>
+  </kdevdebugger>
+ </pluginList>
+</KDevPrjSession>
Index: /trunk/psLib/pslib.pc.in
===================================================================
--- /trunk/psLib/pslib.pc.in	(revision 3115)
+++ /trunk/psLib/pslib.pc.in	(revision 3115)
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: psLib
+Description: Pan-STARRS Library
+Version: @VERSION@
+Libs: @PSLIB_LIBS@ -lpslib @LIBS@
+Cflags: @PSLIB_CFLAGS@
Index: /trunk/psLib/src/Doxyfile
===================================================================
--- /trunk/psLib/src/Doxyfile	(revision 3114)
+++ /trunk/psLib/src/Doxyfile	(revision 3115)
@@ -366,4 +366,5 @@
                          sysUtils \
                          image \
+                         fileUtils \
                          dataManip \
                          collections \
Index: /trunk/psLib/src/Makefile
===================================================================
--- /trunk/psLib/src/Makefile	(revision 3114)
+++ /trunk/psLib/src/Makefile	(revision 3115)
@@ -1,232 +1,605 @@
-###############################################################################
-##
-##  Makefile:  psLib
-##
-##  $Revision: 1.20 $  $Name: not supported by cvs2svn $
-##  $Date: 2005-01-19 01:15:21 $
-##
-##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
-##
-###############################################################################
-
-# Define variable prefix to the top level project - psLib
-# This is necessary for definition in Makefile.Globals
-
-ifndef prefix
-    export prefix=$(shell cd ..;pwd)
-endif
-
-# Include the make global definitions for the project
-
-include Makefile.Globals
-
-# Detect and save the CVS for this makefile
-
-NAME:= "$Name: not supported by cvs2svn $ "
-ifeq ($(NAME), "ame:  $ ")
-   VERSION:= ": Project Version: Unknown "
-else
-   VERSION:= ": Project Version: $(NAME) "
-endif
-
-# Define the target to build
-
-ALLTARGETS = sysUtils collections image dataManip astronomy fileUtils
-
-TARGET_DYNAMIC = libpslib.$(DLL)
-TARGET_STATIC = libpslib.a
-
-# Define the installation targets
-
-INSTALLTARGETS = installSysUtils installCollections installImage installDataManip installAstronomy installFileUtils
-
-# Define the clean up targets
-
-CLEANTARGETS = cleanSysUtils cleanCollections cleanImage cleanDataManip cleanAstronomy cleanFileUtils
-
-CLEANDEPTARGETS = cleandepSysUtils cleandepCollections cleandepImage cleandepDataManip cleandepAstronomy cleandepFileUtils
-
-# Define the distribution clean up targets
-
-DISTCLEANTARGETS = distcleanSysUtils distcleanCollections distcleanImage distcleanDataManip distcleanAstronomy distcleanFileUtils
-
-# Define PHONY target "all" which will make all necessary items
-
-all:	$(ALLTARGETS)
-	sed 's|PREFIX|$(prefix)|' $(TIME_CONFIG_FILE).template > $(TIME_CONFIG_FILE)
-	$(BUILD_DYNAMIC1) $(TARGET_STATIC) $(BUILD_DYNAMIC2) $(TARGET_DYNAMIC)
-	@echo ""
-	@echo "    ---- All targets built successfully $(VERSION) ----"
-	@echo ""
-
-# Define PHONY target "sysUtils" which will make the system utilites
-# portion of the psLib
-
-sysUtils:
-	$(MAKE) --directory=sysUtils all
-
-image:
-	$(MAKE) --directory=image all
-
-collections:
-	$(MAKE) --directory=collections all
-
-dataManip:
-	$(MAKE) --directory=dataManip all
-
-astronomy:
-	$(MAKE) --directory=astronomy all
-
-fileUtils:
-	$(MAKE) --directory=fileUtils all
-
-## ADD ADDITIONAL PORTIONS OF PSLIB HERE
-
-# Define PHONY target "installSysUtils" which will install all the necessary
-# files for system utilities portion of psLib
-
-installSysUtils:
-	$(MAKE) --directory=sysUtils install
-
-installImage:
-	$(MAKE) --directory=image install
-
-installCollections:
-	$(MAKE) --directory=collections install
-
-installDataManip:
-	$(MAKE) --directory=dataManip install
-
-installAstronomy:
-	$(MAKE) --directory=astronomy install
-
-installFileUtils:
-	$(MAKE) --directory=fileUtils install
-
-# Define PHONY target "cleanSysUtils" which will clean up the development
-# area for system utilites
-
-cleanSysUtils:
-	$(MAKE) --directory=sysUtils clean
-
-cleanImage:
-	$(MAKE) --directory=image clean
-
-cleanCollections:
-	$(MAKE) --directory=collections clean
-
-cleanDataManip:
-	$(MAKE) --directory=dataManip clean
-
-cleanAstronomy:
-	$(MAKE) --directory=astronomy clean
-
-cleanFileUtils:
-	$(MAKE) --directory=fileUtils clean
-
-#Define PHONY target "cleandep*" which will clean up the dependency files
-
-cleandepSysUtils:
-	$(MAKE) --directory=sysUtils cleandep
-
-cleandepImage:
-	$(MAKE) --directory=image cleandep
-
-cleandepCollections:
-	$(MAKE) --directory=collections cleandep
-
-cleandepDataManip:
-	$(MAKE) --directory=dataManip cleandep
-
-cleandepAstronomy:
-	$(MAKE) --directory=astronomy cleandep
-
-cleandepFileUtils:
-	$(MAKE) --directory=fileUtils cleandep
-
-# Define PHONY target "distcleanSysUtils which will clean up the distribution
-# files related to system utilities
-
-distcleanSysUtils:
-	$(MAKE) --directory=sysUtils distclean
-        
-distcleanImage:
-	$(MAKE) --directory=image distclean
-        
-distcleanCollections:
-	$(MAKE) --directory=collections distclean
-
-distcleanDataManip:
-	$(MAKE) --directory=dataManip distclean
-
-distcleanAstronomy:
-	$(MAKE) --directory=astronomy distclean
-
-distcleanFileUtils:
-	$(MAKE) --directory=fileUtils distclean
-
-
-# Rule to make include directory if needed
-
-$(includedir):
-	mkdir -p $(includedir)
-
-# Rule to make bin directory if needed
-
-$(bindir):
-	mkdir -p $(bindir)
-
-# Rule to make lib directory if needed
-
-$(libexecdir):
-	mkdir -p $(libexecdir)
-
-# Rule to make man directory if needed
-       
-$(mandir): 
-	mkdir -p $(mandir)
-        
-$(mandir)/man3: $(mandir)
-	mkdir -p $(mandir)/man3
-
-# Rule to make the installation directories if needed
-
-installdirs: $(includedir) $(bindir) $(libexecdir) $(mandir)
-
-# Define PHONY target "install" to make the necessary directories for
-# the installation
-
-install: all installdirs $(INSTALLTARGETS)
-	install *.h $(includedir)
-	install $(TARGET_STATIC) $(libexecdir)
-	install $(TARGET_DYNAMIC) $(libexecdir)
-	install $(TARGET_DYNAMIC) $(libexecdir)
-
-# Define PHONY target "clean" to clean up the development areas for
-# psLib
-
-clean: $(CLEANTARGETS)
-	$(RM) -f $(TARGET_STATIC)
-	$(RM) -f $(TARGET_DYNAMIC)
-
-cleandep: $(CLEANDEPTARGETS)
-
-# Define PHONY target "distclean" to clean up the distribution area for
-# psLib
-
-distclean: $(DISTCLEANTARGETS)
-	$(RM) -f $(libexecdir)/$(TARGET_STATIC)
-	$(RM) -f $(libexecdir)/$(TARGET_DYNAMIC)
-	$(RM) -f $(TARGET_DYNAMIC)
-	$(RM) -f $(TARGET_STATIC)
-
-# Define PHONY target "docs" to generate the Doxygen files for psLib
-        
-docs:
-	$(DOCS)
-
-tags:
-	etags `find . \( -name \*.[chy] \) -print`
-
-# List of PHONY targets with make file
-.PHONY:  sysUtils collections image dataManip astronomy fileUtils
+# Makefile.in generated by automake 1.9.1 from Makefile.am.
+# src/Makefile.  Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+SOURCES = $(libpslib_la_SOURCES)
+
+srcdir = .
+top_srcdir = ..
+
+pkgdatadir = $(datadir)/pslib
+pkglibdir = $(libdir)/pslib
+pkgincludedir = $(includedir)/pslib
+top_builddir = ..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+	$(srcdir)/config.h.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = config.h
+CONFIG_CLEAN_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(libdir)"
+libLTLIBRARIES_INSTALL = $(INSTALL)
+LTLIBRARIES = $(lib_LTLIBRARIES)
+libpslib_la_DEPENDENCIES =  \
+	$(top_builddir)/src/astronomy/libpslibastronomy.la \
+	$(top_builddir)/src/collections/libpslibcollections.la \
+	$(top_builddir)/src/dataManip/libpslibdataManip.la \
+	$(top_builddir)/src/fileUtils/libpslibfileUtils.la \
+	$(top_builddir)/src/image/libpslibimage.la \
+	$(top_builddir)/src/sysUtils/libpslibsysUtils.la
+am_libpslib_la_OBJECTS = psTest.lo
+libpslib_la_OBJECTS = $(am_libpslib_la_OBJECTS)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(libpslib_la_SOURCES)
+DIST_SOURCES = $(libpslib_la_SOURCES)
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+	html-recursive info-recursive install-data-recursive \
+	install-exec-recursive install-info-recursive \
+	install-recursive installcheck-recursive installdirs-recursive \
+	pdf-recursive ps-recursive uninstall-info-recursive \
+	uninstall-recursive
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE = 
+AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
+AWK = gawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
+CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
+CPP = gcc -E
+CPPFLAGS = 
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+ECHO = echo
+ECHO_C = 
+ECHO_N = -n
+ECHO_T = 
+EGREP = grep -E
+EXEEXT = 
+F77 = g77
+FFLAGS = -fno-second-underscore -O -fno-f2c
+GSL_CONFIG = /usr/bin/gsl-config
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LDFLAGS = 
+LIBOBJS = 
+LIBS = 
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS = 
+MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
+OBJEXT = o
+PACKAGE = pslib
+PACKAGE_BUGREPORT = 
+PACKAGE_NAME = 
+PACKAGE_STRING = 
+PACKAGE_TARNAME = 
+PACKAGE_VERSION = 
+PATH_SEPARATOR = :
+PERL = /usr/bin/perl
+PSLIB_CFLAGS = -I${prefix}/include
+PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
+RANLIB = ranlib
+SET_MAKE = 
+SHELL = /bin/sh
+STRIP = strip
+SWIG = /usr/bin/swig
+VERSION = 1.5
+XML_CONFIG = /usr/bin/xml2-config
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = g77
+ac_ct_RANLIB = ranlib
+ac_ct_STRIP = strip
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE = 
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE = 
+am__include = include
+am__leading_dot = .
+am__quote = 
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias = 
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+datadir = ${prefix}/share
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias = 
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+includedir = ${prefix}/include
+infodir = ${prefix}/info
+install_sh = /home/desonia/panstarrs/psLib/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localstatedir = ${prefix}/var
+mandir = ${prefix}/man
+mkdir_p = mkdir -p --
+oldincludedir = /usr/include
+prefix = /home/desonia/panstarrs/psLib
+program_transform_name = s,x,x,
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+sysconfdir = ${prefix}/etc
+target_alias = 
+
+# not a GNU package. You can remove this line, if
+# have all needed files, that a GNU package needs
+AUTOMAKE_OPTIONS = foreign 1.4
+SUBDIRS = astronomy collections dataManip fileUtils image sysUtils swig
+INCLUDES = \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+lib_LTLIBRARIES = libpslib.la
+libpslib_la_LIBADD = \
+	$(top_builddir)/src/astronomy/libpslibastronomy.la \
+	$(top_builddir)/src/collections/libpslibcollections.la \
+	$(top_builddir)/src/dataManip/libpslibdataManip.la \
+	$(top_builddir)/src/fileUtils/libpslibfileUtils.la \
+	$(top_builddir)/src/image/libpslibimage.la \
+	$(top_builddir)/src/sysUtils/libpslibsysUtils.la 
+
+libpslib_la_SOURCES = psTest.c 
+EXTRA_DIST = parseErrorCodes.pl mainpage.dox Doxyfile psErrorCodes.dat psTest.h
+all: config.h
+	$(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/Makefile'; \
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --foreign  src/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+config.h: stamp-h1
+	@if test ! -f $@; then \
+	  rm -f stamp-h1; \
+	  $(MAKE) stamp-h1; \
+	else :; fi
+
+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
+	@rm -f stamp-h1
+	cd $(top_builddir) && $(SHELL) ./config.status src/config.h
+$(srcdir)/config.h.in:  $(am__configure_deps) 
+	cd $(top_srcdir) && $(AUTOHEADER)
+	rm -f stamp-h1
+	touch $@
+
+distclean-hdr:
+	-rm -f config.h stamp-h1
+install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+	@$(NORMAL_INSTALL)
+	test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
+	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+	  if test -f $$p; then \
+	    f=$(am__strip_dir) \
+	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
+	  else :; fi; \
+	done
+
+uninstall-libLTLIBRARIES:
+	@$(NORMAL_UNINSTALL)
+	@set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+	  p=$(am__strip_dir) \
+	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
+	done
+
+clean-libLTLIBRARIES:
+	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+	  test "$$dir" != "$$p" || dir=.; \
+	  echo "rm -f \"$${dir}/so_locations\""; \
+	  rm -f "$${dir}/so_locations"; \
+	done
+libpslib.la: $(libpslib_la_OBJECTS) $(libpslib_la_DEPENDENCIES) 
+	$(LINK) -rpath $(libdir) $(libpslib_la_LDFLAGS) $(libpslib_la_OBJECTS) $(libpslib_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+
+distclean-compile:
+	-rm -f *.tab.c
+
+include ./$(DEPDIR)/psTest.Plo
+
+.c.o:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c $<
+
+.c.obj:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(LTCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+#     (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+$(RECURSIVE_TARGETS):
+	@set fnord $$MAKEFLAGS; amf=$$2; \
+	dot_seen=no; \
+	target=`echo $@ | sed s/-recursive//`; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  echo "Making $$target in $$subdir"; \
+	  if test "$$subdir" = "."; then \
+	    dot_seen=yes; \
+	    local_target="$$target-am"; \
+	  else \
+	    local_target="$$target"; \
+	  fi; \
+	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	done; \
+	if test "$$dot_seen" = "no"; then \
+	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+	fi; test -z "$$fail"
+
+mostlyclean-recursive clean-recursive distclean-recursive \
+maintainer-clean-recursive:
+	@set fnord $$MAKEFLAGS; amf=$$2; \
+	dot_seen=no; \
+	case "$@" in \
+	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+	  *) list='$(SUBDIRS)' ;; \
+	esac; \
+	rev=''; for subdir in $$list; do \
+	  if test "$$subdir" = "."; then :; else \
+	    rev="$$subdir $$rev"; \
+	  fi; \
+	done; \
+	rev="$$rev ."; \
+	target=`echo $@ | sed s/-recursive//`; \
+	for subdir in $$rev; do \
+	  echo "Making $$target in $$subdir"; \
+	  if test "$$subdir" = "."; then \
+	    local_target="$$target-am"; \
+	  else \
+	    local_target="$$target"; \
+	  fi; \
+	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	done && test -z "$$fail"
+tags-recursive:
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+	done
+ctags-recursive:
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+	done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+tags: TAGS
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+	  include_option=--etags-include; \
+	  empty_fix=.; \
+	else \
+	  include_option=--include; \
+	  empty_fix=; \
+	fi; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  if test "$$subdir" = .; then :; else \
+	    test ! -f $$subdir/TAGS || \
+	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+	  fi; \
+	done; \
+	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+	  if test "$$subdir" = .; then :; else \
+	    test -d "$(distdir)/$$subdir" \
+	    || $(mkdir_p) "$(distdir)/$$subdir" \
+	    || exit 1; \
+	    distdir=`$(am__cd) $(distdir) && pwd`; \
+	    top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
+	    (cd $$subdir && \
+	      $(MAKE) $(AM_MAKEFLAGS) \
+	        top_distdir="$$top_distdir" \
+	        distdir="$$distdir/$$subdir" \
+	        distdir) \
+	      || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: check-recursive
+all-am: Makefile $(LTLIBRARIES) config.h
+installdirs: installdirs-recursive
+installdirs-am:
+	for dir in "$(DESTDIR)$(libdir)"; do \
+	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+	done
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
+
+clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
+	mostlyclean-am
+
+distclean: distclean-recursive
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-hdr distclean-libtool distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-exec-am: install-libLTLIBRARIES
+
+install-info: install-info-recursive
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES
+
+uninstall-info: uninstall-info-recursive
+
+.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
+	clean clean-generic clean-libLTLIBRARIES clean-libtool \
+	clean-recursive ctags ctags-recursive distclean \
+	distclean-compile distclean-generic distclean-hdr \
+	distclean-libtool distclean-recursive distclean-tags distdir \
+	dvi dvi-am html html-am info info-am install install-am \
+	install-data install-data-am install-exec install-exec-am \
+	install-info install-info-am install-libLTLIBRARIES \
+	install-man install-strip installcheck installcheck-am \
+	installdirs installdirs-am maintainer-clean \
+	maintainer-clean-generic maintainer-clean-recursive \
+	mostlyclean mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
+	tags tags-recursive uninstall uninstall-am uninstall-info-am \
+	uninstall-libLTLIBRARIES
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: /trunk/psLib/src/Makefile.Globals
===================================================================
--- /trunk/psLib/src/Makefile.Globals	(revision 3114)
+++ /trunk/psLib/src/Makefile.Globals	(revision 3115)
@@ -6,6 +6,6 @@
 ##  Assumptions:    Variable "prefix" already defined
 ##
-##  $Revision: 1.39 $  $Name: not supported by cvs2svn $
-##  $Date: 2005-01-19 01:53:09 $
+##  $Revision: 1.40 $  $Name: not supported by cvs2svn $
+##  $Date: 2005-02-03 00:54:10 $
 ##
 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -50,5 +50,5 @@
 
 ifndef PS_LIB_VERSION
-    export PS_LIB_VERSION = rel4
+    export PS_LIB_VERSION = post_rel4
 endif
 
@@ -61,4 +61,8 @@
 endif
 
+ifndef PERL_CORE
+    export PERL_CORE = `find /usr/lib -name CORE 2> /dev/null | tail -n 1`
+endif
+
 SLA_LINK := $(shell $(sladir)/bin/sla_link)
 XML2_LINK := $(shell $(xml2config) --libs)
@@ -69,4 +73,5 @@
 GCOVFLAGS :=
 CFLAGS := -O0 -g2 -Wall -Werror -std=c99 -D_GNU_SOURCE -pipe $(GCOVFLAGS) $(XML2_CFLAGS)
+SWIG_CFLAGS := -std=c99 -D_GNU_SOURCE -pipe $(GCOVFLAGS) $(XML2_CFLAGS)
 
 ifdef NO_TRACE
Index: /trunk/psLib/src/Makefile.am
===================================================================
--- /trunk/psLib/src/Makefile.am	(revision 3115)
+++ /trunk/psLib/src/Makefile.am	(revision 3115)
@@ -0,0 +1,28 @@
+# not a GNU package. You can remove this line, if
+# have all needed files, that a GNU package needs
+AUTOMAKE_OPTIONS = foreign 1.4
+
+SUBDIRS = astronomy collections dataManip fileUtils image sysUtils swig
+
+INCLUDES = \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+lib_LTLIBRARIES = libpslib.la
+
+libpslib_la_LIBADD = \
+	$(top_builddir)/src/astronomy/libpslibastronomy.la \
+	$(top_builddir)/src/collections/libpslibcollections.la \
+	$(top_builddir)/src/dataManip/libpslibdataManip.la \
+	$(top_builddir)/src/fileUtils/libpslibfileUtils.la \
+	$(top_builddir)/src/image/libpslibimage.la \
+	$(top_builddir)/src/sysUtils/libpslibsysUtils.la 
+
+libpslib_la_SOURCES = psTest.c 
+
+EXTRA_DIST = parseErrorCodes.pl mainpage.dox Doxyfile psErrorCodes.dat psTest.h
Index: /trunk/psLib/src/astronomy/Makefile
===================================================================
--- /trunk/psLib/src/astronomy/Makefile	(revision 3114)
+++ /trunk/psLib/src/astronomy/Makefile	(revision 3115)
@@ -1,65 +1,520 @@
-ifndef prefix
-    export prefix=$(shell cd ../..;pwd)
-endif
-
-TARGET_STATIC  = libpslib.a
-include ../Makefile.Globals
-
-CFLAGS := $(CFLAGS_RELOC) -I. -I../sysUtils -I../collections -I../dataManip \
-    -I.. -I../image -I../fileUtils \
-    -DTIME_CONFIG_FILE="\"$(TIME_CONFIG_FILE)\""
-
-SRC_OBJS = psTime.o \
-           psMetadata.o \
-           psMetadataIO.o \
-           psCoord.o \
-           psAstrometry.o
-
-OBJS = $(addprefix makedir/,$(SRC_OBJS))
-
-HEADERS = $(SRC_OBJS:.o=.h) psPhotometry.h slalib.h
-
-all: $(TARGET_STATIC)
+# Makefile.in generated by automake 1.9.1 from Makefile.am.
+# src/astronomy/Makefile.  Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+
+SOURCES = $(libpslibastronomy_la_SOURCES)
+
+srcdir = .
+top_srcdir = ../..
+
+pkgdatadir = $(datadir)/pslib
+pkglibdir = $(libdir)/pslib
+pkgincludedir = $(includedir)/pslib
+top_builddir = ../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/astronomy
+DIST_COMMON = $(pslibinclude_HEADERS) $(srcdir)/Makefile.am \
+	$(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+LTLIBRARIES = $(noinst_LTLIBRARIES)
+libpslibastronomy_la_LIBADD =
+am_libpslibastronomy_la_OBJECTS = psTime.lo psMetadata.lo \
+	psMetadataIO.lo psCoord.lo psAstrometry.lo aoppa.lo aopqk.lo \
+	oapqk.lo airmas.lo eqeqx.lo geoc.lo refco.lo aoppat.lo \
+	dranrm.lo dcs2c.lo refz.lo refro.lo dcc2s.lo gmst.lo atms.lo \
+	atmt.lo nutc.lo drange.lo
+libpslibastronomy_la_OBJECTS = $(am_libpslibastronomy_la_OBJECTS)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+F77COMPILE = $(F77) $(AM_FFLAGS) $(FFLAGS)
+LTF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AM_FFLAGS) \
+	$(FFLAGS)
+F77LD = $(F77)
+F77LINK = $(LIBTOOL) --mode=link --tag=F77 $(F77LD) $(AM_FFLAGS) \
+	$(FFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(libpslibastronomy_la_SOURCES)
+DIST_SOURCES = $(libpslibastronomy_la_SOURCES)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(pslibincludedir)"
+pslibincludeHEADERS_INSTALL = $(INSTALL_HEADER)
+HEADERS = $(pslibinclude_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE = 
+AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
+AWK = gawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
+CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
+CPP = gcc -E
+CPPFLAGS = 
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+ECHO = echo
+ECHO_C = 
+ECHO_N = -n
+ECHO_T = 
+EGREP = grep -E
+EXEEXT = 
+F77 = g77
+FFLAGS = -fno-second-underscore -O -fno-f2c
+GSL_CONFIG = /usr/bin/gsl-config
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LDFLAGS = 
+LIBOBJS = 
+LIBS = 
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS = 
+MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
+OBJEXT = o
+PACKAGE = pslib
+PACKAGE_BUGREPORT = 
+PACKAGE_NAME = 
+PACKAGE_STRING = 
+PACKAGE_TARNAME = 
+PACKAGE_VERSION = 
+PATH_SEPARATOR = :
+PERL = /usr/bin/perl
+PSLIB_CFLAGS = -I${prefix}/include
+PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
+RANLIB = ranlib
+SET_MAKE = 
+SHELL = /bin/sh
+STRIP = strip
+SWIG = /usr/bin/swig
+VERSION = 1.5
+XML_CONFIG = /usr/bin/xml2-config
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = g77
+ac_ct_RANLIB = ranlib
+ac_ct_STRIP = strip
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE = 
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE = 
+am__include = include
+am__leading_dot = .
+am__quote = 
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias = 
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+datadir = ${prefix}/share
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias = 
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+includedir = ${prefix}/include
+infodir = ${prefix}/info
+install_sh = /home/desonia/panstarrs/psLib/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localstatedir = ${prefix}/var
+mandir = ${prefix}/man
+mkdir_p = mkdir -p --
+oldincludedir = /usr/include
+prefix = /home/desonia/panstarrs/psLib
+program_transform_name = s,x,x,
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+sysconfdir = ${prefix}/etc
+target_alias = 
+
+#Makefile for astronomy functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibastronomy.la
+libpslibastronomy_la_SOURCES = \
+	psTime.c \
+	psMetadata.c \
+	psMetadataIO.c \
+	psCoord.c \
+	psAstrometry.c \
+        aoppa.f aopqk.f oapqk.f airmas.f eqeqx.f geoc.f refco.f aoppat.f \
+        dranrm.f dcs2c.f refz.f refro.f dcc2s.f gmst.f atms.f atmt.f nutc.f drange.f
+
+BUILT_SOURCES = psAstronomyErrors.h
+EXTRA_DIST = psAstronomyErrors.dat psAstronomyErrors.h
+pslibincludedir = $(includedir)/pslib
+pslibinclude_HEADERS = \
+	psTime.h \
+	psMetadata.h \
+	psMetadataIO.h \
+	psCoord.h \
+	psAstrometry.h \
+	psPhotometry.h \
+	slalib.h
+
+all: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .f .lo .o .obj
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/astronomy/Makefile'; \
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu  src/astronomy/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-noinstLTLIBRARIES:
+	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+	@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
+	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+	  test "$$dir" != "$$p" || dir=.; \
+	  echo "rm -f \"$${dir}/so_locations\""; \
+	  rm -f "$${dir}/so_locations"; \
+	done
+libpslibastronomy.la: $(libpslibastronomy_la_OBJECTS) $(libpslibastronomy_la_DEPENDENCIES) 
+	$(F77LINK)  $(libpslibastronomy_la_LDFLAGS) $(libpslibastronomy_la_OBJECTS) $(libpslibastronomy_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+
+distclean-compile:
+	-rm -f *.tab.c
+
+include ./$(DEPDIR)/psAstrometry.Plo
+include ./$(DEPDIR)/psCoord.Plo
+include ./$(DEPDIR)/psMetadata.Plo
+include ./$(DEPDIR)/psMetadataIO.Plo
+include ./$(DEPDIR)/psTime.Plo
+
+.c.o:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c $<
+
+.c.obj:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(LTCOMPILE) -c -o $@ $<
+
+.f.o:
+	$(F77COMPILE) -c -o $@ $<
+
+.f.obj:
+	$(F77COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.f.lo:
+	$(LTF77COMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+install-pslibincludeHEADERS: $(pslibinclude_HEADERS)
+	@$(NORMAL_INSTALL)
+	test -z "$(pslibincludedir)" || $(mkdir_p) "$(DESTDIR)$(pslibincludedir)"
+	@list='$(pslibinclude_HEADERS)'; for p in $$list; do \
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+	  f=$(am__strip_dir) \
+	  echo " $(pslibincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pslibincludedir)/$$f'"; \
+	  $(pslibincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pslibincludedir)/$$f"; \
+	done
+
+uninstall-pslibincludeHEADERS:
+	@$(NORMAL_UNINSTALL)
+	@list='$(pslibinclude_HEADERS)'; for p in $$list; do \
+	  f=$(am__strip_dir) \
+	  echo " rm -f '$(DESTDIR)$(pslibincludedir)/$$f'"; \
+	  rm -f "$(DESTDIR)$(pslibincludedir)/$$f"; \
+	done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+tags: TAGS
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) check-am
+all-am: Makefile $(LTLIBRARIES) $(HEADERS)
+installdirs:
+	for dir in "$(DESTDIR)$(pslibincludedir)"; do \
+	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+	done
+install: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
+	mostlyclean-am
+
+distclean: distclean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-pslibincludeHEADERS
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am uninstall-pslibincludeHEADERS
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+	clean-libtool clean-noinstLTLIBRARIES ctags distclean \
+	distclean-compile distclean-generic distclean-libtool \
+	distclean-tags distdir dvi dvi-am html html-am info info-am \
+	install install-am install-data install-data-am install-exec \
+	install-exec-am install-info install-info-am install-man \
+	install-pslibincludeHEADERS install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+	tags uninstall uninstall-am uninstall-info-am \
+	uninstall-pslibincludeHEADERS
+
 
 psAstronomyErrors.h: psAstronomyErrors.dat
-	perl ../parseErrorCodes.pl --data=$? $@
-
-
-# Rule to make static library
-
-libpslib.a:     $(OBJS)
-# The ar option -r is to add/replace object and -s is to create
-# a symbol table in the archive
-	$(AR) rcs ../$@ $(OBJS)
-
-# Define PHONY target "install" which will install necessary files
-install: $(TARGET_STATIC)
-	install $(HEADERS) $(includedir)
-
-# Define PHONY target "distclean" which will cleanup the distribution
-distclean:      clean
-	$(RM) ../$(TARGET_STATIC)
-
-# Define PHONY target "clean" which will cleanup the development area
-clean:
-	@echo "    Deleting intermediate files for 'astronomy'"
-	$(RM) $(OBJS) *.lint $(SRC_OBJS:.o=.i)
-
-cleandep:
-	$(RM) $(OBJS:.o=.d)
-
-%.lint: %.c
-	splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
-
-%.i: %.c
-	$(CC) -E $(CFLAGS) -o $@ $<
-
-makedir/%.o: %.c
-	$(CC) -c $(CFLAGS) -o $@ $<
-
-makedir/%.d: %.c
-	$(CC) -MM $(CFLAGS) $< > $@.tmp
-	sed 's|\($*\)\.o[ :]*|\1.o $@ : |g' $@.tmp | sed 's|[A-Za-z0-9\/\.]*libxml[A-Za-z0-9\/\.]*||g' > $@
-	$(RM) -f $@.tmp
-
-include $(OBJS:.o=.d)
+	perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: /trunk/psLib/src/collections/Makefile
===================================================================
--- /trunk/psLib/src/collections/Makefile	(revision 3114)
+++ /trunk/psLib/src/collections/Makefile	(revision 3115)
@@ -1,92 +1,504 @@
-###############################################################################
-##
-##  Makefile:   collections
-##
-##  $Revision: 1.31 $  $Name: not supported by cvs2svn $
-##  $Date: 2004-09-11 00:43:54 $
-##
-##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
-###############################################################################
-
-# Define variable prefix to the top level project - psLib
-# This is necessary for definition is Makefile.Globals uses prefix
-
-ifndef prefix
-    export prefix=$(shell cd ../..;pwd)
-endif
-
-# Define the two targets to be built
-
-TARGET_STATIC  = libpslib.a
-
-# Include the make global definitions for the project
-
-include ../Makefile.Globals
-
-# Set CFLAGS used by the implicit rule to compile .c
-
-CFLAGS := $(CFLAGS_RELOC) -I../sysUtils -I..
-
-# Define the source objects
- 
-SRC_OBJS = psBitSet.o \
-           psVector.o \
-           psList.o \
-           psScalar.o \
-           psCompare.o \
-           psArray.o \
-           psHash.o
-
-OBJS = $(addprefix makedir/,$(SRC_OBJS))
-
-HEADERS = $(SRC_OBJS:.o=.h)
-
-
-# Define PHONY target "all" which will make all the necessary items
-
-all: $(TARGET_STATIC)
-
-psCollectionsErrors.h: psCollectionsErrors.dat
-	perl ../parseErrorCodes.pl --data=$? $@
-
-# Rule to make static library
-
-libpslib.a: $(OBJS)
-# The ar option -r is to add/replace object and -s is to create
-# a symbol table in the archive
-	$(AR) rcs ../$@ $(OBJS)
-
-# Define PHONY target "install" which will install necessary files
-
-install: $(TARGET_STATIC)
-	install $(HEADERS) $(includedir)
-
-# Define PHONY target "distclean" which will cleanup the distribution
-
-distclean:	clean
-	$(RM) ../$(TARGET_STATIC)
-
-# Define PHONY target "clean" which will cleanup the development area
-
-clean:
-	@echo "    Deleting intermediate files for 'collections'"
-	$(RM) $(OBJS) *.lint $(SRC_OBJS:.o=.i)
-
-cleandep:
-	$(RM) $(OBJS:.o=.d)
-
-%.lint: %.c
-	splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
-
-%.i: %.c
-	$(CC) -E $(CFLAGS) -o $@ $<
-
-makedir/%.o: %.c
-	$(CC) -c $(CFLAGS) -o $@ $<
-
-makedir/%.d: %.c
-	$(CC) -MM $(CFLAGS) $< > $@.tmp
-	sed 's|\($*\)\.o[ :]*|\1.o $@ : |g' $@.tmp > $@
-	$(RM) -f $@.tmp
-
-include $(OBJS:.o=.d)
+# Makefile.in generated by automake 1.9.1 from Makefile.am.
+# src/collections/Makefile.  Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+
+SOURCES = $(libpslibcollections_la_SOURCES)
+
+srcdir = .
+top_srcdir = ../..
+
+pkgdatadir = $(datadir)/pslib
+pkglibdir = $(libdir)/pslib
+pkgincludedir = $(includedir)/pslib
+top_builddir = ../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/collections
+DIST_COMMON = $(pslibinclude_HEADERS) $(srcdir)/Makefile.am \
+	$(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+LTLIBRARIES = $(noinst_LTLIBRARIES)
+libpslibcollections_la_LIBADD =
+am_libpslibcollections_la_OBJECTS = psBitSet.lo psVector.lo psList.lo \
+	psScalar.lo psCompare.lo psArray.lo psHash.lo
+libpslibcollections_la_OBJECTS = $(am_libpslibcollections_la_OBJECTS)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(libpslibcollections_la_SOURCES)
+DIST_SOURCES = $(libpslibcollections_la_SOURCES)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(pslibincludedir)"
+pslibincludeHEADERS_INSTALL = $(INSTALL_HEADER)
+HEADERS = $(pslibinclude_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE = 
+AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
+AWK = gawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
+CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
+CPP = gcc -E
+CPPFLAGS = 
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+ECHO = echo
+ECHO_C = 
+ECHO_N = -n
+ECHO_T = 
+EGREP = grep -E
+EXEEXT = 
+F77 = g77
+FFLAGS = -fno-second-underscore -O -fno-f2c
+GSL_CONFIG = /usr/bin/gsl-config
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LDFLAGS = 
+LIBOBJS = 
+LIBS = 
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS = 
+MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
+OBJEXT = o
+PACKAGE = pslib
+PACKAGE_BUGREPORT = 
+PACKAGE_NAME = 
+PACKAGE_STRING = 
+PACKAGE_TARNAME = 
+PACKAGE_VERSION = 
+PATH_SEPARATOR = :
+PERL = /usr/bin/perl
+PSLIB_CFLAGS = -I${prefix}/include
+PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
+RANLIB = ranlib
+SET_MAKE = 
+SHELL = /bin/sh
+STRIP = strip
+SWIG = /usr/bin/swig
+VERSION = 1.5
+XML_CONFIG = /usr/bin/xml2-config
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = g77
+ac_ct_RANLIB = ranlib
+ac_ct_STRIP = strip
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE = 
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE = 
+am__include = include
+am__leading_dot = .
+am__quote = 
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias = 
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+datadir = ${prefix}/share
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias = 
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+includedir = ${prefix}/include
+infodir = ${prefix}/info
+install_sh = /home/desonia/panstarrs/psLib/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localstatedir = ${prefix}/var
+mandir = ${prefix}/man
+mkdir_p = mkdir -p --
+oldincludedir = /usr/include
+prefix = /home/desonia/panstarrs/psLib
+program_transform_name = s,x,x,
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+sysconfdir = ${prefix}/etc
+target_alias = 
+
+#Makefile for collections functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibcollections.la
+libpslibcollections_la_SOURCES = \
+	psBitSet.c \
+	psVector.c \
+	psList.c \
+	psScalar.c \
+	psCompare.c \
+	psArray.c \
+	psHash.c
+
+BUILT_SOURCES = psCollectionsErrors.h
+EXTRA_DIST = psCollectionsErrors.dat psCollectionsErrors.h
+pslibincludedir = $(includedir)/pslib
+pslibinclude_HEADERS = \
+	psBitSet.h \
+	psVector.h \
+	psList.h \
+	psScalar.h \
+	psCompare.h \
+	psArray.h \
+	psHash.h
+
+all: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/collections/Makefile'; \
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu  src/collections/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-noinstLTLIBRARIES:
+	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+	@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
+	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+	  test "$$dir" != "$$p" || dir=.; \
+	  echo "rm -f \"$${dir}/so_locations\""; \
+	  rm -f "$${dir}/so_locations"; \
+	done
+libpslibcollections.la: $(libpslibcollections_la_OBJECTS) $(libpslibcollections_la_DEPENDENCIES) 
+	$(LINK)  $(libpslibcollections_la_LDFLAGS) $(libpslibcollections_la_OBJECTS) $(libpslibcollections_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+
+distclean-compile:
+	-rm -f *.tab.c
+
+include ./$(DEPDIR)/psArray.Plo
+include ./$(DEPDIR)/psBitSet.Plo
+include ./$(DEPDIR)/psCompare.Plo
+include ./$(DEPDIR)/psHash.Plo
+include ./$(DEPDIR)/psList.Plo
+include ./$(DEPDIR)/psScalar.Plo
+include ./$(DEPDIR)/psVector.Plo
+
+.c.o:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c $<
+
+.c.obj:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(LTCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+install-pslibincludeHEADERS: $(pslibinclude_HEADERS)
+	@$(NORMAL_INSTALL)
+	test -z "$(pslibincludedir)" || $(mkdir_p) "$(DESTDIR)$(pslibincludedir)"
+	@list='$(pslibinclude_HEADERS)'; for p in $$list; do \
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+	  f=$(am__strip_dir) \
+	  echo " $(pslibincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pslibincludedir)/$$f'"; \
+	  $(pslibincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pslibincludedir)/$$f"; \
+	done
+
+uninstall-pslibincludeHEADERS:
+	@$(NORMAL_UNINSTALL)
+	@list='$(pslibinclude_HEADERS)'; for p in $$list; do \
+	  f=$(am__strip_dir) \
+	  echo " rm -f '$(DESTDIR)$(pslibincludedir)/$$f'"; \
+	  rm -f "$(DESTDIR)$(pslibincludedir)/$$f"; \
+	done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+tags: TAGS
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) check-am
+all-am: Makefile $(LTLIBRARIES) $(HEADERS)
+installdirs:
+	for dir in "$(DESTDIR)$(pslibincludedir)"; do \
+	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+	done
+install: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
+	mostlyclean-am
+
+distclean: distclean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-pslibincludeHEADERS
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am uninstall-pslibincludeHEADERS
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+	clean-libtool clean-noinstLTLIBRARIES ctags distclean \
+	distclean-compile distclean-generic distclean-libtool \
+	distclean-tags distdir dvi dvi-am html html-am info info-am \
+	install install-am install-data install-data-am install-exec \
+	install-exec-am install-info install-info-am install-man \
+	install-pslibincludeHEADERS install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+	tags uninstall uninstall-am uninstall-info-am \
+	uninstall-pslibincludeHEADERS
+
+
+psCollectionsErrors.h:psCollectionsErrors.dat
+	perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: /trunk/psLib/src/collections/Makefile.am
===================================================================
--- /trunk/psLib/src/collections/Makefile.am	(revision 3115)
+++ /trunk/psLib/src/collections/Makefile.am	(revision 3115)
@@ -0,0 +1,37 @@
+#Makefile for collections functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibcollections.la
+
+libpslibcollections_la_SOURCES = \
+	psBitSet.c \
+	psVector.c \
+	psList.c \
+	psScalar.c \
+	psCompare.c \
+	psArray.c \
+	psHash.c
+
+BUILT_SOURCES = psCollectionsErrors.h
+EXTRA_DIST = psCollectionsErrors.dat psCollectionsErrors.h
+
+psCollectionsErrors.h:psCollectionsErrors.dat
+	perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
+
+pslibincludedir = $(includedir)/pslib
+pslibinclude_HEADERS = \
+	psBitSet.h \
+	psVector.h \
+	psList.h \
+	psScalar.h \
+	psCompare.h \
+	psArray.h \
+	psHash.h
+
Index: /trunk/psLib/src/collections/psArray.c
===================================================================
--- /trunk/psLib/src/collections/psArray.c	(revision 3114)
+++ /trunk/psLib/src/collections/psArray.c	(revision 3115)
@@ -9,6 +9,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-12-30 20:18:36 $
+ *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -33,7 +33,7 @@
   FUNCTION IMPLEMENTATION - LOCAL
  *****************************************************************************/
-static void arrayFree(psArray* restrict psArr);
+static void arrayFree(psArray* psArr);
 
-static void arrayFree(psArray* restrict psArr)
+static void arrayFree(psArray* psArr)
 {
     if (psArr == NULL) {
@@ -66,5 +66,5 @@
 }
 
-psArray* psArrayRealloc(psArray* restrict in, psU32 nalloc)
+psArray* psArrayRealloc(psArray* in, psU32 nalloc)
 {
     if (in == NULL) {
@@ -134,5 +134,5 @@
 }
 
-void psArrayElementFree(psArray* restrict psArr)
+void psArrayElementFree(psArray* psArr)
 {
 
Index: /trunk/psLib/src/collections/psArray.h
===================================================================
--- /trunk/psLib/src/collections/psArray.h	(revision 3114)
+++ /trunk/psLib/src/collections/psArray.h	(revision 3115)
@@ -12,6 +12,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-12-23 01:14:52 $
+ *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -55,5 +55,5 @@
  */
 psArray* psArrayAlloc(
-    psU32 nalloc                ///< Total number of elements to make available.
+    psU32 nalloc                       ///< Total number of elements to make available.
 );
 
@@ -67,5 +67,5 @@
  */
 psArray* psArrayRealloc(
-    psArray* restrict psArr,           ///< array to reallocate.
+    psArray* psArr,                    ///< array to reallocate.
     psU32 nalloc                       ///< Total number of elements to make available.
 );
@@ -104,5 +104,5 @@
  */
 void psArrayElementFree(
-    psArray* restrict psArr            ///< Void pointer array to destroy.
+    psArray* psArr                     ///< Void pointer array to destroy.
 );
 
Index: /trunk/psLib/src/collections/psBitSet.c
===================================================================
--- /trunk/psLib/src/collections/psBitSet.c	(revision 3114)
+++ /trunk/psLib/src/collections/psBitSet.c	(revision 3115)
@@ -11,6 +11,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-11-04 01:04:57 $
+ *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -38,5 +38,5 @@
 };
 
-static void bitSetFree(psBitSet* restrict inBitSet);
+static void bitSetFree(psBitSet* inBitSet);
 
 /** Private function to create a mask.
@@ -58,5 +58,5 @@
 }
 
-static void bitSetFree(psBitSet* restrict inBitSet)
+static void bitSetFree(psBitSet* inBitSet)
 {
     if (inBitSet == NULL) {
@@ -161,7 +161,7 @@
 
 psBitSet* psBitSetOp(psBitSet* outBitSet,
-                     const psBitSet* restrict inBitSet1,
+                     const psBitSet* inBitSet1,
                      char *operator,
-                     const psBitSet* restrict inBitSet2)
+                     const psBitSet* inBitSet2)
 {
     psS32 i = 0;
@@ -264,5 +264,5 @@
         break;
     default:
-        psAbort(PS_ERRORNAME_DOMAIN "psBitSetOp",
+        psAbort("psBitSetOp",
                 "Unexpected error - operator parsed successfully but not valid?");
     }
@@ -272,5 +272,5 @@
 
 psBitSet* psBitSetNot(psBitSet* outBitSet,
-                      const psBitSet* restrict inBitSet)
+                      const psBitSet* inBitSet)
 {
     if (inBitSet == NULL) {
@@ -291,5 +291,5 @@
 }
 
-char *psBitSetToString(const psBitSet* restrict inBitSet)
+char *psBitSetToString(const psBitSet* inBitSet)
 {
     psS32 i = 0;
Index: /trunk/psLib/src/collections/psBitSet.h
===================================================================
--- /trunk/psLib/src/collections/psBitSet.h	(revision 3114)
+++ /trunk/psLib/src/collections/psBitSet.h	(revision 3115)
@@ -12,6 +12,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-10-27 00:57:31 $
+ *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -56,5 +56,5 @@
 /*@null@*/
 psBitSet* psBitSetAlloc(
-    psS32 n                              ///< Number of bits in psBitSet array
+    psS32 n                            ///< Number of bits in psBitSet array
 );
 
@@ -69,6 +69,6 @@
 psBitSet* psBitSetSet(
     /* @returned@ */
-    psBitSet* restrict inMask,         ///< Pointer to psBitSet to be set.
-    psS32 bit                            ///< Bit to be set.
+    psBitSet* inMask,                  ///< Pointer to psBitSet to be set.
+    psS32 bit                          ///< Bit to be set.
 );
 
@@ -83,6 +83,6 @@
 psBitSet* psBitSetClear(
     /* @returned@ */
-    psBitSet* restrict inMask,         ///< Pointer to psBitSet to be cleared.
-    psS32 bit                            ///< Bit to be cleared.
+    psBitSet* inMask,                  ///< Pointer to psBitSet to be cleared.
+    psS32 bit                          ///< Bit to be cleared.
 );
 
@@ -98,6 +98,6 @@
 
 psBool psBitSetTest(
-    const psBitSet* restrict inMask,   ///< Pointer psBitSet to be tested.
-    psS32 bit                            ///< Bit to be tested.
+    const psBitSet* inMask,            ///< Pointer psBitSet to be tested.
+    psS32 bit                          ///< Bit to be tested.
 );
 
@@ -111,8 +111,8 @@
 psBitSet* psBitSetOp(
     /* @returned@ */
-    psBitSet* restrict outMask,        ///< Resulting psBitSet from binary operation
-    const psBitSet* restrict inMask1,  ///< First psBitSet on which to operate
+    psBitSet* outMask,                 ///< Resulting psBitSet from binary operation
+    const psBitSet* inMask1,           ///< First psBitSet on which to operate
     char *operator,                    ///< Bit operation
-    const psBitSet* restrict inMask2   ///< First psBitSet on which to operate
+    const psBitSet* inMask2            ///< First psBitSet on which to operate
 );
 
@@ -126,5 +126,5 @@
 psBitSet* psBitSetNot(
     psBitSet* outBitSet,               ///< Resulting psBitSet from operation
-    const psBitSet* restrict inBitSet  ///< Input psBitSet
+    const psBitSet* inBitSet           ///< Input psBitSet
 );
 
@@ -138,5 +138,5 @@
 
 char *psBitSetToString(
-    const psBitSet* restrict inMask    ///< psBitSet to convert */
+    const psBitSet* inMask             ///< psBitSet to convert */
 );
 
Index: /trunk/psLib/src/collections/psVector.c
===================================================================
--- /trunk/psLib/src/collections/psVector.c	(revision 3114)
+++ /trunk/psLib/src/collections/psVector.c	(revision 3115)
@@ -10,6 +10,6 @@
 *  @author Robert DeSonia, MHPCC
 *
-*  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-12-09 21:30:43 $
+*  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-02-03 00:54:10 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -28,8 +28,8 @@
 #include "psCollectionsErrors.h"
 
-static void vectorFree(psVector* restrict psVec);
-
-
-static void vectorFree(psVector* restrict psVec)
+static void vectorFree(psVector* psVec);
+
+
+static void vectorFree(psVector* psVec)
 {
     if (psVec == NULL) {
@@ -64,5 +64,5 @@
 }
 
-psVector* psVectorRealloc(psVector* restrict in, psU32 nalloc)
+psVector* psVectorRealloc(psVector* in, psU32 nalloc)
 {
     psS32 elementSize = 0;
@@ -87,5 +87,5 @@
 }
 
-psVector* psVectorRecycle(psVector* restrict in, psU32 n, psElemType type)
+psVector* psVectorRecycle(psVector* in, psU32 n, psElemType type)
 {
     psS32 byteSize;
@@ -218,5 +218,5 @@
 }
 
-psVector* psVectorSort(psVector* restrict outVector, const psVector* restrict inVector)
+psVector* psVectorSort(psVector* outVector, const psVector* inVector)
 {
     psS32 N = 0;
@@ -302,5 +302,5 @@
 }
 
-psVector* psVectorSortIndex(psVector* restrict outVector, const psVector* restrict inVector)
+psVector* psVectorSortIndex(psVector* outVector, const psVector* inVector)
 {
     psS32 N = 0;
Index: /trunk/psLib/src/collections/psVector.h
===================================================================
--- /trunk/psLib/src/collections/psVector.h	(revision 3114)
+++ /trunk/psLib/src/collections/psVector.h	(revision 3115)
@@ -11,6 +11,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-17 20:58:21 $
+ *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -84,6 +84,6 @@
  */
 psVector* psVectorRealloc(
-    psVector* restrict psVec,          ///< Vector to reallocate.
-    psU32 nalloc                ///< Total number of elements to make available.
+    psVector* psVec,                   ///< Vector to reallocate.
+    psU32 nalloc                       ///< Total number of elements to make available.
 );
 
@@ -98,9 +98,9 @@
  */
 psVector* psVectorRecycle(
-    psVector* restrict psVec,
+    psVector* psVec,
     ///< Vector to recycle.  If NULL, a new vector is created.  No effort
     ///< taken to preserve the values.
 
-    psU32 nalloc,               ///< Total number of elements to make available.
+    psU32 nalloc,                      ///< Total number of elements to make available.
     psElemType type                    ///< the datatype of the returned vector
 );
@@ -128,6 +128,6 @@
  */
 psVector* psVectorSort(
-    psVector* restrict outVector,      ///< the output vector to recycle, or NULL if new vector desired.
-    const psVector* restrict inVector  ///< the vector to sort.
+    psVector* outVector,               ///< the output vector to recycle, or NULL if new vector desired.
+    const psVector* inVector           ///< the vector to sort.
 );
 
@@ -140,6 +140,6 @@
  */
 psVector* psVectorSortIndex(
-    psVector* restrict outVector,      ///< vector to recycle
-    const psVector* restrict inVector  ///< vector to sort
+    psVector* outVector,               ///< vector to recycle
+    const psVector* inVector           ///< vector to sort
 );
 
Index: /trunk/psLib/src/config.h.in
===================================================================
--- /trunk/psLib/src/config.h.in	(revision 3115)
+++ /trunk/psLib/src/config.h.in	(revision 3115)
@@ -0,0 +1,67 @@
+/* src/config.h.in.  Generated from configure.in by autoheader.  */
+
+/* Location of the psTime.config file */
+#undef CONFIG_FILE
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#undef HAVE_DLFCN_H
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#undef HAVE_INTTYPES_H
+
+/* Define to 1 if you have the `mx' library (-lmx). */
+#undef HAVE_LIBMX
+
+/* Define to 1 if you have the <memory.h> header file. */
+#undef HAVE_MEMORY_H
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#undef HAVE_STDINT_H
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#undef HAVE_STDLIB_H
+
+/* Define to 1 if you have the <strings.h> header file. */
+#undef HAVE_STRINGS_H
+
+/* Define to 1 if you have the <string.h> header file. */
+#undef HAVE_STRING_H
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#undef HAVE_SYS_STAT_H
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#undef HAVE_SYS_TYPES_H
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#undef HAVE_UNISTD_H
+
+/* Name of package */
+#undef PACKAGE
+
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
+
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
+
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
+
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
+
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
+
+/* Define to 1 if you have the ANSI C header files. */
+#undef STDC_HEADERS
+
+/* Location of the tai_utc.dat file */
+#undef UTC_DAT_FILE
+
+/* Version number of package */
+#undef VERSION
+
+/* Location of the psTime.xml file */
+#undef XML_CONFIG_FILE
Index: /trunk/psLib/src/dataIO/Makefile
===================================================================
--- /trunk/psLib/src/dataIO/Makefile	(revision 3114)
+++ /trunk/psLib/src/dataIO/Makefile	(revision 3115)
@@ -1,60 +1,488 @@
-ifndef prefix
-    export prefix=$(shell cd ../..;pwd)
-endif
-
-TARGET_STATIC  = libpslib.a
-include ../Makefile.Globals
-CFLAGS := $(CFLAGS_RELOC) -I. -I../sysUtils -I../collections -I../dataManip \
-    -I.. -I../image -I../astronomy -DSER7_FILE="\"$(SER7_FILE)\"" -DTAIUTC_FILE="\"$(TAIUTC_FILE)\""
-
-SRC_OBJS = psLookupTable.o \
-	psFits.o
-
-OBJS = $(addprefix makedir/,$(SRC_OBJS))
-
-HEADERS = $(SRC_OBJS:.o=.h)
-
-all: $(TARGET_STATIC)
+# Makefile.in generated by automake 1.9.1 from Makefile.am.
+# src/fileUtils/Makefile.  Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+
+SOURCES = $(libpslibfileUtils_la_SOURCES)
+
+srcdir = .
+top_srcdir = ../..
+
+pkgdatadir = $(datadir)/pslib
+pkglibdir = $(libdir)/pslib
+pkgincludedir = $(includedir)/pslib
+top_builddir = ../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/fileUtils
+DIST_COMMON = $(pslibinclude_HEADERS) $(srcdir)/Makefile.am \
+	$(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+LTLIBRARIES = $(noinst_LTLIBRARIES)
+libpslibfileUtils_la_LIBADD =
+am_libpslibfileUtils_la_OBJECTS = psLookupTable.lo psFits.lo
+libpslibfileUtils_la_OBJECTS = $(am_libpslibfileUtils_la_OBJECTS)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(libpslibfileUtils_la_SOURCES)
+DIST_SOURCES = $(libpslibfileUtils_la_SOURCES)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(pslibincludedir)"
+pslibincludeHEADERS_INSTALL = $(INSTALL_HEADER)
+HEADERS = $(pslibinclude_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE = 
+AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
+AWK = gawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
+CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
+CPP = gcc -E
+CPPFLAGS = 
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+ECHO = echo
+ECHO_C = 
+ECHO_N = -n
+ECHO_T = 
+EGREP = grep -E
+EXEEXT = 
+F77 = g77
+FFLAGS = -fno-second-underscore -O -fno-f2c
+GSL_CONFIG = /usr/bin/gsl-config
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LDFLAGS = 
+LIBOBJS = 
+LIBS = 
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS = 
+MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
+OBJEXT = o
+PACKAGE = pslib
+PACKAGE_BUGREPORT = 
+PACKAGE_NAME = 
+PACKAGE_STRING = 
+PACKAGE_TARNAME = 
+PACKAGE_VERSION = 
+PATH_SEPARATOR = :
+PERL = /usr/bin/perl
+PSLIB_CFLAGS = -I${prefix}/include
+PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
+RANLIB = ranlib
+SET_MAKE = 
+SHELL = /bin/sh
+STRIP = strip
+SWIG = /usr/bin/swig
+VERSION = 1.5
+XML_CONFIG = /usr/bin/xml2-config
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = g77
+ac_ct_RANLIB = ranlib
+ac_ct_STRIP = strip
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE = 
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE = 
+am__include = include
+am__leading_dot = .
+am__quote = 
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias = 
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+datadir = ${prefix}/share
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias = 
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+includedir = ${prefix}/include
+infodir = ${prefix}/info
+install_sh = /home/desonia/panstarrs/psLib/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localstatedir = ${prefix}/var
+mandir = ${prefix}/man
+mkdir_p = mkdir -p --
+oldincludedir = /usr/include
+prefix = /home/desonia/panstarrs/psLib
+program_transform_name = s,x,x,
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+sysconfdir = ${prefix}/etc
+target_alias = 
+
+#Makefile for fileUtils functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibfileUtils.la
+libpslibfileUtils_la_SOURCES = \
+	psLookupTable.c \
+	psFits.c
+
+BUILT_SOURCES = psFileUtilsErrors.h
+EXTRA_DIST = psFileUtilsErrors.dat psFileUtilsErrors.h
+pslibincludedir = $(includedir)/pslib
+pslibinclude_HEADERS = \
+	psLookupTable.h \
+	psFits.h
+
+all: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/fileUtils/Makefile'; \
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu  src/fileUtils/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-noinstLTLIBRARIES:
+	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+	@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
+	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+	  test "$$dir" != "$$p" || dir=.; \
+	  echo "rm -f \"$${dir}/so_locations\""; \
+	  rm -f "$${dir}/so_locations"; \
+	done
+libpslibfileUtils.la: $(libpslibfileUtils_la_OBJECTS) $(libpslibfileUtils_la_DEPENDENCIES) 
+	$(LINK)  $(libpslibfileUtils_la_LDFLAGS) $(libpslibfileUtils_la_OBJECTS) $(libpslibfileUtils_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+
+distclean-compile:
+	-rm -f *.tab.c
+
+include ./$(DEPDIR)/psFits.Plo
+include ./$(DEPDIR)/psLookupTable.Plo
+
+.c.o:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c $<
+
+.c.obj:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(LTCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+install-pslibincludeHEADERS: $(pslibinclude_HEADERS)
+	@$(NORMAL_INSTALL)
+	test -z "$(pslibincludedir)" || $(mkdir_p) "$(DESTDIR)$(pslibincludedir)"
+	@list='$(pslibinclude_HEADERS)'; for p in $$list; do \
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+	  f=$(am__strip_dir) \
+	  echo " $(pslibincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pslibincludedir)/$$f'"; \
+	  $(pslibincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pslibincludedir)/$$f"; \
+	done
+
+uninstall-pslibincludeHEADERS:
+	@$(NORMAL_UNINSTALL)
+	@list='$(pslibinclude_HEADERS)'; for p in $$list; do \
+	  f=$(am__strip_dir) \
+	  echo " rm -f '$(DESTDIR)$(pslibincludedir)/$$f'"; \
+	  rm -f "$(DESTDIR)$(pslibincludedir)/$$f"; \
+	done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+tags: TAGS
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) check-am
+all-am: Makefile $(LTLIBRARIES) $(HEADERS)
+installdirs:
+	for dir in "$(DESTDIR)$(pslibincludedir)"; do \
+	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+	done
+install: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
+	mostlyclean-am
+
+distclean: distclean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-pslibincludeHEADERS
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am uninstall-pslibincludeHEADERS
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+	clean-libtool clean-noinstLTLIBRARIES ctags distclean \
+	distclean-compile distclean-generic distclean-libtool \
+	distclean-tags distdir dvi dvi-am html html-am info info-am \
+	install install-am install-data install-data-am install-exec \
+	install-exec-am install-info install-info-am install-man \
+	install-pslibincludeHEADERS install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+	tags uninstall uninstall-am uninstall-info-am \
+	uninstall-pslibincludeHEADERS
+
 
 psFileUtilsErrors.h: psFileUtilsErrors.dat
-	perl ../parseErrorCodes.pl --data=$? $@
-
-
-# Rule to make static library
-
-libpslib.a:     $(OBJS)
-# The ar option -r is to add/replace object and -s is to create
-# a symbol table in the archive
-	$(AR) rcs ../$@ $(OBJS)
-
-# Define PHONY target "install" which will install necessary files
-install: $(TARGET_STATIC)
-	install $(HEADERS) $(includedir)
-
-# Define PHONY target "distclean" which will cleanup the distribution
-distclean:      clean
-	$(RM) ../$(TARGET_STATIC)
-
-# Define PHONY target "clean" which will cleanup the development area
-clean:
-	@echo "    Deleting intermediate files for 'fileUtils'"
-	$(RM) $(OBJS) *.lint $(SRC_OBJS:.o=.i)
-
-cleandep:
-	$(RM) $(OBJS:.o=.d)
-
-%.lint: %.c
-	splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
-
-%.i: %.c
-	$(CC) -E $(CFLAGS) -o $@ $<
-
-makedir/%.o: %.c
-	$(CC) -c $(CFLAGS) -o $@ $<
-
-makedir/%.d: %.c
-	$(CC) -MM $(CFLAGS) $< > $@.tmp
-	sed 's|\($*\)\.o[ :]*|\1.o $@ : |g' $@.tmp > $@
-	$(RM) -f $@.tmp
-
-include $(OBJS:.o=.d)
+	perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: /trunk/psLib/src/dataIO/Makefile.am
===================================================================
--- /trunk/psLib/src/dataIO/Makefile.am	(revision 3115)
+++ /trunk/psLib/src/dataIO/Makefile.am	(revision 3115)
@@ -0,0 +1,27 @@
+#Makefile for fileUtils functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibfileUtils.la
+
+libpslibfileUtils_la_SOURCES = \
+	psLookupTable.c \
+	psFits.c
+
+BUILT_SOURCES = psFileUtilsErrors.h
+EXTRA_DIST = psFileUtilsErrors.dat psFileUtilsErrors.h
+
+psFileUtilsErrors.h: psFileUtilsErrors.dat
+	perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
+
+pslibincludedir = $(includedir)/pslib
+pslibinclude_HEADERS = \
+	psLookupTable.h \
+	psFits.h
+
Index: /trunk/psLib/src/dataIO/dataIO.i
===================================================================
--- /trunk/psLib/src/dataIO/dataIO.i	(revision 3115)
+++ /trunk/psLib/src/dataIO/dataIO.i	(revision 3115)
@@ -0,0 +1,4 @@
+/* fileUtils headers */
+%include "psFileUtilsErrors.h"
+%include "psFits.h"
+%include "psLookupTable.h"
Index: /trunk/psLib/src/dataIO/psFileUtilsErrors.h
===================================================================
--- /trunk/psLib/src/dataIO/psFileUtilsErrors.h	(revision 3114)
+++ /trunk/psLib/src/dataIO/psFileUtilsErrors.h	(revision 3115)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-18 03:15:03 $
+ *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:11 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -26,6 +26,4 @@
  * DO NOT EDIT THE LINES BETWEEN //~Start and //~End!  ANY CHANGES WILL BE OVERWRITTEN.
  */
-
-#define PS_ERRORNAME_DOMAIN "psLib.astronomy."
 
 //~Start #define PS_ERRORTEXT_$1 "$2"
Index: /trunk/psLib/src/dataIO/psLookupTable.c
===================================================================
--- /trunk/psLib/src/dataIO/psLookupTable.c	(revision 3114)
+++ /trunk/psLib/src/dataIO/psLookupTable.c	(revision 3115)
@@ -7,6 +7,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-12-16 18:53:02 $
+*  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-02-03 00:54:11 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -455,5 +455,5 @@
     psU64 failedLines = 0;
     FILE *fp = NULL;
-    psElemType elemType;
+    psElemType elemType = PS_TYPE_PTR;
     psVector *indexVec = NULL;
     psVector *valuesVec = NULL;
Index: /trunk/psLib/src/dataManip/Makefile
===================================================================
--- /trunk/psLib/src/dataManip/Makefile	(revision 3114)
+++ /trunk/psLib/src/dataManip/Makefile	(revision 3115)
@@ -1,69 +1,506 @@
-ifndef prefix
-    export prefix=$(shell cd ../..;pwd)
-endif
-
-TARGET_STATIC  = libpslib.a
-include ../Makefile.Globals
-CFLAGS := $(CFLAGS_RELOC) -I. -I../sysUtils -I../collections -I.. -I../image -I..
-
-SRC_OBJS = psStats.o  \
-           psFunctions.o \
-           psMatrix.o \
-           psMatrixVectorArithmetic.o \
-           psVectorFFT.o \
-           psMinimize.o \
-           psRandom.o \
- 
-OBJS = $(addprefix makedir/,$(SRC_OBJS))
- 
-HEADERS = $(SRC_OBJS:.o=.h)
-         
-all: $(TARGET_STATIC)
+# Makefile.in generated by automake 1.9.1 from Makefile.am.
+# src/dataManip/Makefile.  Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+
+SOURCES = $(libpslibdataManip_la_SOURCES)
+
+srcdir = .
+top_srcdir = ../..
+
+pkgdatadir = $(datadir)/pslib
+pkglibdir = $(libdir)/pslib
+pkgincludedir = $(includedir)/pslib
+top_builddir = ../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/dataManip
+DIST_COMMON = $(pslibinclude_HEADERS) $(srcdir)/Makefile.am \
+	$(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+LTLIBRARIES = $(noinst_LTLIBRARIES)
+libpslibdataManip_la_LIBADD =
+am_libpslibdataManip_la_OBJECTS = psStats.lo psFunctions.lo \
+	psMatrix.lo psMatrixVectorArithmetic.lo psVectorFFT.lo \
+	psMinimize.lo psRandom.lo
+libpslibdataManip_la_OBJECTS = $(am_libpslibdataManip_la_OBJECTS)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(libpslibdataManip_la_SOURCES)
+DIST_SOURCES = $(libpslibdataManip_la_SOURCES)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(pslibincludedir)"
+pslibincludeHEADERS_INSTALL = $(INSTALL_HEADER)
+HEADERS = $(pslibinclude_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE = 
+AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
+AWK = gawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
+CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
+CPP = gcc -E
+CPPFLAGS = 
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+ECHO = echo
+ECHO_C = 
+ECHO_N = -n
+ECHO_T = 
+EGREP = grep -E
+EXEEXT = 
+F77 = g77
+FFLAGS = -fno-second-underscore -O -fno-f2c
+GSL_CONFIG = /usr/bin/gsl-config
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LDFLAGS = 
+LIBOBJS = 
+LIBS = 
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS = 
+MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
+OBJEXT = o
+PACKAGE = pslib
+PACKAGE_BUGREPORT = 
+PACKAGE_NAME = 
+PACKAGE_STRING = 
+PACKAGE_TARNAME = 
+PACKAGE_VERSION = 
+PATH_SEPARATOR = :
+PERL = /usr/bin/perl
+PSLIB_CFLAGS = -I${prefix}/include
+PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
+RANLIB = ranlib
+SET_MAKE = 
+SHELL = /bin/sh
+STRIP = strip
+SWIG = /usr/bin/swig
+VERSION = 1.5
+XML_CONFIG = /usr/bin/xml2-config
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = g77
+ac_ct_RANLIB = ranlib
+ac_ct_STRIP = strip
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE = 
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE = 
+am__include = include
+am__leading_dot = .
+am__quote = 
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias = 
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+datadir = ${prefix}/share
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias = 
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+includedir = ${prefix}/include
+infodir = ${prefix}/info
+install_sh = /home/desonia/panstarrs/psLib/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localstatedir = ${prefix}/var
+mandir = ${prefix}/man
+mkdir_p = mkdir -p --
+oldincludedir = /usr/include
+prefix = /home/desonia/panstarrs/psLib
+program_transform_name = s,x,x,
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+sysconfdir = ${prefix}/etc
+target_alias = 
+
+#Makefile for dataManip functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibdataManip.la
+libpslibdataManip_la_SOURCES = \
+	psStats.c  \
+	psFunctions.c \
+	psMatrix.c \
+	psMatrixVectorArithmetic.c \
+	psVectorFFT.c \
+	psMinimize.c \
+	psRandom.c 
+
+BUILT_SOURCES = psDataManipErrors.h
+EXTRA_DIST = psDataManipErrors.dat psDataManipErrors.h
+pslibincludedir = $(includedir)/pslib
+pslibinclude_HEADERS = \
+	psConstants.h \
+	psStats.h  \
+	psFunctions.h \
+	psMatrix.h \
+	psMatrixVectorArithmetic.h \
+	psVectorFFT.h \
+	psMinimize.h \
+	psRandom.h
+
+all: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/dataManip/Makefile'; \
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu  src/dataManip/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-noinstLTLIBRARIES:
+	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+	@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
+	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+	  test "$$dir" != "$$p" || dir=.; \
+	  echo "rm -f \"$${dir}/so_locations\""; \
+	  rm -f "$${dir}/so_locations"; \
+	done
+libpslibdataManip.la: $(libpslibdataManip_la_OBJECTS) $(libpslibdataManip_la_DEPENDENCIES) 
+	$(LINK)  $(libpslibdataManip_la_LDFLAGS) $(libpslibdataManip_la_OBJECTS) $(libpslibdataManip_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+
+distclean-compile:
+	-rm -f *.tab.c
+
+include ./$(DEPDIR)/psFunctions.Plo
+include ./$(DEPDIR)/psMatrix.Plo
+include ./$(DEPDIR)/psMatrixVectorArithmetic.Plo
+include ./$(DEPDIR)/psMinimize.Plo
+include ./$(DEPDIR)/psRandom.Plo
+include ./$(DEPDIR)/psStats.Plo
+include ./$(DEPDIR)/psVectorFFT.Plo
+
+.c.o:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c $<
+
+.c.obj:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(LTCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+install-pslibincludeHEADERS: $(pslibinclude_HEADERS)
+	@$(NORMAL_INSTALL)
+	test -z "$(pslibincludedir)" || $(mkdir_p) "$(DESTDIR)$(pslibincludedir)"
+	@list='$(pslibinclude_HEADERS)'; for p in $$list; do \
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+	  f=$(am__strip_dir) \
+	  echo " $(pslibincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pslibincludedir)/$$f'"; \
+	  $(pslibincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pslibincludedir)/$$f"; \
+	done
+
+uninstall-pslibincludeHEADERS:
+	@$(NORMAL_UNINSTALL)
+	@list='$(pslibinclude_HEADERS)'; for p in $$list; do \
+	  f=$(am__strip_dir) \
+	  echo " rm -f '$(DESTDIR)$(pslibincludedir)/$$f'"; \
+	  rm -f "$(DESTDIR)$(pslibincludedir)/$$f"; \
+	done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+tags: TAGS
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) check-am
+all-am: Makefile $(LTLIBRARIES) $(HEADERS)
+installdirs:
+	for dir in "$(DESTDIR)$(pslibincludedir)"; do \
+	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+	done
+install: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
+	mostlyclean-am
+
+distclean: distclean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-pslibincludeHEADERS
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am uninstall-pslibincludeHEADERS
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+	clean-libtool clean-noinstLTLIBRARIES ctags distclean \
+	distclean-compile distclean-generic distclean-libtool \
+	distclean-tags distdir dvi dvi-am html html-am info info-am \
+	install install-am install-data install-data-am install-exec \
+	install-exec-am install-info install-info-am install-man \
+	install-pslibincludeHEADERS install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+	tags uninstall uninstall-am uninstall-info-am \
+	uninstall-pslibincludeHEADERS
+
 
 psDataManipErrors.h: psDataManipErrors.dat
-	perl ../parseErrorCodes.pl --data=$? $@
-
-# force the creation of a psImage.i for psImage.o (to expand macros).
-psMatrixVectorArithmetic.o: psMatrixVectorArithmetic.i
-
-# Rule to make static library
-
-libpslib.a:     $(OBJS)
-# The ar option -r is to add/replace object and -s is to create
-# a symbol table in the archive
-	$(AR) rcs ../$@ $(OBJS)
-
-# Define PHONY target "install" which will install necessary files
-# XXX: Do the psConstants.h install.
-install: $(TARGET_STATIC)
-	install $(HEADERS) $(includedir)
-	install psConstants.h $(includedir)
-
-
-# Define PHONY target "distclean" which will cleanup the distribution
-distclean:      clean
-	$(RM) ../$(TARGET_STATIC)
-
-# Define PHONY target "clean" which will cleanup the development area
-clean:
-	@echo "    Deleting intermediate files for 'sysUtils'"
-	$(RM) $(OBJS) *.lint $(SRC_OBJS:.o=.i)
-
-cleandep:
-	$(RM) $(OBJS:.o=.d)
-
-%.lint: %.c
-	splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
-
-%.i: %.c
-	$(CC) -E $(CFLAGS) -o $@ $<
-
-makedir/%.o: %.c
-	$(CC) -c $(CFLAGS) -o $@ $<
-
-makedir/%.d: %.c
-	$(CC) -MM $(CFLAGS) $< > $@.tmp
-	sed 's|\($*\)\.o[ :]*|\1.o $@ : |g' $@.tmp > $@
-	$(RM) -f $@.tmp
-
-include $(OBJS:.o=.d)
+	perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: /trunk/psLib/src/dataManip/Makefile.am
===================================================================
--- /trunk/psLib/src/dataManip/Makefile.am	(revision 3115)
+++ /trunk/psLib/src/dataManip/Makefile.am	(revision 3115)
@@ -0,0 +1,38 @@
+#Makefile for dataManip functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibdataManip.la
+
+libpslibdataManip_la_SOURCES = \
+	psStats.c  \
+	psFunctions.c \
+	psMatrix.c \
+	psMatrixVectorArithmetic.c \
+	psVectorFFT.c \
+	psMinimize.c \
+	psRandom.c 
+	   
+BUILT_SOURCES = psDataManipErrors.h
+EXTRA_DIST = psDataManipErrors.dat psDataManipErrors.h
+
+psDataManipErrors.h: psDataManipErrors.dat
+	perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
+
+pslibincludedir = $(includedir)/pslib
+pslibinclude_HEADERS = \
+	psConstants.h \
+	psStats.h  \
+	psFunctions.h \
+	psMatrix.h \
+	psMatrixVectorArithmetic.h \
+	psVectorFFT.h \
+	psMinimize.h \
+	psRandom.h
+ 
Index: /trunk/psLib/src/dataManip/psDataManipErrors.h
===================================================================
--- /trunk/psLib/src/dataManip/psDataManipErrors.h	(revision 3114)
+++ /trunk/psLib/src/dataManip/psDataManipErrors.h	(revision 3115)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-15 01:15:09 $
+ *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -26,6 +26,4 @@
  * DO NOT EDIT THE LINES BETWEEN //~Start and //~End!  ANY CHANGES WILL BE OVERWRITTEN.
  */
-
-#define PS_ERRORNAME_DOMAIN "psLib.dataManip."
 
 //~Start #define PS_ERRORTEXT_$1 "$2"
Index: /trunk/psLib/src/dataManip/psFunctions.c
===================================================================
--- /trunk/psLib/src/dataManip/psFunctions.c	(revision 3114)
+++ /trunk/psLib/src/dataManip/psFunctions.c	(revision 3115)
@@ -7,6 +7,6 @@
  *  polynomials.  It also contains a Gaussian functions.
  *
- *  @version $Revision: 1.85 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-26 20:47:41 $
+ *  @version $Revision: 1.86 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -1202,6 +1202,6 @@
     PS_VECTOR_CHECK_TYPE(x, PS_TYPE_F32, NULL);
 
-    psVector *tmp;
-    psVector *myX;
+    psVector *tmp = NULL;
+    psVector *myX = NULL;
     psS32 i;
 
@@ -1244,7 +1244,7 @@
     PS_VECTOR_CHECK_TYPE(y, PS_TYPE_F32, NULL);
 
-    psVector *tmp;
-    psVector *myX;
-    psVector *myY;
+    psVector *tmp = NULL;
+    psVector *myX = NULL;
+    psVector *myY = NULL;
     psS32 i;
     psS32 vecLen=x->n;
@@ -1302,8 +1302,8 @@
     PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F32, NULL);
 
-    psVector *tmp;
-    psVector *myX;
-    psVector *myY;
-    psVector *myZ;
+    psVector *tmp = NULL;
+    psVector *myX = NULL;
+    psVector *myY = NULL;
+    psVector *myZ = NULL;
     psS32 i;
     psS32 vecLen=x->n;
@@ -1370,9 +1370,9 @@
     PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F32, NULL);
 
-    psVector *tmp;
-    psVector *myW;
-    psVector *myX;
-    psVector *myY;
-    psVector *myZ;
+    psVector *tmp = NULL;
+    psVector *myW = NULL;
+    psVector *myX = NULL;
+    psVector *myY = NULL;
+    psVector *myZ = NULL;
     psS32 i;
     psS32 vecLen=x->n;
@@ -1603,6 +1603,6 @@
     PS_VECTOR_CHECK_TYPE(x, PS_TYPE_F64, NULL);
 
-    psVector *tmp;
-    psVector *myX;
+    psVector *tmp = NULL;
+    psVector *myX = NULL;
     psS32 i;
 
@@ -1648,7 +1648,7 @@
     PS_VECTOR_CHECK_TYPE(y, PS_TYPE_F64, NULL);
 
-    psVector *tmp;
-    psVector *myX;
-    psVector *myY;
+    psVector *tmp = NULL;
+    psVector *myX = NULL;
+    psVector *myY = NULL;
     psS32 i;
     psS32 vecLen=x->n;
@@ -1710,8 +1710,8 @@
     PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F64, NULL);
 
-    psVector *tmp;
-    psVector *myX;
-    psVector *myY;
-    psVector *myZ;
+    psVector *tmp = NULL;
+    psVector *myX = NULL;
+    psVector *myY = NULL;
+    psVector *myZ = NULL;
     psS32 i;
     psS32 vecLen=x->n;
@@ -1782,9 +1782,9 @@
     PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F64, NULL);
 
-    psVector *tmp;
-    psVector *myW;
-    psVector *myX;
-    psVector *myY;
-    psVector *myZ;
+    psVector *tmp = NULL;
+    psVector *myW = NULL;
+    psVector *myX = NULL;
+    psVector *myY = NULL;
+    psVector *myZ = NULL;
     psS32 i;
     psS32 vecLen=x->n;
Index: /trunk/psLib/src/dataManip/psFunctions.h
===================================================================
--- /trunk/psLib/src/dataManip/psFunctions.h	(revision 3114)
+++ /trunk/psLib/src/dataManip/psFunctions.h	(revision 3115)
@@ -12,6 +12,6 @@
 *  @author GLG, MHPCC
 *
-*  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-01-26 20:41:04 $
+*  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-02-03 00:54:10 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -429,6 +429,6 @@
 
 psF32 p_psNRSpline1DEval(psSpline1D *spline,
-                         const psVector* restrict x,
-                         const psVector* restrict y,
+                         const psVector* x,
+                         const psVector* y,
                          psF32 X);
 
Index: /trunk/psLib/src/dataManip/psMinimize.c
===================================================================
--- /trunk/psLib/src/dataManip/psMinimize.c	(revision 3114)
+++ /trunk/psLib/src/dataManip/psMinimize.c	(revision 3115)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.103 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-26 20:47:41 $
+ *  @version $Revision: 1.104 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -96,6 +96,6 @@
 XXX: do an F64 version?
  *****************************************************************************/
-psF32 *CalculateSecondDerivs(const psVector* restrict x,        ///< Ordinates (or NULL to just use the indices)
-                             const psVector* restrict y)        ///< Coordinates
+psF32 *CalculateSecondDerivs(const psVector* x,        ///< Ordinates (or NULL to just use the indices)
+                             const psVector* y)        ///< Coordinates
 {
     psTrace(".psLib.dataManip.CalculateSecondDerivs", 4,
@@ -167,6 +167,6 @@
 /*
 psF32 p_psNRSpline1DEval(psSpline1D *spline,
-                         const psVector* restrict x,
-                         const psVector* restrict y,
+                         const psVector* x,
+                         const psVector* y,
                          psF32 X)
 {
@@ -250,8 +250,8 @@
 XXX: Assumes mySpline->knots is psF32.  Must add psU32 and psF64.
  *****************************************************************************/
-psSpline1D *psVectorFitSpline1D(psSpline1D *mySpline,              ///< The spline which will be generated.
-                                const psVector* restrict x,        ///< Ordinates (or NULL to just use the indices)
-                                const psVector* restrict y,        ///< Coordinates
-                                const psVector* restrict yErr)     ///< Errors in coordinates, or NULL
+psSpline1D *psVectorFitSpline1D(psSpline1D *mySpline,     ///< The spline which will be generated.
+                                const psVector* x,        ///< Ordinates (or NULL to just use the indices)
+                                const psVector* y,        ///< Coordinates
+                                const psVector* yErr)     ///< Errors in coordinates, or NULL
 {
     PS_VECTOR_CHECK_NULL(y, NULL);
@@ -833,7 +833,7 @@
 *****************************************************************************/
 psPolynomial1D *VectorFitPolynomial1DCheby(psPolynomial1D* myPoly,
-        const psVector* restrict x,
-        const psVector* restrict y,
-        const psVector* restrict yErr)
+        const psVector* x,
+        const psVector* y,
+        const psVector* yErr)
 {
     psS32 j;
@@ -911,7 +911,7 @@
  *****************************************************************************/
 psPolynomial1D* VectorFitPolynomial1DOrd(psPolynomial1D* myPoly,
-        const psVector* restrict x,
-        const psVector* restrict y,
-        const psVector* restrict yErr)
+        const psVector* x,
+        const psVector* y,
+        const psVector* yErr)
 {
     psS32 polyOrder = myPoly->n;
@@ -1018,7 +1018,7 @@
  *****************************************************************************/
 psPolynomial1D* psVectorFitPolynomial1D(psPolynomial1D* myPoly,
-                                        const psVector* restrict x,
-                                        const psVector* restrict y,
-                                        const psVector* restrict yErr)
+                                        const psVector* x,
+                                        const psVector* y,
+                                        const psVector* yErr)
 {
     PS_POLY_CHECK_NULL(myPoly, NULL);
Index: /trunk/psLib/src/dataManip/psMinimize.h
===================================================================
--- /trunk/psLib/src/dataManip/psMinimize.h	(revision 3114)
+++ /trunk/psLib/src/dataManip/psMinimize.h	(revision 3115)
@@ -8,6 +8,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-12-22 05:09:32 $
+ *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -65,13 +65,13 @@
 psPolynomial1D* psVectorFitPolynomial1D(
     psPolynomial1D* myPoly,            ///< Polynomial to fit
-    const psVector* restrict x,        ///< Ordinates (or NULL to just use the indices)
-    const psVector* restrict y,        ///< Coordinates
-    const psVector* restrict yErr      ///< Errors in coordinates, or NULL
+    const psVector* x,                 ///< Ordinates (or NULL to just use the indices)
+    const psVector* y,                 ///< Coordinates
+    const psVector* yErr               ///< Errors in coordinates, or NULL
 );
 
-psSpline1D *psVectorFitSpline1D(psSpline1D *mySpline,              ///< The spline which will be generated.
-                                const psVector* restrict x,        ///< Ordinates (or NULL to just use the indices)
-                                const psVector* restrict y,        ///< Coordinates
-                                const psVector* restrict yErr      ///< Errors in coordinates, or NULL
+psSpline1D *psVectorFitSpline1D(psSpline1D *mySpline,     ///< The spline which will be generated.
+                                const psVector* x,        ///< Ordinates (or NULL to just use the indices)
+                                const psVector* y,        ///< Coordinates
+                                const psVector* yErr      ///< Errors in coordinates, or NULL
                                );
 
Index: /trunk/psLib/src/dataManip/psStats.c
===================================================================
--- /trunk/psLib/src/dataManip/psStats.c	(revision 3114)
+++ /trunk/psLib/src/dataManip/psStats.c	(revision 3115)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.111 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-26 20:24:17 $
+ *  @version $Revision: 1.112 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -145,7 +145,7 @@
 this routine sets stats->sampleMean to NAN.
  *****************************************************************************/
-psS32 p_psVectorSampleMean(const psVector* restrict myVector,
-                           const psVector* restrict errors,
-                           const psVector* restrict maskVector,
+psS32 p_psVectorSampleMean(const psVector* myVector,
+                           const psVector* errors,
+                           const psVector* maskVector,
                            psU32 maskVal,
                            psStats* stats)
@@ -283,6 +283,6 @@
 this routine sets stats->max to NAN.
  *****************************************************************************/
-psS32 p_psVectorMax(const psVector* restrict myVector,
-                    const psVector* restrict maskVector,
+psS32 p_psVectorMax(const psVector* myVector,
+                    const psVector* maskVector,
                     psU32 maskVal,
                     psStats* stats)
@@ -348,6 +348,6 @@
 this routine sets stats->min to NAN.
  *****************************************************************************/
-psS32 p_psVectorMin(const psVector* restrict myVector,
-                    const psVector* restrict maskVector,
+psS32 p_psVectorMin(const psVector* myVector,
+                    const psVector* maskVector,
                     psU32 maskVal,
                     psStats* stats)
@@ -414,6 +414,6 @@
 "false".
  *****************************************************************************/
-bool p_psVectorCheckNonEmpty(const psVector* restrict myVector,
-                             const psVector* restrict maskVector,
+bool p_psVectorCheckNonEmpty(const psVector* myVector,
+                             const psVector* maskVector,
                              psU32 maskVal,
                              psStats* stats)
@@ -462,6 +462,6 @@
 range, if specified.
  *****************************************************************************/
-psS32 p_psVectorNValues(const psVector* restrict myVector,
-                        const psVector* restrict maskVector,
+psS32 p_psVectorNValues(const psVector* myVector,
+                        const psVector* maskVector,
                         psU32 maskVal,
                         psStats* stats)
@@ -511,6 +511,6 @@
 XXX: Use static vectors for sort arrays.
  *****************************************************************************/
-bool p_psVectorSampleMedian(const psVector* restrict myVector,
-                            const psVector* restrict maskVector,
+bool p_psVectorSampleMedian(const psVector* myVector,
+                            const psVector* maskVector,
                             psU32 maskVal,
                             psStats* stats)
@@ -701,6 +701,6 @@
     NULL
  *****************************************************************************/
-bool p_psVectorSampleQuartiles(const psVector* restrict myVector,
-                               const psVector* restrict maskVector,
+bool p_psVectorSampleQuartiles(const psVector* myVector,
+                               const psVector* maskVector,
                                psU32 maskVal,
                                psStats* stats)
@@ -787,7 +787,7 @@
  
  *****************************************************************************/
-void p_psVectorSampleStdevOLD(const psVector* restrict myVector,
-                              const psVector* restrict errors,
-                              const psVector* restrict maskVector,
+void p_psVectorSampleStdevOLD(const psVector* myVector,
+                              const psVector* errors,
+                              const psVector* maskVector,
                               psU32 maskVal,
                               psStats* stats)
@@ -881,7 +881,7 @@
  
  *****************************************************************************/
-void p_psVectorSampleStdev(const psVector* restrict myVector,
-                           const psVector* restrict errors,
-                           const psVector* restrict maskVector,
+void p_psVectorSampleStdev(const psVector* myVector,
+                           const psVector* errors,
+                           const psVector* maskVector,
                            psU32 maskVal,
                            psStats* stats)
@@ -896,5 +896,5 @@
     //    psF32 sum1;
     //    psF32 sum2;
-    psF32 errorDivisor;
+    psF32 errorDivisor = 0.0f;
 
     // This procedure requires the mean.  If it has not been already
@@ -1003,7 +1003,7 @@
     -2: warning
  *****************************************************************************/
-psS32 p_psVectorClippedStats(const psVector* restrict myVector,
-                             const psVector* restrict errors,
-                             const psVector* restrict maskVector,
+psS32 p_psVectorClippedStats(const psVector* myVector,
+                             const psVector* errors,
+                             const psVector* maskVector,
                              psU32 maskVal,
                              psStats* stats)
@@ -1331,5 +1331,5 @@
     psPolynomial1D *myPoly = psPolynomial1DAlloc(2, PS_POLYNOMIAL_ORD);
 
-    psF32 tmpFloat;
+    psF32 tmpFloat = 0.0f;
 
     if ((binNum > 0) && (binNum < (yVec->n - 2))) {
@@ -1425,7 +1425,7 @@
 XXX: Check for errors in psLib routines that we call.
 *****************************************************************************/
-psS32 p_psVectorRobustStats(const psVector* restrict myVector,
-                            const psVector* restrict errors,
-                            const psVector* restrict maskVector,
+psS32 p_psVectorRobustStats(const psVector* myVector,
+                            const psVector* errors,
+                            const psVector* maskVector,
                             psU32 maskVal,
                             psStats* stats)
@@ -1820,5 +1820,5 @@
     The histogram structure
  *****************************************************************************/
-psHistogram* psHistogramAllocGeneric(const psVector* restrict bounds)
+psHistogram* psHistogramAllocGeneric(const psVector* bounds)
 {
     PS_VECTOR_CHECK_NULL(bounds, NULL);
@@ -1890,6 +1890,6 @@
     psF32 boxcarRight = boxcarCenter + (boxcarWidth / 2.0);
     psS32 bin;
-    psS32 boxcarLeftBinNum;
-    psS32 boxcarRightBinNum;
+    psS32 boxcarLeftBinNum = 0;
+    psS32 boxcarRightBinNum = 0;
 
     // Determine the left endpoint of the boxcar for the PDF.
@@ -1961,7 +1961,7 @@
  *****************************************************************************/
 psHistogram* psVectorHistogram(psHistogram* out,
-                               const psVector* restrict in,
-                               const psVector* restrict errors,
-                               const psVector* restrict mask,
+                               const psVector* in,
+                               const psVector* errors,
+                               const psVector* mask,
                                psU32 maskVal)
 {
Index: /trunk/psLib/src/dataManip/psStats.h
===================================================================
--- /trunk/psLib/src/dataManip/psStats.h	(revision 3114)
+++ /trunk/psLib/src/dataManip/psStats.h	(revision 3115)
@@ -10,6 +10,6 @@
  *  @author George Gusciora, MHPCC
  *
- *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-12-22 05:09:32 $
+ *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -143,5 +143,5 @@
  */
 psHistogram* psHistogramAllocGeneric(
-    const psVector* restrict bounds    ///< Bounds for the bins
+    const psVector* bounds             ///< Bounds for the bins
 );
 
@@ -156,8 +156,8 @@
 psHistogram* psVectorHistogram(
     psHistogram* out,                  ///< Histogram data
-    const psVector* restrict in,       ///< Vector to analyse
-    const psVector* restrict errors,   ///< Errors
-    const psVector* restrict mask,     ///< Mask dat for input vector
-    psU32 maskVal               ///< Mask value
+    const psVector* in,                ///< Vector to analyse
+    const psVector* errors,            ///< Errors
+    const psVector* mask,              ///< Mask dat for input vector
+    psU32 maskVal                      ///< Mask value
 );
 
Index: /trunk/psLib/src/fileUtils/Makefile
===================================================================
--- /trunk/psLib/src/fileUtils/Makefile	(revision 3114)
+++ /trunk/psLib/src/fileUtils/Makefile	(revision 3115)
@@ -1,60 +1,488 @@
-ifndef prefix
-    export prefix=$(shell cd ../..;pwd)
-endif
-
-TARGET_STATIC  = libpslib.a
-include ../Makefile.Globals
-CFLAGS := $(CFLAGS_RELOC) -I. -I../sysUtils -I../collections -I../dataManip \
-    -I.. -I../image -I../astronomy -DSER7_FILE="\"$(SER7_FILE)\"" -DTAIUTC_FILE="\"$(TAIUTC_FILE)\""
-
-SRC_OBJS = psLookupTable.o \
-	psFits.o
-
-OBJS = $(addprefix makedir/,$(SRC_OBJS))
-
-HEADERS = $(SRC_OBJS:.o=.h)
-
-all: $(TARGET_STATIC)
+# Makefile.in generated by automake 1.9.1 from Makefile.am.
+# src/fileUtils/Makefile.  Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+
+SOURCES = $(libpslibfileUtils_la_SOURCES)
+
+srcdir = .
+top_srcdir = ../..
+
+pkgdatadir = $(datadir)/pslib
+pkglibdir = $(libdir)/pslib
+pkgincludedir = $(includedir)/pslib
+top_builddir = ../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/fileUtils
+DIST_COMMON = $(pslibinclude_HEADERS) $(srcdir)/Makefile.am \
+	$(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+LTLIBRARIES = $(noinst_LTLIBRARIES)
+libpslibfileUtils_la_LIBADD =
+am_libpslibfileUtils_la_OBJECTS = psLookupTable.lo psFits.lo
+libpslibfileUtils_la_OBJECTS = $(am_libpslibfileUtils_la_OBJECTS)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(libpslibfileUtils_la_SOURCES)
+DIST_SOURCES = $(libpslibfileUtils_la_SOURCES)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(pslibincludedir)"
+pslibincludeHEADERS_INSTALL = $(INSTALL_HEADER)
+HEADERS = $(pslibinclude_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE = 
+AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
+AWK = gawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
+CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
+CPP = gcc -E
+CPPFLAGS = 
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+ECHO = echo
+ECHO_C = 
+ECHO_N = -n
+ECHO_T = 
+EGREP = grep -E
+EXEEXT = 
+F77 = g77
+FFLAGS = -fno-second-underscore -O -fno-f2c
+GSL_CONFIG = /usr/bin/gsl-config
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LDFLAGS = 
+LIBOBJS = 
+LIBS = 
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS = 
+MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
+OBJEXT = o
+PACKAGE = pslib
+PACKAGE_BUGREPORT = 
+PACKAGE_NAME = 
+PACKAGE_STRING = 
+PACKAGE_TARNAME = 
+PACKAGE_VERSION = 
+PATH_SEPARATOR = :
+PERL = /usr/bin/perl
+PSLIB_CFLAGS = -I${prefix}/include
+PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
+RANLIB = ranlib
+SET_MAKE = 
+SHELL = /bin/sh
+STRIP = strip
+SWIG = /usr/bin/swig
+VERSION = 1.5
+XML_CONFIG = /usr/bin/xml2-config
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = g77
+ac_ct_RANLIB = ranlib
+ac_ct_STRIP = strip
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE = 
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE = 
+am__include = include
+am__leading_dot = .
+am__quote = 
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias = 
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+datadir = ${prefix}/share
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias = 
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+includedir = ${prefix}/include
+infodir = ${prefix}/info
+install_sh = /home/desonia/panstarrs/psLib/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localstatedir = ${prefix}/var
+mandir = ${prefix}/man
+mkdir_p = mkdir -p --
+oldincludedir = /usr/include
+prefix = /home/desonia/panstarrs/psLib
+program_transform_name = s,x,x,
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+sysconfdir = ${prefix}/etc
+target_alias = 
+
+#Makefile for fileUtils functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibfileUtils.la
+libpslibfileUtils_la_SOURCES = \
+	psLookupTable.c \
+	psFits.c
+
+BUILT_SOURCES = psFileUtilsErrors.h
+EXTRA_DIST = psFileUtilsErrors.dat psFileUtilsErrors.h
+pslibincludedir = $(includedir)/pslib
+pslibinclude_HEADERS = \
+	psLookupTable.h \
+	psFits.h
+
+all: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/fileUtils/Makefile'; \
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu  src/fileUtils/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-noinstLTLIBRARIES:
+	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+	@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
+	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+	  test "$$dir" != "$$p" || dir=.; \
+	  echo "rm -f \"$${dir}/so_locations\""; \
+	  rm -f "$${dir}/so_locations"; \
+	done
+libpslibfileUtils.la: $(libpslibfileUtils_la_OBJECTS) $(libpslibfileUtils_la_DEPENDENCIES) 
+	$(LINK)  $(libpslibfileUtils_la_LDFLAGS) $(libpslibfileUtils_la_OBJECTS) $(libpslibfileUtils_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+
+distclean-compile:
+	-rm -f *.tab.c
+
+include ./$(DEPDIR)/psFits.Plo
+include ./$(DEPDIR)/psLookupTable.Plo
+
+.c.o:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c $<
+
+.c.obj:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(LTCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+install-pslibincludeHEADERS: $(pslibinclude_HEADERS)
+	@$(NORMAL_INSTALL)
+	test -z "$(pslibincludedir)" || $(mkdir_p) "$(DESTDIR)$(pslibincludedir)"
+	@list='$(pslibinclude_HEADERS)'; for p in $$list; do \
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+	  f=$(am__strip_dir) \
+	  echo " $(pslibincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pslibincludedir)/$$f'"; \
+	  $(pslibincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pslibincludedir)/$$f"; \
+	done
+
+uninstall-pslibincludeHEADERS:
+	@$(NORMAL_UNINSTALL)
+	@list='$(pslibinclude_HEADERS)'; for p in $$list; do \
+	  f=$(am__strip_dir) \
+	  echo " rm -f '$(DESTDIR)$(pslibincludedir)/$$f'"; \
+	  rm -f "$(DESTDIR)$(pslibincludedir)/$$f"; \
+	done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+tags: TAGS
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) check-am
+all-am: Makefile $(LTLIBRARIES) $(HEADERS)
+installdirs:
+	for dir in "$(DESTDIR)$(pslibincludedir)"; do \
+	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+	done
+install: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
+	mostlyclean-am
+
+distclean: distclean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-pslibincludeHEADERS
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am uninstall-pslibincludeHEADERS
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+	clean-libtool clean-noinstLTLIBRARIES ctags distclean \
+	distclean-compile distclean-generic distclean-libtool \
+	distclean-tags distdir dvi dvi-am html html-am info info-am \
+	install install-am install-data install-data-am install-exec \
+	install-exec-am install-info install-info-am install-man \
+	install-pslibincludeHEADERS install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+	tags uninstall uninstall-am uninstall-info-am \
+	uninstall-pslibincludeHEADERS
+
 
 psFileUtilsErrors.h: psFileUtilsErrors.dat
-	perl ../parseErrorCodes.pl --data=$? $@
-
-
-# Rule to make static library
-
-libpslib.a:     $(OBJS)
-# The ar option -r is to add/replace object and -s is to create
-# a symbol table in the archive
-	$(AR) rcs ../$@ $(OBJS)
-
-# Define PHONY target "install" which will install necessary files
-install: $(TARGET_STATIC)
-	install $(HEADERS) $(includedir)
-
-# Define PHONY target "distclean" which will cleanup the distribution
-distclean:      clean
-	$(RM) ../$(TARGET_STATIC)
-
-# Define PHONY target "clean" which will cleanup the development area
-clean:
-	@echo "    Deleting intermediate files for 'fileUtils'"
-	$(RM) $(OBJS) *.lint $(SRC_OBJS:.o=.i)
-
-cleandep:
-	$(RM) $(OBJS:.o=.d)
-
-%.lint: %.c
-	splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
-
-%.i: %.c
-	$(CC) -E $(CFLAGS) -o $@ $<
-
-makedir/%.o: %.c
-	$(CC) -c $(CFLAGS) -o $@ $<
-
-makedir/%.d: %.c
-	$(CC) -MM $(CFLAGS) $< > $@.tmp
-	sed 's|\($*\)\.o[ :]*|\1.o $@ : |g' $@.tmp > $@
-	$(RM) -f $@.tmp
-
-include $(OBJS:.o=.d)
+	perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: /trunk/psLib/src/fileUtils/Makefile.am
===================================================================
--- /trunk/psLib/src/fileUtils/Makefile.am	(revision 3115)
+++ /trunk/psLib/src/fileUtils/Makefile.am	(revision 3115)
@@ -0,0 +1,27 @@
+#Makefile for fileUtils functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibfileUtils.la
+
+libpslibfileUtils_la_SOURCES = \
+	psLookupTable.c \
+	psFits.c
+
+BUILT_SOURCES = psFileUtilsErrors.h
+EXTRA_DIST = psFileUtilsErrors.dat psFileUtilsErrors.h
+
+psFileUtilsErrors.h: psFileUtilsErrors.dat
+	perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
+
+pslibincludedir = $(includedir)/pslib
+pslibinclude_HEADERS = \
+	psLookupTable.h \
+	psFits.h
+
Index: /trunk/psLib/src/fileUtils/fileUtils.i
===================================================================
--- /trunk/psLib/src/fileUtils/fileUtils.i	(revision 3115)
+++ /trunk/psLib/src/fileUtils/fileUtils.i	(revision 3115)
@@ -0,0 +1,4 @@
+/* fileUtils headers */
+%include "psFileUtilsErrors.h"
+%include "psFits.h"
+%include "psLookupTable.h"
Index: /trunk/psLib/src/fileUtils/psFileUtilsErrors.h
===================================================================
--- /trunk/psLib/src/fileUtils/psFileUtilsErrors.h	(revision 3114)
+++ /trunk/psLib/src/fileUtils/psFileUtilsErrors.h	(revision 3115)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-18 03:15:03 $
+ *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:11 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -26,6 +26,4 @@
  * DO NOT EDIT THE LINES BETWEEN //~Start and //~End!  ANY CHANGES WILL BE OVERWRITTEN.
  */
-
-#define PS_ERRORNAME_DOMAIN "psLib.astronomy."
 
 //~Start #define PS_ERRORTEXT_$1 "$2"
Index: /trunk/psLib/src/fileUtils/psLookupTable.c
===================================================================
--- /trunk/psLib/src/fileUtils/psLookupTable.c	(revision 3114)
+++ /trunk/psLib/src/fileUtils/psLookupTable.c	(revision 3115)
@@ -7,6 +7,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-12-16 18:53:02 $
+*  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-02-03 00:54:11 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -455,5 +455,5 @@
     psU64 failedLines = 0;
     FILE *fp = NULL;
-    psElemType elemType;
+    psElemType elemType = PS_TYPE_PTR;
     psVector *indexVec = NULL;
     psVector *valuesVec = NULL;
Index: /trunk/psLib/src/image/Makefile
===================================================================
--- /trunk/psLib/src/image/Makefile	(revision 3114)
+++ /trunk/psLib/src/image/Makefile	(revision 3115)
@@ -1,91 +1,505 @@
-###############################################################################
-##
-##  Makefile:   collections
-##
-##  $Revision: 1.6 $  $Name: not supported by cvs2svn $
-##  $Date: 2004-09-11 00:43:54 $
-##
-##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
-###############################################################################
-
-# Define variable prefix to the top level project - psLib
-# This is necessary for definition is Makefile.Globals uses prefix
-
-ifndef prefix
-    export prefix=$(shell cd ../..;pwd)
-endif
-
-# Define the two targets to be built
-
-TARGET_STATIC  = libpslib.a
-
-# Include the make global definitions for the project
-
-include ../Makefile.Globals
-
-# Set CFLAGS used by the implicit rule to compile .c
-
-CFLAGS := $(CFLAGS_RELOC) -I../sysUtils -I../dataManip -I../collections -I..
-
-# Define the source objects
- 
-SRC_OBJS = psImage.o \
-           psImageExtraction.o \
-           psImageIO.o \
-           psImageManip.o \
-           psImageStats.o \
-           psImageFFT.o \
-           psImageConvolve.o 
-
-OBJS = $(addprefix makedir/,$(SRC_OBJS))
-
-HEADERS = $(SRC_OBJS:.o=.h)
-
-# Define PHONY target "all" which will make all the necessary items
-
-all: $(TARGET_STATIC)
+# Makefile.in generated by automake 1.9.1 from Makefile.am.
+# src/image/Makefile.  Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+
+SOURCES = $(libpslibimage_la_SOURCES)
+
+srcdir = .
+top_srcdir = ../..
+
+pkgdatadir = $(datadir)/pslib
+pkglibdir = $(libdir)/pslib
+pkgincludedir = $(includedir)/pslib
+top_builddir = ../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/image
+DIST_COMMON = $(pslibinclude_HEADERS) $(srcdir)/Makefile.am \
+	$(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+LTLIBRARIES = $(noinst_LTLIBRARIES)
+libpslibimage_la_LIBADD =
+am_libpslibimage_la_OBJECTS = psImage.lo psImageExtraction.lo \
+	psImageIO.lo psImageManip.lo psImageStats.lo psImageFFT.lo \
+	psImageConvolve.lo
+libpslibimage_la_OBJECTS = $(am_libpslibimage_la_OBJECTS)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(libpslibimage_la_SOURCES)
+DIST_SOURCES = $(libpslibimage_la_SOURCES)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(pslibincludedir)"
+pslibincludeHEADERS_INSTALL = $(INSTALL_HEADER)
+HEADERS = $(pslibinclude_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE = 
+AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
+AWK = gawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
+CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
+CPP = gcc -E
+CPPFLAGS = 
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+ECHO = echo
+ECHO_C = 
+ECHO_N = -n
+ECHO_T = 
+EGREP = grep -E
+EXEEXT = 
+F77 = g77
+FFLAGS = -fno-second-underscore -O -fno-f2c
+GSL_CONFIG = /usr/bin/gsl-config
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LDFLAGS = 
+LIBOBJS = 
+LIBS = 
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS = 
+MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
+OBJEXT = o
+PACKAGE = pslib
+PACKAGE_BUGREPORT = 
+PACKAGE_NAME = 
+PACKAGE_STRING = 
+PACKAGE_TARNAME = 
+PACKAGE_VERSION = 
+PATH_SEPARATOR = :
+PERL = /usr/bin/perl
+PSLIB_CFLAGS = -I${prefix}/include
+PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
+RANLIB = ranlib
+SET_MAKE = 
+SHELL = /bin/sh
+STRIP = strip
+SWIG = /usr/bin/swig
+VERSION = 1.5
+XML_CONFIG = /usr/bin/xml2-config
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = g77
+ac_ct_RANLIB = ranlib
+ac_ct_STRIP = strip
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE = 
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE = 
+am__include = include
+am__leading_dot = .
+am__quote = 
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias = 
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+datadir = ${prefix}/share
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias = 
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+includedir = ${prefix}/include
+infodir = ${prefix}/info
+install_sh = /home/desonia/panstarrs/psLib/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localstatedir = ${prefix}/var
+mandir = ${prefix}/man
+mkdir_p = mkdir -p --
+oldincludedir = /usr/include
+prefix = /home/desonia/panstarrs/psLib
+program_transform_name = s,x,x,
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+sysconfdir = ${prefix}/etc
+target_alias = 
+
+#Makefile for image functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibimage.la
+libpslibimage_la_SOURCES = \
+	psImage.c \
+	psImageExtraction.c \
+	psImageIO.c \
+	psImageManip.c \
+	psImageStats.c \
+	psImageFFT.c \
+	psImageConvolve.c
+
+BUILT_SOURCES = psImageErrors.h
+EXTRA_DIST = psImageErrors.dat psImageErrors.h
+pslibincludedir = $(includedir)/pslib
+pslibinclude_HEADERS = \
+	psImage.h \
+	psImageExtraction.h \
+	psImageIO.h \
+	psImageManip.h \
+	psImageStats.h \
+	psImageFFT.h \
+	psImageConvolve.h
+
+all: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/image/Makefile'; \
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu  src/image/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-noinstLTLIBRARIES:
+	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+	@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
+	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+	  test "$$dir" != "$$p" || dir=.; \
+	  echo "rm -f \"$${dir}/so_locations\""; \
+	  rm -f "$${dir}/so_locations"; \
+	done
+libpslibimage.la: $(libpslibimage_la_OBJECTS) $(libpslibimage_la_DEPENDENCIES) 
+	$(LINK)  $(libpslibimage_la_LDFLAGS) $(libpslibimage_la_OBJECTS) $(libpslibimage_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+
+distclean-compile:
+	-rm -f *.tab.c
+
+include ./$(DEPDIR)/psImage.Plo
+include ./$(DEPDIR)/psImageConvolve.Plo
+include ./$(DEPDIR)/psImageExtraction.Plo
+include ./$(DEPDIR)/psImageFFT.Plo
+include ./$(DEPDIR)/psImageIO.Plo
+include ./$(DEPDIR)/psImageManip.Plo
+include ./$(DEPDIR)/psImageStats.Plo
+
+.c.o:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c $<
+
+.c.obj:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(LTCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+install-pslibincludeHEADERS: $(pslibinclude_HEADERS)
+	@$(NORMAL_INSTALL)
+	test -z "$(pslibincludedir)" || $(mkdir_p) "$(DESTDIR)$(pslibincludedir)"
+	@list='$(pslibinclude_HEADERS)'; for p in $$list; do \
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+	  f=$(am__strip_dir) \
+	  echo " $(pslibincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pslibincludedir)/$$f'"; \
+	  $(pslibincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pslibincludedir)/$$f"; \
+	done
+
+uninstall-pslibincludeHEADERS:
+	@$(NORMAL_UNINSTALL)
+	@list='$(pslibinclude_HEADERS)'; for p in $$list; do \
+	  f=$(am__strip_dir) \
+	  echo " rm -f '$(DESTDIR)$(pslibincludedir)/$$f'"; \
+	  rm -f "$(DESTDIR)$(pslibincludedir)/$$f"; \
+	done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+tags: TAGS
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) check-am
+all-am: Makefile $(LTLIBRARIES) $(HEADERS)
+installdirs:
+	for dir in "$(DESTDIR)$(pslibincludedir)"; do \
+	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+	done
+install: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
+	mostlyclean-am
+
+distclean: distclean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-pslibincludeHEADERS
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am uninstall-pslibincludeHEADERS
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+	clean-libtool clean-noinstLTLIBRARIES ctags distclean \
+	distclean-compile distclean-generic distclean-libtool \
+	distclean-tags distdir dvi dvi-am html html-am info info-am \
+	install install-am install-data install-data-am install-exec \
+	install-exec-am install-info install-info-am install-man \
+	install-pslibincludeHEADERS install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+	tags uninstall uninstall-am uninstall-info-am \
+	uninstall-pslibincludeHEADERS
+
 
 psImageErrors.h: psImageErrors.dat
-	perl ../parseErrorCodes.pl --data=$? $@
-
-# Rule to make static library
-
-libpslib.a: $(OBJS)
-# The ar option -r is to add/replace object and -s is to create
-# a symbol table in the archive
-	$(AR) rcs ../$@ $(OBJS)
-
-# Define PHONY target "install" which will install necessary files
-
-install: $(TARGET_STATIC)
-	install $(HEADERS) $(includedir)
-
-# Define PHONY target "distclean" which will cleanup the distribution
-
-distclean:	clean
-	$(RM) ../$(TARGET_STATIC)
-
-# Define PHONY target "clean" which will cleanup the development area
-
-clean:
-	@echo "    Deleting intermediate files for 'collections'"
-	$(RM) $(OBJS) *.lint $(SRC_OBJS:.o=.i)
-
-cleandep:
-	$(RM) $(OBJS:.o=.d)
-
-%.lint: %.c
-	splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
-
-%.i: %.c
-	$(CC) -E $(CFLAGS) -o $@ $<
-
-makedir/%.o: %.c
-	$(CC) -c $(CFLAGS) -o $@ $<
-
-makedir/%.d: %.c
-	$(CC) -MM $(CFLAGS) $< > $@.tmp
-	sed 's|\($*\)\.o[ :]*|\1.o $@ : |g' $@.tmp > $@
-	$(RM) -f $@.tmp
-
-include $(OBJS:.o=.d)
+	perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: /trunk/psLib/src/image/Makefile.am
===================================================================
--- /trunk/psLib/src/image/Makefile.am	(revision 3115)
+++ /trunk/psLib/src/image/Makefile.am	(revision 3115)
@@ -0,0 +1,36 @@
+#Makefile for image functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibimage.la
+
+libpslibimage_la_SOURCES = \
+	psImage.c \
+	psImageExtraction.c \
+	psImageIO.c \
+	psImageManip.c \
+	psImageStats.c \
+	psImageFFT.c \
+	psImageConvolve.c
+
+BUILT_SOURCES = psImageErrors.h
+EXTRA_DIST = psImageErrors.dat psImageErrors.h
+
+psImageErrors.h: psImageErrors.dat
+	perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
+
+pslibincludedir = $(includedir)/pslib
+pslibinclude_HEADERS = \
+	psImage.h \
+	psImageExtraction.h \
+	psImageIO.h \
+	psImageManip.h \
+	psImageStats.h \
+	psImageFFT.h \
+	psImageConvolve.h
Index: /trunk/psLib/src/image/image.i
===================================================================
--- /trunk/psLib/src/image/image.i	(revision 3115)
+++ /trunk/psLib/src/image/image.i	(revision 3115)
@@ -0,0 +1,10 @@
+/* image headers */
+%include "psImageConvolve.h"
+%include "psImageErrors.h"
+%include "psImageExtraction.h"
+%include "psImageFFT.h"
+%include "psImage.h"
+%include "psImageIO.h"
+%include "psImageManip.h"
+%include "psImageStats.h"
+
Index: /trunk/psLib/src/image/psImage.c
===================================================================
--- /trunk/psLib/src/image/psImage.c	(revision 3114)
+++ /trunk/psLib/src/image/psImage.c	(revision 3115)
@@ -9,6 +9,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.57 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-13 03:26:23 $
+ *  @version $Revision: 1.58 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:11 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -568,8 +568,8 @@
     psS32 lastX = input->numCols - 1; \
     psS32 lastY = input->numRows - 1; \
-    ps##TYPE V00; \
-    ps##TYPE V01; \
-    ps##TYPE V10; \
-    ps##TYPE V11; \
+    ps##TYPE V00 = 0; \
+    ps##TYPE V01 = 0; \
+    ps##TYPE V10 = 0; \
+    ps##TYPE V11 = 0; \
     psBool valid00 = false; \
     psBool valid01 = false; \
@@ -611,5 +611,5 @@
     /* OK, at least one pixel is not valid - need to do it piecemeal */ \
     \
-    psF64 V0; \
+    psF64 V0 = 0.0; \
     psBool valid0 = true; \
     if (valid00 && valid10) { \
@@ -623,5 +623,5 @@
     } \
     \
-    psF64 V1; \
+    psF64 V1 = 0.0; \
     psBool valid1 = true; \
     if (valid01 && valid11) { \
@@ -662,8 +662,8 @@
     psS32 lastX = input->numCols - 1; \
     psS32 lastY = input->numRows - 1; \
-    ps##TYPE V00; \
-    ps##TYPE V01; \
-    ps##TYPE V10; \
-    ps##TYPE V11; \
+    ps##TYPE V00 = 0; \
+    ps##TYPE V01 = 0; \
+    ps##TYPE V10 = 0; \
+    ps##TYPE V11 = 0; \
     psBool valid00 = false; \
     psBool valid01 = false; \
@@ -705,5 +705,5 @@
     /* OK, at least one pixel is not valid - need to do it piecemeal */ \
     \
-    psC64 V0; \
+    psC64 V0 = 0; \
     psBool valid0 = true; \
     if (valid00 && valid10) { \
@@ -717,5 +717,5 @@
     } \
     \
-    psC64 V1; \
+    psC64 V1 = 0; \
     psBool valid1 = true; \
     if (valid01 && valid11) { \
Index: /trunk/psLib/src/image/psImage.h
===================================================================
--- /trunk/psLib/src/image/psImage.h	(revision 3114)
+++ /trunk/psLib/src/image/psImage.h	(revision 3115)
@@ -11,6 +11,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.45 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-13 03:26:23 $
+ *  @version $Revision: 1.46 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:11 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -157,5 +157,5 @@
  */
 psImage* psImageCopy(
-    psImage* restrict output,          ///< if not NULL, a psImage that could be recycled.
+    psImage* output,                   ///< if not NULL, a psImage that could be recycled.
     const psImage* input,              ///< the psImage to copy
     psElemType type                    ///< the desired datatype of the returned copy
@@ -221,5 +221,5 @@
         psC64 unexposedValue           /**< return value if x,y location is not in image. */ \
                                                      );
-
+#ifndef SWIG
 p_psImagePixelInterpolateFcns(U8)
 p_psImagePixelInterpolateFcns(U16)
@@ -234,4 +234,5 @@
 p_psImagePixelInterpolateComplexFcns(C32)
 p_psImagePixelInterpolateComplexFcns(C64)
+#endif
 
 /// @}
Index: /trunk/psLib/src/image/psImageErrors.h
===================================================================
--- /trunk/psLib/src/image/psImageErrors.h	(revision 3114)
+++ /trunk/psLib/src/image/psImageErrors.h	(revision 3115)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-04 02:34:57 $
+ *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:11 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -26,6 +26,4 @@
  * DO NOT EDIT THE LINES BETWEEN //~Start and //~End!  ANY CHANGES WILL BE OVERWRITTEN.
  */
-
-#define PS_ERRORNAME_DOMAIN "psLib.image."
 
 //~Start #define PS_ERRORTEXT_$1 "$2"
Index: /trunk/psLib/src/image/psImageExtraction.h
===================================================================
--- /trunk/psLib/src/image/psImageExtraction.h	(revision 3114)
+++ /trunk/psLib/src/image/psImageExtraction.h	(revision 3115)
@@ -10,6 +10,6 @@
 *  @author Robert DeSonia, MHPCC
 *
-*  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-10-27 00:57:31 $
+*  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-02-03 00:54:11 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -128,11 +128,11 @@
     ///< coorsponding to the output vector's value of the same position in the
     ///< vector.  This vector maybe resized and retyped as appropriate.
-    const psImage* restrict input,     ///< the input image in which to perform the slice
-    const psImage* restrict mask,      ///< the mask for the input image.
-    psU32 maskVal,              ///< the mask value to apply to the mask
-    psS32 col0,                          ///< the leftmost column of the slice region
-    psS32 row0,                          ///< the bottommost row of the slice region
-    psS32 col1,                          ///< exclusive end column of the slice region
-    psS32 row1,                           ///< exclusive end row of the slice region
+    const psImage* input,              ///< the input image in which to perform the slice
+    const psImage* mask,               ///< the mask for the input image.
+    psU32 maskVal,                     ///< the mask value to apply to the mask
+    psS32 col0,                        ///< the leftmost column of the slice region
+    psS32 row0,                        ///< the bottommost row of the slice region
+    psS32 col1,                        ///< exclusive end column of the slice region
+    psS32 row1,                        ///< exclusive end row of the slice region
     psImageCutDirection direction,     ///< the slice dimension and direction
     const psStats* stats               ///< the statistic to perform in slice operation
@@ -160,11 +160,11 @@
     psVector* cutRows,                 ///< if not NULL, the calculated row values along the slice (output)
     const psImage* input,              ///< the input image in which to perform the cut
-    const psImage* restrict mask,      ///< the mask for the input image.
-    psU32 maskVal,              ///< the mask value to apply to the mask
+    const psImage* mask,               ///< the mask for the input image.
+    psU32 maskVal,                     ///< the mask value to apply to the mask
     float startCol,                    ///< the column of the start of the cut line
     float startRow,                    ///< the row of the start of the cut line
     float endCol,                      ///< the column of the end of the cut line
     float endRow,                      ///< the row of the end of the cut line
-    psU32 nSamples,             ///< the number of samples along the cut
+    psU32 nSamples,                    ///< the number of samples along the cut
     psImageInterpolateMode mode        ///< the interpolation method to use
 );
@@ -186,6 +186,6 @@
     psVector* out,                     ///< psVector to recycle, or NULL.
     const psImage* input,              ///< the input image in which to perform the cut
-    const psImage* restrict mask,      ///< the mask for the input image.
-    psU32 maskVal,              ///< the mask value to apply to the mask
+    const psImage* mask,               ///< the mask for the input image.
+    psU32 maskVal,                     ///< the mask value to apply to the mask
     float centerCol,                   ///< the column of the center of the cut circle
     float centerRow,                   ///< the row of the center of the cut circle
Index: /trunk/psLib/src/image/psImageManip.h
===================================================================
--- /trunk/psLib/src/image/psImageManip.h	(revision 3114)
+++ /trunk/psLib/src/image/psImageManip.h	(revision 3115)
@@ -11,6 +11,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-03 21:58:53 $
+ *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:11 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -101,5 +101,5 @@
     psImage* out,                      ///< an psImage to recycle.  If NULL, a new image is created
     const psImage* in,                 ///< input image
-    const psImage* restrict mask,      ///< mask for input image.  If NULL, no masking is done.
+    const psImage* mask,               ///< mask for input image.  If NULL, no masking is done.
     psMaskType maskVal,                ///< the bits to check in mask.
     psU32 scale,                       ///< the scale to rebin for each dimension
Index: /trunk/psLib/src/image/psImageStats.c
===================================================================
--- /trunk/psLib/src/image/psImageStats.c	(revision 3114)
+++ /trunk/psLib/src/image/psImageStats.c	(revision 3115)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.63 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-17 23:25:10 $
+ *  @version $Revision: 1.64 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:11 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -245,5 +245,5 @@
             for (x = 0; x < input->numRows; x++) {
                 for (y = 0; y < input->numCols; y++) {
-                    double pixel;
+                    double pixel = 0.0;
                     if (input->type.type == PS_TYPE_S8) {
                         pixel = (double) input->data.S8[x][y];
Index: /trunk/psLib/src/imageops/psImageStats.c
===================================================================
--- /trunk/psLib/src/imageops/psImageStats.c	(revision 3114)
+++ /trunk/psLib/src/imageops/psImageStats.c	(revision 3115)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.63 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-17 23:25:10 $
+ *  @version $Revision: 1.64 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:11 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -245,5 +245,5 @@
             for (x = 0; x < input->numRows; x++) {
                 for (y = 0; y < input->numCols; y++) {
-                    double pixel;
+                    double pixel = 0.0;
                     if (input->type.type == PS_TYPE_S8) {
                         pixel = (double) input->data.S8[x][y];
Index: /trunk/psLib/src/math/psMinimize.c
===================================================================
--- /trunk/psLib/src/math/psMinimize.c	(revision 3114)
+++ /trunk/psLib/src/math/psMinimize.c	(revision 3115)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.103 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-26 20:47:41 $
+ *  @version $Revision: 1.104 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -96,6 +96,6 @@
 XXX: do an F64 version?
  *****************************************************************************/
-psF32 *CalculateSecondDerivs(const psVector* restrict x,        ///< Ordinates (or NULL to just use the indices)
-                             const psVector* restrict y)        ///< Coordinates
+psF32 *CalculateSecondDerivs(const psVector* x,        ///< Ordinates (or NULL to just use the indices)
+                             const psVector* y)        ///< Coordinates
 {
     psTrace(".psLib.dataManip.CalculateSecondDerivs", 4,
@@ -167,6 +167,6 @@
 /*
 psF32 p_psNRSpline1DEval(psSpline1D *spline,
-                         const psVector* restrict x,
-                         const psVector* restrict y,
+                         const psVector* x,
+                         const psVector* y,
                          psF32 X)
 {
@@ -250,8 +250,8 @@
 XXX: Assumes mySpline->knots is psF32.  Must add psU32 and psF64.
  *****************************************************************************/
-psSpline1D *psVectorFitSpline1D(psSpline1D *mySpline,              ///< The spline which will be generated.
-                                const psVector* restrict x,        ///< Ordinates (or NULL to just use the indices)
-                                const psVector* restrict y,        ///< Coordinates
-                                const psVector* restrict yErr)     ///< Errors in coordinates, or NULL
+psSpline1D *psVectorFitSpline1D(psSpline1D *mySpline,     ///< The spline which will be generated.
+                                const psVector* x,        ///< Ordinates (or NULL to just use the indices)
+                                const psVector* y,        ///< Coordinates
+                                const psVector* yErr)     ///< Errors in coordinates, or NULL
 {
     PS_VECTOR_CHECK_NULL(y, NULL);
@@ -833,7 +833,7 @@
 *****************************************************************************/
 psPolynomial1D *VectorFitPolynomial1DCheby(psPolynomial1D* myPoly,
-        const psVector* restrict x,
-        const psVector* restrict y,
-        const psVector* restrict yErr)
+        const psVector* x,
+        const psVector* y,
+        const psVector* yErr)
 {
     psS32 j;
@@ -911,7 +911,7 @@
  *****************************************************************************/
 psPolynomial1D* VectorFitPolynomial1DOrd(psPolynomial1D* myPoly,
-        const psVector* restrict x,
-        const psVector* restrict y,
-        const psVector* restrict yErr)
+        const psVector* x,
+        const psVector* y,
+        const psVector* yErr)
 {
     psS32 polyOrder = myPoly->n;
@@ -1018,7 +1018,7 @@
  *****************************************************************************/
 psPolynomial1D* psVectorFitPolynomial1D(psPolynomial1D* myPoly,
-                                        const psVector* restrict x,
-                                        const psVector* restrict y,
-                                        const psVector* restrict yErr)
+                                        const psVector* x,
+                                        const psVector* y,
+                                        const psVector* yErr)
 {
     PS_POLY_CHECK_NULL(myPoly, NULL);
Index: /trunk/psLib/src/math/psMinimize.h
===================================================================
--- /trunk/psLib/src/math/psMinimize.h	(revision 3114)
+++ /trunk/psLib/src/math/psMinimize.h	(revision 3115)
@@ -8,6 +8,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-12-22 05:09:32 $
+ *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -65,13 +65,13 @@
 psPolynomial1D* psVectorFitPolynomial1D(
     psPolynomial1D* myPoly,            ///< Polynomial to fit
-    const psVector* restrict x,        ///< Ordinates (or NULL to just use the indices)
-    const psVector* restrict y,        ///< Coordinates
-    const psVector* restrict yErr      ///< Errors in coordinates, or NULL
+    const psVector* x,                 ///< Ordinates (or NULL to just use the indices)
+    const psVector* y,                 ///< Coordinates
+    const psVector* yErr               ///< Errors in coordinates, or NULL
 );
 
-psSpline1D *psVectorFitSpline1D(psSpline1D *mySpline,              ///< The spline which will be generated.
-                                const psVector* restrict x,        ///< Ordinates (or NULL to just use the indices)
-                                const psVector* restrict y,        ///< Coordinates
-                                const psVector* restrict yErr      ///< Errors in coordinates, or NULL
+psSpline1D *psVectorFitSpline1D(psSpline1D *mySpline,     ///< The spline which will be generated.
+                                const psVector* x,        ///< Ordinates (or NULL to just use the indices)
+                                const psVector* y,        ///< Coordinates
+                                const psVector* yErr      ///< Errors in coordinates, or NULL
                                );
 
Index: /trunk/psLib/src/math/psPolynomial.c
===================================================================
--- /trunk/psLib/src/math/psPolynomial.c	(revision 3114)
+++ /trunk/psLib/src/math/psPolynomial.c	(revision 3115)
@@ -7,6 +7,6 @@
  *  polynomials.  It also contains a Gaussian functions.
  *
- *  @version $Revision: 1.85 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-26 20:47:41 $
+ *  @version $Revision: 1.86 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -1202,6 +1202,6 @@
     PS_VECTOR_CHECK_TYPE(x, PS_TYPE_F32, NULL);
 
-    psVector *tmp;
-    psVector *myX;
+    psVector *tmp = NULL;
+    psVector *myX = NULL;
     psS32 i;
 
@@ -1244,7 +1244,7 @@
     PS_VECTOR_CHECK_TYPE(y, PS_TYPE_F32, NULL);
 
-    psVector *tmp;
-    psVector *myX;
-    psVector *myY;
+    psVector *tmp = NULL;
+    psVector *myX = NULL;
+    psVector *myY = NULL;
     psS32 i;
     psS32 vecLen=x->n;
@@ -1302,8 +1302,8 @@
     PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F32, NULL);
 
-    psVector *tmp;
-    psVector *myX;
-    psVector *myY;
-    psVector *myZ;
+    psVector *tmp = NULL;
+    psVector *myX = NULL;
+    psVector *myY = NULL;
+    psVector *myZ = NULL;
     psS32 i;
     psS32 vecLen=x->n;
@@ -1370,9 +1370,9 @@
     PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F32, NULL);
 
-    psVector *tmp;
-    psVector *myW;
-    psVector *myX;
-    psVector *myY;
-    psVector *myZ;
+    psVector *tmp = NULL;
+    psVector *myW = NULL;
+    psVector *myX = NULL;
+    psVector *myY = NULL;
+    psVector *myZ = NULL;
     psS32 i;
     psS32 vecLen=x->n;
@@ -1603,6 +1603,6 @@
     PS_VECTOR_CHECK_TYPE(x, PS_TYPE_F64, NULL);
 
-    psVector *tmp;
-    psVector *myX;
+    psVector *tmp = NULL;
+    psVector *myX = NULL;
     psS32 i;
 
@@ -1648,7 +1648,7 @@
     PS_VECTOR_CHECK_TYPE(y, PS_TYPE_F64, NULL);
 
-    psVector *tmp;
-    psVector *myX;
-    psVector *myY;
+    psVector *tmp = NULL;
+    psVector *myX = NULL;
+    psVector *myY = NULL;
     psS32 i;
     psS32 vecLen=x->n;
@@ -1710,8 +1710,8 @@
     PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F64, NULL);
 
-    psVector *tmp;
-    psVector *myX;
-    psVector *myY;
-    psVector *myZ;
+    psVector *tmp = NULL;
+    psVector *myX = NULL;
+    psVector *myY = NULL;
+    psVector *myZ = NULL;
     psS32 i;
     psS32 vecLen=x->n;
@@ -1782,9 +1782,9 @@
     PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F64, NULL);
 
-    psVector *tmp;
-    psVector *myW;
-    psVector *myX;
-    psVector *myY;
-    psVector *myZ;
+    psVector *tmp = NULL;
+    psVector *myW = NULL;
+    psVector *myX = NULL;
+    psVector *myY = NULL;
+    psVector *myZ = NULL;
     psS32 i;
     psS32 vecLen=x->n;
Index: /trunk/psLib/src/math/psPolynomial.h
===================================================================
--- /trunk/psLib/src/math/psPolynomial.h	(revision 3114)
+++ /trunk/psLib/src/math/psPolynomial.h	(revision 3115)
@@ -12,6 +12,6 @@
 *  @author GLG, MHPCC
 *
-*  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-01-26 20:41:04 $
+*  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-02-03 00:54:10 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -429,6 +429,6 @@
 
 psF32 p_psNRSpline1DEval(psSpline1D *spline,
-                         const psVector* restrict x,
-                         const psVector* restrict y,
+                         const psVector* x,
+                         const psVector* y,
                          psF32 X);
 
Index: /trunk/psLib/src/math/psSpline.c
===================================================================
--- /trunk/psLib/src/math/psSpline.c	(revision 3114)
+++ /trunk/psLib/src/math/psSpline.c	(revision 3115)
@@ -7,6 +7,6 @@
  *  polynomials.  It also contains a Gaussian functions.
  *
- *  @version $Revision: 1.85 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-26 20:47:41 $
+ *  @version $Revision: 1.86 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -1202,6 +1202,6 @@
     PS_VECTOR_CHECK_TYPE(x, PS_TYPE_F32, NULL);
 
-    psVector *tmp;
-    psVector *myX;
+    psVector *tmp = NULL;
+    psVector *myX = NULL;
     psS32 i;
 
@@ -1244,7 +1244,7 @@
     PS_VECTOR_CHECK_TYPE(y, PS_TYPE_F32, NULL);
 
-    psVector *tmp;
-    psVector *myX;
-    psVector *myY;
+    psVector *tmp = NULL;
+    psVector *myX = NULL;
+    psVector *myY = NULL;
     psS32 i;
     psS32 vecLen=x->n;
@@ -1302,8 +1302,8 @@
     PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F32, NULL);
 
-    psVector *tmp;
-    psVector *myX;
-    psVector *myY;
-    psVector *myZ;
+    psVector *tmp = NULL;
+    psVector *myX = NULL;
+    psVector *myY = NULL;
+    psVector *myZ = NULL;
     psS32 i;
     psS32 vecLen=x->n;
@@ -1370,9 +1370,9 @@
     PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F32, NULL);
 
-    psVector *tmp;
-    psVector *myW;
-    psVector *myX;
-    psVector *myY;
-    psVector *myZ;
+    psVector *tmp = NULL;
+    psVector *myW = NULL;
+    psVector *myX = NULL;
+    psVector *myY = NULL;
+    psVector *myZ = NULL;
     psS32 i;
     psS32 vecLen=x->n;
@@ -1603,6 +1603,6 @@
     PS_VECTOR_CHECK_TYPE(x, PS_TYPE_F64, NULL);
 
-    psVector *tmp;
-    psVector *myX;
+    psVector *tmp = NULL;
+    psVector *myX = NULL;
     psS32 i;
 
@@ -1648,7 +1648,7 @@
     PS_VECTOR_CHECK_TYPE(y, PS_TYPE_F64, NULL);
 
-    psVector *tmp;
-    psVector *myX;
-    psVector *myY;
+    psVector *tmp = NULL;
+    psVector *myX = NULL;
+    psVector *myY = NULL;
     psS32 i;
     psS32 vecLen=x->n;
@@ -1710,8 +1710,8 @@
     PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F64, NULL);
 
-    psVector *tmp;
-    psVector *myX;
-    psVector *myY;
-    psVector *myZ;
+    psVector *tmp = NULL;
+    psVector *myX = NULL;
+    psVector *myY = NULL;
+    psVector *myZ = NULL;
     psS32 i;
     psS32 vecLen=x->n;
@@ -1782,9 +1782,9 @@
     PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F64, NULL);
 
-    psVector *tmp;
-    psVector *myW;
-    psVector *myX;
-    psVector *myY;
-    psVector *myZ;
+    psVector *tmp = NULL;
+    psVector *myW = NULL;
+    psVector *myX = NULL;
+    psVector *myY = NULL;
+    psVector *myZ = NULL;
     psS32 i;
     psS32 vecLen=x->n;
Index: /trunk/psLib/src/math/psSpline.h
===================================================================
--- /trunk/psLib/src/math/psSpline.h	(revision 3114)
+++ /trunk/psLib/src/math/psSpline.h	(revision 3115)
@@ -12,6 +12,6 @@
 *  @author GLG, MHPCC
 *
-*  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-01-26 20:41:04 $
+*  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-02-03 00:54:10 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -429,6 +429,6 @@
 
 psF32 p_psNRSpline1DEval(psSpline1D *spline,
-                         const psVector* restrict x,
-                         const psVector* restrict y,
+                         const psVector* x,
+                         const psVector* y,
                          psF32 X);
 
Index: /trunk/psLib/src/math/psStats.c
===================================================================
--- /trunk/psLib/src/math/psStats.c	(revision 3114)
+++ /trunk/psLib/src/math/psStats.c	(revision 3115)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.111 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-26 20:24:17 $
+ *  @version $Revision: 1.112 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -145,7 +145,7 @@
 this routine sets stats->sampleMean to NAN.
  *****************************************************************************/
-psS32 p_psVectorSampleMean(const psVector* restrict myVector,
-                           const psVector* restrict errors,
-                           const psVector* restrict maskVector,
+psS32 p_psVectorSampleMean(const psVector* myVector,
+                           const psVector* errors,
+                           const psVector* maskVector,
                            psU32 maskVal,
                            psStats* stats)
@@ -283,6 +283,6 @@
 this routine sets stats->max to NAN.
  *****************************************************************************/
-psS32 p_psVectorMax(const psVector* restrict myVector,
-                    const psVector* restrict maskVector,
+psS32 p_psVectorMax(const psVector* myVector,
+                    const psVector* maskVector,
                     psU32 maskVal,
                     psStats* stats)
@@ -348,6 +348,6 @@
 this routine sets stats->min to NAN.
  *****************************************************************************/
-psS32 p_psVectorMin(const psVector* restrict myVector,
-                    const psVector* restrict maskVector,
+psS32 p_psVectorMin(const psVector* myVector,
+                    const psVector* maskVector,
                     psU32 maskVal,
                     psStats* stats)
@@ -414,6 +414,6 @@
 "false".
  *****************************************************************************/
-bool p_psVectorCheckNonEmpty(const psVector* restrict myVector,
-                             const psVector* restrict maskVector,
+bool p_psVectorCheckNonEmpty(const psVector* myVector,
+                             const psVector* maskVector,
                              psU32 maskVal,
                              psStats* stats)
@@ -462,6 +462,6 @@
 range, if specified.
  *****************************************************************************/
-psS32 p_psVectorNValues(const psVector* restrict myVector,
-                        const psVector* restrict maskVector,
+psS32 p_psVectorNValues(const psVector* myVector,
+                        const psVector* maskVector,
                         psU32 maskVal,
                         psStats* stats)
@@ -511,6 +511,6 @@
 XXX: Use static vectors for sort arrays.
  *****************************************************************************/
-bool p_psVectorSampleMedian(const psVector* restrict myVector,
-                            const psVector* restrict maskVector,
+bool p_psVectorSampleMedian(const psVector* myVector,
+                            const psVector* maskVector,
                             psU32 maskVal,
                             psStats* stats)
@@ -701,6 +701,6 @@
     NULL
  *****************************************************************************/
-bool p_psVectorSampleQuartiles(const psVector* restrict myVector,
-                               const psVector* restrict maskVector,
+bool p_psVectorSampleQuartiles(const psVector* myVector,
+                               const psVector* maskVector,
                                psU32 maskVal,
                                psStats* stats)
@@ -787,7 +787,7 @@
  
  *****************************************************************************/
-void p_psVectorSampleStdevOLD(const psVector* restrict myVector,
-                              const psVector* restrict errors,
-                              const psVector* restrict maskVector,
+void p_psVectorSampleStdevOLD(const psVector* myVector,
+                              const psVector* errors,
+                              const psVector* maskVector,
                               psU32 maskVal,
                               psStats* stats)
@@ -881,7 +881,7 @@
  
  *****************************************************************************/
-void p_psVectorSampleStdev(const psVector* restrict myVector,
-                           const psVector* restrict errors,
-                           const psVector* restrict maskVector,
+void p_psVectorSampleStdev(const psVector* myVector,
+                           const psVector* errors,
+                           const psVector* maskVector,
                            psU32 maskVal,
                            psStats* stats)
@@ -896,5 +896,5 @@
     //    psF32 sum1;
     //    psF32 sum2;
-    psF32 errorDivisor;
+    psF32 errorDivisor = 0.0f;
 
     // This procedure requires the mean.  If it has not been already
@@ -1003,7 +1003,7 @@
     -2: warning
  *****************************************************************************/
-psS32 p_psVectorClippedStats(const psVector* restrict myVector,
-                             const psVector* restrict errors,
-                             const psVector* restrict maskVector,
+psS32 p_psVectorClippedStats(const psVector* myVector,
+                             const psVector* errors,
+                             const psVector* maskVector,
                              psU32 maskVal,
                              psStats* stats)
@@ -1331,5 +1331,5 @@
     psPolynomial1D *myPoly = psPolynomial1DAlloc(2, PS_POLYNOMIAL_ORD);
 
-    psF32 tmpFloat;
+    psF32 tmpFloat = 0.0f;
 
     if ((binNum > 0) && (binNum < (yVec->n - 2))) {
@@ -1425,7 +1425,7 @@
 XXX: Check for errors in psLib routines that we call.
 *****************************************************************************/
-psS32 p_psVectorRobustStats(const psVector* restrict myVector,
-                            const psVector* restrict errors,
-                            const psVector* restrict maskVector,
+psS32 p_psVectorRobustStats(const psVector* myVector,
+                            const psVector* errors,
+                            const psVector* maskVector,
                             psU32 maskVal,
                             psStats* stats)
@@ -1820,5 +1820,5 @@
     The histogram structure
  *****************************************************************************/
-psHistogram* psHistogramAllocGeneric(const psVector* restrict bounds)
+psHistogram* psHistogramAllocGeneric(const psVector* bounds)
 {
     PS_VECTOR_CHECK_NULL(bounds, NULL);
@@ -1890,6 +1890,6 @@
     psF32 boxcarRight = boxcarCenter + (boxcarWidth / 2.0);
     psS32 bin;
-    psS32 boxcarLeftBinNum;
-    psS32 boxcarRightBinNum;
+    psS32 boxcarLeftBinNum = 0;
+    psS32 boxcarRightBinNum = 0;
 
     // Determine the left endpoint of the boxcar for the PDF.
@@ -1961,7 +1961,7 @@
  *****************************************************************************/
 psHistogram* psVectorHistogram(psHistogram* out,
-                               const psVector* restrict in,
-                               const psVector* restrict errors,
-                               const psVector* restrict mask,
+                               const psVector* in,
+                               const psVector* errors,
+                               const psVector* mask,
                                psU32 maskVal)
 {
Index: /trunk/psLib/src/math/psStats.h
===================================================================
--- /trunk/psLib/src/math/psStats.h	(revision 3114)
+++ /trunk/psLib/src/math/psStats.h	(revision 3115)
@@ -10,6 +10,6 @@
  *  @author George Gusciora, MHPCC
  *
- *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-12-22 05:09:32 $
+ *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -143,5 +143,5 @@
  */
 psHistogram* psHistogramAllocGeneric(
-    const psVector* restrict bounds    ///< Bounds for the bins
+    const psVector* bounds             ///< Bounds for the bins
 );
 
@@ -156,8 +156,8 @@
 psHistogram* psVectorHistogram(
     psHistogram* out,                  ///< Histogram data
-    const psVector* restrict in,       ///< Vector to analyse
-    const psVector* restrict errors,   ///< Errors
-    const psVector* restrict mask,     ///< Mask dat for input vector
-    psU32 maskVal               ///< Mask value
+    const psVector* in,                ///< Vector to analyse
+    const psVector* errors,            ///< Errors
+    const psVector* mask,              ///< Mask dat for input vector
+    psU32 maskVal                      ///< Mask value
 );
 
Index: /trunk/psLib/src/mathtypes/psImage.c
===================================================================
--- /trunk/psLib/src/mathtypes/psImage.c	(revision 3114)
+++ /trunk/psLib/src/mathtypes/psImage.c	(revision 3115)
@@ -9,6 +9,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.57 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-13 03:26:23 $
+ *  @version $Revision: 1.58 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:11 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -568,8 +568,8 @@
     psS32 lastX = input->numCols - 1; \
     psS32 lastY = input->numRows - 1; \
-    ps##TYPE V00; \
-    ps##TYPE V01; \
-    ps##TYPE V10; \
-    ps##TYPE V11; \
+    ps##TYPE V00 = 0; \
+    ps##TYPE V01 = 0; \
+    ps##TYPE V10 = 0; \
+    ps##TYPE V11 = 0; \
     psBool valid00 = false; \
     psBool valid01 = false; \
@@ -611,5 +611,5 @@
     /* OK, at least one pixel is not valid - need to do it piecemeal */ \
     \
-    psF64 V0; \
+    psF64 V0 = 0.0; \
     psBool valid0 = true; \
     if (valid00 && valid10) { \
@@ -623,5 +623,5 @@
     } \
     \
-    psF64 V1; \
+    psF64 V1 = 0.0; \
     psBool valid1 = true; \
     if (valid01 && valid11) { \
@@ -662,8 +662,8 @@
     psS32 lastX = input->numCols - 1; \
     psS32 lastY = input->numRows - 1; \
-    ps##TYPE V00; \
-    ps##TYPE V01; \
-    ps##TYPE V10; \
-    ps##TYPE V11; \
+    ps##TYPE V00 = 0; \
+    ps##TYPE V01 = 0; \
+    ps##TYPE V10 = 0; \
+    ps##TYPE V11 = 0; \
     psBool valid00 = false; \
     psBool valid01 = false; \
@@ -705,5 +705,5 @@
     /* OK, at least one pixel is not valid - need to do it piecemeal */ \
     \
-    psC64 V0; \
+    psC64 V0 = 0; \
     psBool valid0 = true; \
     if (valid00 && valid10) { \
@@ -717,5 +717,5 @@
     } \
     \
-    psC64 V1; \
+    psC64 V1 = 0; \
     psBool valid1 = true; \
     if (valid01 && valid11) { \
Index: /trunk/psLib/src/mathtypes/psImage.h
===================================================================
--- /trunk/psLib/src/mathtypes/psImage.h	(revision 3114)
+++ /trunk/psLib/src/mathtypes/psImage.h	(revision 3115)
@@ -11,6 +11,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.45 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-13 03:26:23 $
+ *  @version $Revision: 1.46 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:11 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -157,5 +157,5 @@
  */
 psImage* psImageCopy(
-    psImage* restrict output,          ///< if not NULL, a psImage that could be recycled.
+    psImage* output,                   ///< if not NULL, a psImage that could be recycled.
     const psImage* input,              ///< the psImage to copy
     psElemType type                    ///< the desired datatype of the returned copy
@@ -221,5 +221,5 @@
         psC64 unexposedValue           /**< return value if x,y location is not in image. */ \
                                                      );
-
+#ifndef SWIG
 p_psImagePixelInterpolateFcns(U8)
 p_psImagePixelInterpolateFcns(U16)
@@ -234,4 +234,5 @@
 p_psImagePixelInterpolateComplexFcns(C32)
 p_psImagePixelInterpolateComplexFcns(C64)
+#endif
 
 /// @}
Index: /trunk/psLib/src/mathtypes/psVector.c
===================================================================
--- /trunk/psLib/src/mathtypes/psVector.c	(revision 3114)
+++ /trunk/psLib/src/mathtypes/psVector.c	(revision 3115)
@@ -10,6 +10,6 @@
 *  @author Robert DeSonia, MHPCC
 *
-*  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-12-09 21:30:43 $
+*  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-02-03 00:54:10 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -28,8 +28,8 @@
 #include "psCollectionsErrors.h"
 
-static void vectorFree(psVector* restrict psVec);
-
-
-static void vectorFree(psVector* restrict psVec)
+static void vectorFree(psVector* psVec);
+
+
+static void vectorFree(psVector* psVec)
 {
     if (psVec == NULL) {
@@ -64,5 +64,5 @@
 }
 
-psVector* psVectorRealloc(psVector* restrict in, psU32 nalloc)
+psVector* psVectorRealloc(psVector* in, psU32 nalloc)
 {
     psS32 elementSize = 0;
@@ -87,5 +87,5 @@
 }
 
-psVector* psVectorRecycle(psVector* restrict in, psU32 n, psElemType type)
+psVector* psVectorRecycle(psVector* in, psU32 n, psElemType type)
 {
     psS32 byteSize;
@@ -218,5 +218,5 @@
 }
 
-psVector* psVectorSort(psVector* restrict outVector, const psVector* restrict inVector)
+psVector* psVectorSort(psVector* outVector, const psVector* inVector)
 {
     psS32 N = 0;
@@ -302,5 +302,5 @@
 }
 
-psVector* psVectorSortIndex(psVector* restrict outVector, const psVector* restrict inVector)
+psVector* psVectorSortIndex(psVector* outVector, const psVector* inVector)
 {
     psS32 N = 0;
Index: /trunk/psLib/src/mathtypes/psVector.h
===================================================================
--- /trunk/psLib/src/mathtypes/psVector.h	(revision 3114)
+++ /trunk/psLib/src/mathtypes/psVector.h	(revision 3115)
@@ -11,6 +11,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-17 20:58:21 $
+ *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -84,6 +84,6 @@
  */
 psVector* psVectorRealloc(
-    psVector* restrict psVec,          ///< Vector to reallocate.
-    psU32 nalloc                ///< Total number of elements to make available.
+    psVector* psVec,                   ///< Vector to reallocate.
+    psU32 nalloc                       ///< Total number of elements to make available.
 );
 
@@ -98,9 +98,9 @@
  */
 psVector* psVectorRecycle(
-    psVector* restrict psVec,
+    psVector* psVec,
     ///< Vector to recycle.  If NULL, a new vector is created.  No effort
     ///< taken to preserve the values.
 
-    psU32 nalloc,               ///< Total number of elements to make available.
+    psU32 nalloc,                      ///< Total number of elements to make available.
     psElemType type                    ///< the datatype of the returned vector
 );
@@ -128,6 +128,6 @@
  */
 psVector* psVectorSort(
-    psVector* restrict outVector,      ///< the output vector to recycle, or NULL if new vector desired.
-    const psVector* restrict inVector  ///< the vector to sort.
+    psVector* outVector,               ///< the output vector to recycle, or NULL if new vector desired.
+    const psVector* inVector           ///< the vector to sort.
 );
 
@@ -140,6 +140,6 @@
  */
 psVector* psVectorSortIndex(
-    psVector* restrict outVector,      ///< vector to recycle
-    const psVector* restrict inVector  ///< vector to sort
+    psVector* outVector,               ///< vector to recycle
+    const psVector* inVector           ///< vector to sort
 );
 
Index: /trunk/psLib/src/parseErrorCodes.pl
===================================================================
--- /trunk/psLib/src/parseErrorCodes.pl	(revision 3114)
+++ /trunk/psLib/src/parseErrorCodes.pl	(revision 3115)
@@ -54,5 +54,5 @@
     my @result   = ();
 
-    die "Failed to open input file"
+    die "Failed to open input file '$filename'"
       if !open( INFILE, "<", $filename );
 
Index: /trunk/psLib/src/psTest.c
===================================================================
--- /trunk/psLib/src/psTest.c	(revision 3115)
+++ /trunk/psLib/src/psTest.c	(revision 3115)
@@ -0,0 +1,249 @@
+//
+// C Implementation: psTest
+//
+// Description:
+//
+//
+// Author: Robert DeSonia <robert.desonia@mhpcc.hpc.mil>, (C) 2004
+//
+// Copyright: See COPYING file that comes with this distribution
+//
+//
+
+
+#include <stdlib.h>
+#include <unistd.h>
+#include <sys/wait.h>
+#include <stdbool.h>
+#include <string.h>
+
+#include "psTest.h"
+#include "psMemory.h"
+#include "psError.h"
+#include "psTrace.h"
+
+#define HEADER_TOP    "/***************************** TESTPOINT ******************************************\\\n"
+#define HEADER_LINE_STRING   "* %20s: %-58s *\n"
+#define HEADER_LINE_INT      "* %20s: %-58d *\n"
+#define HEADER_BOTTOM "\\**********************************************************************************/\n\n"
+
+psBool p_runTestSuite( FILE *fp, const char* testPointFile, const char* packageName,
+                       testDescription tests[], psS32 argc, char * const argv[] )
+{
+    psBool success = true;
+    psBool runAll = true;
+    psBool useFork = true;
+    psBool found;
+    psS32 c;
+    psS32 n;
+    extern char *optarg;
+
+    if ( argc > 0 ) {
+        while ( ( c = getopt( argc, argv, "lhn:dt:" ) ) != -1 ) {
+            switch ( c ) {
+            case 'h':
+                printf( "Usage: %s [-l] [-d] [-h] [-n=Testpoint#] [-t=TestpointName]\n"
+                        "    where:\n"
+                        "           -l  : lists the testpoints contained in this test driver executable\n"
+                        "           -d  : turns on debugger-friendly mode (no forking, aborts/signals are not handled)\n"
+                        "           -h  : prints this help\n"
+                        "           -n  : specifies a particular testpoint by number to run\n"
+                        "           -t  : specifies a particular testpoint by name to run\n"
+                        "    (if no -l, -n or -t options are given, all testpoints are run)\n",
+                        argv[ 0 ] );
+                runAll = false;
+                break;
+            case 'd':
+                useFork = false;
+                break;
+            case 'l':
+                printf( "Test Driver:  %s\n", testPointFile );
+                printf( "Package Name: %s\n", packageName );
+                printf( "Testpoints:\n" );
+                runAll = false;
+                for ( psS32 index = 0; tests[ index ].fcn != NULL; index++ ) {
+                    printf( "    %6d - %s \n", tests[ index ].testPointNumber,
+                            tests[ index ].testPointName );
+                }
+                printf( "\n" );
+                break;
+            case 't':
+                runAll = false;
+                for ( psS32 index = 0; tests[ index ].fcn != NULL; index++ ) {
+                    if ( strcmp( optarg, tests[ index ].testPointName ) == 0 ) {
+                        success = p_runTest( fp,
+                                             testPointFile,
+                                             packageName,
+                                             tests[ index ].testPointName,
+                                             tests[ index ].fcn,
+                                             tests[ index ].expectedReturn,
+                                             useFork ) && success;
+                    }
+                }
+                break;
+            case 'n':
+                runAll = false;
+                if ( sscanf( optarg, "%i", &n ) != 1 ) {
+                    psError(PS_ERR_UNKNOWN, true, "Failed to parse the testpoint number (%s).",
+                            optarg );
+                    break;
+                }
+                found = false;
+                for ( psS32 index = 0; tests[ index ].fcn != NULL; index++ ) {
+                    if ( n == tests[ index ].testPointNumber ) {
+                        found = true;
+                        success = p_runTest( fp,
+                                             testPointFile,
+                                             packageName,
+                                             tests[ index ].testPointName,
+                                             tests[ index ].fcn,
+                                             tests[ index ].expectedReturn,
+                                             useFork ) && success;
+                    }
+                }
+                if ( ! found ) {
+                    psError(PS_ERR_UNKNOWN, true, "The specified testpoint number (%d) doesn't exist in this test driver.",
+                            n );
+                    break;
+                }
+                break;
+            case '?':
+                psError(PS_ERR_UNKNOWN, true, "Option %s is not recognized and is ignored.", optarg );
+                break;
+            }
+        }
+    }
+
+    if ( runAll ) {
+        for ( psS32 index = 0; tests[ index ].fcn != NULL; index++ ) {
+            if ( ! tests[ index ].isDuplicateEntry ) {
+                success = p_runTest( fp,
+                                     testPointFile,
+                                     packageName,
+                                     tests[ index ].testPointName,
+                                     tests[ index ].fcn,
+                                     tests[ index ].expectedReturn,
+                                     useFork ) && success;
+            }
+        }
+    }
+
+    if ( ! success ) {
+        psError( PS_ERR_UNKNOWN, true,
+                 "One or more tests failed" );
+    }
+
+    return success;
+}
+
+psBool p_runTest( FILE *fp, const char* testPointFile, const char* packageName, const char* testPointName,
+                  testFcn fcn, psS32 expectedReturn, psBool useFork )
+{
+    psS32 childReturn = 0;
+    pid_t child;
+
+    p_printPositiveTestHeader( fp, testPointFile, packageName, testPointName );
+
+    if ( useFork ) {
+        child = fork();
+        if ( child == 0 ) {                   // I am the child process, run the test
+            psS32 currentId = psMemGetId();
+            psS32 retVal = fcn();
+            fflush(stdout);
+            fflush(stderr);
+            if ( retVal == 0 ) { // only bother checking memory if test executed to end.
+                if ( psMemCheckLeaks( currentId, NULL, stderr, false ) != 0 ) {
+                    psError(PS_ERR_UNKNOWN, true, "Memory Leaks Detected" );
+                    retVal = 64;
+                }
+                psMemCheckCorruption( 1 );
+            }
+            exit( retVal );
+        } else
+            if ( child < 0 ) {
+                fprintf( fp, "Couldn't fork a process to run a negative test (%s|%s)",
+                         packageName, testPointName );
+                abort();
+            }
+
+        waitpid( child, &childReturn, 0 );
+        if ( WIFSIGNALED( childReturn ) ) {
+            childReturn = -WTERMSIG( childReturn );
+        } else {
+            childReturn = WEXITSTATUS( childReturn );
+        }
+    } else {
+        psS32 currentId = psMemGetId();
+        childReturn = fcn();
+        fflush(stdout);
+        fflush(stderr);
+        if ( childReturn == 0 ) { // only bother checking memory if test executed to end.
+            if ( psMemCheckLeaks( currentId, NULL, stderr, false ) != 0 ) {
+                psError(PS_ERR_UNKNOWN, true, "Memory Leaks Detected" );
+                childReturn = 64;
+            }
+            psMemCheckCorruption( 1 );
+        }
+    }
+
+
+    if ( childReturn != expectedReturn ) {
+        fprintf( fp, "Return value mismatch: expected %d, got %d",
+                 expectedReturn, childReturn );
+    }
+
+    p_printFooter( fp, testPointFile, packageName, testPointName,
+                   ( childReturn == expectedReturn ) );
+
+    return ( childReturn == expectedReturn );
+}
+
+void p_printPositiveTestHeader( FILE *fp,
+                                const char* testPointFile,
+                                const char* packageName,
+                                const char* testPointName )
+{
+    char TP[ 80 ];
+
+    snprintf( TP, 80, "%s{%s}", packageName, testPointName );
+
+    fprintf( fp, HEADER_TOP );
+    fprintf( fp, HEADER_LINE_STRING, "TestFile", testPointFile );
+    fprintf( fp, HEADER_LINE_STRING, "TestPoint", TP );
+    fprintf( fp, HEADER_LINE_STRING, "TestType", "Positive" );
+    fprintf( fp, HEADER_BOTTOM );
+}
+
+void p_printNegativeTestHeader( FILE *fp,
+                                const char* testPointFile,
+                                const char* packageName,
+                                const char* testPointName,
+                                const char* expectedError,
+                                psS32 exitValue )
+{
+    char TP[ 80 ];
+
+    snprintf( TP, 80, "%s{%s}", packageName, testPointName );
+
+    fprintf( fp, HEADER_TOP );
+    fprintf( fp, HEADER_LINE_STRING, "TestFile", testPointFile );
+    fprintf( fp, HEADER_LINE_STRING, "TestPoint", TP );
+    fprintf( fp, HEADER_LINE_STRING, "TestType", "Negative" );
+    fprintf( fp, HEADER_LINE_STRING, "ExpectedErrorText", expectedError );
+    fprintf( fp, HEADER_LINE_INT, "ExpectedStatusValue", exitValue );
+    fprintf( fp, HEADER_BOTTOM );
+}
+
+
+void p_printFooter( FILE *fp,
+                    const char* testPointFile,
+                    const char* packageName,
+                    const char* testPointName,
+                    psBool success )
+{
+    if ( success ) {
+        fprintf( fp, "\n---> TESTPOINT PASSED (%s{%s} | %s)\n\n", packageName, testPointName, testPointFile );
+    } else {
+        fprintf( fp, "\n---> TESTPOINT FAILED (%s{%s} | %s)\n\n", packageName, testPointName, testPointFile );
+    }
+}
Index: /trunk/psLib/src/psTest.h
===================================================================
--- /trunk/psLib/src/psTest.h	(revision 3115)
+++ /trunk/psLib/src/psTest.h	(revision 3115)
@@ -0,0 +1,82 @@
+
+#ifndef PSTEST_H
+#define PSTEST_H
+
+#include <stdio.h>
+
+#include "psType.h"
+
+#define printPositiveTestHeader(filePtr, packageName, testPointName) \
+p_printPositiveTestHeader(filePtr, __FILE__, packageName, testPointName)
+
+#define printNegativeTestHeader(filePtr, packageName, testPointName, expectedError, exitValue) \
+p_printNegativeTestHeader(filePtr, __FILE__, packageName, testPointName, expectedError, exitValue)
+
+#define printFooter(filePtr, packageName, testPointName, success) \
+p_printFooter(filePtr, __FILE__, packageName, testPointName, success)
+
+typedef psS32 (*testFcn)(void);
+
+typedef struct
+{
+    testFcn     fcn;
+    psS32       testPointNumber;
+    const char* testPointName;
+    psS32       expectedReturn;
+    psBool      isDuplicateEntry;
+}
+testDescription;
+
+#define runTest(filePtr, packageName, testPointName, fcn, expectedReturn, useFork) \
+p_runTest(filePtr, __FILE__, packageName, testPointName, fcn, expectedReturn, useFork)
+
+#define runTestSuite(filePtr, packageName, tests, argc, argv) \
+p_runTestSuite(filePtr, __FILE__, packageName, tests, argc, argv)
+
+
+/////////////////////////// PRIVATE FUNCTIONS //////////////////////////////
+
+psBool p_runTest(
+    FILE *fp,
+    const char* testPointFile,
+    const char* packageName,
+    const char* testPointName,
+    testFcn fcn,
+    psS32 expectedReturn,
+    psBool useFork
+);
+
+psBool p_runTestSuite(
+    FILE *fp,
+    const char* testPointFile,
+    const char* packageName,
+    testDescription tests[],
+    psS32 argc,
+    char * const argv[]
+);
+
+void p_printPositiveTestHeader(
+    FILE *fp,
+    const char* testPointFile,
+    const char* packageName,
+    const char* testPointName
+);
+
+void p_printNegativeTestHeader(
+    FILE *fp,
+    const char* testPointFile,
+    const char* packageName,
+    const char* testPointName,
+    const char* expectedError,
+    psS32 exitValue
+);
+
+void p_printFooter(
+    FILE *fp,
+    const char* testPointFile,
+    const char* packageName,
+    const char* testPointName,
+    psBool success
+);
+
+#endif
Index: /trunk/psLib/src/pslib.h
===================================================================
--- /trunk/psLib/src/pslib.h	(revision 3114)
+++ /trunk/psLib/src/pslib.h	(revision 3115)
@@ -9,6 +9,6 @@
 *  @author Eric Van Alst, MHPCC
 *
-*  @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-01-12 22:17:01 $
+*  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-02-03 00:54:10 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -24,5 +24,5 @@
 /******************************************************************************/
 
-// System Utilities
+// // System Utilities
 
 /// @defgroup SysUtils System Utilities
@@ -130,4 +130,6 @@
 #include "psMatrixVectorArithmetic.h"
 
+#include "psRandom.h"
+
 /// @defgroup Transform Fourier Transform Operations
 /// @ingroup DataManip
Index: /trunk/psLib/src/sys/psConfigure.c
===================================================================
--- /trunk/psLib/src/sys/psConfigure.c	(revision 3114)
+++ /trunk/psLib/src/sys/psConfigure.c	(revision 3115)
@@ -12,6 +12,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-03 23:35:07 $
+ *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:11 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -22,15 +22,12 @@
 #include "psConfigure.h"
 #include "psSysUtilsErrors.h"
-
-
-#ifndef PS_LIB_VERSION
-#define PS_LIB_VERSION "psLib version unknown"
-#pragma warning PS_LIB_VERSION was not defined in the makefile.
-#endif
+#include "config.h"
 
 char* psLibVersion(void)
 {
-    // PS_LIB_VERSION comes from Makefile.Globals
-    return(psStringCopy(PS_LIB_VERSION));
+    char version[80];
+    snprintf(version,80,"%s-v%s",PACKAGE,VERSION);
+
+    return(psStringCopy(version));
 }
 
Index: /trunk/psLib/src/sys/psError.h
===================================================================
--- /trunk/psLib/src/sys/psError.h	(revision 3114)
+++ /trunk/psLib/src/sys/psError.h	(revision 3115)
@@ -12,6 +12,6 @@
  *  @author Eric Van Alst, MHPCC
  *
- *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-13 19:50:45 $
+ *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:11 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -90,4 +90,5 @@
 );
 
+#ifndef SWIG
 /** Prints error stack to specified open file descriptor
  *
@@ -103,4 +104,5 @@
     va_list va                         ///< any parameters required in fmt
 );
+#endif
 
 /** Reports an error message to the logging facility
Index: /trunk/psLib/src/sys/psLogMsg.h
===================================================================
--- /trunk/psLib/src/sys/psLogMsg.h	(revision 3114)
+++ /trunk/psLib/src/sys/psLogMsg.h	(revision 3115)
@@ -11,6 +11,6 @@
  *  @author George Gusciora, MHPCC
  *
- *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-10-27 00:57:31 $
+ *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:11 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -74,4 +74,5 @@
 );
 
+#ifndef SWIG
 /** This procedure is functionally equivalent to psLogMsg(), except that
  *  it takes a va_list as the message parameter, not a printf-style string.
@@ -84,4 +85,5 @@
     va_list ap                         ///< varargs argument list
 );
+#endif
 
 ///< Status codes for log messages
Index: /trunk/psLib/src/sys/psTrace.c
===================================================================
--- /trunk/psLib/src/sys/psTrace.c	(revision 3114)
+++ /trunk/psLib/src/sys/psTrace.c	(revision 3115)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-12-02 21:12:52 $
+ *  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:11 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -125,5 +125,5 @@
     for (i = 0; i < currentNode->n; i++) {
         if (NULL == currentNode->subcomp[i]) {
-            psLogMsg(PS_ERRORNAME_DOMAIN "p_psTraceReset", PS_LOG_WARN,
+            psLogMsg("p_psTraceReset", PS_LOG_WARN,
                      PS_ERRORTEXT_psTrace_NULL_SUBCOMPONENT,
                      i, currentNode->name);
@@ -327,5 +327,5 @@
         for (i = 0; i < currentNode->n; i++) {
             if (NULL == currentNode->subcomp[i]) {
-                psLogMsg(PS_ERRORNAME_DOMAIN "p_psTraceReset", PS_LOG_WARN,
+                psLogMsg("p_psTraceReset", PS_LOG_WARN,
                          PS_ERRORTEXT_psTrace_NULL_SUBCOMPONENT,
                          i, currentNode->name);
Index: /trunk/psLib/src/sys/psType.h
===================================================================
--- /trunk/psLib/src/sys/psType.h	(revision 3114)
+++ /trunk/psLib/src/sys/psType.h	(revision 3115)
@@ -11,6 +11,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-01-17 20:58:21 $
+*  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-02-03 00:54:11 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -51,6 +51,19 @@
 typedef float psF32;                   ///< 32-bit floating point
 typedef double psF64;                  ///< 64-bit floating point
+#ifdef SWIG
+typedef struct
+{
+    float re, im;
+}
+psC32;
+typedef struct
+{
+    double re,im;
+}
+psC64;
+#else
 typedef float _Complex psC32;          ///< complex with 32-bit floating point Real and Imagary numbers
 typedef double _Complex psC64;         ///< complex with 64-bit floating point Real and Imagary numbers
+#endif
 typedef void* psPtr;                   ///< void pointer
 typedef bool psBool;                   ///< boolean value
Index: /trunk/psLib/src/sysUtils/Makefile
===================================================================
--- /trunk/psLib/src/sysUtils/Makefile	(revision 3114)
+++ /trunk/psLib/src/sysUtils/Makefile	(revision 3115)
@@ -1,96 +1,509 @@
-###############################################################################
-##
-##  Makefile:   sysUtils
-##
-##  $Revision: 1.24 $  $Name: not supported by cvs2svn $
-##  $Date: 2005-01-03 23:41:36 $
-##
-##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
-###############################################################################
-
-# Define variable prefix to the top level project - psLib
-# This is necessary for definition is Makefile.Globals uses prefix
-
-ifndef prefix
-    export prefix=$(shell cd ../..;pwd)
-endif
-
-# Define the two targets to be built
-
-TARGET_STATIC  = libpslib.a
-
-# Include the make global definitions for the project
-
-include ../Makefile.Globals
-
-# Set CFLAGS used by the implicit rule to compile .c
-
-CFLAGS := $(CFLAGS_RELOC) -DPS_LIB_VERSION="\"$(PS_LIB_VERSION)\"" -I../collections -I../dataManip -I../sysUtils -I../include -I../astronomy -I../image -I..
-
-# Define the source objects
-
-SRC_OBJS = psMemory.o     \
-           psError.o      \
-           psTrace.o      \
-           psLogMsg.o     \
-           psAbort.o      \
-           psString.o     \
-	   psConfigure.o  \
-           psErrorCodes.o
-
-OBJS = $(addprefix makedir/,$(SRC_OBJS))
-
-HEADERS = $(SRC_OBJS:.o=.h) psType.h
-
-# Define PHONY target "all" which will make all the necessary items
-
-all: $(TARGET_STATIC)
-
-psErrorCodes.h: ../psErrorCodes.dat
-	perl ../parseErrorCodes.pl --data=$? $@
-
-psErrorCodes.c: ../psErrorCodes.dat
-	perl ../parseErrorCodes.pl --data=$? $@
+# Makefile.in generated by automake 1.9.1 from Makefile.am.
+# src/sysUtils/Makefile.  Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+
+SOURCES = $(libpslibsysUtils_la_SOURCES)
+
+srcdir = .
+top_srcdir = ../..
+
+pkgdatadir = $(datadir)/pslib
+pkglibdir = $(libdir)/pslib
+pkgincludedir = $(includedir)/pslib
+top_builddir = ../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/sysUtils
+DIST_COMMON = README $(pslibinclude_HEADERS) $(srcdir)/Makefile.am \
+	$(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+LTLIBRARIES = $(noinst_LTLIBRARIES)
+libpslibsysUtils_la_LIBADD =
+am_libpslibsysUtils_la_OBJECTS = psMemory.lo psError.lo psTrace.lo \
+	psLogMsg.lo psAbort.lo psString.lo psConfigure.lo \
+	psErrorCodes.lo
+libpslibsysUtils_la_OBJECTS = $(am_libpslibsysUtils_la_OBJECTS)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(libpslibsysUtils_la_SOURCES)
+DIST_SOURCES = $(libpslibsysUtils_la_SOURCES)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(pslibincludedir)"
+pslibincludeHEADERS_INSTALL = $(INSTALL_HEADER)
+HEADERS = $(pslibinclude_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE = 
+AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
+AWK = gawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
+CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
+CPP = gcc -E
+CPPFLAGS = 
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+ECHO = echo
+ECHO_C = 
+ECHO_N = -n
+ECHO_T = 
+EGREP = grep -E
+EXEEXT = 
+F77 = g77
+FFLAGS = -fno-second-underscore -O -fno-f2c
+GSL_CONFIG = /usr/bin/gsl-config
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LDFLAGS = 
+LIBOBJS = 
+LIBS = 
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS = 
+MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
+OBJEXT = o
+PACKAGE = pslib
+PACKAGE_BUGREPORT = 
+PACKAGE_NAME = 
+PACKAGE_STRING = 
+PACKAGE_TARNAME = 
+PACKAGE_VERSION = 
+PATH_SEPARATOR = :
+PERL = /usr/bin/perl
+PSLIB_CFLAGS = -I${prefix}/include
+PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
+RANLIB = ranlib
+SET_MAKE = 
+SHELL = /bin/sh
+STRIP = strip
+SWIG = /usr/bin/swig
+VERSION = 1.5
+XML_CONFIG = /usr/bin/xml2-config
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = g77
+ac_ct_RANLIB = ranlib
+ac_ct_STRIP = strip
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE = 
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE = 
+am__include = include
+am__leading_dot = .
+am__quote = 
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias = 
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+datadir = ${prefix}/share
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias = 
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+includedir = ${prefix}/include
+infodir = ${prefix}/info
+install_sh = /home/desonia/panstarrs/psLib/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localstatedir = ${prefix}/var
+mandir = ${prefix}/man
+mkdir_p = mkdir -p --
+oldincludedir = /usr/include
+prefix = /home/desonia/panstarrs/psLib
+program_transform_name = s,x,x,
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+sysconfdir = ${prefix}/etc
+target_alias = 
+
+#Makefile for sysUtils functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibsysUtils.la
+libpslibsysUtils_la_SOURCES = \
+	psMemory.c     \
+	psError.c      \
+	psTrace.c      \
+	psLogMsg.c     \
+	psAbort.c      \
+	psString.c     \
+	psConfigure.c  \
+	psErrorCodes.c 
+
+BUILT_SOURCES = psSysUtilsErrors.h
+EXTRA_DIST = psSysUtilsErrors.dat psSysUtilsErrors.h
+pslibincludedir = $(includedir)/pslib
+pslibinclude_HEADERS = \
+	psType.h       \
+	psMemory.h     \
+	psError.h      \
+	psTrace.h      \
+	psLogMsg.h     \
+	psAbort.h      \
+	psString.h     \
+	psConfigure.h  \
+	psErrorCodes.h
+
+all: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/sysUtils/Makefile'; \
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu  src/sysUtils/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-noinstLTLIBRARIES:
+	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+	@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
+	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+	  test "$$dir" != "$$p" || dir=.; \
+	  echo "rm -f \"$${dir}/so_locations\""; \
+	  rm -f "$${dir}/so_locations"; \
+	done
+libpslibsysUtils.la: $(libpslibsysUtils_la_OBJECTS) $(libpslibsysUtils_la_DEPENDENCIES) 
+	$(LINK)  $(libpslibsysUtils_la_LDFLAGS) $(libpslibsysUtils_la_OBJECTS) $(libpslibsysUtils_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+
+distclean-compile:
+	-rm -f *.tab.c
+
+include ./$(DEPDIR)/psAbort.Plo
+include ./$(DEPDIR)/psConfigure.Plo
+include ./$(DEPDIR)/psError.Plo
+include ./$(DEPDIR)/psErrorCodes.Plo
+include ./$(DEPDIR)/psLogMsg.Plo
+include ./$(DEPDIR)/psMemory.Plo
+include ./$(DEPDIR)/psString.Plo
+include ./$(DEPDIR)/psTrace.Plo
+
+.c.o:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c $<
+
+.c.obj:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(LTCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+install-pslibincludeHEADERS: $(pslibinclude_HEADERS)
+	@$(NORMAL_INSTALL)
+	test -z "$(pslibincludedir)" || $(mkdir_p) "$(DESTDIR)$(pslibincludedir)"
+	@list='$(pslibinclude_HEADERS)'; for p in $$list; do \
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+	  f=$(am__strip_dir) \
+	  echo " $(pslibincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pslibincludedir)/$$f'"; \
+	  $(pslibincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pslibincludedir)/$$f"; \
+	done
+
+uninstall-pslibincludeHEADERS:
+	@$(NORMAL_UNINSTALL)
+	@list='$(pslibinclude_HEADERS)'; for p in $$list; do \
+	  f=$(am__strip_dir) \
+	  echo " rm -f '$(DESTDIR)$(pslibincludedir)/$$f'"; \
+	  rm -f "$(DESTDIR)$(pslibincludedir)/$$f"; \
+	done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+tags: TAGS
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) check-am
+all-am: Makefile $(LTLIBRARIES) $(HEADERS)
+installdirs:
+	for dir in "$(DESTDIR)$(pslibincludedir)"; do \
+	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
+	done
+install: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
+	mostlyclean-am
+
+distclean: distclean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-pslibincludeHEADERS
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am uninstall-pslibincludeHEADERS
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+	clean-libtool clean-noinstLTLIBRARIES ctags distclean \
+	distclean-compile distclean-generic distclean-libtool \
+	distclean-tags distdir dvi dvi-am html html-am info info-am \
+	install install-am install-data install-data-am install-exec \
+	install-exec-am install-info install-info-am install-man \
+	install-pslibincludeHEADERS install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+	tags uninstall uninstall-am uninstall-info-am \
+	uninstall-pslibincludeHEADERS
+
 
 psSysUtilsErrors.h: psSysUtilsErrors.dat
-	perl ../parseErrorCodes.pl --data=$? $@
-
-
-# Rule to make static library
-
-libpslib.a: $(OBJS)
-# The ar option -r is to add/replace object and -s is to create
-# a symbol table in the archive
-	$(AR) rcs ../$@ $(OBJS)
-
-# Define PHONY target "install" which will install necessary files
-
-install: $(TARGET_STATIC)
-	install $(HEADERS) $(includedir)
-
-# Define PHONY target "distclean" which will cleanup the distribution
-
-distclean:	clean
-	$(RM) ../$(TARGET_STATIC)
-
-# Define PHONY target "clean" which will cleanup the development area
-
-clean:
-	@echo "    Deleting intermediate files for 'sysUtils'"
-	$(RM) $(OBJS) *.lint
-
-cleandep:
-	$(RM) $(OBJS:.o=.d)
-
-%.lint: %.c
-	splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
-
-makedir/%.o: %.c
-	$(CC) -c $(CFLAGS) -o $@ $<
-
-makedir/%.d: %.c
-	$(CC) -MM $(CFLAGS) $< > $@.tmp
-	sed 's|\($*\)\.o[ :]*|\1.o $@ : |g' $@.tmp > $@
-	$(RM) -f $@.tmp
-
-include $(OBJS:.o=.d)
+	perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: /trunk/psLib/src/sysUtils/Makefile.am
===================================================================
--- /trunk/psLib/src/sysUtils/Makefile.am	(revision 3115)
+++ /trunk/psLib/src/sysUtils/Makefile.am	(revision 3115)
@@ -0,0 +1,40 @@
+#Makefile for sysUtils functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibsysUtils.la
+
+libpslibsysUtils_la_SOURCES = \
+	psMemory.c     \
+	psError.c      \
+	psTrace.c      \
+	psLogMsg.c     \
+	psAbort.c      \
+	psString.c     \
+	psConfigure.c  \
+	psErrorCodes.c 
+
+BUILT_SOURCES = psSysUtilsErrors.h
+EXTRA_DIST = psSysUtilsErrors.dat psSysUtilsErrors.h
+
+psSysUtilsErrors.h: psSysUtilsErrors.dat
+	perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
+
+pslibincludedir = $(includedir)/pslib
+pslibinclude_HEADERS = \
+	psType.h       \
+	psMemory.h     \
+	psError.h      \
+	psTrace.h      \
+	psLogMsg.h     \
+	psAbort.h      \
+	psString.h     \
+	psConfigure.h  \
+	psErrorCodes.h
+
Index: /trunk/psLib/src/sysUtils/psConfigure.c
===================================================================
--- /trunk/psLib/src/sysUtils/psConfigure.c	(revision 3114)
+++ /trunk/psLib/src/sysUtils/psConfigure.c	(revision 3115)
@@ -12,6 +12,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-03 23:35:07 $
+ *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:11 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -22,15 +22,12 @@
 #include "psConfigure.h"
 #include "psSysUtilsErrors.h"
-
-
-#ifndef PS_LIB_VERSION
-#define PS_LIB_VERSION "psLib version unknown"
-#pragma warning PS_LIB_VERSION was not defined in the makefile.
-#endif
+#include "config.h"
 
 char* psLibVersion(void)
 {
-    // PS_LIB_VERSION comes from Makefile.Globals
-    return(psStringCopy(PS_LIB_VERSION));
+    char version[80];
+    snprintf(version,80,"%s-v%s",PACKAGE,VERSION);
+
+    return(psStringCopy(version));
 }
 
Index: /trunk/psLib/src/sysUtils/psError.h
===================================================================
--- /trunk/psLib/src/sysUtils/psError.h	(revision 3114)
+++ /trunk/psLib/src/sysUtils/psError.h	(revision 3115)
@@ -12,6 +12,6 @@
  *  @author Eric Van Alst, MHPCC
  *
- *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-13 19:50:45 $
+ *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:11 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -90,4 +90,5 @@
 );
 
+#ifndef SWIG
 /** Prints error stack to specified open file descriptor
  *
@@ -103,4 +104,5 @@
     va_list va                         ///< any parameters required in fmt
 );
+#endif
 
 /** Reports an error message to the logging facility
Index: /trunk/psLib/src/sysUtils/psLogMsg.h
===================================================================
--- /trunk/psLib/src/sysUtils/psLogMsg.h	(revision 3114)
+++ /trunk/psLib/src/sysUtils/psLogMsg.h	(revision 3115)
@@ -11,6 +11,6 @@
  *  @author George Gusciora, MHPCC
  *
- *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-10-27 00:57:31 $
+ *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:11 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -74,4 +74,5 @@
 );
 
+#ifndef SWIG
 /** This procedure is functionally equivalent to psLogMsg(), except that
  *  it takes a va_list as the message parameter, not a printf-style string.
@@ -84,4 +85,5 @@
     va_list ap                         ///< varargs argument list
 );
+#endif
 
 ///< Status codes for log messages
Index: /trunk/psLib/src/sysUtils/psSysUtilsErrors.h
===================================================================
--- /trunk/psLib/src/sysUtils/psSysUtilsErrors.h	(revision 3114)
+++ /trunk/psLib/src/sysUtils/psSysUtilsErrors.h	(revision 3115)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-12-02 21:12:52 $
+ *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:11 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -26,6 +26,4 @@
  * DO NOT EDIT THE LINES BETWEEN //~Start and //~End!  ANY CHANGES WILL BE OVERWRITTEN.
  */
-
-#define PS_ERRORNAME_DOMAIN "psLib.sysUtils."
 
 //~Start #define PS_ERRORTEXT_$1 "$2"
Index: /trunk/psLib/src/sysUtils/psTrace.c
===================================================================
--- /trunk/psLib/src/sysUtils/psTrace.c	(revision 3114)
+++ /trunk/psLib/src/sysUtils/psTrace.c	(revision 3115)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-12-02 21:12:52 $
+ *  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:11 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -125,5 +125,5 @@
     for (i = 0; i < currentNode->n; i++) {
         if (NULL == currentNode->subcomp[i]) {
-            psLogMsg(PS_ERRORNAME_DOMAIN "p_psTraceReset", PS_LOG_WARN,
+            psLogMsg("p_psTraceReset", PS_LOG_WARN,
                      PS_ERRORTEXT_psTrace_NULL_SUBCOMPONENT,
                      i, currentNode->name);
@@ -327,5 +327,5 @@
         for (i = 0; i < currentNode->n; i++) {
             if (NULL == currentNode->subcomp[i]) {
-                psLogMsg(PS_ERRORNAME_DOMAIN "p_psTraceReset", PS_LOG_WARN,
+                psLogMsg("p_psTraceReset", PS_LOG_WARN,
                          PS_ERRORTEXT_psTrace_NULL_SUBCOMPONENT,
                          i, currentNode->name);
Index: /trunk/psLib/src/sysUtils/psType.h
===================================================================
--- /trunk/psLib/src/sysUtils/psType.h	(revision 3114)
+++ /trunk/psLib/src/sysUtils/psType.h	(revision 3115)
@@ -11,6 +11,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-01-17 20:58:21 $
+*  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-02-03 00:54:11 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -51,6 +51,19 @@
 typedef float psF32;                   ///< 32-bit floating point
 typedef double psF64;                  ///< 64-bit floating point
+#ifdef SWIG
+typedef struct
+{
+    float re, im;
+}
+psC32;
+typedef struct
+{
+    double re,im;
+}
+psC64;
+#else
 typedef float _Complex psC32;          ///< complex with 32-bit floating point Real and Imagary numbers
 typedef double _Complex psC64;         ///< complex with 64-bit floating point Real and Imagary numbers
+#endif
 typedef void* psPtr;                   ///< void pointer
 typedef bool psBool;                   ///< boolean value
Index: /trunk/psLib/src/sysUtils/sysUtils.i
===================================================================
--- /trunk/psLib/src/sysUtils/sysUtils.i	(revision 3115)
+++ /trunk/psLib/src/sysUtils/sysUtils.i	(revision 3115)
@@ -0,0 +1,10 @@
+/* sysUtils */
+%include "psAbort.h"
+%include "psConfigure.h"
+%include "psErrorCodes.h"
+%include "psError.h"
+%include "psLogMsg.h"
+%include "psMemory.h"
+%include "psString.h"
+%include "psTrace.h"
+%include "psType.h"
Index: /trunk/psLib/src/types/psArray.c
===================================================================
--- /trunk/psLib/src/types/psArray.c	(revision 3114)
+++ /trunk/psLib/src/types/psArray.c	(revision 3115)
@@ -9,6 +9,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-12-30 20:18:36 $
+ *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -33,7 +33,7 @@
   FUNCTION IMPLEMENTATION - LOCAL
  *****************************************************************************/
-static void arrayFree(psArray* restrict psArr);
+static void arrayFree(psArray* psArr);
 
-static void arrayFree(psArray* restrict psArr)
+static void arrayFree(psArray* psArr)
 {
     if (psArr == NULL) {
@@ -66,5 +66,5 @@
 }
 
-psArray* psArrayRealloc(psArray* restrict in, psU32 nalloc)
+psArray* psArrayRealloc(psArray* in, psU32 nalloc)
 {
     if (in == NULL) {
@@ -134,5 +134,5 @@
 }
 
-void psArrayElementFree(psArray* restrict psArr)
+void psArrayElementFree(psArray* psArr)
 {
 
Index: /trunk/psLib/src/types/psArray.h
===================================================================
--- /trunk/psLib/src/types/psArray.h	(revision 3114)
+++ /trunk/psLib/src/types/psArray.h	(revision 3115)
@@ -12,6 +12,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-12-23 01:14:52 $
+ *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -55,5 +55,5 @@
  */
 psArray* psArrayAlloc(
-    psU32 nalloc                ///< Total number of elements to make available.
+    psU32 nalloc                       ///< Total number of elements to make available.
 );
 
@@ -67,5 +67,5 @@
  */
 psArray* psArrayRealloc(
-    psArray* restrict psArr,           ///< array to reallocate.
+    psArray* psArr,                    ///< array to reallocate.
     psU32 nalloc                       ///< Total number of elements to make available.
 );
@@ -104,5 +104,5 @@
  */
 void psArrayElementFree(
-    psArray* restrict psArr            ///< Void pointer array to destroy.
+    psArray* psArr                     ///< Void pointer array to destroy.
 );
 
Index: /trunk/psLib/src/types/psBitSet.c
===================================================================
--- /trunk/psLib/src/types/psBitSet.c	(revision 3114)
+++ /trunk/psLib/src/types/psBitSet.c	(revision 3115)
@@ -11,6 +11,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-11-04 01:04:57 $
+ *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -38,5 +38,5 @@
 };
 
-static void bitSetFree(psBitSet* restrict inBitSet);
+static void bitSetFree(psBitSet* inBitSet);
 
 /** Private function to create a mask.
@@ -58,5 +58,5 @@
 }
 
-static void bitSetFree(psBitSet* restrict inBitSet)
+static void bitSetFree(psBitSet* inBitSet)
 {
     if (inBitSet == NULL) {
@@ -161,7 +161,7 @@
 
 psBitSet* psBitSetOp(psBitSet* outBitSet,
-                     const psBitSet* restrict inBitSet1,
+                     const psBitSet* inBitSet1,
                      char *operator,
-                     const psBitSet* restrict inBitSet2)
+                     const psBitSet* inBitSet2)
 {
     psS32 i = 0;
@@ -264,5 +264,5 @@
         break;
     default:
-        psAbort(PS_ERRORNAME_DOMAIN "psBitSetOp",
+        psAbort("psBitSetOp",
                 "Unexpected error - operator parsed successfully but not valid?");
     }
@@ -272,5 +272,5 @@
 
 psBitSet* psBitSetNot(psBitSet* outBitSet,
-                      const psBitSet* restrict inBitSet)
+                      const psBitSet* inBitSet)
 {
     if (inBitSet == NULL) {
@@ -291,5 +291,5 @@
 }
 
-char *psBitSetToString(const psBitSet* restrict inBitSet)
+char *psBitSetToString(const psBitSet* inBitSet)
 {
     psS32 i = 0;
Index: /trunk/psLib/src/types/psBitSet.h
===================================================================
--- /trunk/psLib/src/types/psBitSet.h	(revision 3114)
+++ /trunk/psLib/src/types/psBitSet.h	(revision 3115)
@@ -12,6 +12,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-10-27 00:57:31 $
+ *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-03 00:54:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -56,5 +56,5 @@
 /*@null@*/
 psBitSet* psBitSetAlloc(
-    psS32 n                              ///< Number of bits in psBitSet array
+    psS32 n                            ///< Number of bits in psBitSet array
 );
 
@@ -69,6 +69,6 @@
 psBitSet* psBitSetSet(
     /* @returned@ */
-    psBitSet* restrict inMask,         ///< Pointer to psBitSet to be set.
-    psS32 bit                            ///< Bit to be set.
+    psBitSet* inMask,                  ///< Pointer to psBitSet to be set.
+    psS32 bit                          ///< Bit to be set.
 );
 
@@ -83,6 +83,6 @@
 psBitSet* psBitSetClear(
     /* @returned@ */
-    psBitSet* restrict inMask,         ///< Pointer to psBitSet to be cleared.
-    psS32 bit                            ///< Bit to be cleared.
+    psBitSet* inMask,                  ///< Pointer to psBitSet to be cleared.
+    psS32 bit                          ///< Bit to be cleared.
 );
 
@@ -98,6 +98,6 @@
 
 psBool psBitSetTest(
-    const psBitSet* restrict inMask,   ///< Pointer psBitSet to be tested.
-    psS32 bit                            ///< Bit to be tested.
+    const psBitSet* inMask,            ///< Pointer psBitSet to be tested.
+    psS32 bit                          ///< Bit to be tested.
 );
 
@@ -111,8 +111,8 @@
 psBitSet* psBitSetOp(
     /* @returned@ */
-    psBitSet* restrict outMask,        ///< Resulting psBitSet from binary operation
-    const psBitSet* restrict inMask1,  ///< First psBitSet on which to operate
+    psBitSet* outMask,                 ///< Resulting psBitSet from binary operation
+    const psBitSet* inMask1,           ///< First psBitSet on which to operate
     char *operator,                    ///< Bit operation
-    const psBitSet* restrict inMask2   ///< First psBitSet on which to operate
+    const psBitSet* inMask2            ///< First psBitSet on which to operate
 );
 
@@ -126,5 +126,5 @@
 psBitSet* psBitSetNot(
     psBitSet* outBitSet,               ///< Resulting psBitSet from operation
-    const psBitSet* restrict inBitSet  ///< Input psBitSet
+    const psBitSet* inBitSet           ///< Input psBitSet
 );
 
@@ -138,5 +138,5 @@
 
 char *psBitSetToString(
-    const psBitSet* restrict inMask    ///< psBitSet to convert */
+    const psBitSet* inMask             ///< psBitSet to convert */
 );
 
Index: /trunk/psLib/src/types/psLookupTable.c
===================================================================
--- /trunk/psLib/src/types/psLookupTable.c	(revision 3114)
+++ /trunk/psLib/src/types/psLookupTable.c	(revision 3115)
@@ -7,6 +7,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-12-16 18:53:02 $
+*  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-02-03 00:54:11 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -455,5 +455,5 @@
     psU64 failedLines = 0;
     FILE *fp = NULL;
-    psElemType elemType;
+    psElemType elemType = PS_TYPE_PTR;
     psVector *indexVec = NULL;
     psVector *valuesVec = NULL;
Index: /trunk/psLib/test/FullUnitTest
===================================================================
--- /trunk/psLib/test/FullUnitTest	(revision 3114)
+++ /trunk/psLib/test/FullUnitTest	(revision 3115)
@@ -19,6 +19,6 @@
 #  RETURN : integer number of tests which failed
 #
-#  $Revision: 1.15 $  $Name: not supported by cvs2svn $
-#  $Date: 2004-10-27 00:57:31 $
+#  $Revision: 1.16 $  $Name: not supported by cvs2svn $
+#  $Date: 2005-02-03 00:54:12 $
 #
 #  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -239,10 +239,8 @@
             `make clean`;
 
-            # Execute the make distclean
-            `make distclean`;
         }
 
         # Execute the make and save results
-        $_ = join( "\n|| ", split( "\n", "\n" . `make` ) );
+        $_ = join( "\n|| ", split( "\n", "\n" . `make tests` ) );
 
         # Check the output of make for return value != 0 or any of the
@@ -276,7 +274,4 @@
             # Display the make was successful if silent option not set
             print("\nMake successful.\n") if ( !$silent );
-            if ($clean) {
-                `make install`;
-            }
         }
     }
Index: /trunk/psLib/test/Makefile
===================================================================
--- /trunk/psLib/test/Makefile	(revision 3114)
+++ /trunk/psLib/test/Makefile	(revision 3115)
@@ -1,106 +1,468 @@
-##############################################################################
-##
-##  Makefile:   test
-##
-##  $Revision: 1.10 $  $Name: not supported by cvs2svn $
-##  $Date: 2004-11-09 01:10:38 $
-##
-##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
-###############################################################################
-
-# Define variable prefix to the top level project - psLib
-# This is necessary for definition is Makefile.Globals uses prefix
-
-ifndef prefix
-    export prefix=$(shell cd ..;pwd)
-endif
-
-# Define the two targets to be built
-
-TARGET_STATIC  = libpstest.a
-TARGET_DYNAMIC = libpstest.$(DLL)
-
-# Include the make global definitions for the project
-
-include ../src/Makefile.Globals
-
-# Set CFLAGS used by the implicit rule to compile .c
-
-CFLAGS := $(CFLAGS_RELOC) -I../include
-
-# Define the source objects
- 
-SRC_OBJS = psTest.o
-
-# Define PHONY target "all" which will make all the necessary items
-
-all: $(TARGET_STATIC) $(TARGET_DYNAMIC)
-
-# Rule to make static library
-
-libpstest.a: $(SRC_OBJS)
-# The ar option -r is to add/replace object and -s is to create
-# a symbol table in the archive
-	$(AR) rcs $@ $(SRC_OBJS)
-
-# Rule to make dynamic library
-
-libpstest.$(DLL): $(SRC_OBJS)
-	$(CC) $(LDFLAGS_DLL) -L../lib -lpslib $(SRC_OBJS) -o $@  
-
-# Define PHONY target "install" which will install necessary files
-
-install: $(TARGET_STATIC) $(TARGET_DYNAMIC) $(includedir) $(libexecdir) $(testbindir)
-	install *.h $(includedir)
-	install $(TARGET_STATIC) $(libexecdir)
-	install $(TARGET_DYNAMIC) $(libexecdir)
-	install FullUnitTest runTest $(testbindir)
-	$(MAKE) --directory=collections install
-	$(MAKE) --directory=image install
-	$(MAKE) --directory=dataManip install
-	$(MAKE) --directory=sysUtils install
-	$(MAKE) --directory=astronomy install
-	$(MAKE) --directory=fileUtils install
-
-# Define PHONY target "distclean" which will cleanup the distribution
-
-distclean:	clean
-	$(MAKE) --directory=collections distclean
-	$(MAKE) --directory=image distclean
-	$(MAKE) --directory=dataManip distclean
-	$(MAKE) --directory=sysUtils distclean
-	$(MAKE) --directory=astronomy distclean
-	$(MAKE) --directory=fileUtils distclean
-	$(RM) $(TARGET_STATIC)
-	$(RM) $(TARGET_DYNAMIC)
-	$(RM) $(libexecdir)/$(TARGET_STATIC)
-	$(RM) $(libexecdir)/$(TARGET_DYNAMIC)
-
-# Define PHONY target "clean" which will cleanup the development area
-
-clean:
-	$(MAKE) --directory=collections clean
-	$(MAKE) --directory=image clean
-	$(MAKE) --directory=dataManip clean
-	$(MAKE) --directory=sysUtils clean
-	$(MAKE) --directory=astronomy clean
-	$(MAKE) --directory=fileUtils clean
-	@echo "    Deleting intermediate files for 'test'"
-	$(RM) $(SRC_OBJS) *.lint
-
-%.lint: %.c
-	splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
-
-# Rule to make include directory if needed
-
-$(includedir):
-	mkdir -p $(includedir)
-
-# Rule to make lib directory if needed
-
-$(libexecdir):
-	mkdir -p $(libexecdir)
-
-$(testbindir):
-	mkdir -p $(testbindir)
-
+# Makefile.in generated by automake 1.9.1 from Makefile.am.
+# test/Makefile.  Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+srcdir = .
+top_srcdir = ..
+
+pkgdatadir = $(datadir)/pslib
+pkglibdir = $(libdir)/pslib
+pkgincludedir = $(includedir)/pslib
+top_builddir = ..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = test
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+	html-recursive info-recursive install-data-recursive \
+	install-exec-recursive install-info-recursive \
+	install-recursive installcheck-recursive installdirs-recursive \
+	pdf-recursive ps-recursive uninstall-info-recursive \
+	uninstall-recursive
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE = 
+AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
+AWK = gawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
+CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
+CPP = gcc -E
+CPPFLAGS = 
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+ECHO = echo
+ECHO_C = 
+ECHO_N = -n
+ECHO_T = 
+EGREP = grep -E
+EXEEXT = 
+F77 = g77
+FFLAGS = -fno-second-underscore -O -fno-f2c
+GSL_CONFIG = /usr/bin/gsl-config
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LDFLAGS = 
+LIBOBJS = 
+LIBS = 
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS = 
+MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
+OBJEXT = o
+PACKAGE = pslib
+PACKAGE_BUGREPORT = 
+PACKAGE_NAME = 
+PACKAGE_STRING = 
+PACKAGE_TARNAME = 
+PACKAGE_VERSION = 
+PATH_SEPARATOR = :
+PERL = /usr/bin/perl
+PSLIB_CFLAGS = -I${prefix}/include
+PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
+RANLIB = ranlib
+SET_MAKE = 
+SHELL = /bin/sh
+STRIP = strip
+SWIG = /usr/bin/swig
+VERSION = 1.5
+XML_CONFIG = /usr/bin/xml2-config
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = g77
+ac_ct_RANLIB = ranlib
+ac_ct_STRIP = strip
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE = 
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE = 
+am__include = include
+am__leading_dot = .
+am__quote = 
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias = 
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+datadir = ${prefix}/share
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias = 
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+includedir = ${prefix}/include
+infodir = ${prefix}/info
+install_sh = /home/desonia/panstarrs/psLib/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localstatedir = ${prefix}/var
+mandir = ${prefix}/man
+mkdir_p = mkdir -p --
+oldincludedir = /usr/include
+prefix = /home/desonia/panstarrs/psLib
+program_transform_name = s,x,x,
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+sysconfdir = ${prefix}/etc
+target_alias = 
+
+# not a GNU package. You can remove this line, if
+# have all needed files, that a GNU package needs
+AUTOMAKE_OPTIONS = foreign 1.4
+SUBDIRS = astronomy collections dataManip fileUtils image sysUtils
+EXTRA_DIST = runTest FullUnitTest
+all: all-recursive
+
+.SUFFIXES:
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  test/Makefile'; \
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --foreign  test/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+#     (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+$(RECURSIVE_TARGETS):
+	@set fnord $$MAKEFLAGS; amf=$$2; \
+	dot_seen=no; \
+	target=`echo $@ | sed s/-recursive//`; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  echo "Making $$target in $$subdir"; \
+	  if test "$$subdir" = "."; then \
+	    dot_seen=yes; \
+	    local_target="$$target-am"; \
+	  else \
+	    local_target="$$target"; \
+	  fi; \
+	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	done; \
+	if test "$$dot_seen" = "no"; then \
+	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+	fi; test -z "$$fail"
+
+mostlyclean-recursive clean-recursive distclean-recursive \
+maintainer-clean-recursive:
+	@set fnord $$MAKEFLAGS; amf=$$2; \
+	dot_seen=no; \
+	case "$@" in \
+	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+	  *) list='$(SUBDIRS)' ;; \
+	esac; \
+	rev=''; for subdir in $$list; do \
+	  if test "$$subdir" = "."; then :; else \
+	    rev="$$subdir $$rev"; \
+	  fi; \
+	done; \
+	rev="$$rev ."; \
+	target=`echo $@ | sed s/-recursive//`; \
+	for subdir in $$rev; do \
+	  echo "Making $$target in $$subdir"; \
+	  if test "$$subdir" = "."; then \
+	    local_target="$$target-am"; \
+	  else \
+	    local_target="$$target"; \
+	  fi; \
+	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	done && test -z "$$fail"
+tags-recursive:
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+	done
+ctags-recursive:
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+	done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+tags: TAGS
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+	  include_option=--etags-include; \
+	  empty_fix=.; \
+	else \
+	  include_option=--include; \
+	  empty_fix=; \
+	fi; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  if test "$$subdir" = .; then :; else \
+	    test ! -f $$subdir/TAGS || \
+	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+	  fi; \
+	done; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+	  if test "$$subdir" = .; then :; else \
+	    test -d "$(distdir)/$$subdir" \
+	    || $(mkdir_p) "$(distdir)/$$subdir" \
+	    || exit 1; \
+	    distdir=`$(am__cd) $(distdir) && pwd`; \
+	    top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
+	    (cd $$subdir && \
+	      $(MAKE) $(AM_MAKEFLAGS) \
+	        top_distdir="$$top_distdir" \
+	        distdir="$$distdir/$$subdir" \
+	        distdir) \
+	      || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: check-recursive
+all-am: Makefile
+installdirs: installdirs-recursive
+installdirs-am:
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-recursive
+	-rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-libtool \
+	distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-recursive
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+uninstall-info: uninstall-info-recursive
+
+.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
+	clean clean-generic clean-libtool clean-recursive ctags \
+	ctags-recursive distclean distclean-generic distclean-libtool \
+	distclean-recursive distclean-tags distdir dvi dvi-am html \
+	html-am info info-am install install-am install-data \
+	install-data-am install-exec install-exec-am install-info \
+	install-info-am install-man install-strip installcheck \
+	installcheck-am installdirs installdirs-am maintainer-clean \
+	maintainer-clean-generic maintainer-clean-recursive \
+	mostlyclean mostlyclean-generic mostlyclean-libtool \
+	mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
+	uninstall uninstall-am uninstall-info-am
+
+
+tests:
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: /trunk/psLib/test/Makefile.am
===================================================================
--- /trunk/psLib/test/Makefile.am	(revision 3115)
+++ /trunk/psLib/test/Makefile.am	(revision 3115)
@@ -0,0 +1,10 @@
+# not a GNU package. You can remove this line, if
+# have all needed files, that a GNU package needs
+AUTOMAKE_OPTIONS = foreign 1.4
+
+SUBDIRS = astronomy collections dataManip fileUtils image sysUtils
+
+EXTRA_DIST = runTest FullUnitTest
+
+tests:
+
Index: /trunk/psLib/test/astronomy/Makefile
===================================================================
--- /trunk/psLib/test/astronomy/Makefile	(revision 3114)
+++ /trunk/psLib/test/astronomy/Makefile	(revision 3115)
@@ -1,27 +1,252 @@
-################################################################################
-##
-##  Makefile:   test/astronomy
-##
-##  $Revision: 1.26 $  $Name: not supported by cvs2svn $
-##  $Date: 2005-01-19 01:53:00 $
-##
-##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
-##
-###############################################################################
-
-ifndef prefix
-    export prefix=$(shell cd ../..;pwd)
-endif
-
-include ../../src/Makefile.Globals
-
-CFLAGS := -I../../include \
-  -DTIME_XML_FILE="\"$(TIME_XML_FILE)\"" \
-  -DTIME_CONFIG_FILE="\"$(TIME_CONFIG_FILE)\"" \
-  $(CFLAGS)
-
-LDFLAGS := -L../../lib -lpslib -lpstest -lxml2 $(LDFLAGS)
-
-TARGET = tst_psTime_01 \
+# Makefile.in generated by automake 1.9.1 from Makefile.am.
+# test/astronomy/Makefile.  Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+SOURCES = $(tst_psAstrometry_SOURCES) $(tst_psAstrometry01_SOURCES) $(tst_psCoord_SOURCES) $(tst_psMetadataIO_SOURCES) $(tst_psMetadata_01_SOURCES) $(tst_psMetadata_02_SOURCES) $(tst_psMetadata_03_SOURCES) $(tst_psMetadata_04_SOURCES) $(tst_psMetadata_05_SOURCES) $(tst_psMetadata_06_SOURCES) $(tst_psMetadata_07_SOURCES) $(tst_psTime_01_SOURCES) $(tst_psTime_02_SOURCES) $(tst_psTime_03_SOURCES) $(tst_psTime_04_SOURCES)
+
+srcdir = .
+top_srcdir = ../..
+
+pkgdatadir = $(datadir)/pslib
+pkglibdir = $(libdir)/pslib
+pkgincludedir = $(includedir)/pslib
+top_builddir = ../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+check_PROGRAMS = tst_psTime_01$(EXEEXT) tst_psTime_02$(EXEEXT) \
+	tst_psTime_03$(EXEEXT) tst_psTime_04$(EXEEXT) \
+	tst_psMetadataIO$(EXEEXT) tst_psMetadata_01$(EXEEXT) \
+	tst_psMetadata_02$(EXEEXT) tst_psMetadata_03$(EXEEXT) \
+	tst_psMetadata_04$(EXEEXT) tst_psMetadata_05$(EXEEXT) \
+	tst_psMetadata_06$(EXEEXT) tst_psMetadata_07$(EXEEXT) \
+	tst_psAstrometry$(EXEEXT) tst_psCoord$(EXEEXT) \
+	tst_psAstrometry01$(EXEEXT)
+subdir = test/astronomy
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+am_tst_psAstrometry_OBJECTS = tst_psAstrometry.$(OBJEXT)
+tst_psAstrometry_OBJECTS = $(am_tst_psAstrometry_OBJECTS)
+tst_psAstrometry_LDADD = $(LDADD)
+am_tst_psAstrometry01_OBJECTS = tst_psAstrometry01.$(OBJEXT)
+tst_psAstrometry01_OBJECTS = $(am_tst_psAstrometry01_OBJECTS)
+tst_psAstrometry01_LDADD = $(LDADD)
+am_tst_psCoord_OBJECTS = tst_psCoord.$(OBJEXT)
+tst_psCoord_OBJECTS = $(am_tst_psCoord_OBJECTS)
+tst_psCoord_LDADD = $(LDADD)
+am_tst_psMetadataIO_OBJECTS = tst_psMetadataIO.$(OBJEXT)
+tst_psMetadataIO_OBJECTS = $(am_tst_psMetadataIO_OBJECTS)
+tst_psMetadataIO_LDADD = $(LDADD)
+am_tst_psMetadata_01_OBJECTS = tst_psMetadata_01.$(OBJEXT)
+tst_psMetadata_01_OBJECTS = $(am_tst_psMetadata_01_OBJECTS)
+tst_psMetadata_01_LDADD = $(LDADD)
+am_tst_psMetadata_02_OBJECTS = tst_psMetadata_02.$(OBJEXT)
+tst_psMetadata_02_OBJECTS = $(am_tst_psMetadata_02_OBJECTS)
+tst_psMetadata_02_LDADD = $(LDADD)
+am_tst_psMetadata_03_OBJECTS = tst_psMetadata_03.$(OBJEXT)
+tst_psMetadata_03_OBJECTS = $(am_tst_psMetadata_03_OBJECTS)
+tst_psMetadata_03_LDADD = $(LDADD)
+am_tst_psMetadata_04_OBJECTS = tst_psMetadata_04.$(OBJEXT)
+tst_psMetadata_04_OBJECTS = $(am_tst_psMetadata_04_OBJECTS)
+tst_psMetadata_04_LDADD = $(LDADD)
+am_tst_psMetadata_05_OBJECTS = tst_psMetadata_05.$(OBJEXT)
+tst_psMetadata_05_OBJECTS = $(am_tst_psMetadata_05_OBJECTS)
+tst_psMetadata_05_LDADD = $(LDADD)
+am_tst_psMetadata_06_OBJECTS = tst_psMetadata_06.$(OBJEXT)
+tst_psMetadata_06_OBJECTS = $(am_tst_psMetadata_06_OBJECTS)
+tst_psMetadata_06_LDADD = $(LDADD)
+am_tst_psMetadata_07_OBJECTS = tst_psMetadata_07.$(OBJEXT)
+tst_psMetadata_07_OBJECTS = $(am_tst_psMetadata_07_OBJECTS)
+tst_psMetadata_07_LDADD = $(LDADD)
+am_tst_psTime_01_OBJECTS = tst_psTime_01.$(OBJEXT)
+tst_psTime_01_OBJECTS = $(am_tst_psTime_01_OBJECTS)
+tst_psTime_01_LDADD = $(LDADD)
+am_tst_psTime_02_OBJECTS = tst_psTime_02.$(OBJEXT)
+tst_psTime_02_OBJECTS = $(am_tst_psTime_02_OBJECTS)
+tst_psTime_02_LDADD = $(LDADD)
+am_tst_psTime_03_OBJECTS = tst_psTime_03.$(OBJEXT)
+tst_psTime_03_OBJECTS = $(am_tst_psTime_03_OBJECTS)
+tst_psTime_03_LDADD = $(LDADD)
+am_tst_psTime_04_OBJECTS = tst_psTime_04.$(OBJEXT)
+tst_psTime_04_OBJECTS = $(am_tst_psTime_04_OBJECTS)
+tst_psTime_04_LDADD = $(LDADD)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(tst_psAstrometry_SOURCES) $(tst_psAstrometry01_SOURCES) \
+	$(tst_psCoord_SOURCES) $(tst_psMetadataIO_SOURCES) \
+	$(tst_psMetadata_01_SOURCES) $(tst_psMetadata_02_SOURCES) \
+	$(tst_psMetadata_03_SOURCES) $(tst_psMetadata_04_SOURCES) \
+	$(tst_psMetadata_05_SOURCES) $(tst_psMetadata_06_SOURCES) \
+	$(tst_psMetadata_07_SOURCES) $(tst_psTime_01_SOURCES) \
+	$(tst_psTime_02_SOURCES) $(tst_psTime_03_SOURCES) \
+	$(tst_psTime_04_SOURCES)
+DIST_SOURCES = $(tst_psAstrometry_SOURCES) \
+	$(tst_psAstrometry01_SOURCES) $(tst_psCoord_SOURCES) \
+	$(tst_psMetadataIO_SOURCES) $(tst_psMetadata_01_SOURCES) \
+	$(tst_psMetadata_02_SOURCES) $(tst_psMetadata_03_SOURCES) \
+	$(tst_psMetadata_04_SOURCES) $(tst_psMetadata_05_SOURCES) \
+	$(tst_psMetadata_06_SOURCES) $(tst_psMetadata_07_SOURCES) \
+	$(tst_psTime_01_SOURCES) $(tst_psTime_02_SOURCES) \
+	$(tst_psTime_03_SOURCES) $(tst_psTime_04_SOURCES)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE = 
+AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
+AWK = gawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
+CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
+CPP = gcc -E
+CPPFLAGS = 
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+ECHO = echo
+ECHO_C = 
+ECHO_N = -n
+ECHO_T = 
+EGREP = grep -E
+EXEEXT = 
+F77 = g77
+FFLAGS = -fno-second-underscore -O -fno-f2c
+GSL_CONFIG = /usr/bin/gsl-config
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LDFLAGS = 
+LIBOBJS = 
+LIBS = 
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS = 
+MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
+OBJEXT = o
+PACKAGE = pslib
+PACKAGE_BUGREPORT = 
+PACKAGE_NAME = 
+PACKAGE_STRING = 
+PACKAGE_TARNAME = 
+PACKAGE_VERSION = 
+PATH_SEPARATOR = :
+PERL = /usr/bin/perl
+PSLIB_CFLAGS = -I${prefix}/include
+PSLIB_LIBS = `sh $(top_srcdir)/pslib-config --libs`
+RANLIB = ranlib
+SET_MAKE = 
+SHELL = /bin/sh
+STRIP = strip
+SWIG = /usr/bin/swig
+VERSION = 1.5
+XML_CONFIG = /usr/bin/xml2-config
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = g77
+ac_ct_RANLIB = ranlib
+ac_ct_STRIP = strip
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE = 
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE = 
+am__include = include
+am__leading_dot = .
+am__quote = 
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias = 
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+datadir = ${prefix}/share
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias = 
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+includedir = ${prefix}/include
+infodir = ${prefix}/info
+install_sh = /home/desonia/panstarrs/psLib/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localstatedir = ${prefix}/var
+mandir = ${prefix}/man
+mkdir_p = mkdir -p --
+oldincludedir = /usr/include
+prefix = /home/desonia/panstarrs/psLib
+program_transform_name = s,x,x,
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+sysconfdir = ${prefix}/etc
+target_alias = 
+
+#Makefile for astronomy functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+AM_LDFLAGS = $(PSLIB_LIBS) -L$(top_srcdir)/src 
+TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 
+TESTS = tst_psTime_01 \
          tst_psTime_02 \
          tst_psTime_03 \
@@ -39,28 +264,418 @@
          tst_psAstrometry01
 
-OBJS = $(addprefix builddir/,$(addsuffix .o,$(TARGET)))
-
-all: $(TARGET)
-	sed 's|PREFIX|$(prefix)|' test.psTime.config1.template > test.psTime.config1
-	sed 's|PREFIX|$(prefix)|' test.psTime.config2.template > test.psTime.config2
-	sed 's|PREFIX|$(prefix)|' test.psTime.config3.template > test.psTime.config3
-	sed 's|PREFIX|$(prefix)|' test.psTime.config4.template > test.psTime.config4
-
-clean:
-	@echo "    Deleting executable and binary files for 'test/collections'"
-	$(RM) $(OBJS)
-
-distclean: clean
-	$(RM) $(TARGET)
-
-install: $(testbindir) $(testbindir)/verified $(TARGET)
-	install test.config header_1.fits header_2.fits $(TARGET) $(testbindir)
-	install verified/*.stderr verified/*.stdout $(testbindir)/verified
-	install test.ser7.dat test.psTime.config1 test.psTime.config2 test.psTime.config3 test.psTime.config4 $(testbindir)
-
-$(testbindir):
-	mkdir -p $(testbindir)
-
-$(testbindir)/verified:
-	mkdir -p $(testbindir)/verified
-
+tst_psTime_01_SOURCES = tst_psTime_01.c
+tst_psTime_02_SOURCES = tst_psTime_02.c
+tst_psTime_03_SOURCES = tst_psTime_03.c
+tst_psTime_04_SOURCES = tst_psTime_04.c
+tst_psMetadataIO_SOURCES = tst_psMetadataIO.c
+tst_psMetadata_01_SOURCES = tst_psMetadata_01.c
+tst_psMetadata_02_SOURCES = tst_psMetadata_02.c
+tst_psMetadata_03_SOURCES = tst_psMetadata_03.c
+tst_psMetadata_04_SOURCES = tst_psMetadata_04.c
+tst_psMetadata_05_SOURCES = tst_psMetadata_05.c
+tst_psMetadata_06_SOURCES = tst_psMetadata_06.c
+tst_psMetadata_07_SOURCES = tst_psMetadata_07.c
+tst_psAstrometry_SOURCES = tst_psAstrometry.c
+tst_psCoord_SOURCES = tst_psCoord.c
+tst_psAstrometry01_SOURCES = tst_psAstrometry01.c
+BUILT_SOURCES = test.psTime.config1 test.psTime.config2 test.psTime.config3 test.psTime.config4
+all: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  test/astronomy/Makefile'; \
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu  test/astronomy/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-checkPROGRAMS:
+	@list='$(check_PROGRAMS)'; for p in $$list; do \
+	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+	  echo " rm -f $$p $$f"; \
+	  rm -f $$p $$f ; \
+	done
+tst_psAstrometry$(EXEEXT): $(tst_psAstrometry_OBJECTS) $(tst_psAstrometry_DEPENDENCIES) 
+	@rm -f tst_psAstrometry$(EXEEXT)
+	$(LINK) $(tst_psAstrometry_LDFLAGS) $(tst_psAstrometry_OBJECTS) $(tst_psAstrometry_LDADD) $(LIBS)
+tst_psAstrometry01$(EXEEXT): $(tst_psAstrometry01_OBJECTS) $(tst_psAstrometry01_DEPENDENCIES) 
+	@rm -f tst_psAstrometry01$(EXEEXT)
+	$(LINK) $(tst_psAstrometry01_LDFLAGS) $(tst_psAstrometry01_OBJECTS) $(tst_psAstrometry01_LDADD) $(LIBS)
+tst_psCoord$(EXEEXT): $(tst_psCoord_OBJECTS) $(tst_psCoord_DEPENDENCIES) 
+	@rm -f tst_psCoord$(EXEEXT)
+	$(LINK) $(tst_psCoord_LDFLAGS) $(tst_psCoord_OBJECTS) $(tst_psCoord_LDADD) $(LIBS)
+tst_psMetadataIO$(EXEEXT): $(tst_psMetadataIO_OBJECTS) $(tst_psMetadataIO_DEPENDENCIES) 
+	@rm -f tst_psMetadataIO$(EXEEXT)
+	$(LINK) $(tst_psMetadataIO_LDFLAGS) $(tst_psMetadataIO_OBJECTS) $(tst_psMetadataIO_LDADD) $(LIBS)
+tst_psMetadata_01$(EXEEXT): $(tst_psMetadata_01_OBJECTS) $(tst_psMetadata_01_DEPENDENCIES) 
+	@rm -f tst_psMetadata_01$(EXEEXT)
+	$(LINK) $(tst_psMetadata_01_LDFLAGS) $(tst_psMetadata_01_OBJECTS) $(tst_psMetadata_01_LDADD) $(LIBS)
+tst_psMetadata_02$(EXEEXT): $(tst_psMetadata_02_OBJECTS) $(tst_psMetadata_02_DEPENDENCIES) 
+	@rm -f tst_psMetadata_02$(EXEEXT)
+	$(LINK) $(tst_psMetadata_02_LDFLAGS) $(tst_psMetadata_02_OBJECTS) $(tst_psMetadata_02_LDADD) $(LIBS)
+tst_psMetadata_03$(EXEEXT): $(tst_psMetadata_03_OBJECTS) $(tst_psMetadata_03_DEPENDENCIES) 
+	@rm -f tst_psMetadata_03$(EXEEXT)
+	$(LINK) $(tst_psMetadata_03_LDFLAGS) $(tst_psMetadata_03_OBJECTS) $(tst_psMetadata_03_LDADD) $(LIBS)
+tst_psMetadata_04$(EXEEXT): $(tst_psMetadata_04_OBJECTS) $(tst_psMetadata_04_DEPENDENCIES) 
+	@rm -f tst_psMetadata_04$(EXEEXT)
+	$(LINK) $(tst_psMetadata_04_LDFLAGS) $(tst_psMetadata_04_OBJECTS) $(tst_psMetadata_04_LDADD) $(LIBS)
+tst_psMetadata_05$(EXEEXT): $(tst_psMetadata_05_OBJECTS) $(tst_psMetadata_05_DEPENDENCIES) 
+	@rm -f tst_psMetadata_05$(EXEEXT)
+	$(LINK) $(tst_psMetadata_05_LDFLAGS) $(tst_psMetadata_05_OBJECTS) $(tst_psMetadata_05_LDADD) $(LIBS)
+tst_psMetadata_06$(EXEEXT): $(tst_psMetadata_06_OBJECTS) $(tst_psMetadata_06_DEPENDENCIES) 
+	@rm -f tst_psMetadata_06$(EXEEXT)
+	$(LINK) $(tst_psMetadata_06_LDFLAGS) $(tst_psMetadata_06_OBJECTS) $(tst_psMetadata_06_LDADD) $(LIBS)
+tst_psMetadata_07$(EXEEXT): $(tst_psMetadata_07_OBJECTS) $(tst_psMetadata_07_DEPENDENCIES) 
+	@rm -f tst_psMetadata_07$(EXEEXT)
+	$(LINK) $(tst_psMetadata_07_LDFLAGS) $(tst_psMetadata_07_OBJECTS) $(tst_psMetadata_07_LDADD) $(LIBS)
+tst_psTime_01$(EXEEXT): $(tst_psTime_01_OBJECTS) $(tst_psTime_01_DEPENDENCIES) 
+	@rm -f tst_psTime_01$(EXEEXT)
+	$(LINK) $(tst_psTime_01_LDFLAGS) $(tst_psTime_01_OBJECTS) $(tst_psTime_01_LDADD) $(LIBS)
+tst_psTime_02$(EXEEXT): $(tst_psTime_02_OBJECTS) $(tst_psTime_02_DEPENDENCIES) 
+	@rm -f tst_psTime_02$(EXEEXT)
+	$(LINK) $(tst_psTime_02_LDFLAGS) $(tst_psTime_02_OBJECTS) $(tst_psTime_02_LDADD) $(LIBS)
+tst_psTime_03$(EXEEXT): $(tst_psTime_03_OBJECTS) $(tst_psTime_03_DEPENDENCIES) 
+	@rm -f tst_psTime_03$(EXEEXT)
+	$(LINK) $(tst_psTime_03_LDFLAGS) $(tst_psTime_03_OBJECTS) $(tst_psTime_03_LDADD) $(LIBS)
+tst_psTime_04$(EXEEXT): $(tst_psTime_04_OBJECTS) $(tst_psTime_04_DEPENDENCIES) 
+	@rm -f tst_psTime_04$(EXEEXT)
+	$(LINK) $(tst_psTime_04_LDFLAGS) $(tst_psTime_04_OBJECTS) $(tst_psTime_04_LDADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+
+distclean-compile:
+	-rm -f *.tab.c
+
+include ./$(DEPDIR)/tst_psAstrometry.Po
+include ./$(DEPDIR)/tst_psAstrometry01.Po
+include ./$(DEPDIR)/tst_psCoord.Po
+include ./$(DEPDIR)/tst_psMetadataIO.Po
+include ./$(DEPDIR)/tst_psMetadata_01.Po
+include ./$(DEPDIR)/tst_psMetadata_02.Po
+include ./$(DEPDIR)/tst_psMetadata_03.Po
+include ./$(DEPDIR)/tst_psMetadata_04.Po
+include ./$(DEPDIR)/tst_psMetadata_05.Po
+include ./$(DEPDIR)/tst_psMetadata_06.Po
+include ./$(DEPDIR)/tst_psMetadata_07.Po
+include ./$(DEPDIR)/tst_psTime_01.Po
+include ./$(DEPDIR)/tst_psTime_02.Po
+include ./$(DEPDIR)/tst_psTime_03.Po
+include ./$(DEPDIR)/tst_psTime_04.Po
+
+.c.o:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c $<
+
+.c.obj:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(LTCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+tags: TAGS
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+check-TESTS: $(TESTS)
+	@failed=0; all=0; xfail=0; xpass=0; skip=0; \
+	srcdir=$(srcdir); export srcdir; \
+	list='$(TESTS)'; \
+	if test -n "$$list"; then \
+	  for tst in $$list; do \
+	    if test -f ./$$tst; then dir=./; \
+	    elif test -f $$tst; then dir=; \
+	    else dir="$(srcdir)/"; fi; \
+	    if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+	      all=`expr $$all + 1`; \
+	      case " $(XFAIL_TESTS) " in \
+	      *" $$tst "*) \
+		xpass=`expr $$xpass + 1`; \
+		failed=`expr $$failed + 1`; \
+		echo "XPASS: $$tst"; \
+	      ;; \
+	      *) \
+		echo "PASS: $$tst"; \
+	      ;; \
+	      esac; \
+	    elif test $$? -ne 77; then \
+	      all=`expr $$all + 1`; \
+	      case " $(XFAIL_TESTS) " in \
+	      *" $$tst "*) \
+		xfail=`expr $$xfail + 1`; \
+		echo "XFAIL: $$tst"; \
+	      ;; \
+	      *) \
+		failed=`expr $$failed + 1`; \
+		echo "FAIL: $$tst"; \
+	      ;; \
+	      esac; \
+	    else \
+	      skip=`expr $$skip + 1`; \
+	      echo "SKIP: $$tst"; \
+	    fi; \
+	  done; \
+	  if test "$$failed" -eq 0; then \
+	    if test "$$xfail" -eq 0; then \
+	      banner="All $$all tests passed"; \
+	    else \
+	      banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+	    fi; \
+	  else \
+	    if test "$$xpass" -eq 0; then \
+	      banner="$$failed of $$all tests failed"; \
+	    else \
+	      banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+	    fi; \
+	  fi; \
+	  dashes="$$banner"; \
+	  skipped=""; \
+	  if test "$$skip" -ne 0; then \
+	    skipped="($$skip tests were not run)"; \
+	    test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
+	      dashes="$$skipped"; \
+	  fi; \
+	  report=""; \
+	  if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
+	    report="Please report to $(PACKAGE_BUGREPORT)"; \
+	    test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
+	      dashes="$$report"; \
+	  fi; \
+	  dashes=`echo "$$dashes" | sed s/./=/g`; \
+	  echo "$$dashes"; \
+	  echo "$$banner"; \
+	  test -z "$$skipped" || echo "$$skipped"; \
+	  test -z "$$report" || echo "$$report"; \
+	  echo "$$dashes"; \
+	  test "$$failed" -eq 0; \
+	else :; fi
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
+check: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) check-am
+all-am: Makefile
+installdirs:
+install: $(BUILT_SOURCES)
+	$(MAKE) $(AM_MAKEFLAGS) install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+clean: clean-am
+
+clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
+	mostlyclean-am
+
+distclean: distclean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
+	clean-checkPROGRAMS clean-generic clean-libtool ctags \
+	distclean distclean-compile distclean-generic \
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
+	html-am info info-am install install-am install-data \
+	install-data-am install-exec install-exec-am install-info \
+	install-info-am install-man install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+	tags uninstall uninstall-am uninstall-info-am
+
+tests: $(TESTS)
+
+test.psTime.config1: test.psTime.config1.template
+	sed 's|PREFIX|$(prefix)|' $? > $@
+
+test.psTime.config2: test.psTime.config2.template
+	sed 's|PREFIX|$(prefix)|' $? > $@
+
+test.psTime.config3: test.psTime.config3.template
+	sed 's|PREFIX|$(prefix)|' $? > $@
+
+test.psTime.config4: test.psTime.config4.template
+	sed 's|PREFIX|$(prefix)|' $? > $@
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: /trunk/psLib/test/astronomy/Makefile.am
===================================================================
--- /trunk/psLib/test/astronomy/Makefile.am	(revision 3115)
+++ /trunk/psLib/test/astronomy/Makefile.am	(revision 3115)
@@ -0,0 +1,79 @@
+#Makefile for astronomy functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+PSLIB_LIBS = `sh $(top_srcdir)/pslib-config --libs`
+AM_LDFLAGS = $(PSLIB_LIBS) -L$(top_srcdir)/src 
+
+check_PROGRAMS = tst_psTime_01 \
+         tst_psTime_02 \
+         tst_psTime_03 \
+         tst_psTime_04 \
+         tst_psMetadataIO  \
+         tst_psMetadata_01 \
+         tst_psMetadata_02 \
+         tst_psMetadata_03 \
+         tst_psMetadata_04 \
+         tst_psMetadata_05 \
+         tst_psMetadata_06 \
+         tst_psMetadata_07 \
+         tst_psAstrometry \
+         tst_psCoord \
+         tst_psAstrometry01
+
+TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 
+TESTS = tst_psTime_01 \
+         tst_psTime_02 \
+         tst_psTime_03 \
+         tst_psTime_04 \
+         tst_psMetadataIO  \
+         tst_psMetadata_01 \
+         tst_psMetadata_02 \
+         tst_psMetadata_03 \
+         tst_psMetadata_04 \
+         tst_psMetadata_05 \
+         tst_psMetadata_06 \
+         tst_psMetadata_07 \
+         tst_psAstrometry \
+         tst_psCoord \
+         tst_psAstrometry01
+tests: $(TESTS)
+ 
+tst_psTime_01_SOURCES = tst_psTime_01.c
+tst_psTime_02_SOURCES = tst_psTime_02.c
+tst_psTime_03_SOURCES = tst_psTime_03.c
+tst_psTime_04_SOURCES = tst_psTime_04.c
+tst_psMetadataIO_SOURCES = tst_psMetadataIO.c
+tst_psMetadata_01_SOURCES = tst_psMetadata_01.c
+tst_psMetadata_02_SOURCES = tst_psMetadata_02.c
+tst_psMetadata_03_SOURCES = tst_psMetadata_03.c
+tst_psMetadata_04_SOURCES = tst_psMetadata_04.c
+tst_psMetadata_05_SOURCES = tst_psMetadata_05.c
+tst_psMetadata_06_SOURCES = tst_psMetadata_06.c
+tst_psMetadata_07_SOURCES = tst_psMetadata_07.c
+tst_psAstrometry_SOURCES = tst_psAstrometry.c
+tst_psCoord_SOURCES = tst_psCoord.c
+tst_psAstrometry01_SOURCES = tst_psAstrometry01.c
+
+BUILT_SOURCES = test.psTime.config1 test.psTime.config2 test.psTime.config3 test.psTime.config4
+
+test.psTime.config1: test.psTime.config1.template
+	sed 's|PREFIX|$(prefix)|' $? > $@
+
+test.psTime.config2: test.psTime.config2.template
+	sed 's|PREFIX|$(prefix)|' $? > $@
+
+test.psTime.config3: test.psTime.config3.template
+	sed 's|PREFIX|$(prefix)|' $? > $@
+
+test.psTime.config4: test.psTime.config4.template
+	sed 's|PREFIX|$(prefix)|' $? > $@
+
Index: /trunk/psLib/test/astronomy/test.psTime.config2
===================================================================
--- /trunk/psLib/test/astronomy/test.psTime.config2	(revision 3114)
+++ /trunk/psLib/test/astronomy/test.psTime.config2	(revision 3115)
@@ -1,4 +1,4 @@
 # This configuration file specifies values required for time calculations by psLib.
-psLib.time.tables.dir STR /home/desonia/psLib/data                                                    # Directory for time tables
+psLib.time.tables.dir STR /home/desonia/panstarrs/psLib/data                                                    # Directory for time tables
 psLib.time.tables.n S32 4                                                               # Number of time tables
 psLib.time.tables.files STR eopc01_1900_2004.dat finals_all.dat tai_utc.dat    # These are the table file names
Index: /trunk/psLib/test/astronomy/test.psTime.config3
===================================================================
--- /trunk/psLib/test/astronomy/test.psTime.config3	(revision 3114)
+++ /trunk/psLib/test/astronomy/test.psTime.config3	(revision 3115)
@@ -1,4 +1,4 @@
 # This configuration file specifies values required for time calculations by psLib.
-psLib.time.tables.dir STR /home/desonia/psLib/data                                                    # Directory for time tables
+psLib.time.tables.dir STR /home/desonia/panstarrs/psLib/data                                                    # Directory for time tables
 psLib.time.tables.n S32 4                                                               # Number of time tables
 psLib.time.tables.files STR ser7.dat eopc01_1900_2004.dat finals_all.dat tai_utc.dat    # These are the table file names
Index: /trunk/psLib/test/astronomy/tst_psMetadataIO.c
===================================================================
--- /trunk/psLib/test/astronomy/tst_psMetadataIO.c	(revision 3114)
+++ /trunk/psLib/test/astronomy/tst_psMetadataIO.c	(revision 3115)
@@ -13,6 +13,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2005-02-02 20:20:55 $
+*  @version $Revision: 1.8 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2005-02-03 00:54:12 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -20,7 +20,7 @@
 */
 
+#include <string.h>
 #include "pslib.h"
 #include "psTest.h"
-#include <string.h>
 
 static void printMetadataItem(psMetadataItem *metadataItem, char *spaces);
Index: /trunk/psLib/test/astronomy/tst_psMetadata_01.c
===================================================================
--- /trunk/psLib/test/astronomy/tst_psMetadata_01.c	(revision 3114)
+++ /trunk/psLib/test/astronomy/tst_psMetadata_01.c	(revision 3115)
@@ -18,6 +18,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.18 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2005-02-02 20:20:55 $
+*  @version $Revision: 1.19 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2005-02-03 00:54:12 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -25,7 +25,7 @@
 */
 
+#include <string.h>
 #include "pslib.h"
 #include "psTest.h"
-#include <string.h>
 
 static void printMetadataItem(psMetadataItem *metadataItem, char *spaces);
Index: /trunk/psLib/test/astronomy/tst_psMetadata_02.c
===================================================================
--- /trunk/psLib/test/astronomy/tst_psMetadata_02.c	(revision 3114)
+++ /trunk/psLib/test/astronomy/tst_psMetadata_02.c	(revision 3115)
@@ -14,6 +14,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.9 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2004-12-03 23:19:07 $
+*  @version $Revision: 1.10 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2005-02-03 00:54:12 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -21,7 +21,7 @@
 */
 
+#include <string.h>
 #include "pslib.h"
 #include "psTest.h"
-#include <string.h>
 
 static void printMetadataItem(psMetadataItem *metadataItem)
Index: /trunk/psLib/test/astronomy/tst_psMetadata_03.c
===================================================================
--- /trunk/psLib/test/astronomy/tst_psMetadata_03.c	(revision 3114)
+++ /trunk/psLib/test/astronomy/tst_psMetadata_03.c	(revision 3115)
@@ -18,6 +18,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.11 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2004-12-03 23:19:07 $
+*  @version $Revision: 1.12 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2005-02-03 00:54:12 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -25,7 +25,7 @@
 */
 
+#include <string.h>
 #include "pslib.h"
 #include "psTest.h"
-#include <string.h>
 
 static void printMetadataItem(psMetadataItem *metadataItem)
Index: /trunk/psLib/test/astronomy/tst_psMetadata_04.c
===================================================================
--- /trunk/psLib/test/astronomy/tst_psMetadata_04.c	(revision 3114)
+++ /trunk/psLib/test/astronomy/tst_psMetadata_04.c	(revision 3115)
@@ -23,6 +23,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.11 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2005-01-13 21:19:31 $
+*  @version $Revision: 1.12 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2005-02-03 00:54:12 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -30,7 +30,7 @@
 */
 
+#include <string.h>
 #include "pslib.h"
 #include "psTest.h"
-#include <string.h>
 
 static void printMetadataItem(psMetadataItem *metadataItem)
Index: /trunk/psLib/test/astronomy/tst_psMetadata_05.c
===================================================================
--- /trunk/psLib/test/astronomy/tst_psMetadata_05.c	(revision 3114)
+++ /trunk/psLib/test/astronomy/tst_psMetadata_05.c	(revision 3115)
@@ -22,6 +22,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.16 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2005-01-13 23:34:56 $
+*  @version $Revision: 1.17 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2005-02-03 00:54:12 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -29,7 +29,7 @@
 */
 
+#include <string.h>
 #include "pslib.h"
 #include "psTest.h"
-#include <string.h>
 
 static void printMetadataItem(psMetadataItem *metadataItem)
Index: /trunk/psLib/test/astronomy/tst_psMetadata_06.c
===================================================================
--- /trunk/psLib/test/astronomy/tst_psMetadata_06.c	(revision 3114)
+++ /trunk/psLib/test/astronomy/tst_psMetadata_06.c	(revision 3115)
@@ -13,6 +13,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2004-12-03 23:19:07 $
+*  @version $Revision: 1.8 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2005-02-03 00:54:12 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -20,7 +20,7 @@
 */
 
+#include <string.h>
 #include "pslib.h"
 #include "psTest.h"
-#include <string.h>
 
 static void printMetadataItem(psMetadataItem *metadataItem)
Index: /trunk/psLib/test/astronomy/tst_psMetadata_07.c
===================================================================
--- /trunk/psLib/test/astronomy/tst_psMetadata_07.c	(revision 3114)
+++ /trunk/psLib/test/astronomy/tst_psMetadata_07.c	(revision 3115)
@@ -9,18 +9,13 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2005-01-19 01:53:00 $
+*  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2005-02-03 00:54:12 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
 *
 */
+#include "config.h"
 #include "pslib.h"
 #include "psTest.h"
-
-#ifndef TIME_XML_FILE
-#define TIME_XML_FILE "../../config/psTime.xml"
-#pragma warning TIME_XML_FILE was not defined in the makefile.
-#endif
-
 
 int main(int argc, char* argv[])
@@ -31,5 +26,5 @@
     psU32 nFail = 0;
     psMetadata *md = NULL;
-    md = psMetadataParseConfigXml(md, &nFail, TIME_XML_FILE, true);
+    md = psMetadataParseConfigXml(md, &nFail, XML_CONFIG_FILE, true);
     if (nFail != 0) {
         printf("psMetadataParseConfigXml returned error %d\n", res);
Index: /trunk/psLib/test/astronomy/tst_psTime_01.c
===================================================================
--- /trunk/psLib/test/astronomy/tst_psTime_01.c	(revision 3114)
+++ /trunk/psLib/test/astronomy/tst_psTime_01.c	(revision 3115)
@@ -23,6 +23,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.17 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-12-10 02:50:15 $
+ *  @version $Revision: 1.18 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2005-02-03 00:54:12 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -30,7 +30,7 @@
  */
 
+#include <string.h>
 #include "pslib.h"
 #include "psTest.h"
-#include <string.h>
 
 psS32 main(psS32 argc, char* argv[])
Index: /trunk/psLib/test/astronomy/tst_psTime_04.c
===================================================================
--- /trunk/psLib/test/astronomy/tst_psTime_04.c	(revision 3114)
+++ /trunk/psLib/test/astronomy/tst_psTime_04.c	(revision 3115)
@@ -14,10 +14,11 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2005-01-19 01:53:00 $
+ *  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2005-02-03 00:54:12 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
  *
  */
+#include "config.h"
 
 #include "pslib.h"
@@ -29,5 +30,5 @@
     // Test A - Initialize time
     printPositiveTestHeader(stdout, "psTime", "Test A - Initialize time");
-    psLibInit(true, TIME_CONFIG_FILE);
+    psLibInit(true, CONFIG_FILE);
     psLibFinalize();
     printFooter(stdout, "psTime", "Test A - Initialize time", true);
Index: /trunk/psLib/test/collections/Makefile
===================================================================
--- /trunk/psLib/test/collections/Makefile	(revision 3114)
+++ /trunk/psLib/test/collections/Makefile	(revision 3115)
@@ -1,23 +1,262 @@
-################################################################################
-##
-##  Makefile:   test/collections
-##
-##  $Revision: 1.27 $  $Name: not supported by cvs2svn $
-##  $Date: 2005-01-03 20:28:07 $
-##
-##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
-##
-###############################################################################
-
-ifndef prefix
-    export prefix=$(shell cd ../..;pwd)
-endif
-
-include ../../src/Makefile.Globals
-
-CFLAGS := -I../../include $(CFLAGS)
-LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS)
-
-TARGET = tst_psVector          \
+# Makefile.in generated by automake 1.9.1 from Makefile.am.
+# test/collections/Makefile.  Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+SOURCES = $(tst_psArray_SOURCES) $(tst_psArray01_SOURCES) $(tst_psArray02_SOURCES) $(tst_psBitSet_SOURCES) $(tst_psHash00_SOURCES) $(tst_psHash01_SOURCES) $(tst_psHash02_SOURCES) $(tst_psHash03_SOURCES) $(tst_psHash04_SOURCES) $(tst_psHash05_SOURCES) $(tst_psList_SOURCES) $(tst_psScalar_SOURCES) $(tst_psVector_SOURCES) $(tst_psVectorSort_01_SOURCES) $(tst_psVectorSort_02_SOURCES) $(tst_psVectorSort_03_SOURCES) $(tst_psVectorSort_04_SOURCES)
+
+srcdir = .
+top_srcdir = ../..
+
+pkgdatadir = $(datadir)/pslib
+pkglibdir = $(libdir)/pslib
+pkgincludedir = $(includedir)/pslib
+top_builddir = ../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+check_PROGRAMS = tst_psVector$(EXEEXT) tst_psArray$(EXEEXT) \
+	tst_psArray01$(EXEEXT) tst_psArray02$(EXEEXT) \
+	tst_psBitSet$(EXEEXT) tst_psVectorSort_01$(EXEEXT) \
+	tst_psVectorSort_02$(EXEEXT) tst_psVectorSort_03$(EXEEXT) \
+	tst_psVectorSort_04$(EXEEXT) tst_psList$(EXEEXT) \
+	tst_psHash00$(EXEEXT) tst_psHash01$(EXEEXT) \
+	tst_psHash02$(EXEEXT) tst_psHash03$(EXEEXT) \
+	tst_psHash04$(EXEEXT) tst_psHash05$(EXEEXT) \
+	tst_psScalar$(EXEEXT)
+subdir = test/collections
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+am_tst_psArray_OBJECTS = tst_psArray.$(OBJEXT)
+tst_psArray_OBJECTS = $(am_tst_psArray_OBJECTS)
+tst_psArray_LDADD = $(LDADD)
+am_tst_psArray01_OBJECTS = tst_psArray01.$(OBJEXT)
+tst_psArray01_OBJECTS = $(am_tst_psArray01_OBJECTS)
+tst_psArray01_LDADD = $(LDADD)
+am_tst_psArray02_OBJECTS = tst_psArray02.$(OBJEXT)
+tst_psArray02_OBJECTS = $(am_tst_psArray02_OBJECTS)
+tst_psArray02_LDADD = $(LDADD)
+am_tst_psBitSet_OBJECTS = tst_psBitSet.$(OBJEXT)
+tst_psBitSet_OBJECTS = $(am_tst_psBitSet_OBJECTS)
+tst_psBitSet_LDADD = $(LDADD)
+am_tst_psHash00_OBJECTS = tst_psHash00.$(OBJEXT)
+tst_psHash00_OBJECTS = $(am_tst_psHash00_OBJECTS)
+tst_psHash00_LDADD = $(LDADD)
+am_tst_psHash01_OBJECTS = tst_psHash01.$(OBJEXT)
+tst_psHash01_OBJECTS = $(am_tst_psHash01_OBJECTS)
+tst_psHash01_LDADD = $(LDADD)
+am_tst_psHash02_OBJECTS = tst_psHash02.$(OBJEXT)
+tst_psHash02_OBJECTS = $(am_tst_psHash02_OBJECTS)
+tst_psHash02_LDADD = $(LDADD)
+am_tst_psHash03_OBJECTS = tst_psHash03.$(OBJEXT)
+tst_psHash03_OBJECTS = $(am_tst_psHash03_OBJECTS)
+tst_psHash03_LDADD = $(LDADD)
+am_tst_psHash04_OBJECTS = tst_psHash04.$(OBJEXT)
+tst_psHash04_OBJECTS = $(am_tst_psHash04_OBJECTS)
+tst_psHash04_LDADD = $(LDADD)
+am_tst_psHash05_OBJECTS = tst_psHash05.$(OBJEXT)
+tst_psHash05_OBJECTS = $(am_tst_psHash05_OBJECTS)
+tst_psHash05_LDADD = $(LDADD)
+am_tst_psList_OBJECTS = tst_psList.$(OBJEXT)
+tst_psList_OBJECTS = $(am_tst_psList_OBJECTS)
+tst_psList_LDADD = $(LDADD)
+am_tst_psScalar_OBJECTS = tst_psScalar.$(OBJEXT)
+tst_psScalar_OBJECTS = $(am_tst_psScalar_OBJECTS)
+tst_psScalar_LDADD = $(LDADD)
+am_tst_psVector_OBJECTS = tst_psVector.$(OBJEXT)
+tst_psVector_OBJECTS = $(am_tst_psVector_OBJECTS)
+tst_psVector_LDADD = $(LDADD)
+am_tst_psVectorSort_01_OBJECTS = tst_psVectorSort_01.$(OBJEXT)
+tst_psVectorSort_01_OBJECTS = $(am_tst_psVectorSort_01_OBJECTS)
+tst_psVectorSort_01_LDADD = $(LDADD)
+am_tst_psVectorSort_02_OBJECTS = tst_psVectorSort_02.$(OBJEXT)
+tst_psVectorSort_02_OBJECTS = $(am_tst_psVectorSort_02_OBJECTS)
+tst_psVectorSort_02_LDADD = $(LDADD)
+am_tst_psVectorSort_03_OBJECTS = tst_psVectorSort_03.$(OBJEXT)
+tst_psVectorSort_03_OBJECTS = $(am_tst_psVectorSort_03_OBJECTS)
+tst_psVectorSort_03_LDADD = $(LDADD)
+am_tst_psVectorSort_04_OBJECTS = tst_psVectorSort_04.$(OBJEXT)
+tst_psVectorSort_04_OBJECTS = $(am_tst_psVectorSort_04_OBJECTS)
+tst_psVectorSort_04_LDADD = $(LDADD)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(tst_psArray_SOURCES) $(tst_psArray01_SOURCES) \
+	$(tst_psArray02_SOURCES) $(tst_psBitSet_SOURCES) \
+	$(tst_psHash00_SOURCES) $(tst_psHash01_SOURCES) \
+	$(tst_psHash02_SOURCES) $(tst_psHash03_SOURCES) \
+	$(tst_psHash04_SOURCES) $(tst_psHash05_SOURCES) \
+	$(tst_psList_SOURCES) $(tst_psScalar_SOURCES) \
+	$(tst_psVector_SOURCES) $(tst_psVectorSort_01_SOURCES) \
+	$(tst_psVectorSort_02_SOURCES) $(tst_psVectorSort_03_SOURCES) \
+	$(tst_psVectorSort_04_SOURCES)
+DIST_SOURCES = $(tst_psArray_SOURCES) $(tst_psArray01_SOURCES) \
+	$(tst_psArray02_SOURCES) $(tst_psBitSet_SOURCES) \
+	$(tst_psHash00_SOURCES) $(tst_psHash01_SOURCES) \
+	$(tst_psHash02_SOURCES) $(tst_psHash03_SOURCES) \
+	$(tst_psHash04_SOURCES) $(tst_psHash05_SOURCES) \
+	$(tst_psList_SOURCES) $(tst_psScalar_SOURCES) \
+	$(tst_psVector_SOURCES) $(tst_psVectorSort_01_SOURCES) \
+	$(tst_psVectorSort_02_SOURCES) $(tst_psVectorSort_03_SOURCES) \
+	$(tst_psVectorSort_04_SOURCES)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE = 
+AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
+AWK = gawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
+CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
+CPP = gcc -E
+CPPFLAGS = 
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+ECHO = echo
+ECHO_C = 
+ECHO_N = -n
+ECHO_T = 
+EGREP = grep -E
+EXEEXT = 
+F77 = g77
+FFLAGS = -fno-second-underscore -O -fno-f2c
+GSL_CONFIG = /usr/bin/gsl-config
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LDFLAGS = 
+LIBOBJS = 
+LIBS = 
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS = 
+MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
+OBJEXT = o
+PACKAGE = pslib
+PACKAGE_BUGREPORT = 
+PACKAGE_NAME = 
+PACKAGE_STRING = 
+PACKAGE_TARNAME = 
+PACKAGE_VERSION = 
+PATH_SEPARATOR = :
+PERL = /usr/bin/perl
+PSLIB_CFLAGS = -I${prefix}/include
+PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
+RANLIB = ranlib
+SET_MAKE = 
+SHELL = /bin/sh
+STRIP = strip
+SWIG = /usr/bin/swig
+VERSION = 1.5
+XML_CONFIG = /usr/bin/xml2-config
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = g77
+ac_ct_RANLIB = ranlib
+ac_ct_STRIP = strip
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE = 
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE = 
+am__include = include
+am__leading_dot = .
+am__quote = 
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias = 
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+datadir = ${prefix}/share
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias = 
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+includedir = ${prefix}/include
+infodir = ${prefix}/info
+install_sh = /home/desonia/panstarrs/psLib/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localstatedir = ${prefix}/var
+mandir = ${prefix}/man
+mkdir_p = mkdir -p --
+oldincludedir = /usr/include
+prefix = /home/desonia/panstarrs/psLib
+program_transform_name = s,x,x,
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+sysconfdir = ${prefix}/etc
+target_alias = 
+
+#Makefile for astronomy functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs`
+TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 
+TESTS = \
+         tst_psVector          \
          tst_psArray           \
          tst_psArray01         \
@@ -37,24 +276,411 @@
          tst_psScalar
 
-OBJS = $(addsuffix .o,$(TARGET))
-
-all: $(TARGET)
-
-clean:
-	@echo "    Deleting executable and binary files for 'test/collections'"
-	$(RM) $(OBJS)
-
-distclean: clean
-	$(RM) $(TARGET)
-
-install: $(testbindir) $(testbindir)/verified $(TARGET)
-	install $(TARGET) $(testbindir)
-	install verified/*.stderr verified/*.stdout $(testbindir)/verified
-
-$(testbindir):
-	mkdir -p $(testbindir)
-
-$(testbindir)/verified:
-	mkdir -p $(testbindir)/verified
-
-
+tst_psVector_SOURCES = tst_psVector.c
+tst_psArray_SOURCES = tst_psArray.c
+tst_psArray01_SOURCES = tst_psArray01.c
+tst_psArray02_SOURCES = tst_psArray02.c
+tst_psBitSet_SOURCES = tst_psBitSet.c
+tst_psVectorSort_01_SOURCES = tst_psVectorSort_01.c
+tst_psVectorSort_02_SOURCES = tst_psVectorSort_02.c
+tst_psVectorSort_03_SOURCES = tst_psVectorSort_03.c
+tst_psVectorSort_04_SOURCES = tst_psVectorSort_04.c
+tst_psList_SOURCES = tst_psList.c
+tst_psHash00_SOURCES = tst_psHash00.c
+tst_psHash01_SOURCES = tst_psHash01.c
+tst_psHash02_SOURCES = tst_psHash02.c
+tst_psHash03_SOURCES = tst_psHash03.c
+tst_psHash04_SOURCES = tst_psHash04.c
+tst_psHash05_SOURCES = tst_psHash05.c
+tst_psScalar_SOURCES = tst_psScalar.c
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  test/collections/Makefile'; \
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu  test/collections/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-checkPROGRAMS:
+	@list='$(check_PROGRAMS)'; for p in $$list; do \
+	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+	  echo " rm -f $$p $$f"; \
+	  rm -f $$p $$f ; \
+	done
+tst_psArray$(EXEEXT): $(tst_psArray_OBJECTS) $(tst_psArray_DEPENDENCIES) 
+	@rm -f tst_psArray$(EXEEXT)
+	$(LINK) $(tst_psArray_LDFLAGS) $(tst_psArray_OBJECTS) $(tst_psArray_LDADD) $(LIBS)
+tst_psArray01$(EXEEXT): $(tst_psArray01_OBJECTS) $(tst_psArray01_DEPENDENCIES) 
+	@rm -f tst_psArray01$(EXEEXT)
+	$(LINK) $(tst_psArray01_LDFLAGS) $(tst_psArray01_OBJECTS) $(tst_psArray01_LDADD) $(LIBS)
+tst_psArray02$(EXEEXT): $(tst_psArray02_OBJECTS) $(tst_psArray02_DEPENDENCIES) 
+	@rm -f tst_psArray02$(EXEEXT)
+	$(LINK) $(tst_psArray02_LDFLAGS) $(tst_psArray02_OBJECTS) $(tst_psArray02_LDADD) $(LIBS)
+tst_psBitSet$(EXEEXT): $(tst_psBitSet_OBJECTS) $(tst_psBitSet_DEPENDENCIES) 
+	@rm -f tst_psBitSet$(EXEEXT)
+	$(LINK) $(tst_psBitSet_LDFLAGS) $(tst_psBitSet_OBJECTS) $(tst_psBitSet_LDADD) $(LIBS)
+tst_psHash00$(EXEEXT): $(tst_psHash00_OBJECTS) $(tst_psHash00_DEPENDENCIES) 
+	@rm -f tst_psHash00$(EXEEXT)
+	$(LINK) $(tst_psHash00_LDFLAGS) $(tst_psHash00_OBJECTS) $(tst_psHash00_LDADD) $(LIBS)
+tst_psHash01$(EXEEXT): $(tst_psHash01_OBJECTS) $(tst_psHash01_DEPENDENCIES) 
+	@rm -f tst_psHash01$(EXEEXT)
+	$(LINK) $(tst_psHash01_LDFLAGS) $(tst_psHash01_OBJECTS) $(tst_psHash01_LDADD) $(LIBS)
+tst_psHash02$(EXEEXT): $(tst_psHash02_OBJECTS) $(tst_psHash02_DEPENDENCIES) 
+	@rm -f tst_psHash02$(EXEEXT)
+	$(LINK) $(tst_psHash02_LDFLAGS) $(tst_psHash02_OBJECTS) $(tst_psHash02_LDADD) $(LIBS)
+tst_psHash03$(EXEEXT): $(tst_psHash03_OBJECTS) $(tst_psHash03_DEPENDENCIES) 
+	@rm -f tst_psHash03$(EXEEXT)
+	$(LINK) $(tst_psHash03_LDFLAGS) $(tst_psHash03_OBJECTS) $(tst_psHash03_LDADD) $(LIBS)
+tst_psHash04$(EXEEXT): $(tst_psHash04_OBJECTS) $(tst_psHash04_DEPENDENCIES) 
+	@rm -f tst_psHash04$(EXEEXT)
+	$(LINK) $(tst_psHash04_LDFLAGS) $(tst_psHash04_OBJECTS) $(tst_psHash04_LDADD) $(LIBS)
+tst_psHash05$(EXEEXT): $(tst_psHash05_OBJECTS) $(tst_psHash05_DEPENDENCIES) 
+	@rm -f tst_psHash05$(EXEEXT)
+	$(LINK) $(tst_psHash05_LDFLAGS) $(tst_psHash05_OBJECTS) $(tst_psHash05_LDADD) $(LIBS)
+tst_psList$(EXEEXT): $(tst_psList_OBJECTS) $(tst_psList_DEPENDENCIES) 
+	@rm -f tst_psList$(EXEEXT)
+	$(LINK) $(tst_psList_LDFLAGS) $(tst_psList_OBJECTS) $(tst_psList_LDADD) $(LIBS)
+tst_psScalar$(EXEEXT): $(tst_psScalar_OBJECTS) $(tst_psScalar_DEPENDENCIES) 
+	@rm -f tst_psScalar$(EXEEXT)
+	$(LINK) $(tst_psScalar_LDFLAGS) $(tst_psScalar_OBJECTS) $(tst_psScalar_LDADD) $(LIBS)
+tst_psVector$(EXEEXT): $(tst_psVector_OBJECTS) $(tst_psVector_DEPENDENCIES) 
+	@rm -f tst_psVector$(EXEEXT)
+	$(LINK) $(tst_psVector_LDFLAGS) $(tst_psVector_OBJECTS) $(tst_psVector_LDADD) $(LIBS)
+tst_psVectorSort_01$(EXEEXT): $(tst_psVectorSort_01_OBJECTS) $(tst_psVectorSort_01_DEPENDENCIES) 
+	@rm -f tst_psVectorSort_01$(EXEEXT)
+	$(LINK) $(tst_psVectorSort_01_LDFLAGS) $(tst_psVectorSort_01_OBJECTS) $(tst_psVectorSort_01_LDADD) $(LIBS)
+tst_psVectorSort_02$(EXEEXT): $(tst_psVectorSort_02_OBJECTS) $(tst_psVectorSort_02_DEPENDENCIES) 
+	@rm -f tst_psVectorSort_02$(EXEEXT)
+	$(LINK) $(tst_psVectorSort_02_LDFLAGS) $(tst_psVectorSort_02_OBJECTS) $(tst_psVectorSort_02_LDADD) $(LIBS)
+tst_psVectorSort_03$(EXEEXT): $(tst_psVectorSort_03_OBJECTS) $(tst_psVectorSort_03_DEPENDENCIES) 
+	@rm -f tst_psVectorSort_03$(EXEEXT)
+	$(LINK) $(tst_psVectorSort_03_LDFLAGS) $(tst_psVectorSort_03_OBJECTS) $(tst_psVectorSort_03_LDADD) $(LIBS)
+tst_psVectorSort_04$(EXEEXT): $(tst_psVectorSort_04_OBJECTS) $(tst_psVectorSort_04_DEPENDENCIES) 
+	@rm -f tst_psVectorSort_04$(EXEEXT)
+	$(LINK) $(tst_psVectorSort_04_LDFLAGS) $(tst_psVectorSort_04_OBJECTS) $(tst_psVectorSort_04_LDADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+
+distclean-compile:
+	-rm -f *.tab.c
+
+include ./$(DEPDIR)/tst_psArray.Po
+include ./$(DEPDIR)/tst_psArray01.Po
+include ./$(DEPDIR)/tst_psArray02.Po
+include ./$(DEPDIR)/tst_psBitSet.Po
+include ./$(DEPDIR)/tst_psHash00.Po
+include ./$(DEPDIR)/tst_psHash01.Po
+include ./$(DEPDIR)/tst_psHash02.Po
+include ./$(DEPDIR)/tst_psHash03.Po
+include ./$(DEPDIR)/tst_psHash04.Po
+include ./$(DEPDIR)/tst_psHash05.Po
+include ./$(DEPDIR)/tst_psList.Po
+include ./$(DEPDIR)/tst_psScalar.Po
+include ./$(DEPDIR)/tst_psVector.Po
+include ./$(DEPDIR)/tst_psVectorSort_01.Po
+include ./$(DEPDIR)/tst_psVectorSort_02.Po
+include ./$(DEPDIR)/tst_psVectorSort_03.Po
+include ./$(DEPDIR)/tst_psVectorSort_04.Po
+
+.c.o:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c $<
+
+.c.obj:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(LTCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+tags: TAGS
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+check-TESTS: $(TESTS)
+	@failed=0; all=0; xfail=0; xpass=0; skip=0; \
+	srcdir=$(srcdir); export srcdir; \
+	list='$(TESTS)'; \
+	if test -n "$$list"; then \
+	  for tst in $$list; do \
+	    if test -f ./$$tst; then dir=./; \
+	    elif test -f $$tst; then dir=; \
+	    else dir="$(srcdir)/"; fi; \
+	    if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+	      all=`expr $$all + 1`; \
+	      case " $(XFAIL_TESTS) " in \
+	      *" $$tst "*) \
+		xpass=`expr $$xpass + 1`; \
+		failed=`expr $$failed + 1`; \
+		echo "XPASS: $$tst"; \
+	      ;; \
+	      *) \
+		echo "PASS: $$tst"; \
+	      ;; \
+	      esac; \
+	    elif test $$? -ne 77; then \
+	      all=`expr $$all + 1`; \
+	      case " $(XFAIL_TESTS) " in \
+	      *" $$tst "*) \
+		xfail=`expr $$xfail + 1`; \
+		echo "XFAIL: $$tst"; \
+	      ;; \
+	      *) \
+		failed=`expr $$failed + 1`; \
+		echo "FAIL: $$tst"; \
+	      ;; \
+	      esac; \
+	    else \
+	      skip=`expr $$skip + 1`; \
+	      echo "SKIP: $$tst"; \
+	    fi; \
+	  done; \
+	  if test "$$failed" -eq 0; then \
+	    if test "$$xfail" -eq 0; then \
+	      banner="All $$all tests passed"; \
+	    else \
+	      banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+	    fi; \
+	  else \
+	    if test "$$xpass" -eq 0; then \
+	      banner="$$failed of $$all tests failed"; \
+	    else \
+	      banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+	    fi; \
+	  fi; \
+	  dashes="$$banner"; \
+	  skipped=""; \
+	  if test "$$skip" -ne 0; then \
+	    skipped="($$skip tests were not run)"; \
+	    test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
+	      dashes="$$skipped"; \
+	  fi; \
+	  report=""; \
+	  if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
+	    report="Please report to $(PACKAGE_BUGREPORT)"; \
+	    test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
+	      dashes="$$report"; \
+	  fi; \
+	  dashes=`echo "$$dashes" | sed s/./=/g`; \
+	  echo "$$dashes"; \
+	  echo "$$banner"; \
+	  test -z "$$skipped" || echo "$$skipped"; \
+	  test -z "$$report" || echo "$$report"; \
+	  echo "$$dashes"; \
+	  test "$$failed" -eq 0; \
+	else :; fi
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
+	mostlyclean-am
+
+distclean: distclean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
+	clean-checkPROGRAMS clean-generic clean-libtool ctags \
+	distclean distclean-compile distclean-generic \
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
+	html-am info info-am install install-am install-data \
+	install-data-am install-exec install-exec-am install-info \
+	install-info-am install-man install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+	tags uninstall uninstall-am uninstall-info-am
+
+tests: $(TESTS)
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: /trunk/psLib/test/collections/Makefile.am
===================================================================
--- /trunk/psLib/test/collections/Makefile.am	(revision 3115)
+++ /trunk/psLib/test/collections/Makefile.am	(revision 3115)
@@ -0,0 +1,72 @@
+#Makefile for astronomy functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs`
+
+check_PROGRAMS = \
+         tst_psVector          \
+         tst_psArray           \
+         tst_psArray01         \
+         tst_psArray02         \
+         tst_psBitSet          \
+         tst_psVectorSort_01   \
+         tst_psVectorSort_02   \
+         tst_psVectorSort_03   \
+         tst_psVectorSort_04   \
+         tst_psList            \
+         tst_psHash00          \
+         tst_psHash01          \
+         tst_psHash02          \
+         tst_psHash03          \
+         tst_psHash04          \
+         tst_psHash05          \
+         tst_psScalar
+ 
+TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 
+TESTS = \
+         tst_psVector          \
+         tst_psArray           \
+         tst_psArray01         \
+         tst_psArray02         \
+         tst_psBitSet          \
+         tst_psVectorSort_01   \
+         tst_psVectorSort_02   \
+         tst_psVectorSort_03   \
+         tst_psVectorSort_04   \
+         tst_psList            \
+         tst_psHash00          \
+         tst_psHash01          \
+         tst_psHash02          \
+         tst_psHash03          \
+         tst_psHash04          \
+         tst_psHash05          \
+         tst_psScalar
+tests: $(TESTS)
+
+tst_psVector_SOURCES = tst_psVector.c
+tst_psArray_SOURCES = tst_psArray.c
+tst_psArray01_SOURCES = tst_psArray01.c
+tst_psArray02_SOURCES = tst_psArray02.c
+tst_psBitSet_SOURCES = tst_psBitSet.c
+tst_psVectorSort_01_SOURCES = tst_psVectorSort_01.c
+tst_psVectorSort_02_SOURCES = tst_psVectorSort_02.c
+tst_psVectorSort_03_SOURCES = tst_psVectorSort_03.c
+tst_psVectorSort_04_SOURCES = tst_psVectorSort_04.c
+tst_psList_SOURCES = tst_psList.c
+tst_psHash00_SOURCES = tst_psHash00.c
+tst_psHash01_SOURCES = tst_psHash01.c
+tst_psHash02_SOURCES = tst_psHash02.c
+tst_psHash03_SOURCES = tst_psHash03.c
+tst_psHash04_SOURCES = tst_psHash04.c
+tst_psHash05_SOURCES = tst_psHash05.c
+tst_psScalar_SOURCES = tst_psScalar.c
+
Index: /trunk/psLib/test/collections/tst_psMetadataIO.c
===================================================================
--- /trunk/psLib/test/collections/tst_psMetadataIO.c	(revision 3114)
+++ /trunk/psLib/test/collections/tst_psMetadataIO.c	(revision 3115)
@@ -13,6 +13,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2005-02-02 20:20:55 $
+*  @version $Revision: 1.8 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2005-02-03 00:54:12 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -20,7 +20,7 @@
 */
 
+#include <string.h>
 #include "pslib.h"
 #include "psTest.h"
-#include <string.h>
 
 static void printMetadataItem(psMetadataItem *metadataItem, char *spaces);
Index: /trunk/psLib/test/collections/tst_psMetadata_01.c
===================================================================
--- /trunk/psLib/test/collections/tst_psMetadata_01.c	(revision 3114)
+++ /trunk/psLib/test/collections/tst_psMetadata_01.c	(revision 3115)
@@ -18,6 +18,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.18 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2005-02-02 20:20:55 $
+*  @version $Revision: 1.19 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2005-02-03 00:54:12 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -25,7 +25,7 @@
 */
 
+#include <string.h>
 #include "pslib.h"
 #include "psTest.h"
-#include <string.h>
 
 static void printMetadataItem(psMetadataItem *metadataItem, char *spaces);
Index: /trunk/psLib/test/collections/tst_psMetadata_02.c
===================================================================
--- /trunk/psLib/test/collections/tst_psMetadata_02.c	(revision 3114)
+++ /trunk/psLib/test/collections/tst_psMetadata_02.c	(revision 3115)
@@ -14,6 +14,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.9 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2004-12-03 23:19:07 $
+*  @version $Revision: 1.10 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2005-02-03 00:54:12 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -21,7 +21,7 @@
 */
 
+#include <string.h>
 #include "pslib.h"
 #include "psTest.h"
-#include <string.h>
 
 static void printMetadataItem(psMetadataItem *metadataItem)
Index: /trunk/psLib/test/collections/tst_psMetadata_03.c
===================================================================
--- /trunk/psLib/test/collections/tst_psMetadata_03.c	(revision 3114)
+++ /trunk/psLib/test/collections/tst_psMetadata_03.c	(revision 3115)
@@ -18,6 +18,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.11 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2004-12-03 23:19:07 $
+*  @version $Revision: 1.12 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2005-02-03 00:54:12 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -25,7 +25,7 @@
 */
 
+#include <string.h>
 #include "pslib.h"
 #include "psTest.h"
-#include <string.h>
 
 static void printMetadataItem(psMetadataItem *metadataItem)
Index: /trunk/psLib/test/collections/tst_psMetadata_04.c
===================================================================
--- /trunk/psLib/test/collections/tst_psMetadata_04.c	(revision 3114)
+++ /trunk/psLib/test/collections/tst_psMetadata_04.c	(revision 3115)
@@ -23,6 +23,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.11 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2005-01-13 21:19:31 $
+*  @version $Revision: 1.12 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2005-02-03 00:54:12 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -30,7 +30,7 @@
 */
 
+#include <string.h>
 #include "pslib.h"
 #include "psTest.h"
-#include <string.h>
 
 static void printMetadataItem(psMetadataItem *metadataItem)
Index: /trunk/psLib/test/collections/tst_psMetadata_05.c
===================================================================
--- /trunk/psLib/test/collections/tst_psMetadata_05.c	(revision 3114)
+++ /trunk/psLib/test/collections/tst_psMetadata_05.c	(revision 3115)
@@ -22,6 +22,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.16 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2005-01-13 23:34:56 $
+*  @version $Revision: 1.17 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2005-02-03 00:54:12 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -29,7 +29,7 @@
 */
 
+#include <string.h>
 #include "pslib.h"
 #include "psTest.h"
-#include <string.h>
 
 static void printMetadataItem(psMetadataItem *metadataItem)
Index: /trunk/psLib/test/collections/tst_psMetadata_06.c
===================================================================
--- /trunk/psLib/test/collections/tst_psMetadata_06.c	(revision 3114)
+++ /trunk/psLib/test/collections/tst_psMetadata_06.c	(revision 3115)
@@ -13,6 +13,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2004-12-03 23:19:07 $
+*  @version $Revision: 1.8 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2005-02-03 00:54:12 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -20,7 +20,7 @@
 */
 
+#include <string.h>
 #include "pslib.h"
 #include "psTest.h"
-#include <string.h>
 
 static void printMetadataItem(psMetadataItem *metadataItem)
Index: /trunk/psLib/test/collections/tst_psMetadata_07.c
===================================================================
--- /trunk/psLib/test/collections/tst_psMetadata_07.c	(revision 3114)
+++ /trunk/psLib/test/collections/tst_psMetadata_07.c	(revision 3115)
@@ -9,18 +9,13 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2005-01-19 01:53:00 $
+*  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2005-02-03 00:54:12 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
 *
 */
+#include "config.h"
 #include "pslib.h"
 #include "psTest.h"
-
-#ifndef TIME_XML_FILE
-#define TIME_XML_FILE "../../config/psTime.xml"
-#pragma warning TIME_XML_FILE was not defined in the makefile.
-#endif
-
 
 int main(int argc, char* argv[])
@@ -31,5 +26,5 @@
     psU32 nFail = 0;
     psMetadata *md = NULL;
-    md = psMetadataParseConfigXml(md, &nFail, TIME_XML_FILE, true);
+    md = psMetadataParseConfigXml(md, &nFail, XML_CONFIG_FILE, true);
     if (nFail != 0) {
         printf("psMetadataParseConfigXml returned error %d\n", res);
Index: /trunk/psLib/test/dataIO/Makefile
===================================================================
--- /trunk/psLib/test/dataIO/Makefile	(revision 3114)
+++ /trunk/psLib/test/dataIO/Makefile	(revision 3115)
@@ -1,44 +1,527 @@
-################################################################################
-##
-##  Makefile:   test/fileUtils
-##
-##  $Revision: 1.3 $  $Name: not supported by cvs2svn $
-##  $Date: 2005-01-19 01:53:00 $
-##
-##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
-##
-###############################################################################
-
-ifndef prefix
-    export prefix=$(shell cd ../..;pwd)
-endif
-
-include ../../src/Makefile.Globals
-
-CFLAGS := -I../../include -DUTC_DAT_FILE="\"$(prefix)/data/tai_utc.dat\"" $(CFLAGS)
-LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS)
-
-TARGET = tst_psLookupTable_01 \
+# Makefile.in generated by automake 1.9.1 from Makefile.am.
+# test/fileUtils/Makefile.  Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+SOURCES = $(tst_psFits_SOURCES) $(tst_psLookupTable_01_SOURCES)
+
+srcdir = .
+top_srcdir = ../..
+
+pkgdatadir = $(datadir)/pslib
+pkglibdir = $(libdir)/pslib
+pkgincludedir = $(includedir)/pslib
+top_builddir = ../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+check_PROGRAMS = tst_psLookupTable_01$(EXEEXT) tst_psFits$(EXEEXT)
+subdir = test/fileUtils
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+am_tst_psFits_OBJECTS = tst_psFits.$(OBJEXT)
+tst_psFits_OBJECTS = $(am_tst_psFits_OBJECTS)
+tst_psFits_LDADD = $(LDADD)
+am_tst_psLookupTable_01_OBJECTS = tst_psLookupTable_01.$(OBJEXT)
+tst_psLookupTable_01_OBJECTS = $(am_tst_psLookupTable_01_OBJECTS)
+tst_psLookupTable_01_LDADD = $(LDADD)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(tst_psFits_SOURCES) $(tst_psLookupTable_01_SOURCES)
+DIST_SOURCES = $(tst_psFits_SOURCES) $(tst_psLookupTable_01_SOURCES)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE = 
+AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
+AWK = gawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
+CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
+CPP = gcc -E
+CPPFLAGS = 
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+ECHO = echo
+ECHO_C = 
+ECHO_N = -n
+ECHO_T = 
+EGREP = grep -E
+EXEEXT = 
+F77 = g77
+FFLAGS = -fno-second-underscore -O -fno-f2c
+GSL_CONFIG = /usr/bin/gsl-config
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LDFLAGS = 
+LIBOBJS = 
+LIBS = 
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS = 
+MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
+OBJEXT = o
+PACKAGE = pslib
+PACKAGE_BUGREPORT = 
+PACKAGE_NAME = 
+PACKAGE_STRING = 
+PACKAGE_TARNAME = 
+PACKAGE_VERSION = 
+PATH_SEPARATOR = :
+PERL = /usr/bin/perl
+PSLIB_CFLAGS = -I${prefix}/include
+PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
+RANLIB = ranlib
+SET_MAKE = 
+SHELL = /bin/sh
+STRIP = strip
+SWIG = /usr/bin/swig
+VERSION = 1.5
+XML_CONFIG = /usr/bin/xml2-config
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = g77
+ac_ct_RANLIB = ranlib
+ac_ct_STRIP = strip
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE = 
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE = 
+am__include = include
+am__leading_dot = .
+am__quote = 
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias = 
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+datadir = ${prefix}/share
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias = 
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+includedir = ${prefix}/include
+infodir = ${prefix}/info
+install_sh = /home/desonia/panstarrs/psLib/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localstatedir = ${prefix}/var
+mandir = ${prefix}/man
+mkdir_p = mkdir -p --
+oldincludedir = /usr/include
+prefix = /home/desonia/panstarrs/psLib
+program_transform_name = s,x,x,
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+sysconfdir = ${prefix}/etc
+target_alias = 
+
+#Makefile for astronomy functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs`
+TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 
+TESTS = \
+	tst_psLookupTable_01 \
 	tst_psFits
 
-OBJS = $(addprefix builddir/,$(addsuffix .o,$(TARGET)))
-
-all: $(TARGET)
-
-clean:
-	@echo "    Deleting executable and binary files for 'test/fileUtils'"
-	$(RM) $(OBJS)
-
-distclean: clean
-	$(RM) $(TARGET)
-
-install: $(testbindir) $(testbindir)/verified $(TARGET)
-	install $(TARGET) $(testbindir)
-	install verified/*.stderr verified/*.stdout $(testbindir)/verified
-
-$(testbindir):
-	mkdir -p $(testbindir)
-
-$(testbindir)/verified:
-	mkdir -p $(testbindir)/verified
-
+tst_psLookupTable_01_SOURCES = tst_psLookupTable_01.c
+tst_psFits_SOURCES = tst_psFits.c
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  test/fileUtils/Makefile'; \
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu  test/fileUtils/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-checkPROGRAMS:
+	@list='$(check_PROGRAMS)'; for p in $$list; do \
+	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+	  echo " rm -f $$p $$f"; \
+	  rm -f $$p $$f ; \
+	done
+tst_psFits$(EXEEXT): $(tst_psFits_OBJECTS) $(tst_psFits_DEPENDENCIES) 
+	@rm -f tst_psFits$(EXEEXT)
+	$(LINK) $(tst_psFits_LDFLAGS) $(tst_psFits_OBJECTS) $(tst_psFits_LDADD) $(LIBS)
+tst_psLookupTable_01$(EXEEXT): $(tst_psLookupTable_01_OBJECTS) $(tst_psLookupTable_01_DEPENDENCIES) 
+	@rm -f tst_psLookupTable_01$(EXEEXT)
+	$(LINK) $(tst_psLookupTable_01_LDFLAGS) $(tst_psLookupTable_01_OBJECTS) $(tst_psLookupTable_01_LDADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+
+distclean-compile:
+	-rm -f *.tab.c
+
+include ./$(DEPDIR)/tst_psFits.Po
+include ./$(DEPDIR)/tst_psLookupTable_01.Po
+
+.c.o:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c $<
+
+.c.obj:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(LTCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+tags: TAGS
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+check-TESTS: $(TESTS)
+	@failed=0; all=0; xfail=0; xpass=0; skip=0; \
+	srcdir=$(srcdir); export srcdir; \
+	list='$(TESTS)'; \
+	if test -n "$$list"; then \
+	  for tst in $$list; do \
+	    if test -f ./$$tst; then dir=./; \
+	    elif test -f $$tst; then dir=; \
+	    else dir="$(srcdir)/"; fi; \
+	    if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+	      all=`expr $$all + 1`; \
+	      case " $(XFAIL_TESTS) " in \
+	      *" $$tst "*) \
+		xpass=`expr $$xpass + 1`; \
+		failed=`expr $$failed + 1`; \
+		echo "XPASS: $$tst"; \
+	      ;; \
+	      *) \
+		echo "PASS: $$tst"; \
+	      ;; \
+	      esac; \
+	    elif test $$? -ne 77; then \
+	      all=`expr $$all + 1`; \
+	      case " $(XFAIL_TESTS) " in \
+	      *" $$tst "*) \
+		xfail=`expr $$xfail + 1`; \
+		echo "XFAIL: $$tst"; \
+	      ;; \
+	      *) \
+		failed=`expr $$failed + 1`; \
+		echo "FAIL: $$tst"; \
+	      ;; \
+	      esac; \
+	    else \
+	      skip=`expr $$skip + 1`; \
+	      echo "SKIP: $$tst"; \
+	    fi; \
+	  done; \
+	  if test "$$failed" -eq 0; then \
+	    if test "$$xfail" -eq 0; then \
+	      banner="All $$all tests passed"; \
+	    else \
+	      banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+	    fi; \
+	  else \
+	    if test "$$xpass" -eq 0; then \
+	      banner="$$failed of $$all tests failed"; \
+	    else \
+	      banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+	    fi; \
+	  fi; \
+	  dashes="$$banner"; \
+	  skipped=""; \
+	  if test "$$skip" -ne 0; then \
+	    skipped="($$skip tests were not run)"; \
+	    test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
+	      dashes="$$skipped"; \
+	  fi; \
+	  report=""; \
+	  if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
+	    report="Please report to $(PACKAGE_BUGREPORT)"; \
+	    test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
+	      dashes="$$report"; \
+	  fi; \
+	  dashes=`echo "$$dashes" | sed s/./=/g`; \
+	  echo "$$dashes"; \
+	  echo "$$banner"; \
+	  test -z "$$skipped" || echo "$$skipped"; \
+	  test -z "$$report" || echo "$$report"; \
+	  echo "$$dashes"; \
+	  test "$$failed" -eq 0; \
+	else :; fi
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
+	mostlyclean-am
+
+distclean: distclean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
+	clean-checkPROGRAMS clean-generic clean-libtool ctags \
+	distclean distclean-compile distclean-generic \
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
+	html-am info info-am install install-am install-data \
+	install-data-am install-exec install-exec-am install-info \
+	install-info-am install-man install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+	tags uninstall uninstall-am uninstall-info-am
+
+tests: $(TESTS)
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: /trunk/psLib/test/dataIO/Makefile.am
===================================================================
--- /trunk/psLib/test/dataIO/Makefile.am	(revision 3115)
+++ /trunk/psLib/test/dataIO/Makefile.am	(revision 3115)
@@ -0,0 +1,26 @@
+#Makefile for astronomy functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs`
+
+check_PROGRAMS = \
+	tst_psLookupTable_01 \
+	tst_psFits
+
+TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 
+TESTS = \
+	tst_psLookupTable_01 \
+	tst_psFits
+tests: $(TESTS)
+
+tst_psLookupTable_01_SOURCES =  tst_psLookupTable_01.c
+tst_psFits_SOURCES =  tst_psFits.c
Index: /trunk/psLib/test/dataIO/tst_psFits.c
===================================================================
--- /trunk/psLib/test/dataIO/tst_psFits.c	(revision 3114)
+++ /trunk/psLib/test/dataIO/tst_psFits.c	(revision 3115)
@@ -6,12 +6,9 @@
 *  @author Robert DeSonia, MHPCC
 *
-*  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-01-18 19:35:24 $
+*  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-02-03 00:54:12 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
 */
-
-#include "psTest.h"
-#include "pslib.h"
 
 #include <unistd.h>
@@ -20,4 +17,6 @@
 #include <sys/types.h>
 
+#include "psTest.h"
+#include "pslib.h"
 
 #define GENIMAGE(img,c,r,TYP, valueFcn) \
Index: /trunk/psLib/test/dataIO/tst_psLookupTable_01.c
===================================================================
--- /trunk/psLib/test/dataIO/tst_psLookupTable_01.c	(revision 3114)
+++ /trunk/psLib/test/dataIO/tst_psLookupTable_01.c	(revision 3115)
@@ -12,6 +12,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2005-01-19 01:53:00 $
+*  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2005-02-03 00:54:12 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -19,9 +19,8 @@
 */
 
+#include <string.h>
+#include "config.h"
 #include "pslib.h"
 #include "psTest.h"
-#include <string.h>
-
-
 
 int main(int argc, char* argv[])
Index: /trunk/psLib/test/dataManip/Makefile
===================================================================
--- /trunk/psLib/test/dataManip/Makefile	(revision 3114)
+++ /trunk/psLib/test/dataManip/Makefile	(revision 3115)
@@ -1,87 +1,938 @@
-################################################################################
-##
-##  Makefile:   test/sysUtils
-##
-##  $Revision: 1.54 $  $Name: not supported by cvs2svn $
-##  $Date: 2004-12-21 23:24:49 $
-##
-##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
-##
-###############################################################################
-
-ifndef prefix
-    export prefix=$(shell cd ../..;pwd)
-endif
-
-include ../../src/Makefile.Globals
-
-CFLAGS := -I../../include $(CFLAGS)
-LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS)
-TARGET = \
-tst_psFunc00 \
-tst_psFunc01 \
-tst_psFunc02 \
-tst_psFunc03 \
-tst_psFunc04 \
-tst_psFunc05 \
-tst_psFunc07 \
-tst_psHist00 \
-tst_psHist01 \
-tst_psHist02 \
-tst_psHist03 \
-tst_psMatrix01 \
-tst_psMatrix02 \
-tst_psMatrix03 \
-tst_psMatrix04 \
-tst_psMatrix05 \
-tst_psMatrix06 \
-tst_psMatrix07 \
-tst_psMatrixVectorArithmetic01 \
-tst_psMatrixVectorArithmetic02 \
-tst_psMatrixVectorArithmetic03 \
-tst_psMatrixVectorArithmetic04 \
-tst_psMinimize04 \
-tst_psMinimize04_F32 \
-tst_psMinimize04b \
-tst_psMinimize04b_F32 \
-tst_psMinimize05 \
-tst_psMinimize06 \
-tst_psMinimize07 \
-tst_psStats00 \
-tst_psStats01 \
-tst_psStats02 \
-tst_psStats03 \
-tst_psStats05 \
-tst_psStats06 \
-tst_psStats07 \
-tst_psStats08 \
-tst_psStats09 \
-tst_psRandom \
-tst_psVectorFFT 
-# tst_psFunc06 \
-# tst_psMinimize04b \
-
-OBJS = $(addsuffix .o,$(TARGET))
-
-all: $(TARGET)
-
-# include $(DEPENDENCIES)
-
-clean:
-	@echo "    Deleting executable and binary files for 'test/collections'"
-	$(RM) $(OBJS)
-
-distclean: clean
-	$(RM) $(TARGET)
-
-install: $(testbindir) $(testbindir)/verified $(TARGET)
-	install $(TARGET) $(testbindir)
-	install verified/*.stderr verified/*.stdout $(testbindir)/verified
-
-$(testbindir):
-	mkdir -p $(testbindir)
-
-$(testbindir)/verified:
-	mkdir -p $(testbindir)/verified
-
-
+# Makefile.in generated by automake 1.9.1 from Makefile.am.
+# test/dataManip/Makefile.  Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+SOURCES = $(tst_psFunc00_SOURCES) $(tst_psFunc01_SOURCES) $(tst_psFunc02_SOURCES) $(tst_psFunc03_SOURCES) $(tst_psFunc04_SOURCES) $(tst_psFunc05_SOURCES) $(tst_psFunc07_SOURCES) $(tst_psHist00_SOURCES) $(tst_psHist01_SOURCES) $(tst_psHist02_SOURCES) $(tst_psHist03_SOURCES) $(tst_psMatrix01_SOURCES) $(tst_psMatrix02_SOURCES) $(tst_psMatrix03_SOURCES) $(tst_psMatrix04_SOURCES) $(tst_psMatrix05_SOURCES) $(tst_psMatrix06_SOURCES) $(tst_psMatrix07_SOURCES) $(tst_psMatrixVectorArithmetic01_SOURCES) $(tst_psMatrixVectorArithmetic02_SOURCES) $(tst_psMatrixVectorArithmetic03_SOURCES) $(tst_psMatrixVectorArithmetic04_SOURCES) $(tst_psMinimize04_SOURCES) $(tst_psMinimize04_F32_SOURCES) $(tst_psMinimize04b_SOURCES) $(tst_psMinimize04b_F32_SOURCES) $(tst_psMinimize05_SOURCES) $(tst_psMinimize06_SOURCES) $(tst_psMinimize07_SOURCES) $(tst_psRandom_SOURCES) $(tst_psStats00_SOURCES) $(tst_psStats01_SOURCES) $(tst_psStats02_SOURCES) $(tst_psStats03_SOURCES) $(tst_psStats05_SOURCES) $(tst_psStats06_SOURCES) $(tst_psStats07_SOURCES) $(tst_psStats08_SOURCES) $(tst_psStats09_SOURCES) $(tst_psVectorFFT_SOURCES)
+
+srcdir = .
+top_srcdir = ../..
+
+pkgdatadir = $(datadir)/pslib
+pkglibdir = $(libdir)/pslib
+pkgincludedir = $(includedir)/pslib
+top_builddir = ../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+check_PROGRAMS = tst_psFunc00$(EXEEXT) tst_psFunc01$(EXEEXT) \
+	tst_psFunc02$(EXEEXT) tst_psFunc03$(EXEEXT) \
+	tst_psFunc04$(EXEEXT) tst_psFunc05$(EXEEXT) \
+	tst_psFunc07$(EXEEXT) tst_psHist00$(EXEEXT) \
+	tst_psHist01$(EXEEXT) tst_psHist02$(EXEEXT) \
+	tst_psHist03$(EXEEXT) tst_psMatrix01$(EXEEXT) \
+	tst_psMatrix02$(EXEEXT) tst_psMatrix03$(EXEEXT) \
+	tst_psMatrix04$(EXEEXT) tst_psMatrix05$(EXEEXT) \
+	tst_psMatrix06$(EXEEXT) tst_psMatrix07$(EXEEXT) \
+	tst_psMatrixVectorArithmetic01$(EXEEXT) \
+	tst_psMatrixVectorArithmetic02$(EXEEXT) \
+	tst_psMatrixVectorArithmetic03$(EXEEXT) \
+	tst_psMatrixVectorArithmetic04$(EXEEXT) \
+	tst_psMinimize04$(EXEEXT) tst_psMinimize04_F32$(EXEEXT) \
+	tst_psMinimize04b$(EXEEXT) tst_psMinimize04b_F32$(EXEEXT) \
+	tst_psMinimize05$(EXEEXT) tst_psMinimize06$(EXEEXT) \
+	tst_psMinimize07$(EXEEXT) tst_psStats00$(EXEEXT) \
+	tst_psStats01$(EXEEXT) tst_psStats02$(EXEEXT) \
+	tst_psStats03$(EXEEXT) tst_psStats05$(EXEEXT) \
+	tst_psStats06$(EXEEXT) tst_psStats07$(EXEEXT) \
+	tst_psStats08$(EXEEXT) tst_psStats09$(EXEEXT) \
+	tst_psRandom$(EXEEXT) tst_psVectorFFT$(EXEEXT)
+subdir = test/dataManip
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+am_tst_psFunc00_OBJECTS = tst_psFunc00.$(OBJEXT)
+tst_psFunc00_OBJECTS = $(am_tst_psFunc00_OBJECTS)
+tst_psFunc00_LDADD = $(LDADD)
+am_tst_psFunc01_OBJECTS = tst_psFunc01.$(OBJEXT)
+tst_psFunc01_OBJECTS = $(am_tst_psFunc01_OBJECTS)
+tst_psFunc01_LDADD = $(LDADD)
+am_tst_psFunc02_OBJECTS = tst_psFunc02.$(OBJEXT)
+tst_psFunc02_OBJECTS = $(am_tst_psFunc02_OBJECTS)
+tst_psFunc02_LDADD = $(LDADD)
+am_tst_psFunc03_OBJECTS = tst_psFunc03.$(OBJEXT)
+tst_psFunc03_OBJECTS = $(am_tst_psFunc03_OBJECTS)
+tst_psFunc03_LDADD = $(LDADD)
+am_tst_psFunc04_OBJECTS = tst_psFunc04.$(OBJEXT)
+tst_psFunc04_OBJECTS = $(am_tst_psFunc04_OBJECTS)
+tst_psFunc04_LDADD = $(LDADD)
+am_tst_psFunc05_OBJECTS = tst_psFunc05.$(OBJEXT)
+tst_psFunc05_OBJECTS = $(am_tst_psFunc05_OBJECTS)
+tst_psFunc05_LDADD = $(LDADD)
+am_tst_psFunc07_OBJECTS = tst_psFunc07.$(OBJEXT)
+tst_psFunc07_OBJECTS = $(am_tst_psFunc07_OBJECTS)
+tst_psFunc07_LDADD = $(LDADD)
+am_tst_psHist00_OBJECTS = tst_psHist00.$(OBJEXT)
+tst_psHist00_OBJECTS = $(am_tst_psHist00_OBJECTS)
+tst_psHist00_LDADD = $(LDADD)
+am_tst_psHist01_OBJECTS = tst_psHist01.$(OBJEXT)
+tst_psHist01_OBJECTS = $(am_tst_psHist01_OBJECTS)
+tst_psHist01_LDADD = $(LDADD)
+am_tst_psHist02_OBJECTS = tst_psHist02.$(OBJEXT)
+tst_psHist02_OBJECTS = $(am_tst_psHist02_OBJECTS)
+tst_psHist02_LDADD = $(LDADD)
+am_tst_psHist03_OBJECTS = tst_psHist03.$(OBJEXT)
+tst_psHist03_OBJECTS = $(am_tst_psHist03_OBJECTS)
+tst_psHist03_LDADD = $(LDADD)
+am_tst_psMatrix01_OBJECTS = tst_psMatrix01.$(OBJEXT)
+tst_psMatrix01_OBJECTS = $(am_tst_psMatrix01_OBJECTS)
+tst_psMatrix01_LDADD = $(LDADD)
+am_tst_psMatrix02_OBJECTS = tst_psMatrix02.$(OBJEXT)
+tst_psMatrix02_OBJECTS = $(am_tst_psMatrix02_OBJECTS)
+tst_psMatrix02_LDADD = $(LDADD)
+am_tst_psMatrix03_OBJECTS = tst_psMatrix03.$(OBJEXT)
+tst_psMatrix03_OBJECTS = $(am_tst_psMatrix03_OBJECTS)
+tst_psMatrix03_LDADD = $(LDADD)
+am_tst_psMatrix04_OBJECTS = tst_psMatrix04.$(OBJEXT)
+tst_psMatrix04_OBJECTS = $(am_tst_psMatrix04_OBJECTS)
+tst_psMatrix04_LDADD = $(LDADD)
+am_tst_psMatrix05_OBJECTS = tst_psMatrix05.$(OBJEXT)
+tst_psMatrix05_OBJECTS = $(am_tst_psMatrix05_OBJECTS)
+tst_psMatrix05_LDADD = $(LDADD)
+am_tst_psMatrix06_OBJECTS = tst_psMatrix06.$(OBJEXT)
+tst_psMatrix06_OBJECTS = $(am_tst_psMatrix06_OBJECTS)
+tst_psMatrix06_LDADD = $(LDADD)
+am_tst_psMatrix07_OBJECTS = tst_psMatrix07.$(OBJEXT)
+tst_psMatrix07_OBJECTS = $(am_tst_psMatrix07_OBJECTS)
+tst_psMatrix07_LDADD = $(LDADD)
+am_tst_psMatrixVectorArithmetic01_OBJECTS =  \
+	tst_psMatrixVectorArithmetic01.$(OBJEXT)
+tst_psMatrixVectorArithmetic01_OBJECTS =  \
+	$(am_tst_psMatrixVectorArithmetic01_OBJECTS)
+tst_psMatrixVectorArithmetic01_LDADD = $(LDADD)
+am_tst_psMatrixVectorArithmetic02_OBJECTS =  \
+	tst_psMatrixVectorArithmetic02.$(OBJEXT)
+tst_psMatrixVectorArithmetic02_OBJECTS =  \
+	$(am_tst_psMatrixVectorArithmetic02_OBJECTS)
+tst_psMatrixVectorArithmetic02_LDADD = $(LDADD)
+am_tst_psMatrixVectorArithmetic03_OBJECTS =  \
+	tst_psMatrixVectorArithmetic03.$(OBJEXT)
+tst_psMatrixVectorArithmetic03_OBJECTS =  \
+	$(am_tst_psMatrixVectorArithmetic03_OBJECTS)
+tst_psMatrixVectorArithmetic03_LDADD = $(LDADD)
+am_tst_psMatrixVectorArithmetic04_OBJECTS =  \
+	tst_psMatrixVectorArithmetic04.$(OBJEXT)
+tst_psMatrixVectorArithmetic04_OBJECTS =  \
+	$(am_tst_psMatrixVectorArithmetic04_OBJECTS)
+tst_psMatrixVectorArithmetic04_LDADD = $(LDADD)
+am_tst_psMinimize04_OBJECTS = tst_psMinimize04.$(OBJEXT)
+tst_psMinimize04_OBJECTS = $(am_tst_psMinimize04_OBJECTS)
+tst_psMinimize04_LDADD = $(LDADD)
+am_tst_psMinimize04_F32_OBJECTS = tst_psMinimize04.$(OBJEXT)
+tst_psMinimize04_F32_OBJECTS = $(am_tst_psMinimize04_F32_OBJECTS)
+tst_psMinimize04_F32_LDADD = $(LDADD)
+am_tst_psMinimize04b_OBJECTS = tst_psMinimize04b.$(OBJEXT)
+tst_psMinimize04b_OBJECTS = $(am_tst_psMinimize04b_OBJECTS)
+tst_psMinimize04b_LDADD = $(LDADD)
+am_tst_psMinimize04b_F32_OBJECTS = tst_psMinimize04b.$(OBJEXT)
+tst_psMinimize04b_F32_OBJECTS = $(am_tst_psMinimize04b_F32_OBJECTS)
+tst_psMinimize04b_F32_LDADD = $(LDADD)
+am_tst_psMinimize05_OBJECTS = tst_psMinimize05.$(OBJEXT)
+tst_psMinimize05_OBJECTS = $(am_tst_psMinimize05_OBJECTS)
+tst_psMinimize05_LDADD = $(LDADD)
+am_tst_psMinimize06_OBJECTS = tst_psMinimize06.$(OBJEXT)
+tst_psMinimize06_OBJECTS = $(am_tst_psMinimize06_OBJECTS)
+tst_psMinimize06_LDADD = $(LDADD)
+am_tst_psMinimize07_OBJECTS = tst_psMinimize07.$(OBJEXT)
+tst_psMinimize07_OBJECTS = $(am_tst_psMinimize07_OBJECTS)
+tst_psMinimize07_LDADD = $(LDADD)
+am_tst_psRandom_OBJECTS = tst_psRandom.$(OBJEXT)
+tst_psRandom_OBJECTS = $(am_tst_psRandom_OBJECTS)
+tst_psRandom_LDADD = $(LDADD)
+am_tst_psStats00_OBJECTS = tst_psStats00.$(OBJEXT)
+tst_psStats00_OBJECTS = $(am_tst_psStats00_OBJECTS)
+tst_psStats00_LDADD = $(LDADD)
+am_tst_psStats01_OBJECTS = tst_psStats01.$(OBJEXT)
+tst_psStats01_OBJECTS = $(am_tst_psStats01_OBJECTS)
+tst_psStats01_LDADD = $(LDADD)
+am_tst_psStats02_OBJECTS = tst_psStats02.$(OBJEXT)
+tst_psStats02_OBJECTS = $(am_tst_psStats02_OBJECTS)
+tst_psStats02_LDADD = $(LDADD)
+am_tst_psStats03_OBJECTS = tst_psStats03.$(OBJEXT)
+tst_psStats03_OBJECTS = $(am_tst_psStats03_OBJECTS)
+tst_psStats03_LDADD = $(LDADD)
+am_tst_psStats05_OBJECTS = tst_psStats05.$(OBJEXT)
+tst_psStats05_OBJECTS = $(am_tst_psStats05_OBJECTS)
+tst_psStats05_LDADD = $(LDADD)
+am_tst_psStats06_OBJECTS = tst_psStats06.$(OBJEXT)
+tst_psStats06_OBJECTS = $(am_tst_psStats06_OBJECTS)
+tst_psStats06_LDADD = $(LDADD)
+am_tst_psStats07_OBJECTS = tst_psStats07.$(OBJEXT)
+tst_psStats07_OBJECTS = $(am_tst_psStats07_OBJECTS)
+tst_psStats07_LDADD = $(LDADD)
+am_tst_psStats08_OBJECTS = tst_psStats08.$(OBJEXT)
+tst_psStats08_OBJECTS = $(am_tst_psStats08_OBJECTS)
+tst_psStats08_LDADD = $(LDADD)
+am_tst_psStats09_OBJECTS = tst_psStats09.$(OBJEXT)
+tst_psStats09_OBJECTS = $(am_tst_psStats09_OBJECTS)
+tst_psStats09_LDADD = $(LDADD)
+am_tst_psVectorFFT_OBJECTS = tst_psVectorFFT.$(OBJEXT)
+tst_psVectorFFT_OBJECTS = $(am_tst_psVectorFFT_OBJECTS)
+tst_psVectorFFT_LDADD = $(LDADD)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(tst_psFunc00_SOURCES) $(tst_psFunc01_SOURCES) \
+	$(tst_psFunc02_SOURCES) $(tst_psFunc03_SOURCES) \
+	$(tst_psFunc04_SOURCES) $(tst_psFunc05_SOURCES) \
+	$(tst_psFunc07_SOURCES) $(tst_psHist00_SOURCES) \
+	$(tst_psHist01_SOURCES) $(tst_psHist02_SOURCES) \
+	$(tst_psHist03_SOURCES) $(tst_psMatrix01_SOURCES) \
+	$(tst_psMatrix02_SOURCES) $(tst_psMatrix03_SOURCES) \
+	$(tst_psMatrix04_SOURCES) $(tst_psMatrix05_SOURCES) \
+	$(tst_psMatrix06_SOURCES) $(tst_psMatrix07_SOURCES) \
+	$(tst_psMatrixVectorArithmetic01_SOURCES) \
+	$(tst_psMatrixVectorArithmetic02_SOURCES) \
+	$(tst_psMatrixVectorArithmetic03_SOURCES) \
+	$(tst_psMatrixVectorArithmetic04_SOURCES) \
+	$(tst_psMinimize04_SOURCES) $(tst_psMinimize04_F32_SOURCES) \
+	$(tst_psMinimize04b_SOURCES) $(tst_psMinimize04b_F32_SOURCES) \
+	$(tst_psMinimize05_SOURCES) $(tst_psMinimize06_SOURCES) \
+	$(tst_psMinimize07_SOURCES) $(tst_psRandom_SOURCES) \
+	$(tst_psStats00_SOURCES) $(tst_psStats01_SOURCES) \
+	$(tst_psStats02_SOURCES) $(tst_psStats03_SOURCES) \
+	$(tst_psStats05_SOURCES) $(tst_psStats06_SOURCES) \
+	$(tst_psStats07_SOURCES) $(tst_psStats08_SOURCES) \
+	$(tst_psStats09_SOURCES) $(tst_psVectorFFT_SOURCES)
+DIST_SOURCES = $(tst_psFunc00_SOURCES) $(tst_psFunc01_SOURCES) \
+	$(tst_psFunc02_SOURCES) $(tst_psFunc03_SOURCES) \
+	$(tst_psFunc04_SOURCES) $(tst_psFunc05_SOURCES) \
+	$(tst_psFunc07_SOURCES) $(tst_psHist00_SOURCES) \
+	$(tst_psHist01_SOURCES) $(tst_psHist02_SOURCES) \
+	$(tst_psHist03_SOURCES) $(tst_psMatrix01_SOURCES) \
+	$(tst_psMatrix02_SOURCES) $(tst_psMatrix03_SOURCES) \
+	$(tst_psMatrix04_SOURCES) $(tst_psMatrix05_SOURCES) \
+	$(tst_psMatrix06_SOURCES) $(tst_psMatrix07_SOURCES) \
+	$(tst_psMatrixVectorArithmetic01_SOURCES) \
+	$(tst_psMatrixVectorArithmetic02_SOURCES) \
+	$(tst_psMatrixVectorArithmetic03_SOURCES) \
+	$(tst_psMatrixVectorArithmetic04_SOURCES) \
+	$(tst_psMinimize04_SOURCES) $(tst_psMinimize04_F32_SOURCES) \
+	$(tst_psMinimize04b_SOURCES) $(tst_psMinimize04b_F32_SOURCES) \
+	$(tst_psMinimize05_SOURCES) $(tst_psMinimize06_SOURCES) \
+	$(tst_psMinimize07_SOURCES) $(tst_psRandom_SOURCES) \
+	$(tst_psStats00_SOURCES) $(tst_psStats01_SOURCES) \
+	$(tst_psStats02_SOURCES) $(tst_psStats03_SOURCES) \
+	$(tst_psStats05_SOURCES) $(tst_psStats06_SOURCES) \
+	$(tst_psStats07_SOURCES) $(tst_psStats08_SOURCES) \
+	$(tst_psStats09_SOURCES) $(tst_psVectorFFT_SOURCES)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE = 
+AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
+AWK = gawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
+CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
+CPP = gcc -E
+CPPFLAGS = 
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+ECHO = echo
+ECHO_C = 
+ECHO_N = -n
+ECHO_T = 
+EGREP = grep -E
+EXEEXT = 
+F77 = g77
+FFLAGS = -fno-second-underscore -O -fno-f2c
+GSL_CONFIG = /usr/bin/gsl-config
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LDFLAGS = 
+LIBOBJS = 
+LIBS = 
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS = 
+MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
+OBJEXT = o
+PACKAGE = pslib
+PACKAGE_BUGREPORT = 
+PACKAGE_NAME = 
+PACKAGE_STRING = 
+PACKAGE_TARNAME = 
+PACKAGE_VERSION = 
+PATH_SEPARATOR = :
+PERL = /usr/bin/perl
+PSLIB_CFLAGS = -I${prefix}/include
+PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
+RANLIB = ranlib
+SET_MAKE = 
+SHELL = /bin/sh
+STRIP = strip
+SWIG = /usr/bin/swig
+VERSION = 1.5
+XML_CONFIG = /usr/bin/xml2-config
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = g77
+ac_ct_RANLIB = ranlib
+ac_ct_STRIP = strip
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE = 
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE = 
+am__include = include
+am__leading_dot = .
+am__quote = 
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias = 
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+datadir = ${prefix}/share
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias = 
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+includedir = ${prefix}/include
+infodir = ${prefix}/info
+install_sh = /home/desonia/panstarrs/psLib/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localstatedir = ${prefix}/var
+mandir = ${prefix}/man
+mkdir_p = mkdir -p --
+oldincludedir = /usr/include
+prefix = /home/desonia/panstarrs/psLib
+program_transform_name = s,x,x,
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+sysconfdir = ${prefix}/etc
+target_alias = 
+
+#Makefile for astronomy functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs`
+TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 
+TESTS = \
+	tst_psFunc00 \
+	tst_psFunc01 \
+	tst_psFunc02 \
+	tst_psFunc03 \
+	tst_psFunc04 \
+	tst_psFunc05 \
+	tst_psFunc07 \
+	tst_psHist00 \
+	tst_psHist01 \
+	tst_psHist02 \
+	tst_psHist03 \
+	tst_psMatrix01 \
+	tst_psMatrix02 \
+	tst_psMatrix03 \
+	tst_psMatrix04 \
+	tst_psMatrix05 \
+	tst_psMatrix06 \
+	tst_psMatrix07 \
+	tst_psMatrixVectorArithmetic01 \
+	tst_psMatrixVectorArithmetic02 \
+	tst_psMatrixVectorArithmetic03 \
+	tst_psMatrixVectorArithmetic04 \
+	tst_psMinimize04 \
+	tst_psMinimize04_F32 \
+	tst_psMinimize04b \
+	tst_psMinimize04b_F32 \
+	tst_psMinimize05 \
+	tst_psMinimize06 \
+	tst_psMinimize07 \
+	tst_psStats00 \
+	tst_psStats01 \
+	tst_psStats02 \
+	tst_psStats03 \
+	tst_psStats05 \
+	tst_psStats06 \
+	tst_psStats07 \
+	tst_psStats08 \
+	tst_psStats09 \
+	tst_psRandom \
+	tst_psVectorFFT 
+
+tst_psFunc00_SOURCES = tst_psFunc00.c
+tst_psFunc01_SOURCES = tst_psFunc01.c
+tst_psFunc02_SOURCES = tst_psFunc02.c
+tst_psFunc03_SOURCES = tst_psFunc03.c
+tst_psFunc04_SOURCES = tst_psFunc04.c
+tst_psFunc05_SOURCES = tst_psFunc05.c
+tst_psFunc07_SOURCES = tst_psFunc07.c
+tst_psHist00_SOURCES = tst_psHist00.c
+tst_psHist01_SOURCES = tst_psHist01.c
+tst_psHist02_SOURCES = tst_psHist02.c
+tst_psHist03_SOURCES = tst_psHist03.c
+tst_psMatrix01_SOURCES = tst_psMatrix01.c
+tst_psMatrix02_SOURCES = tst_psMatrix02.c
+tst_psMatrix03_SOURCES = tst_psMatrix03.c
+tst_psMatrix04_SOURCES = tst_psMatrix04.c
+tst_psMatrix05_SOURCES = tst_psMatrix05.c
+tst_psMatrix06_SOURCES = tst_psMatrix06.c
+tst_psMatrix07_SOURCES = tst_psMatrix07.c
+tst_psMatrixVectorArithmetic01_SOURCES = tst_psMatrixVectorArithmetic01.c
+tst_psMatrixVectorArithmetic02_SOURCES = tst_psMatrixVectorArithmetic02.c
+tst_psMatrixVectorArithmetic03_SOURCES = tst_psMatrixVectorArithmetic03.c
+tst_psMatrixVectorArithmetic04_SOURCES = tst_psMatrixVectorArithmetic04.c
+tst_psMinimize04_SOURCES = tst_psMinimize04.c
+tst_psMinimize04_F32_SOURCES = tst_psMinimize04.c
+tst_psMinimize04b_SOURCES = tst_psMinimize04b.c
+tst_psMinimize04b_F32_SOURCES = tst_psMinimize04b.c
+tst_psMinimize05_SOURCES = tst_psMinimize05.c
+tst_psMinimize06_SOURCES = tst_psMinimize06.c
+tst_psMinimize07_SOURCES = tst_psMinimize07.c
+tst_psStats00_SOURCES = tst_psStats00.c
+tst_psStats01_SOURCES = tst_psStats01.c
+tst_psStats02_SOURCES = tst_psStats02.c
+tst_psStats03_SOURCES = tst_psStats03.c
+tst_psStats05_SOURCES = tst_psStats05.c
+tst_psStats06_SOURCES = tst_psStats06.c
+tst_psStats07_SOURCES = tst_psStats07.c
+tst_psStats08_SOURCES = tst_psStats08.c
+tst_psStats09_SOURCES = tst_psStats09.c
+tst_psRandom_SOURCES = tst_psRandom.c
+tst_psVectorFFT_SOURCES = tst_psVectorFFT.c
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  test/dataManip/Makefile'; \
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu  test/dataManip/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-checkPROGRAMS:
+	@list='$(check_PROGRAMS)'; for p in $$list; do \
+	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+	  echo " rm -f $$p $$f"; \
+	  rm -f $$p $$f ; \
+	done
+tst_psFunc00$(EXEEXT): $(tst_psFunc00_OBJECTS) $(tst_psFunc00_DEPENDENCIES) 
+	@rm -f tst_psFunc00$(EXEEXT)
+	$(LINK) $(tst_psFunc00_LDFLAGS) $(tst_psFunc00_OBJECTS) $(tst_psFunc00_LDADD) $(LIBS)
+tst_psFunc01$(EXEEXT): $(tst_psFunc01_OBJECTS) $(tst_psFunc01_DEPENDENCIES) 
+	@rm -f tst_psFunc01$(EXEEXT)
+	$(LINK) $(tst_psFunc01_LDFLAGS) $(tst_psFunc01_OBJECTS) $(tst_psFunc01_LDADD) $(LIBS)
+tst_psFunc02$(EXEEXT): $(tst_psFunc02_OBJECTS) $(tst_psFunc02_DEPENDENCIES) 
+	@rm -f tst_psFunc02$(EXEEXT)
+	$(LINK) $(tst_psFunc02_LDFLAGS) $(tst_psFunc02_OBJECTS) $(tst_psFunc02_LDADD) $(LIBS)
+tst_psFunc03$(EXEEXT): $(tst_psFunc03_OBJECTS) $(tst_psFunc03_DEPENDENCIES) 
+	@rm -f tst_psFunc03$(EXEEXT)
+	$(LINK) $(tst_psFunc03_LDFLAGS) $(tst_psFunc03_OBJECTS) $(tst_psFunc03_LDADD) $(LIBS)
+tst_psFunc04$(EXEEXT): $(tst_psFunc04_OBJECTS) $(tst_psFunc04_DEPENDENCIES) 
+	@rm -f tst_psFunc04$(EXEEXT)
+	$(LINK) $(tst_psFunc04_LDFLAGS) $(tst_psFunc04_OBJECTS) $(tst_psFunc04_LDADD) $(LIBS)
+tst_psFunc05$(EXEEXT): $(tst_psFunc05_OBJECTS) $(tst_psFunc05_DEPENDENCIES) 
+	@rm -f tst_psFunc05$(EXEEXT)
+	$(LINK) $(tst_psFunc05_LDFLAGS) $(tst_psFunc05_OBJECTS) $(tst_psFunc05_LDADD) $(LIBS)
+tst_psFunc07$(EXEEXT): $(tst_psFunc07_OBJECTS) $(tst_psFunc07_DEPENDENCIES) 
+	@rm -f tst_psFunc07$(EXEEXT)
+	$(LINK) $(tst_psFunc07_LDFLAGS) $(tst_psFunc07_OBJECTS) $(tst_psFunc07_LDADD) $(LIBS)
+tst_psHist00$(EXEEXT): $(tst_psHist00_OBJECTS) $(tst_psHist00_DEPENDENCIES) 
+	@rm -f tst_psHist00$(EXEEXT)
+	$(LINK) $(tst_psHist00_LDFLAGS) $(tst_psHist00_OBJECTS) $(tst_psHist00_LDADD) $(LIBS)
+tst_psHist01$(EXEEXT): $(tst_psHist01_OBJECTS) $(tst_psHist01_DEPENDENCIES) 
+	@rm -f tst_psHist01$(EXEEXT)
+	$(LINK) $(tst_psHist01_LDFLAGS) $(tst_psHist01_OBJECTS) $(tst_psHist01_LDADD) $(LIBS)
+tst_psHist02$(EXEEXT): $(tst_psHist02_OBJECTS) $(tst_psHist02_DEPENDENCIES) 
+	@rm -f tst_psHist02$(EXEEXT)
+	$(LINK) $(tst_psHist02_LDFLAGS) $(tst_psHist02_OBJECTS) $(tst_psHist02_LDADD) $(LIBS)
+tst_psHist03$(EXEEXT): $(tst_psHist03_OBJECTS) $(tst_psHist03_DEPENDENCIES) 
+	@rm -f tst_psHist03$(EXEEXT)
+	$(LINK) $(tst_psHist03_LDFLAGS) $(tst_psHist03_OBJECTS) $(tst_psHist03_LDADD) $(LIBS)
+tst_psMatrix01$(EXEEXT): $(tst_psMatrix01_OBJECTS) $(tst_psMatrix01_DEPENDENCIES) 
+	@rm -f tst_psMatrix01$(EXEEXT)
+	$(LINK) $(tst_psMatrix01_LDFLAGS) $(tst_psMatrix01_OBJECTS) $(tst_psMatrix01_LDADD) $(LIBS)
+tst_psMatrix02$(EXEEXT): $(tst_psMatrix02_OBJECTS) $(tst_psMatrix02_DEPENDENCIES) 
+	@rm -f tst_psMatrix02$(EXEEXT)
+	$(LINK) $(tst_psMatrix02_LDFLAGS) $(tst_psMatrix02_OBJECTS) $(tst_psMatrix02_LDADD) $(LIBS)
+tst_psMatrix03$(EXEEXT): $(tst_psMatrix03_OBJECTS) $(tst_psMatrix03_DEPENDENCIES) 
+	@rm -f tst_psMatrix03$(EXEEXT)
+	$(LINK) $(tst_psMatrix03_LDFLAGS) $(tst_psMatrix03_OBJECTS) $(tst_psMatrix03_LDADD) $(LIBS)
+tst_psMatrix04$(EXEEXT): $(tst_psMatrix04_OBJECTS) $(tst_psMatrix04_DEPENDENCIES) 
+	@rm -f tst_psMatrix04$(EXEEXT)
+	$(LINK) $(tst_psMatrix04_LDFLAGS) $(tst_psMatrix04_OBJECTS) $(tst_psMatrix04_LDADD) $(LIBS)
+tst_psMatrix05$(EXEEXT): $(tst_psMatrix05_OBJECTS) $(tst_psMatrix05_DEPENDENCIES) 
+	@rm -f tst_psMatrix05$(EXEEXT)
+	$(LINK) $(tst_psMatrix05_LDFLAGS) $(tst_psMatrix05_OBJECTS) $(tst_psMatrix05_LDADD) $(LIBS)
+tst_psMatrix06$(EXEEXT): $(tst_psMatrix06_OBJECTS) $(tst_psMatrix06_DEPENDENCIES) 
+	@rm -f tst_psMatrix06$(EXEEXT)
+	$(LINK) $(tst_psMatrix06_LDFLAGS) $(tst_psMatrix06_OBJECTS) $(tst_psMatrix06_LDADD) $(LIBS)
+tst_psMatrix07$(EXEEXT): $(tst_psMatrix07_OBJECTS) $(tst_psMatrix07_DEPENDENCIES) 
+	@rm -f tst_psMatrix07$(EXEEXT)
+	$(LINK) $(tst_psMatrix07_LDFLAGS) $(tst_psMatrix07_OBJECTS) $(tst_psMatrix07_LDADD) $(LIBS)
+tst_psMatrixVectorArithmetic01$(EXEEXT): $(tst_psMatrixVectorArithmetic01_OBJECTS) $(tst_psMatrixVectorArithmetic01_DEPENDENCIES) 
+	@rm -f tst_psMatrixVectorArithmetic01$(EXEEXT)
+	$(LINK) $(tst_psMatrixVectorArithmetic01_LDFLAGS) $(tst_psMatrixVectorArithmetic01_OBJECTS) $(tst_psMatrixVectorArithmetic01_LDADD) $(LIBS)
+tst_psMatrixVectorArithmetic02$(EXEEXT): $(tst_psMatrixVectorArithmetic02_OBJECTS) $(tst_psMatrixVectorArithmetic02_DEPENDENCIES) 
+	@rm -f tst_psMatrixVectorArithmetic02$(EXEEXT)
+	$(LINK) $(tst_psMatrixVectorArithmetic02_LDFLAGS) $(tst_psMatrixVectorArithmetic02_OBJECTS) $(tst_psMatrixVectorArithmetic02_LDADD) $(LIBS)
+tst_psMatrixVectorArithmetic03$(EXEEXT): $(tst_psMatrixVectorArithmetic03_OBJECTS) $(tst_psMatrixVectorArithmetic03_DEPENDENCIES) 
+	@rm -f tst_psMatrixVectorArithmetic03$(EXEEXT)
+	$(LINK) $(tst_psMatrixVectorArithmetic03_LDFLAGS) $(tst_psMatrixVectorArithmetic03_OBJECTS) $(tst_psMatrixVectorArithmetic03_LDADD) $(LIBS)
+tst_psMatrixVectorArithmetic04$(EXEEXT): $(tst_psMatrixVectorArithmetic04_OBJECTS) $(tst_psMatrixVectorArithmetic04_DEPENDENCIES) 
+	@rm -f tst_psMatrixVectorArithmetic04$(EXEEXT)
+	$(LINK) $(tst_psMatrixVectorArithmetic04_LDFLAGS) $(tst_psMatrixVectorArithmetic04_OBJECTS) $(tst_psMatrixVectorArithmetic04_LDADD) $(LIBS)
+tst_psMinimize04$(EXEEXT): $(tst_psMinimize04_OBJECTS) $(tst_psMinimize04_DEPENDENCIES) 
+	@rm -f tst_psMinimize04$(EXEEXT)
+	$(LINK) $(tst_psMinimize04_LDFLAGS) $(tst_psMinimize04_OBJECTS) $(tst_psMinimize04_LDADD) $(LIBS)
+tst_psMinimize04_F32$(EXEEXT): $(tst_psMinimize04_F32_OBJECTS) $(tst_psMinimize04_F32_DEPENDENCIES) 
+	@rm -f tst_psMinimize04_F32$(EXEEXT)
+	$(LINK) $(tst_psMinimize04_F32_LDFLAGS) $(tst_psMinimize04_F32_OBJECTS) $(tst_psMinimize04_F32_LDADD) $(LIBS)
+tst_psMinimize04b$(EXEEXT): $(tst_psMinimize04b_OBJECTS) $(tst_psMinimize04b_DEPENDENCIES) 
+	@rm -f tst_psMinimize04b$(EXEEXT)
+	$(LINK) $(tst_psMinimize04b_LDFLAGS) $(tst_psMinimize04b_OBJECTS) $(tst_psMinimize04b_LDADD) $(LIBS)
+tst_psMinimize04b_F32$(EXEEXT): $(tst_psMinimize04b_F32_OBJECTS) $(tst_psMinimize04b_F32_DEPENDENCIES) 
+	@rm -f tst_psMinimize04b_F32$(EXEEXT)
+	$(LINK) $(tst_psMinimize04b_F32_LDFLAGS) $(tst_psMinimize04b_F32_OBJECTS) $(tst_psMinimize04b_F32_LDADD) $(LIBS)
+tst_psMinimize05$(EXEEXT): $(tst_psMinimize05_OBJECTS) $(tst_psMinimize05_DEPENDENCIES) 
+	@rm -f tst_psMinimize05$(EXEEXT)
+	$(LINK) $(tst_psMinimize05_LDFLAGS) $(tst_psMinimize05_OBJECTS) $(tst_psMinimize05_LDADD) $(LIBS)
+tst_psMinimize06$(EXEEXT): $(tst_psMinimize06_OBJECTS) $(tst_psMinimize06_DEPENDENCIES) 
+	@rm -f tst_psMinimize06$(EXEEXT)
+	$(LINK) $(tst_psMinimize06_LDFLAGS) $(tst_psMinimize06_OBJECTS) $(tst_psMinimize06_LDADD) $(LIBS)
+tst_psMinimize07$(EXEEXT): $(tst_psMinimize07_OBJECTS) $(tst_psMinimize07_DEPENDENCIES) 
+	@rm -f tst_psMinimize07$(EXEEXT)
+	$(LINK) $(tst_psMinimize07_LDFLAGS) $(tst_psMinimize07_OBJECTS) $(tst_psMinimize07_LDADD) $(LIBS)
+tst_psRandom$(EXEEXT): $(tst_psRandom_OBJECTS) $(tst_psRandom_DEPENDENCIES) 
+	@rm -f tst_psRandom$(EXEEXT)
+	$(LINK) $(tst_psRandom_LDFLAGS) $(tst_psRandom_OBJECTS) $(tst_psRandom_LDADD) $(LIBS)
+tst_psStats00$(EXEEXT): $(tst_psStats00_OBJECTS) $(tst_psStats00_DEPENDENCIES) 
+	@rm -f tst_psStats00$(EXEEXT)
+	$(LINK) $(tst_psStats00_LDFLAGS) $(tst_psStats00_OBJECTS) $(tst_psStats00_LDADD) $(LIBS)
+tst_psStats01$(EXEEXT): $(tst_psStats01_OBJECTS) $(tst_psStats01_DEPENDENCIES) 
+	@rm -f tst_psStats01$(EXEEXT)
+	$(LINK) $(tst_psStats01_LDFLAGS) $(tst_psStats01_OBJECTS) $(tst_psStats01_LDADD) $(LIBS)
+tst_psStats02$(EXEEXT): $(tst_psStats02_OBJECTS) $(tst_psStats02_DEPENDENCIES) 
+	@rm -f tst_psStats02$(EXEEXT)
+	$(LINK) $(tst_psStats02_LDFLAGS) $(tst_psStats02_OBJECTS) $(tst_psStats02_LDADD) $(LIBS)
+tst_psStats03$(EXEEXT): $(tst_psStats03_OBJECTS) $(tst_psStats03_DEPENDENCIES) 
+	@rm -f tst_psStats03$(EXEEXT)
+	$(LINK) $(tst_psStats03_LDFLAGS) $(tst_psStats03_OBJECTS) $(tst_psStats03_LDADD) $(LIBS)
+tst_psStats05$(EXEEXT): $(tst_psStats05_OBJECTS) $(tst_psStats05_DEPENDENCIES) 
+	@rm -f tst_psStats05$(EXEEXT)
+	$(LINK) $(tst_psStats05_LDFLAGS) $(tst_psStats05_OBJECTS) $(tst_psStats05_LDADD) $(LIBS)
+tst_psStats06$(EXEEXT): $(tst_psStats06_OBJECTS) $(tst_psStats06_DEPENDENCIES) 
+	@rm -f tst_psStats06$(EXEEXT)
+	$(LINK) $(tst_psStats06_LDFLAGS) $(tst_psStats06_OBJECTS) $(tst_psStats06_LDADD) $(LIBS)
+tst_psStats07$(EXEEXT): $(tst_psStats07_OBJECTS) $(tst_psStats07_DEPENDENCIES) 
+	@rm -f tst_psStats07$(EXEEXT)
+	$(LINK) $(tst_psStats07_LDFLAGS) $(tst_psStats07_OBJECTS) $(tst_psStats07_LDADD) $(LIBS)
+tst_psStats08$(EXEEXT): $(tst_psStats08_OBJECTS) $(tst_psStats08_DEPENDENCIES) 
+	@rm -f tst_psStats08$(EXEEXT)
+	$(LINK) $(tst_psStats08_LDFLAGS) $(tst_psStats08_OBJECTS) $(tst_psStats08_LDADD) $(LIBS)
+tst_psStats09$(EXEEXT): $(tst_psStats09_OBJECTS) $(tst_psStats09_DEPENDENCIES) 
+	@rm -f tst_psStats09$(EXEEXT)
+	$(LINK) $(tst_psStats09_LDFLAGS) $(tst_psStats09_OBJECTS) $(tst_psStats09_LDADD) $(LIBS)
+tst_psVectorFFT$(EXEEXT): $(tst_psVectorFFT_OBJECTS) $(tst_psVectorFFT_DEPENDENCIES) 
+	@rm -f tst_psVectorFFT$(EXEEXT)
+	$(LINK) $(tst_psVectorFFT_LDFLAGS) $(tst_psVectorFFT_OBJECTS) $(tst_psVectorFFT_LDADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+
+distclean-compile:
+	-rm -f *.tab.c
+
+include ./$(DEPDIR)/tst_psFunc00.Po
+include ./$(DEPDIR)/tst_psFunc01.Po
+include ./$(DEPDIR)/tst_psFunc02.Po
+include ./$(DEPDIR)/tst_psFunc03.Po
+include ./$(DEPDIR)/tst_psFunc04.Po
+include ./$(DEPDIR)/tst_psFunc05.Po
+include ./$(DEPDIR)/tst_psFunc07.Po
+include ./$(DEPDIR)/tst_psHist00.Po
+include ./$(DEPDIR)/tst_psHist01.Po
+include ./$(DEPDIR)/tst_psHist02.Po
+include ./$(DEPDIR)/tst_psHist03.Po
+include ./$(DEPDIR)/tst_psMatrix01.Po
+include ./$(DEPDIR)/tst_psMatrix02.Po
+include ./$(DEPDIR)/tst_psMatrix03.Po
+include ./$(DEPDIR)/tst_psMatrix04.Po
+include ./$(DEPDIR)/tst_psMatrix05.Po
+include ./$(DEPDIR)/tst_psMatrix06.Po
+include ./$(DEPDIR)/tst_psMatrix07.Po
+include ./$(DEPDIR)/tst_psMatrixVectorArithmetic01.Po
+include ./$(DEPDIR)/tst_psMatrixVectorArithmetic02.Po
+include ./$(DEPDIR)/tst_psMatrixVectorArithmetic03.Po
+include ./$(DEPDIR)/tst_psMatrixVectorArithmetic04.Po
+include ./$(DEPDIR)/tst_psMinimize04.Po
+include ./$(DEPDIR)/tst_psMinimize04b.Po
+include ./$(DEPDIR)/tst_psMinimize05.Po
+include ./$(DEPDIR)/tst_psMinimize06.Po
+include ./$(DEPDIR)/tst_psMinimize07.Po
+include ./$(DEPDIR)/tst_psRandom.Po
+include ./$(DEPDIR)/tst_psStats00.Po
+include ./$(DEPDIR)/tst_psStats01.Po
+include ./$(DEPDIR)/tst_psStats02.Po
+include ./$(DEPDIR)/tst_psStats03.Po
+include ./$(DEPDIR)/tst_psStats05.Po
+include ./$(DEPDIR)/tst_psStats06.Po
+include ./$(DEPDIR)/tst_psStats07.Po
+include ./$(DEPDIR)/tst_psStats08.Po
+include ./$(DEPDIR)/tst_psStats09.Po
+include ./$(DEPDIR)/tst_psVectorFFT.Po
+
+.c.o:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c $<
+
+.c.obj:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(LTCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+tags: TAGS
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+check-TESTS: $(TESTS)
+	@failed=0; all=0; xfail=0; xpass=0; skip=0; \
+	srcdir=$(srcdir); export srcdir; \
+	list='$(TESTS)'; \
+	if test -n "$$list"; then \
+	  for tst in $$list; do \
+	    if test -f ./$$tst; then dir=./; \
+	    elif test -f $$tst; then dir=; \
+	    else dir="$(srcdir)/"; fi; \
+	    if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+	      all=`expr $$all + 1`; \
+	      case " $(XFAIL_TESTS) " in \
+	      *" $$tst "*) \
+		xpass=`expr $$xpass + 1`; \
+		failed=`expr $$failed + 1`; \
+		echo "XPASS: $$tst"; \
+	      ;; \
+	      *) \
+		echo "PASS: $$tst"; \
+	      ;; \
+	      esac; \
+	    elif test $$? -ne 77; then \
+	      all=`expr $$all + 1`; \
+	      case " $(XFAIL_TESTS) " in \
+	      *" $$tst "*) \
+		xfail=`expr $$xfail + 1`; \
+		echo "XFAIL: $$tst"; \
+	      ;; \
+	      *) \
+		failed=`expr $$failed + 1`; \
+		echo "FAIL: $$tst"; \
+	      ;; \
+	      esac; \
+	    else \
+	      skip=`expr $$skip + 1`; \
+	      echo "SKIP: $$tst"; \
+	    fi; \
+	  done; \
+	  if test "$$failed" -eq 0; then \
+	    if test "$$xfail" -eq 0; then \
+	      banner="All $$all tests passed"; \
+	    else \
+	      banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+	    fi; \
+	  else \
+	    if test "$$xpass" -eq 0; then \
+	      banner="$$failed of $$all tests failed"; \
+	    else \
+	      banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+	    fi; \
+	  fi; \
+	  dashes="$$banner"; \
+	  skipped=""; \
+	  if test "$$skip" -ne 0; then \
+	    skipped="($$skip tests were not run)"; \
+	    test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
+	      dashes="$$skipped"; \
+	  fi; \
+	  report=""; \
+	  if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
+	    report="Please report to $(PACKAGE_BUGREPORT)"; \
+	    test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
+	      dashes="$$report"; \
+	  fi; \
+	  dashes=`echo "$$dashes" | sed s/./=/g`; \
+	  echo "$$dashes"; \
+	  echo "$$banner"; \
+	  test -z "$$skipped" || echo "$$skipped"; \
+	  test -z "$$report" || echo "$$report"; \
+	  echo "$$dashes"; \
+	  test "$$failed" -eq 0; \
+	else :; fi
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
+	mostlyclean-am
+
+distclean: distclean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
+	clean-checkPROGRAMS clean-generic clean-libtool ctags \
+	distclean distclean-compile distclean-generic \
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
+	html-am info info-am install install-am install-data \
+	install-data-am install-exec install-exec-am install-info \
+	install-info-am install-man install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+	tags uninstall uninstall-am uninstall-info-am
+
+tests: $(TESTS)
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: /trunk/psLib/test/dataManip/Makefile.am
===================================================================
--- /trunk/psLib/test/dataManip/Makefile.am	(revision 3115)
+++ /trunk/psLib/test/dataManip/Makefile.am	(revision 3115)
@@ -0,0 +1,141 @@
+#Makefile for astronomy functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs`
+
+check_PROGRAMS = \
+	tst_psFunc00 \
+	tst_psFunc01 \
+	tst_psFunc02 \
+	tst_psFunc03 \
+	tst_psFunc04 \
+	tst_psFunc05 \
+	tst_psFunc07 \
+	tst_psHist00 \
+	tst_psHist01 \
+	tst_psHist02 \
+	tst_psHist03 \
+	tst_psMatrix01 \
+	tst_psMatrix02 \
+	tst_psMatrix03 \
+	tst_psMatrix04 \
+	tst_psMatrix05 \
+	tst_psMatrix06 \
+	tst_psMatrix07 \
+	tst_psMatrixVectorArithmetic01 \
+	tst_psMatrixVectorArithmetic02 \
+	tst_psMatrixVectorArithmetic03 \
+	tst_psMatrixVectorArithmetic04 \
+	tst_psMinimize04 \
+	tst_psMinimize04_F32 \
+	tst_psMinimize04b \
+	tst_psMinimize04b_F32 \
+	tst_psMinimize05 \
+	tst_psMinimize06 \
+	tst_psMinimize07 \
+	tst_psStats00 \
+	tst_psStats01 \
+	tst_psStats02 \
+	tst_psStats03 \
+	tst_psStats05 \
+	tst_psStats06 \
+	tst_psStats07 \
+	tst_psStats08 \
+	tst_psStats09 \
+	tst_psRandom \
+	tst_psVectorFFT 
+
+TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 
+TESTS = \
+	tst_psFunc00 \
+	tst_psFunc01 \
+	tst_psFunc02 \
+	tst_psFunc03 \
+	tst_psFunc04 \
+	tst_psFunc05 \
+	tst_psFunc07 \
+	tst_psHist00 \
+	tst_psHist01 \
+	tst_psHist02 \
+	tst_psHist03 \
+	tst_psMatrix01 \
+	tst_psMatrix02 \
+	tst_psMatrix03 \
+	tst_psMatrix04 \
+	tst_psMatrix05 \
+	tst_psMatrix06 \
+	tst_psMatrix07 \
+	tst_psMatrixVectorArithmetic01 \
+	tst_psMatrixVectorArithmetic02 \
+	tst_psMatrixVectorArithmetic03 \
+	tst_psMatrixVectorArithmetic04 \
+	tst_psMinimize04 \
+	tst_psMinimize04_F32 \
+	tst_psMinimize04b \
+	tst_psMinimize04b_F32 \
+	tst_psMinimize05 \
+	tst_psMinimize06 \
+	tst_psMinimize07 \
+	tst_psStats00 \
+	tst_psStats01 \
+	tst_psStats02 \
+	tst_psStats03 \
+	tst_psStats05 \
+	tst_psStats06 \
+	tst_psStats07 \
+	tst_psStats08 \
+	tst_psStats09 \
+	tst_psRandom \
+	tst_psVectorFFT 
+tests: $(TESTS)
+
+tst_psFunc00_SOURCES =  tst_psFunc00.c
+tst_psFunc01_SOURCES =  tst_psFunc01.c
+tst_psFunc02_SOURCES =  tst_psFunc02.c
+tst_psFunc03_SOURCES =  tst_psFunc03.c
+tst_psFunc04_SOURCES =  tst_psFunc04.c
+tst_psFunc05_SOURCES =  tst_psFunc05.c
+tst_psFunc07_SOURCES =  tst_psFunc07.c
+tst_psHist00_SOURCES =  tst_psHist00.c
+tst_psHist01_SOURCES =  tst_psHist01.c
+tst_psHist02_SOURCES =  tst_psHist02.c
+tst_psHist03_SOURCES =  tst_psHist03.c
+tst_psMatrix01_SOURCES =  tst_psMatrix01.c
+tst_psMatrix02_SOURCES =  tst_psMatrix02.c
+tst_psMatrix03_SOURCES =  tst_psMatrix03.c
+tst_psMatrix04_SOURCES =  tst_psMatrix04.c
+tst_psMatrix05_SOURCES =  tst_psMatrix05.c
+tst_psMatrix06_SOURCES =  tst_psMatrix06.c
+tst_psMatrix07_SOURCES =  tst_psMatrix07.c
+tst_psMatrixVectorArithmetic01_SOURCES =  tst_psMatrixVectorArithmetic01.c
+tst_psMatrixVectorArithmetic02_SOURCES =  tst_psMatrixVectorArithmetic02.c
+tst_psMatrixVectorArithmetic03_SOURCES =  tst_psMatrixVectorArithmetic03.c
+tst_psMatrixVectorArithmetic04_SOURCES =  tst_psMatrixVectorArithmetic04.c
+tst_psMinimize04_SOURCES =  tst_psMinimize04.c
+tst_psMinimize04_F32_SOURCES =  tst_psMinimize04.c
+tst_psMinimize04b_SOURCES =  tst_psMinimize04b.c
+tst_psMinimize04b_F32_SOURCES =  tst_psMinimize04b.c
+tst_psMinimize05_SOURCES =  tst_psMinimize05.c
+tst_psMinimize06_SOURCES =  tst_psMinimize06.c
+tst_psMinimize07_SOURCES =  tst_psMinimize07.c
+tst_psStats00_SOURCES =  tst_psStats00.c
+tst_psStats01_SOURCES =  tst_psStats01.c
+tst_psStats02_SOURCES =  tst_psStats02.c
+tst_psStats03_SOURCES =  tst_psStats03.c
+tst_psStats05_SOURCES =  tst_psStats05.c
+tst_psStats06_SOURCES =  tst_psStats06.c
+tst_psStats07_SOURCES =  tst_psStats07.c
+tst_psStats08_SOURCES =  tst_psStats08.c
+tst_psStats09_SOURCES =  tst_psStats09.c
+tst_psRandom_SOURCES =  tst_psRandom.c
+tst_psVectorFFT_SOURCES = tst_psVectorFFT.c
+ 
Index: /trunk/psLib/test/dataManip/verified/tst_psFunc02.stdout
===================================================================
--- /trunk/psLib/test/dataManip/verified/tst_psFunc02.stdout	(revision 3114)
+++ /trunk/psLib/test/dataManip/verified/tst_psFunc02.stdout	(revision 3115)
@@ -5,9 +5,9 @@
 \**********************************************************************************/
 
-psSpline1D->domains[0] is 1.000000
-psSpline1D->domains[1] is 3.250000
-psSpline1D->domains[2] is 5.500000
-psSpline1D->domains[3] is 7.750000
-psSpline1D->domains[4] is 10.000000
+psSpline1D->knots->data.F32[0] is 1.000000
+psSpline1D->knots->data.F32[1] is 3.250000
+psSpline1D->knots->data.F32[2] is 5.500000
+psSpline1D->knots->data.F32[3] is 7.750000
+psSpline1D->knots->data.F32[4] is 10.000000
 
 ---> TESTPOINT PASSED (psFunctions functions{psSpline1DAlloc(): linear, normal} | tst_psFunc02.c)
@@ -28,9 +28,9 @@
 \**********************************************************************************/
 
-psSpline1D->domains[0] is 1.000000
-psSpline1D->domains[1] is 0.500000
-psSpline1D->domains[2] is 0.000000
-psSpline1D->domains[3] is -0.500000
-psSpline1D->domains[4] is -1.000000
+psSpline1D->knots->data.F32[0] is 1.000000
+psSpline1D->knots->data.F32[1] is 0.500000
+psSpline1D->knots->data.F32[2] is 0.000000
+psSpline1D->knots->data.F32[3] is -0.500000
+psSpline1D->knots->data.F32[4] is -1.000000
 
 ---> TESTPOINT PASSED (psFunctions functions{psSpline1DAlloc(): linear, min > max.} | tst_psFunc02.c)
@@ -42,9 +42,9 @@
 \**********************************************************************************/
 
-psSpline1D->domains[0] is 1.000000
-psSpline1D->domains[1] is 3.250000
-psSpline1D->domains[2] is 5.500000
-psSpline1D->domains[3] is 7.750000
-psSpline1D->domains[4] is 10.000000
+psSpline1D->data.F32[0] is 1.000000
+psSpline1D->data.F32[1] is 3.250000
+psSpline1D->data.F32[2] is 5.500000
+psSpline1D->data.F32[3] is 7.750000
+psSpline1D->data.F32[4] is 10.000000
 
 ---> TESTPOINT PASSED (psFunctions functions{psSpline1DAlloc(): cubic, normal} | tst_psFunc02.c)
@@ -65,9 +65,9 @@
 \**********************************************************************************/
 
-psSpline1D->domains[0] is 1.000000
-psSpline1D->domains[1] is 0.500000
-psSpline1D->domains[2] is 0.000000
-psSpline1D->domains[3] is -0.500000
-psSpline1D->domains[4] is -1.000000
+psSpline1D->knots->data.F32[0] is 1.000000
+psSpline1D->knots->data.F32[1] is 0.500000
+psSpline1D->knots->data.F32[2] is 0.000000
+psSpline1D->knots->data.F32[3] is -0.500000
+psSpline1D->knots->data.F32[4] is -1.000000
 
 ---> TESTPOINT PASSED (psFunctions functions{psSpline1DAlloc(): cubic, min > max.} | tst_psFunc02.c)
@@ -79,9 +79,9 @@
 \**********************************************************************************/
 
-psSpline1D->domains[0] is 2.000000
-psSpline1D->domains[1] is 4.000000
-psSpline1D->domains[2] is 6.000000
-psSpline1D->domains[3] is 8.000000
-psSpline1D->domains[4] is 10.000000
+psSpline1D->knots->data.F32[0] is 2.000000
+psSpline1D->knots->data.F32[1] is 4.000000
+psSpline1D->knots->data.F32[2] is 6.000000
+psSpline1D->knots->data.F32[3] is 8.000000
+psSpline1D->knots->data.F32[4] is 10.000000
 
 ---> TESTPOINT PASSED (psFunctions functions{psSpline1DAllocGeneric(): linear, normal} | tst_psFunc02.c)
Index: /trunk/psLib/test/dataManip/verified/tst_psMinimize04_F32.stderr
===================================================================
--- /trunk/psLib/test/dataManip/verified/tst_psMinimize04_F32.stderr	(revision 3114)
+++ /trunk/psLib/test/dataManip/verified/tst_psMinimize04_F32.stderr	(revision 3115)
@@ -1,4 +1,4 @@
 <DATE><TIME>|<HOST>|I|t03
-    Following should generate error for null arguments.
+    Following should generate an error for null input polynomial.
 <DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D (psMinimize.c:<LINENO>)
     Unallowable operation: polynomial myPoly or its coeffs is NULL.
Index: /trunk/psLib/test/dataManip/verified/tst_psMinimize04_F32.stdout
===================================================================
--- /trunk/psLib/test/dataManip/verified/tst_psMinimize04_F32.stdout	(revision 3114)
+++ /trunk/psLib/test/dataManip/verified/tst_psMinimize04_F32.stdout	(revision 3115)
@@ -1,13 +1,13 @@
 /***************************** TESTPOINT ******************************************\
-*             TestFile: tst_psMinimize04_F32.c                                     *
-*            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): equal errors in yErr} *
+*             TestFile: tst_psMinimize04.c                                         *
+*            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): equal difference in variable yE *
 *             TestType: Positive                                                   *
 \**********************************************************************************/
 
 
----> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): equal errors in yErr} | tst_psMinimize04_F32.c)
+---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): equal differences in variable yErr} | tst_psMinimize04.c)
 
 /***************************** TESTPOINT ******************************************\
-*             TestFile: tst_psMinimize04_F32.c                                     *
+*             TestFile: tst_psMinimize04.c                                         *
 *            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): yErr is NULL} *
 *             TestType: Positive                                                   *
@@ -15,8 +15,8 @@
 
 
----> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): yErr is NULL} | tst_psMinimize04_F32.c)
+---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): yErr is NULL} | tst_psMinimize04.c)
 
 /***************************** TESTPOINT ******************************************\
-*             TestFile: tst_psMinimize04_F32.c                                     *
+*             TestFile: tst_psMinimize04.c                                         *
 *            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): x, yErr is NULL} *
 *             TestType: Positive                                                   *
@@ -24,8 +24,8 @@
 
 
----> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): x, yErr is NULL} | tst_psMinimize04_F32.c)
+---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): x, yErr is NULL} | tst_psMinimize04.c)
 
 /***************************** TESTPOINT ******************************************\
-*             TestFile: tst_psMinimize04_F32.c                                     *
+*             TestFile: tst_psMinimize04.c                                         *
 *            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): all inputs are NULL} *
 *             TestType: Positive                                                   *
@@ -33,4 +33,4 @@
 
 
----> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): all inputs are NULL} | tst_psMinimize04_F32.c)
+---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): all inputs are NULL} | tst_psMinimize04.c)
 
Index: /trunk/psLib/test/dataManip/verified/tst_psMinimize04b_F32.stderr
===================================================================
--- /trunk/psLib/test/dataManip/verified/tst_psMinimize04b_F32.stderr	(revision 3114)
+++ /trunk/psLib/test/dataManip/verified/tst_psMinimize04b_F32.stderr	(revision 3115)
@@ -1,4 +1,4 @@
 <DATE><TIME>|<HOST>|I|t03
-    Following should generate error for null arguments.
+    Following should generate an error for null arguments.
 <DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D (psMinimize.c:<LINENO>)
     Unallowable operation: polynomial myPoly or its coeffs is NULL.
Index: /trunk/psLib/test/dataManip/verified/tst_psMinimize04b_F32.stdout
===================================================================
--- /trunk/psLib/test/dataManip/verified/tst_psMinimize04b_F32.stdout	(revision 3114)
+++ /trunk/psLib/test/dataManip/verified/tst_psMinimize04b_F32.stdout	(revision 3115)
@@ -1,4 +1,4 @@
 /***************************** TESTPOINT ******************************************\
-*             TestFile: tst_psMinimize04b_F32.c                                    *
+*             TestFile: tst_psMinimize04b.c                                        *
 *            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): CHEB, equal errors in yErr} *
 *             TestType: Positive                                                   *
@@ -6,8 +6,8 @@
 
 
----> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, equal errors in yErr} | tst_psMinimize04b_F32.c)
+---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, equal errors in yErr} | tst_psMinimize04b.c)
 
 /***************************** TESTPOINT ******************************************\
-*             TestFile: tst_psMinimize04b_F32.c                                    *
+*             TestFile: tst_psMinimize04b.c                                        *
 *            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} *
 *             TestType: Positive                                                   *
@@ -15,8 +15,8 @@
 
 
----> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} | tst_psMinimize04b_F32.c)
+---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} | tst_psMinimize04b.c)
 
 /***************************** TESTPOINT ******************************************\
-*             TestFile: tst_psMinimize04b_F32.c                                    *
+*             TestFile: tst_psMinimize04b.c                                        *
 *            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): CHEB, x, yErr is NULL} *
 *             TestType: Positive                                                   *
@@ -24,8 +24,8 @@
 
 
----> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, x, yErr is NULL} | tst_psMinimize04b_F32.c)
+---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, x, yErr is NULL} | tst_psMinimize04b.c)
 
 /***************************** TESTPOINT ******************************************\
-*             TestFile: tst_psMinimize04b_F32.c                                    *
+*             TestFile: tst_psMinimize04b.c                                        *
 *            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} *
 *             TestType: Positive                                                   *
@@ -33,4 +33,4 @@
 
 
----> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} | tst_psMinimize04b_F32.c)
+---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} | tst_psMinimize04b.c)
 
Index: /trunk/psLib/test/fileUtils/Makefile
===================================================================
--- /trunk/psLib/test/fileUtils/Makefile	(revision 3114)
+++ /trunk/psLib/test/fileUtils/Makefile	(revision 3115)
@@ -1,44 +1,527 @@
-################################################################################
-##
-##  Makefile:   test/fileUtils
-##
-##  $Revision: 1.3 $  $Name: not supported by cvs2svn $
-##  $Date: 2005-01-19 01:53:00 $
-##
-##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
-##
-###############################################################################
-
-ifndef prefix
-    export prefix=$(shell cd ../..;pwd)
-endif
-
-include ../../src/Makefile.Globals
-
-CFLAGS := -I../../include -DUTC_DAT_FILE="\"$(prefix)/data/tai_utc.dat\"" $(CFLAGS)
-LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS)
-
-TARGET = tst_psLookupTable_01 \
+# Makefile.in generated by automake 1.9.1 from Makefile.am.
+# test/fileUtils/Makefile.  Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+SOURCES = $(tst_psFits_SOURCES) $(tst_psLookupTable_01_SOURCES)
+
+srcdir = .
+top_srcdir = ../..
+
+pkgdatadir = $(datadir)/pslib
+pkglibdir = $(libdir)/pslib
+pkgincludedir = $(includedir)/pslib
+top_builddir = ../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+check_PROGRAMS = tst_psLookupTable_01$(EXEEXT) tst_psFits$(EXEEXT)
+subdir = test/fileUtils
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+am_tst_psFits_OBJECTS = tst_psFits.$(OBJEXT)
+tst_psFits_OBJECTS = $(am_tst_psFits_OBJECTS)
+tst_psFits_LDADD = $(LDADD)
+am_tst_psLookupTable_01_OBJECTS = tst_psLookupTable_01.$(OBJEXT)
+tst_psLookupTable_01_OBJECTS = $(am_tst_psLookupTable_01_OBJECTS)
+tst_psLookupTable_01_LDADD = $(LDADD)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(tst_psFits_SOURCES) $(tst_psLookupTable_01_SOURCES)
+DIST_SOURCES = $(tst_psFits_SOURCES) $(tst_psLookupTable_01_SOURCES)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE = 
+AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
+AWK = gawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
+CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
+CPP = gcc -E
+CPPFLAGS = 
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+ECHO = echo
+ECHO_C = 
+ECHO_N = -n
+ECHO_T = 
+EGREP = grep -E
+EXEEXT = 
+F77 = g77
+FFLAGS = -fno-second-underscore -O -fno-f2c
+GSL_CONFIG = /usr/bin/gsl-config
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LDFLAGS = 
+LIBOBJS = 
+LIBS = 
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS = 
+MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
+OBJEXT = o
+PACKAGE = pslib
+PACKAGE_BUGREPORT = 
+PACKAGE_NAME = 
+PACKAGE_STRING = 
+PACKAGE_TARNAME = 
+PACKAGE_VERSION = 
+PATH_SEPARATOR = :
+PERL = /usr/bin/perl
+PSLIB_CFLAGS = -I${prefix}/include
+PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
+RANLIB = ranlib
+SET_MAKE = 
+SHELL = /bin/sh
+STRIP = strip
+SWIG = /usr/bin/swig
+VERSION = 1.5
+XML_CONFIG = /usr/bin/xml2-config
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = g77
+ac_ct_RANLIB = ranlib
+ac_ct_STRIP = strip
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE = 
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE = 
+am__include = include
+am__leading_dot = .
+am__quote = 
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias = 
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+datadir = ${prefix}/share
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias = 
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+includedir = ${prefix}/include
+infodir = ${prefix}/info
+install_sh = /home/desonia/panstarrs/psLib/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localstatedir = ${prefix}/var
+mandir = ${prefix}/man
+mkdir_p = mkdir -p --
+oldincludedir = /usr/include
+prefix = /home/desonia/panstarrs/psLib
+program_transform_name = s,x,x,
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+sysconfdir = ${prefix}/etc
+target_alias = 
+
+#Makefile for astronomy functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs`
+TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 
+TESTS = \
+	tst_psLookupTable_01 \
 	tst_psFits
 
-OBJS = $(addprefix builddir/,$(addsuffix .o,$(TARGET)))
-
-all: $(TARGET)
-
-clean:
-	@echo "    Deleting executable and binary files for 'test/fileUtils'"
-	$(RM) $(OBJS)
-
-distclean: clean
-	$(RM) $(TARGET)
-
-install: $(testbindir) $(testbindir)/verified $(TARGET)
-	install $(TARGET) $(testbindir)
-	install verified/*.stderr verified/*.stdout $(testbindir)/verified
-
-$(testbindir):
-	mkdir -p $(testbindir)
-
-$(testbindir)/verified:
-	mkdir -p $(testbindir)/verified
-
+tst_psLookupTable_01_SOURCES = tst_psLookupTable_01.c
+tst_psFits_SOURCES = tst_psFits.c
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  test/fileUtils/Makefile'; \
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu  test/fileUtils/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-checkPROGRAMS:
+	@list='$(check_PROGRAMS)'; for p in $$list; do \
+	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+	  echo " rm -f $$p $$f"; \
+	  rm -f $$p $$f ; \
+	done
+tst_psFits$(EXEEXT): $(tst_psFits_OBJECTS) $(tst_psFits_DEPENDENCIES) 
+	@rm -f tst_psFits$(EXEEXT)
+	$(LINK) $(tst_psFits_LDFLAGS) $(tst_psFits_OBJECTS) $(tst_psFits_LDADD) $(LIBS)
+tst_psLookupTable_01$(EXEEXT): $(tst_psLookupTable_01_OBJECTS) $(tst_psLookupTable_01_DEPENDENCIES) 
+	@rm -f tst_psLookupTable_01$(EXEEXT)
+	$(LINK) $(tst_psLookupTable_01_LDFLAGS) $(tst_psLookupTable_01_OBJECTS) $(tst_psLookupTable_01_LDADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+
+distclean-compile:
+	-rm -f *.tab.c
+
+include ./$(DEPDIR)/tst_psFits.Po
+include ./$(DEPDIR)/tst_psLookupTable_01.Po
+
+.c.o:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c $<
+
+.c.obj:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(LTCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+tags: TAGS
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+check-TESTS: $(TESTS)
+	@failed=0; all=0; xfail=0; xpass=0; skip=0; \
+	srcdir=$(srcdir); export srcdir; \
+	list='$(TESTS)'; \
+	if test -n "$$list"; then \
+	  for tst in $$list; do \
+	    if test -f ./$$tst; then dir=./; \
+	    elif test -f $$tst; then dir=; \
+	    else dir="$(srcdir)/"; fi; \
+	    if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+	      all=`expr $$all + 1`; \
+	      case " $(XFAIL_TESTS) " in \
+	      *" $$tst "*) \
+		xpass=`expr $$xpass + 1`; \
+		failed=`expr $$failed + 1`; \
+		echo "XPASS: $$tst"; \
+	      ;; \
+	      *) \
+		echo "PASS: $$tst"; \
+	      ;; \
+	      esac; \
+	    elif test $$? -ne 77; then \
+	      all=`expr $$all + 1`; \
+	      case " $(XFAIL_TESTS) " in \
+	      *" $$tst "*) \
+		xfail=`expr $$xfail + 1`; \
+		echo "XFAIL: $$tst"; \
+	      ;; \
+	      *) \
+		failed=`expr $$failed + 1`; \
+		echo "FAIL: $$tst"; \
+	      ;; \
+	      esac; \
+	    else \
+	      skip=`expr $$skip + 1`; \
+	      echo "SKIP: $$tst"; \
+	    fi; \
+	  done; \
+	  if test "$$failed" -eq 0; then \
+	    if test "$$xfail" -eq 0; then \
+	      banner="All $$all tests passed"; \
+	    else \
+	      banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+	    fi; \
+	  else \
+	    if test "$$xpass" -eq 0; then \
+	      banner="$$failed of $$all tests failed"; \
+	    else \
+	      banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+	    fi; \
+	  fi; \
+	  dashes="$$banner"; \
+	  skipped=""; \
+	  if test "$$skip" -ne 0; then \
+	    skipped="($$skip tests were not run)"; \
+	    test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
+	      dashes="$$skipped"; \
+	  fi; \
+	  report=""; \
+	  if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
+	    report="Please report to $(PACKAGE_BUGREPORT)"; \
+	    test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
+	      dashes="$$report"; \
+	  fi; \
+	  dashes=`echo "$$dashes" | sed s/./=/g`; \
+	  echo "$$dashes"; \
+	  echo "$$banner"; \
+	  test -z "$$skipped" || echo "$$skipped"; \
+	  test -z "$$report" || echo "$$report"; \
+	  echo "$$dashes"; \
+	  test "$$failed" -eq 0; \
+	else :; fi
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
+	mostlyclean-am
+
+distclean: distclean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
+	clean-checkPROGRAMS clean-generic clean-libtool ctags \
+	distclean distclean-compile distclean-generic \
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
+	html-am info info-am install install-am install-data \
+	install-data-am install-exec install-exec-am install-info \
+	install-info-am install-man install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+	tags uninstall uninstall-am uninstall-info-am
+
+tests: $(TESTS)
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: /trunk/psLib/test/fileUtils/Makefile.am
===================================================================
--- /trunk/psLib/test/fileUtils/Makefile.am	(revision 3115)
+++ /trunk/psLib/test/fileUtils/Makefile.am	(revision 3115)
@@ -0,0 +1,26 @@
+#Makefile for astronomy functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs`
+
+check_PROGRAMS = \
+	tst_psLookupTable_01 \
+	tst_psFits
+
+TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 
+TESTS = \
+	tst_psLookupTable_01 \
+	tst_psFits
+tests: $(TESTS)
+
+tst_psLookupTable_01_SOURCES =  tst_psLookupTable_01.c
+tst_psFits_SOURCES =  tst_psFits.c
Index: /trunk/psLib/test/fileUtils/tst_psFits.c
===================================================================
--- /trunk/psLib/test/fileUtils/tst_psFits.c	(revision 3114)
+++ /trunk/psLib/test/fileUtils/tst_psFits.c	(revision 3115)
@@ -6,12 +6,9 @@
 *  @author Robert DeSonia, MHPCC
 *
-*  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-01-18 19:35:24 $
+*  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-02-03 00:54:12 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
 */
-
-#include "psTest.h"
-#include "pslib.h"
 
 #include <unistd.h>
@@ -20,4 +17,6 @@
 #include <sys/types.h>
 
+#include "psTest.h"
+#include "pslib.h"
 
 #define GENIMAGE(img,c,r,TYP, valueFcn) \
Index: /trunk/psLib/test/fileUtils/tst_psLookupTable_01.c
===================================================================
--- /trunk/psLib/test/fileUtils/tst_psLookupTable_01.c	(revision 3114)
+++ /trunk/psLib/test/fileUtils/tst_psLookupTable_01.c	(revision 3115)
@@ -12,6 +12,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2005-01-19 01:53:00 $
+*  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2005-02-03 00:54:12 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -19,9 +19,8 @@
 */
 
+#include <string.h>
+#include "config.h"
 #include "pslib.h"
 #include "psTest.h"
-#include <string.h>
-
-
 
 int main(int argc, char* argv[])
Index: /trunk/psLib/test/image/Makefile
===================================================================
--- /trunk/psLib/test/image/Makefile	(revision 3114)
+++ /trunk/psLib/test/image/Makefile	(revision 3115)
@@ -1,55 +1,632 @@
-################################################################################
-##
-##  Makefile:   test/collections
-##
-##  $Revision: 1.7 $  $Name: not supported by cvs2svn $
-##  $Date: 2004-12-17 19:48:49 $
-##
-##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
-##
-###############################################################################
-
-ifndef prefix
-    export prefix=$(shell cd ../..;pwd)
-endif
-
-include ../../src/Makefile.Globals
-
-CFLAGS := -I../../include $(CFLAGS)
-LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS)
-
-TARGET = tst_psImage \
-tst_psImageFFT \
-tst_psImageManip \
-tst_psImageStats00 \
-tst_psImageStats01 \
-tst_psImageStats02 \
-tst_psImageStats03 \
-tst_psImageStats04 \
-tst_psImageExtraction \
-tst_psImageConvolve \
-tst_psImageIO \
-tst_psImageInterpolate
-
-OBJS = $(addsuffix .o,$(TARGET))
-
-all: $(TARGET)
-
-clean:
-	@echo "    Deleting executable and binary files for 'test/collections'"
-	$(RM) $(OBJS)
-
-distclean: clean
-	$(RM) $(TARGET)
-
-install: $(testbindir) $(testbindir)/verified $(TARGET)
-	install $(TARGET) $(testbindir)
-	install verified/*.fits verified/*.stderr verified/*.stdout $(testbindir)/verified
-
-$(testbindir):
-	mkdir -p $(testbindir)
-
-$(testbindir)/verified:
-	mkdir -p $(testbindir)/verified
-
-
+# Makefile.in generated by automake 1.9.1 from Makefile.am.
+# test/image/Makefile.  Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+SOURCES = $(tst_psImage_SOURCES) $(tst_psImageConvolve_SOURCES) $(tst_psImageExtraction_SOURCES) $(tst_psImageFFT_SOURCES) $(tst_psImageIO_SOURCES) $(tst_psImageInterpolate_SOURCES) $(tst_psImageManip_SOURCES) $(tst_psImageStats00_SOURCES) $(tst_psImageStats01_SOURCES) $(tst_psImageStats02_SOURCES) $(tst_psImageStats03_SOURCES) $(tst_psImageStats04_SOURCES)
+
+srcdir = .
+top_srcdir = ../..
+
+pkgdatadir = $(datadir)/pslib
+pkglibdir = $(libdir)/pslib
+pkgincludedir = $(includedir)/pslib
+top_builddir = ../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+check_PROGRAMS = tst_psImage$(EXEEXT) tst_psImageFFT$(EXEEXT) \
+	tst_psImageManip$(EXEEXT) tst_psImageStats00$(EXEEXT) \
+	tst_psImageStats01$(EXEEXT) tst_psImageStats02$(EXEEXT) \
+	tst_psImageStats03$(EXEEXT) tst_psImageStats04$(EXEEXT) \
+	tst_psImageExtraction$(EXEEXT) tst_psImageConvolve$(EXEEXT) \
+	tst_psImageIO$(EXEEXT) tst_psImageInterpolate$(EXEEXT)
+subdir = test/image
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+am_tst_psImage_OBJECTS = tst_psImage.$(OBJEXT)
+tst_psImage_OBJECTS = $(am_tst_psImage_OBJECTS)
+tst_psImage_LDADD = $(LDADD)
+am_tst_psImageConvolve_OBJECTS = tst_psImageConvolve.$(OBJEXT)
+tst_psImageConvolve_OBJECTS = $(am_tst_psImageConvolve_OBJECTS)
+tst_psImageConvolve_LDADD = $(LDADD)
+am_tst_psImageExtraction_OBJECTS = tst_psImageExtraction.$(OBJEXT)
+tst_psImageExtraction_OBJECTS = $(am_tst_psImageExtraction_OBJECTS)
+tst_psImageExtraction_LDADD = $(LDADD)
+am_tst_psImageFFT_OBJECTS = tst_psImageFFT.$(OBJEXT)
+tst_psImageFFT_OBJECTS = $(am_tst_psImageFFT_OBJECTS)
+tst_psImageFFT_LDADD = $(LDADD)
+am_tst_psImageIO_OBJECTS = tst_psImageIO.$(OBJEXT)
+tst_psImageIO_OBJECTS = $(am_tst_psImageIO_OBJECTS)
+tst_psImageIO_LDADD = $(LDADD)
+am_tst_psImageInterpolate_OBJECTS = tst_psImageInterpolate.$(OBJEXT)
+tst_psImageInterpolate_OBJECTS = $(am_tst_psImageInterpolate_OBJECTS)
+tst_psImageInterpolate_LDADD = $(LDADD)
+am_tst_psImageManip_OBJECTS = tst_psImageManip.$(OBJEXT)
+tst_psImageManip_OBJECTS = $(am_tst_psImageManip_OBJECTS)
+tst_psImageManip_LDADD = $(LDADD)
+am_tst_psImageStats00_OBJECTS = tst_psImageStats00.$(OBJEXT)
+tst_psImageStats00_OBJECTS = $(am_tst_psImageStats00_OBJECTS)
+tst_psImageStats00_LDADD = $(LDADD)
+am_tst_psImageStats01_OBJECTS = tst_psImageStats01.$(OBJEXT)
+tst_psImageStats01_OBJECTS = $(am_tst_psImageStats01_OBJECTS)
+tst_psImageStats01_LDADD = $(LDADD)
+am_tst_psImageStats02_OBJECTS = tst_psImageStats02.$(OBJEXT)
+tst_psImageStats02_OBJECTS = $(am_tst_psImageStats02_OBJECTS)
+tst_psImageStats02_LDADD = $(LDADD)
+am_tst_psImageStats03_OBJECTS = tst_psImageStats03.$(OBJEXT)
+tst_psImageStats03_OBJECTS = $(am_tst_psImageStats03_OBJECTS)
+tst_psImageStats03_LDADD = $(LDADD)
+am_tst_psImageStats04_OBJECTS = tst_psImageStats04.$(OBJEXT)
+tst_psImageStats04_OBJECTS = $(am_tst_psImageStats04_OBJECTS)
+tst_psImageStats04_LDADD = $(LDADD)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(tst_psImage_SOURCES) $(tst_psImageConvolve_SOURCES) \
+	$(tst_psImageExtraction_SOURCES) $(tst_psImageFFT_SOURCES) \
+	$(tst_psImageIO_SOURCES) $(tst_psImageInterpolate_SOURCES) \
+	$(tst_psImageManip_SOURCES) $(tst_psImageStats00_SOURCES) \
+	$(tst_psImageStats01_SOURCES) $(tst_psImageStats02_SOURCES) \
+	$(tst_psImageStats03_SOURCES) $(tst_psImageStats04_SOURCES)
+DIST_SOURCES = $(tst_psImage_SOURCES) $(tst_psImageConvolve_SOURCES) \
+	$(tst_psImageExtraction_SOURCES) $(tst_psImageFFT_SOURCES) \
+	$(tst_psImageIO_SOURCES) $(tst_psImageInterpolate_SOURCES) \
+	$(tst_psImageManip_SOURCES) $(tst_psImageStats00_SOURCES) \
+	$(tst_psImageStats01_SOURCES) $(tst_psImageStats02_SOURCES) \
+	$(tst_psImageStats03_SOURCES) $(tst_psImageStats04_SOURCES)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE = 
+AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
+AWK = gawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
+CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
+CPP = gcc -E
+CPPFLAGS = 
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+ECHO = echo
+ECHO_C = 
+ECHO_N = -n
+ECHO_T = 
+EGREP = grep -E
+EXEEXT = 
+F77 = g77
+FFLAGS = -fno-second-underscore -O -fno-f2c
+GSL_CONFIG = /usr/bin/gsl-config
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LDFLAGS = 
+LIBOBJS = 
+LIBS = 
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS = 
+MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
+OBJEXT = o
+PACKAGE = pslib
+PACKAGE_BUGREPORT = 
+PACKAGE_NAME = 
+PACKAGE_STRING = 
+PACKAGE_TARNAME = 
+PACKAGE_VERSION = 
+PATH_SEPARATOR = :
+PERL = /usr/bin/perl
+PSLIB_CFLAGS = -I${prefix}/include
+PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
+RANLIB = ranlib
+SET_MAKE = 
+SHELL = /bin/sh
+STRIP = strip
+SWIG = /usr/bin/swig
+VERSION = 1.5
+XML_CONFIG = /usr/bin/xml2-config
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = g77
+ac_ct_RANLIB = ranlib
+ac_ct_STRIP = strip
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE = 
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE = 
+am__include = include
+am__leading_dot = .
+am__quote = 
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias = 
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+datadir = ${prefix}/share
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias = 
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+includedir = ${prefix}/include
+infodir = ${prefix}/info
+install_sh = /home/desonia/panstarrs/psLib/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localstatedir = ${prefix}/var
+mandir = ${prefix}/man
+mkdir_p = mkdir -p --
+oldincludedir = /usr/include
+prefix = /home/desonia/panstarrs/psLib
+program_transform_name = s,x,x,
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+sysconfdir = ${prefix}/etc
+target_alias = 
+
+#Makefile for astronomy functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs`
+TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 
+TESTS = \
+	tst_psImage \
+	tst_psImageFFT \
+	tst_psImageManip \
+	tst_psImageStats00 \
+	tst_psImageStats01 \
+	tst_psImageStats02 \
+	tst_psImageStats03 \
+	tst_psImageStats04 \
+	tst_psImageExtraction \
+	tst_psImageConvolve \
+	tst_psImageIO \
+	tst_psImageInterpolate
+
+tst_psImage_SOURCES = tst_psImage.c
+tst_psImageFFT_SOURCES = tst_psImageFFT.c
+tst_psImageManip_SOURCES = tst_psImageManip.c
+tst_psImageStats00_SOURCES = tst_psImageStats00.c
+tst_psImageStats01_SOURCES = tst_psImageStats01.c
+tst_psImageStats02_SOURCES = tst_psImageStats02.c
+tst_psImageStats03_SOURCES = tst_psImageStats03.c
+tst_psImageStats04_SOURCES = tst_psImageStats04.c
+tst_psImageExtraction_SOURCES = tst_psImageExtraction.c
+tst_psImageConvolve_SOURCES = tst_psImageConvolve.c
+tst_psImageIO_SOURCES = tst_psImageIO.c
+tst_psImageInterpolate_SOURCES = tst_psImageInterpolate.c
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  test/image/Makefile'; \
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu  test/image/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-checkPROGRAMS:
+	@list='$(check_PROGRAMS)'; for p in $$list; do \
+	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+	  echo " rm -f $$p $$f"; \
+	  rm -f $$p $$f ; \
+	done
+tst_psImage$(EXEEXT): $(tst_psImage_OBJECTS) $(tst_psImage_DEPENDENCIES) 
+	@rm -f tst_psImage$(EXEEXT)
+	$(LINK) $(tst_psImage_LDFLAGS) $(tst_psImage_OBJECTS) $(tst_psImage_LDADD) $(LIBS)
+tst_psImageConvolve$(EXEEXT): $(tst_psImageConvolve_OBJECTS) $(tst_psImageConvolve_DEPENDENCIES) 
+	@rm -f tst_psImageConvolve$(EXEEXT)
+	$(LINK) $(tst_psImageConvolve_LDFLAGS) $(tst_psImageConvolve_OBJECTS) $(tst_psImageConvolve_LDADD) $(LIBS)
+tst_psImageExtraction$(EXEEXT): $(tst_psImageExtraction_OBJECTS) $(tst_psImageExtraction_DEPENDENCIES) 
+	@rm -f tst_psImageExtraction$(EXEEXT)
+	$(LINK) $(tst_psImageExtraction_LDFLAGS) $(tst_psImageExtraction_OBJECTS) $(tst_psImageExtraction_LDADD) $(LIBS)
+tst_psImageFFT$(EXEEXT): $(tst_psImageFFT_OBJECTS) $(tst_psImageFFT_DEPENDENCIES) 
+	@rm -f tst_psImageFFT$(EXEEXT)
+	$(LINK) $(tst_psImageFFT_LDFLAGS) $(tst_psImageFFT_OBJECTS) $(tst_psImageFFT_LDADD) $(LIBS)
+tst_psImageIO$(EXEEXT): $(tst_psImageIO_OBJECTS) $(tst_psImageIO_DEPENDENCIES) 
+	@rm -f tst_psImageIO$(EXEEXT)
+	$(LINK) $(tst_psImageIO_LDFLAGS) $(tst_psImageIO_OBJECTS) $(tst_psImageIO_LDADD) $(LIBS)
+tst_psImageInterpolate$(EXEEXT): $(tst_psImageInterpolate_OBJECTS) $(tst_psImageInterpolate_DEPENDENCIES) 
+	@rm -f tst_psImageInterpolate$(EXEEXT)
+	$(LINK) $(tst_psImageInterpolate_LDFLAGS) $(tst_psImageInterpolate_OBJECTS) $(tst_psImageInterpolate_LDADD) $(LIBS)
+tst_psImageManip$(EXEEXT): $(tst_psImageManip_OBJECTS) $(tst_psImageManip_DEPENDENCIES) 
+	@rm -f tst_psImageManip$(EXEEXT)
+	$(LINK) $(tst_psImageManip_LDFLAGS) $(tst_psImageManip_OBJECTS) $(tst_psImageManip_LDADD) $(LIBS)
+tst_psImageStats00$(EXEEXT): $(tst_psImageStats00_OBJECTS) $(tst_psImageStats00_DEPENDENCIES) 
+	@rm -f tst_psImageStats00$(EXEEXT)
+	$(LINK) $(tst_psImageStats00_LDFLAGS) $(tst_psImageStats00_OBJECTS) $(tst_psImageStats00_LDADD) $(LIBS)
+tst_psImageStats01$(EXEEXT): $(tst_psImageStats01_OBJECTS) $(tst_psImageStats01_DEPENDENCIES) 
+	@rm -f tst_psImageStats01$(EXEEXT)
+	$(LINK) $(tst_psImageStats01_LDFLAGS) $(tst_psImageStats01_OBJECTS) $(tst_psImageStats01_LDADD) $(LIBS)
+tst_psImageStats02$(EXEEXT): $(tst_psImageStats02_OBJECTS) $(tst_psImageStats02_DEPENDENCIES) 
+	@rm -f tst_psImageStats02$(EXEEXT)
+	$(LINK) $(tst_psImageStats02_LDFLAGS) $(tst_psImageStats02_OBJECTS) $(tst_psImageStats02_LDADD) $(LIBS)
+tst_psImageStats03$(EXEEXT): $(tst_psImageStats03_OBJECTS) $(tst_psImageStats03_DEPENDENCIES) 
+	@rm -f tst_psImageStats03$(EXEEXT)
+	$(LINK) $(tst_psImageStats03_LDFLAGS) $(tst_psImageStats03_OBJECTS) $(tst_psImageStats03_LDADD) $(LIBS)
+tst_psImageStats04$(EXEEXT): $(tst_psImageStats04_OBJECTS) $(tst_psImageStats04_DEPENDENCIES) 
+	@rm -f tst_psImageStats04$(EXEEXT)
+	$(LINK) $(tst_psImageStats04_LDFLAGS) $(tst_psImageStats04_OBJECTS) $(tst_psImageStats04_LDADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+
+distclean-compile:
+	-rm -f *.tab.c
+
+include ./$(DEPDIR)/tst_psImage.Po
+include ./$(DEPDIR)/tst_psImageConvolve.Po
+include ./$(DEPDIR)/tst_psImageExtraction.Po
+include ./$(DEPDIR)/tst_psImageFFT.Po
+include ./$(DEPDIR)/tst_psImageIO.Po
+include ./$(DEPDIR)/tst_psImageInterpolate.Po
+include ./$(DEPDIR)/tst_psImageManip.Po
+include ./$(DEPDIR)/tst_psImageStats00.Po
+include ./$(DEPDIR)/tst_psImageStats01.Po
+include ./$(DEPDIR)/tst_psImageStats02.Po
+include ./$(DEPDIR)/tst_psImageStats03.Po
+include ./$(DEPDIR)/tst_psImageStats04.Po
+
+.c.o:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c $<
+
+.c.obj:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(LTCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+tags: TAGS
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+check-TESTS: $(TESTS)
+	@failed=0; all=0; xfail=0; xpass=0; skip=0; \
+	srcdir=$(srcdir); export srcdir; \
+	list='$(TESTS)'; \
+	if test -n "$$list"; then \
+	  for tst in $$list; do \
+	    if test -f ./$$tst; then dir=./; \
+	    elif test -f $$tst; then dir=; \
+	    else dir="$(srcdir)/"; fi; \
+	    if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+	      all=`expr $$all + 1`; \
+	      case " $(XFAIL_TESTS) " in \
+	      *" $$tst "*) \
+		xpass=`expr $$xpass + 1`; \
+		failed=`expr $$failed + 1`; \
+		echo "XPASS: $$tst"; \
+	      ;; \
+	      *) \
+		echo "PASS: $$tst"; \
+	      ;; \
+	      esac; \
+	    elif test $$? -ne 77; then \
+	      all=`expr $$all + 1`; \
+	      case " $(XFAIL_TESTS) " in \
+	      *" $$tst "*) \
+		xfail=`expr $$xfail + 1`; \
+		echo "XFAIL: $$tst"; \
+	      ;; \
+	      *) \
+		failed=`expr $$failed + 1`; \
+		echo "FAIL: $$tst"; \
+	      ;; \
+	      esac; \
+	    else \
+	      skip=`expr $$skip + 1`; \
+	      echo "SKIP: $$tst"; \
+	    fi; \
+	  done; \
+	  if test "$$failed" -eq 0; then \
+	    if test "$$xfail" -eq 0; then \
+	      banner="All $$all tests passed"; \
+	    else \
+	      banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+	    fi; \
+	  else \
+	    if test "$$xpass" -eq 0; then \
+	      banner="$$failed of $$all tests failed"; \
+	    else \
+	      banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+	    fi; \
+	  fi; \
+	  dashes="$$banner"; \
+	  skipped=""; \
+	  if test "$$skip" -ne 0; then \
+	    skipped="($$skip tests were not run)"; \
+	    test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
+	      dashes="$$skipped"; \
+	  fi; \
+	  report=""; \
+	  if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
+	    report="Please report to $(PACKAGE_BUGREPORT)"; \
+	    test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
+	      dashes="$$report"; \
+	  fi; \
+	  dashes=`echo "$$dashes" | sed s/./=/g`; \
+	  echo "$$dashes"; \
+	  echo "$$banner"; \
+	  test -z "$$skipped" || echo "$$skipped"; \
+	  test -z "$$report" || echo "$$report"; \
+	  echo "$$dashes"; \
+	  test "$$failed" -eq 0; \
+	else :; fi
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
+	mostlyclean-am
+
+distclean: distclean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
+	clean-checkPROGRAMS clean-generic clean-libtool ctags \
+	distclean distclean-compile distclean-generic \
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
+	html-am info info-am install install-am install-data \
+	install-data-am install-exec install-exec-am install-info \
+	install-info-am install-man install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+	tags uninstall uninstall-am uninstall-info-am
+
+tests: $(TESTS)
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: /trunk/psLib/test/image/Makefile.am
===================================================================
--- /trunk/psLib/test/image/Makefile.am	(revision 3115)
+++ /trunk/psLib/test/image/Makefile.am	(revision 3115)
@@ -0,0 +1,56 @@
+#Makefile for astronomy functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs`
+
+check_PROGRAMS = \
+	tst_psImage \
+	tst_psImageFFT \
+	tst_psImageManip \
+	tst_psImageStats00 \
+	tst_psImageStats01 \
+	tst_psImageStats02 \
+	tst_psImageStats03 \
+	tst_psImageStats04 \
+	tst_psImageExtraction \
+	tst_psImageConvolve \
+	tst_psImageIO \
+	tst_psImageInterpolate
+
+TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 
+TESTS = \
+	tst_psImage \
+	tst_psImageFFT \
+	tst_psImageManip \
+	tst_psImageStats00 \
+	tst_psImageStats01 \
+	tst_psImageStats02 \
+	tst_psImageStats03 \
+	tst_psImageStats04 \
+	tst_psImageExtraction \
+	tst_psImageConvolve \
+	tst_psImageIO \
+	tst_psImageInterpolate
+tests: $(TESTS)
+
+tst_psImage_SOURCES =  tst_psImage.c
+tst_psImageFFT_SOURCES =  tst_psImageFFT.c
+tst_psImageManip_SOURCES =  tst_psImageManip.c
+tst_psImageStats00_SOURCES =  tst_psImageStats00.c
+tst_psImageStats01_SOURCES =  tst_psImageStats01.c
+tst_psImageStats02_SOURCES =  tst_psImageStats02.c
+tst_psImageStats03_SOURCES =  tst_psImageStats03.c
+tst_psImageStats04_SOURCES =  tst_psImageStats04.c
+tst_psImageExtraction_SOURCES =  tst_psImageExtraction.c
+tst_psImageConvolve_SOURCES =  tst_psImageConvolve.c
+tst_psImageIO_SOURCES =  tst_psImageIO.c
+tst_psImageInterpolate_SOURCES =  tst_psImageInterpolate.c
Index: /trunk/psLib/test/runTest
===================================================================
--- /trunk/psLib/test/runTest	(revision 3114)
+++ /trunk/psLib/test/runTest	(revision 3115)
@@ -18,6 +18,4 @@
 #                 0    Test run successfull and all tests passed
 #                 1    Verified directory did not exist
-#                 2    Verified STDOUT file did not exist
-#                 4    Verified STDERR file did not exist
 #                 8    STDOUT files did not compare
 #                16    STDERR files did not compare
@@ -30,5 +28,5 @@
 #
 #  $Revison:  $  $Name: not supported by cvs2svn $
-#  $Date: 2004-12-16 21:32:39 $
+#  $Date: 2005-02-03 00:54:12 $
 #
 #  Copyright 2004 Maui High Performance Computering Center, University of Hawaii
@@ -62,22 +60,10 @@
 
 # Set up the PSLIB_ROOT environment variable if the user doesn't have it set
-if ( !$ENV{'PSLIB_ROOT'} ) {
-
-    # Use the directory directly above test
-    $PSLIB_ROOT = `cd ..;pwd`;
-
-    # Remove newline for the end of path returned
-    chomp($PSLIB_ROOT);
-
-    # Set the environment variable
-    $ENV{'PSLIB_ROOT'} = $PSLIB_ROOT;
-
-    # Display message that PSLIB_ROOT not found and set to
-    print("PSLIB_ROOT not found: set to $PSLIB_ROOT\n");
-}
-
-# Add PSLIB_ROOT/lib to LD_LIBRARY_PATH and DYLD_LIBRARY_PATH environment vars
-$ENV{'LD_LIBRARY_PATH'}   = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'LD_LIBRARY_PATH'}";
-$ENV{'DYLD_LIBRARY_PATH'} = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'DYLD_LIBRARY_PATH'}";
+if ( $ENV{'PSLIB_ROOT'} ) {
+
+	# Add PSLIB_ROOT/lib to LD_LIBRARY_PATH and DYLD_LIBRARY_PATH environment vars
+	$ENV{'LD_LIBRARY_PATH'}   = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'LD_LIBRARY_PATH'}";
+	$ENV{'DYLD_LIBRARY_PATH'} = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'DYLD_LIBRARY_PATH'}";
+}
 
 # Loop through the arguements passed to the script
@@ -337,12 +323,4 @@
         # Display message to user that verified STDOUT file doesn't exist
         print("        File $streamFile doesn't exist.\n");
-
-        # Set exit value bit 1 to indicate proper failure
-        if ( $streamFile =~ /out$/ ) {
-            $returnVal |= 2;
-        }
-        elsif ( $streamFile =~ /err$/ ) {
-            $returnVal |= 4;
-        }
     }
     else {
Index: /trunk/psLib/test/sysUtils/Makefile
===================================================================
--- /trunk/psLib/test/sysUtils/Makefile	(revision 3114)
+++ /trunk/psLib/test/sysUtils/Makefile	(revision 3115)
@@ -1,50 +1,581 @@
-################################################################################
-##
-##  Makefile:   test/sysUtils
-##
-##  $Revision: 1.22 $  $Name: not supported by cvs2svn $
-##  $Date: 2005-01-03 23:33:20 $
-##
-##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
-##
-###############################################################################
-
-ifndef prefix
-    export prefix=$(shell cd ../..;pwd)
-endif
-
-include ../../src/Makefile.Globals
-
-CFLAGS := -I../../include $(CFLAGS)
-LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS)
-
-TARGET = tst_psAbort      \
-         tst_psMemory     \
-         tst_psError      \
-         tst_psLogMsg     \
-         tst_psStringCopy \
-         tst_psTrace      \
-	 tst_psConfigure
-
-OBJS = $(addsuffix .o,$(TARGET))
-
-all: $(TARGET)
-
-clean:
-	@echo "    Deleting executable and binary files for 'test/collections'"
-	$(RM) $(OBJS)
-
-distclean: clean
-	$(RM) $(TARGET)
-
-install: $(testbindir) $(testbindir)/verified $(TARGET)
-	install $(TARGET) $(testbindir)
-	install verified/*.stderr verified/*.stdout $(testbindir)/verified
-
-$(testbindir):
-	mkdir -p $(testbindir)
-
-$(testbindir)/verified:
-	mkdir -p $(testbindir)/verified
-
-
+# Makefile.in generated by automake 1.9.1 from Makefile.am.
+# test/sysUtils/Makefile.  Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+SOURCES = $(tst_psAbort_SOURCES) $(tst_psConfigure_SOURCES) $(tst_psError_SOURCES) $(tst_psLogMsg_SOURCES) $(tst_psMemory_SOURCES) $(tst_psStringCopy_SOURCES) $(tst_psTrace_SOURCES)
+
+srcdir = .
+top_srcdir = ../..
+
+pkgdatadir = $(datadir)/pslib
+pkglibdir = $(libdir)/pslib
+pkgincludedir = $(includedir)/pslib
+top_builddir = ../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+check_PROGRAMS = tst_psAbort$(EXEEXT) tst_psMemory$(EXEEXT) \
+	tst_psError$(EXEEXT) tst_psLogMsg$(EXEEXT) \
+	tst_psStringCopy$(EXEEXT) tst_psTrace$(EXEEXT) \
+	tst_psConfigure$(EXEEXT)
+subdir = test/sysUtils
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+am_tst_psAbort_OBJECTS = tst_psAbort.$(OBJEXT)
+tst_psAbort_OBJECTS = $(am_tst_psAbort_OBJECTS)
+tst_psAbort_LDADD = $(LDADD)
+am_tst_psConfigure_OBJECTS = tst_psConfigure.$(OBJEXT)
+tst_psConfigure_OBJECTS = $(am_tst_psConfigure_OBJECTS)
+tst_psConfigure_LDADD = $(LDADD)
+am_tst_psError_OBJECTS = tst_psError.$(OBJEXT)
+tst_psError_OBJECTS = $(am_tst_psError_OBJECTS)
+tst_psError_LDADD = $(LDADD)
+am_tst_psLogMsg_OBJECTS = tst_psLogMsg.$(OBJEXT)
+tst_psLogMsg_OBJECTS = $(am_tst_psLogMsg_OBJECTS)
+tst_psLogMsg_LDADD = $(LDADD)
+am_tst_psMemory_OBJECTS = tst_psMemory.$(OBJEXT)
+tst_psMemory_OBJECTS = $(am_tst_psMemory_OBJECTS)
+tst_psMemory_LDADD = $(LDADD)
+am_tst_psStringCopy_OBJECTS = tst_psStringCopy.$(OBJEXT)
+tst_psStringCopy_OBJECTS = $(am_tst_psStringCopy_OBJECTS)
+tst_psStringCopy_LDADD = $(LDADD)
+am_tst_psTrace_OBJECTS = tst_psTrace.$(OBJEXT)
+tst_psTrace_OBJECTS = $(am_tst_psTrace_OBJECTS)
+tst_psTrace_LDADD = $(LDADD)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+	$(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(tst_psAbort_SOURCES) $(tst_psConfigure_SOURCES) \
+	$(tst_psError_SOURCES) $(tst_psLogMsg_SOURCES) \
+	$(tst_psMemory_SOURCES) $(tst_psStringCopy_SOURCES) \
+	$(tst_psTrace_SOURCES)
+DIST_SOURCES = $(tst_psAbort_SOURCES) $(tst_psConfigure_SOURCES) \
+	$(tst_psError_SOURCES) $(tst_psLogMsg_SOURCES) \
+	$(tst_psMemory_SOURCES) $(tst_psStringCopy_SOURCES) \
+	$(tst_psTrace_SOURCES)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE = 
+AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
+AWK = gawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
+CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
+CPP = gcc -E
+CPPFLAGS = 
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+ECHO = echo
+ECHO_C = 
+ECHO_N = -n
+ECHO_T = 
+EGREP = grep -E
+EXEEXT = 
+F77 = g77
+FFLAGS = -fno-second-underscore -O -fno-f2c
+GSL_CONFIG = /usr/bin/gsl-config
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LDFLAGS = 
+LIBOBJS = 
+LIBS = 
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS = 
+MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
+OBJEXT = o
+PACKAGE = pslib
+PACKAGE_BUGREPORT = 
+PACKAGE_NAME = 
+PACKAGE_STRING = 
+PACKAGE_TARNAME = 
+PACKAGE_VERSION = 
+PATH_SEPARATOR = :
+PERL = /usr/bin/perl
+PSLIB_CFLAGS = -I${prefix}/include
+PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
+RANLIB = ranlib
+SET_MAKE = 
+SHELL = /bin/sh
+STRIP = strip
+SWIG = /usr/bin/swig
+VERSION = 1.5
+XML_CONFIG = /usr/bin/xml2-config
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = g77
+ac_ct_RANLIB = ranlib
+ac_ct_STRIP = strip
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE = 
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE = 
+am__include = include
+am__leading_dot = .
+am__quote = 
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias = 
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+datadir = ${prefix}/share
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias = 
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+includedir = ${prefix}/include
+infodir = ${prefix}/info
+install_sh = /home/desonia/panstarrs/psLib/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localstatedir = ${prefix}/var
+mandir = ${prefix}/man
+mkdir_p = mkdir -p --
+oldincludedir = /usr/include
+prefix = /home/desonia/panstarrs/psLib
+program_transform_name = s,x,x,
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+sysconfdir = ${prefix}/etc
+target_alias = 
+
+#Makefile for astronomy functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs`
+TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 
+TESTS = \
+	tst_psAbort      \
+	tst_psMemory     \
+	tst_psError      \
+	tst_psLogMsg     \
+	tst_psStringCopy \
+	tst_psTrace      \
+	tst_psConfigure
+
+tst_psAbort_SOURCES = tst_psAbort.c
+tst_psMemory_SOURCES = tst_psMemory.c
+tst_psError_SOURCES = tst_psError.c
+tst_psLogMsg_SOURCES = tst_psLogMsg.c
+tst_psStringCopy_SOURCES = tst_psStringCopy.c
+tst_psTrace_SOURCES = tst_psTrace.c
+tst_psConfigure_SOURCES = tst_psConfigure.c
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  test/sysUtils/Makefile'; \
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu  test/sysUtils/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-checkPROGRAMS:
+	@list='$(check_PROGRAMS)'; for p in $$list; do \
+	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+	  echo " rm -f $$p $$f"; \
+	  rm -f $$p $$f ; \
+	done
+tst_psAbort$(EXEEXT): $(tst_psAbort_OBJECTS) $(tst_psAbort_DEPENDENCIES) 
+	@rm -f tst_psAbort$(EXEEXT)
+	$(LINK) $(tst_psAbort_LDFLAGS) $(tst_psAbort_OBJECTS) $(tst_psAbort_LDADD) $(LIBS)
+tst_psConfigure$(EXEEXT): $(tst_psConfigure_OBJECTS) $(tst_psConfigure_DEPENDENCIES) 
+	@rm -f tst_psConfigure$(EXEEXT)
+	$(LINK) $(tst_psConfigure_LDFLAGS) $(tst_psConfigure_OBJECTS) $(tst_psConfigure_LDADD) $(LIBS)
+tst_psError$(EXEEXT): $(tst_psError_OBJECTS) $(tst_psError_DEPENDENCIES) 
+	@rm -f tst_psError$(EXEEXT)
+	$(LINK) $(tst_psError_LDFLAGS) $(tst_psError_OBJECTS) $(tst_psError_LDADD) $(LIBS)
+tst_psLogMsg$(EXEEXT): $(tst_psLogMsg_OBJECTS) $(tst_psLogMsg_DEPENDENCIES) 
+	@rm -f tst_psLogMsg$(EXEEXT)
+	$(LINK) $(tst_psLogMsg_LDFLAGS) $(tst_psLogMsg_OBJECTS) $(tst_psLogMsg_LDADD) $(LIBS)
+tst_psMemory$(EXEEXT): $(tst_psMemory_OBJECTS) $(tst_psMemory_DEPENDENCIES) 
+	@rm -f tst_psMemory$(EXEEXT)
+	$(LINK) $(tst_psMemory_LDFLAGS) $(tst_psMemory_OBJECTS) $(tst_psMemory_LDADD) $(LIBS)
+tst_psStringCopy$(EXEEXT): $(tst_psStringCopy_OBJECTS) $(tst_psStringCopy_DEPENDENCIES) 
+	@rm -f tst_psStringCopy$(EXEEXT)
+	$(LINK) $(tst_psStringCopy_LDFLAGS) $(tst_psStringCopy_OBJECTS) $(tst_psStringCopy_LDADD) $(LIBS)
+tst_psTrace$(EXEEXT): $(tst_psTrace_OBJECTS) $(tst_psTrace_DEPENDENCIES) 
+	@rm -f tst_psTrace$(EXEEXT)
+	$(LINK) $(tst_psTrace_LDFLAGS) $(tst_psTrace_OBJECTS) $(tst_psTrace_LDADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+
+distclean-compile:
+	-rm -f *.tab.c
+
+include ./$(DEPDIR)/tst_psAbort.Po
+include ./$(DEPDIR)/tst_psConfigure.Po
+include ./$(DEPDIR)/tst_psError.Po
+include ./$(DEPDIR)/tst_psLogMsg.Po
+include ./$(DEPDIR)/tst_psMemory.Po
+include ./$(DEPDIR)/tst_psStringCopy.Po
+include ./$(DEPDIR)/tst_psTrace.Po
+
+.c.o:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c $<
+
+.c.obj:
+	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=no \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+#	source='$<' object='$@' libtool=yes \
+#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+#	$(LTCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+tags: TAGS
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+check-TESTS: $(TESTS)
+	@failed=0; all=0; xfail=0; xpass=0; skip=0; \
+	srcdir=$(srcdir); export srcdir; \
+	list='$(TESTS)'; \
+	if test -n "$$list"; then \
+	  for tst in $$list; do \
+	    if test -f ./$$tst; then dir=./; \
+	    elif test -f $$tst; then dir=; \
+	    else dir="$(srcdir)/"; fi; \
+	    if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+	      all=`expr $$all + 1`; \
+	      case " $(XFAIL_TESTS) " in \
+	      *" $$tst "*) \
+		xpass=`expr $$xpass + 1`; \
+		failed=`expr $$failed + 1`; \
+		echo "XPASS: $$tst"; \
+	      ;; \
+	      *) \
+		echo "PASS: $$tst"; \
+	      ;; \
+	      esac; \
+	    elif test $$? -ne 77; then \
+	      all=`expr $$all + 1`; \
+	      case " $(XFAIL_TESTS) " in \
+	      *" $$tst "*) \
+		xfail=`expr $$xfail + 1`; \
+		echo "XFAIL: $$tst"; \
+	      ;; \
+	      *) \
+		failed=`expr $$failed + 1`; \
+		echo "FAIL: $$tst"; \
+	      ;; \
+	      esac; \
+	    else \
+	      skip=`expr $$skip + 1`; \
+	      echo "SKIP: $$tst"; \
+	    fi; \
+	  done; \
+	  if test "$$failed" -eq 0; then \
+	    if test "$$xfail" -eq 0; then \
+	      banner="All $$all tests passed"; \
+	    else \
+	      banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+	    fi; \
+	  else \
+	    if test "$$xpass" -eq 0; then \
+	      banner="$$failed of $$all tests failed"; \
+	    else \
+	      banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+	    fi; \
+	  fi; \
+	  dashes="$$banner"; \
+	  skipped=""; \
+	  if test "$$skip" -ne 0; then \
+	    skipped="($$skip tests were not run)"; \
+	    test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
+	      dashes="$$skipped"; \
+	  fi; \
+	  report=""; \
+	  if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
+	    report="Please report to $(PACKAGE_BUGREPORT)"; \
+	    test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
+	      dashes="$$report"; \
+	  fi; \
+	  dashes=`echo "$$dashes" | sed s/./=/g`; \
+	  echo "$$dashes"; \
+	  echo "$$banner"; \
+	  test -z "$$skipped" || echo "$$skipped"; \
+	  test -z "$$report" || echo "$$report"; \
+	  echo "$$dashes"; \
+	  test "$$failed" -eq 0; \
+	else :; fi
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkdir_p) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
+	mostlyclean-am
+
+distclean: distclean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -rf ./$(DEPDIR)
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
+	clean-checkPROGRAMS clean-generic clean-libtool ctags \
+	distclean distclean-compile distclean-generic \
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
+	html-am info info-am install install-am install-data \
+	install-data-am install-exec install-exec-am install-info \
+	install-info-am install-man install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+	tags uninstall uninstall-am uninstall-info-am
+
+tests: $(TESTS)
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: /trunk/psLib/test/sysUtils/Makefile.am
===================================================================
--- /trunk/psLib/test/sysUtils/Makefile.am	(revision 3115)
+++ /trunk/psLib/test/sysUtils/Makefile.am	(revision 3115)
@@ -0,0 +1,42 @@
+#Makefile for astronomy functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src \
+	-I$(top_srcdir)/src/astronomy \
+	-I$(top_srcdir)/src/collections \
+	-I$(top_srcdir)/src/dataManip \
+	-I$(top_srcdir)/src/fileUtils \
+	-I$(top_srcdir)/src/image \
+	-I$(top_srcdir)/src/sysUtils \
+	$(all_includes)
+
+AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs`
+
+check_PROGRAMS = \
+	tst_psAbort      \
+	tst_psMemory     \
+	tst_psError      \
+	tst_psLogMsg     \
+	tst_psStringCopy \
+	tst_psTrace      \
+	tst_psConfigure
+
+TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 
+TESTS = \
+	tst_psAbort      \
+	tst_psMemory     \
+	tst_psError      \
+	tst_psLogMsg     \
+	tst_psStringCopy \
+	tst_psTrace      \
+	tst_psConfigure
+tests: $(TESTS)
+
+tst_psAbort_SOURCES =  tst_psAbort.c
+tst_psMemory_SOURCES =  tst_psMemory.c
+tst_psError_SOURCES =  tst_psError.c
+tst_psLogMsg_SOURCES =  tst_psLogMsg.c
+tst_psStringCopy_SOURCES =  tst_psStringCopy.c
+tst_psTrace_SOURCES =  tst_psTrace.c
+tst_psConfigure_SOURCES =  tst_psConfigure.c
+
Index: /trunk/psLib/test/sysUtils/verified/tst_psConfigure.stderr
===================================================================
--- /trunk/psLib/test/sysUtils/verified/tst_psConfigure.stderr	(revision 3114)
+++ /trunk/psLib/test/sysUtils/verified/tst_psConfigure.stderr	(revision 3115)
@@ -6,5 +6,5 @@
 
 <DATE><TIME>|<HOST>|I|psLibVersion00
-    Current psLib version is: rel4
+    Current psLib version is: pslib-v1.5
 
 ---> TESTPOINT PASSED (psConfigure{Return current psLib version} | tst_psConfigure.c)
