IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3115


Ignore:
Timestamp:
Feb 2, 2005, 2:54:13 PM (21 years ago)
Author:
desonia
Message:

Added SWIG and autoconf.

Location:
trunk/psLib
Files:
32 added
104 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/Doxyfile

    r3041 r3115  
    366366                         sysUtils \
    367367                         image \
     368                         fileUtils \
    368369                         dataManip \
    369370                         collections \
  • trunk/psLib/src/Makefile

    r3054 r3115  
    1 ###############################################################################
    2 ##
    3 ##  Makefile:  psLib
    4 ##
    5 ##  $Revision: 1.20 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2005-01-19 01:15:21 $
    7 ##
    8 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    9 ##
    10 ###############################################################################
    11 
    12 # Define variable prefix to the top level project - psLib
    13 # This is necessary for definition in Makefile.Globals
    14 
    15 ifndef prefix
    16     export prefix=$(shell cd ..;pwd)
    17 endif
    18 
    19 # Include the make global definitions for the project
    20 
    21 include Makefile.Globals
    22 
    23 # Detect and save the CVS for this makefile
    24 
    25 NAME:= "$Name: not supported by cvs2svn $ "
    26 ifeq ($(NAME), "ame:  $ ")
    27    VERSION:= ": Project Version: Unknown "
    28 else
    29    VERSION:= ": Project Version: $(NAME) "
    30 endif
    31 
    32 # Define the target to build
    33 
    34 ALLTARGETS = sysUtils collections image dataManip astronomy fileUtils
    35 
    36 TARGET_DYNAMIC = libpslib.$(DLL)
    37 TARGET_STATIC = libpslib.a
    38 
    39 # Define the installation targets
    40 
    41 INSTALLTARGETS = installSysUtils installCollections installImage installDataManip installAstronomy installFileUtils
    42 
    43 # Define the clean up targets
    44 
    45 CLEANTARGETS = cleanSysUtils cleanCollections cleanImage cleanDataManip cleanAstronomy cleanFileUtils
    46 
    47 CLEANDEPTARGETS = cleandepSysUtils cleandepCollections cleandepImage cleandepDataManip cleandepAstronomy cleandepFileUtils
    48 
    49 # Define the distribution clean up targets
    50 
    51 DISTCLEANTARGETS = distcleanSysUtils distcleanCollections distcleanImage distcleanDataManip distcleanAstronomy distcleanFileUtils
    52 
    53 # Define PHONY target "all" which will make all necessary items
    54 
    55 all:    $(ALLTARGETS)
    56         sed 's|PREFIX|$(prefix)|' $(TIME_CONFIG_FILE).template > $(TIME_CONFIG_FILE)
    57         $(BUILD_DYNAMIC1) $(TARGET_STATIC) $(BUILD_DYNAMIC2) $(TARGET_DYNAMIC)
    58         @echo ""
    59         @echo "    ---- All targets built successfully $(VERSION) ----"
    60         @echo ""
    61 
    62 # Define PHONY target "sysUtils" which will make the system utilites
    63 # portion of the psLib
    64 
    65 sysUtils:
    66         $(MAKE) --directory=sysUtils all
    67 
    68 image:
    69         $(MAKE) --directory=image all
    70 
    71 collections:
    72         $(MAKE) --directory=collections all
    73 
    74 dataManip:
    75         $(MAKE) --directory=dataManip all
    76 
    77 astronomy:
    78         $(MAKE) --directory=astronomy all
    79 
    80 fileUtils:
    81         $(MAKE) --directory=fileUtils all
    82 
    83 ## ADD ADDITIONAL PORTIONS OF PSLIB HERE
    84 
    85 # Define PHONY target "installSysUtils" which will install all the necessary
    86 # files for system utilities portion of psLib
    87 
    88 installSysUtils:
    89         $(MAKE) --directory=sysUtils install
    90 
    91 installImage:
    92         $(MAKE) --directory=image install
    93 
    94 installCollections:
    95         $(MAKE) --directory=collections install
    96 
    97 installDataManip:
    98         $(MAKE) --directory=dataManip install
    99 
    100 installAstronomy:
    101         $(MAKE) --directory=astronomy install
    102 
    103 installFileUtils:
    104         $(MAKE) --directory=fileUtils install
    105 
    106 # Define PHONY target "cleanSysUtils" which will clean up the development
    107 # area for system utilites
    108 
    109 cleanSysUtils:
    110         $(MAKE) --directory=sysUtils clean
    111 
    112 cleanImage:
    113         $(MAKE) --directory=image clean
    114 
    115 cleanCollections:
    116         $(MAKE) --directory=collections clean
    117 
    118 cleanDataManip:
    119         $(MAKE) --directory=dataManip clean
    120 
    121 cleanAstronomy:
    122         $(MAKE) --directory=astronomy clean
    123 
    124 cleanFileUtils:
    125         $(MAKE) --directory=fileUtils clean
    126 
    127 #Define PHONY target "cleandep*" which will clean up the dependency files
    128 
    129 cleandepSysUtils:
    130         $(MAKE) --directory=sysUtils cleandep
    131 
    132 cleandepImage:
    133         $(MAKE) --directory=image cleandep
    134 
    135 cleandepCollections:
    136         $(MAKE) --directory=collections cleandep
    137 
    138 cleandepDataManip:
    139         $(MAKE) --directory=dataManip cleandep
    140 
    141 cleandepAstronomy:
    142         $(MAKE) --directory=astronomy cleandep
    143 
    144 cleandepFileUtils:
    145         $(MAKE) --directory=fileUtils cleandep
    146 
    147 # Define PHONY target "distcleanSysUtils which will clean up the distribution
    148 # files related to system utilities
    149 
    150 distcleanSysUtils:
    151         $(MAKE) --directory=sysUtils distclean
    152        
    153 distcleanImage:
    154         $(MAKE) --directory=image distclean
    155        
    156 distcleanCollections:
    157         $(MAKE) --directory=collections distclean
    158 
    159 distcleanDataManip:
    160         $(MAKE) --directory=dataManip distclean
    161 
    162 distcleanAstronomy:
    163         $(MAKE) --directory=astronomy distclean
    164 
    165 distcleanFileUtils:
    166         $(MAKE) --directory=fileUtils distclean
    167 
    168 
    169 # Rule to make include directory if needed
    170 
    171 $(includedir):
    172         mkdir -p $(includedir)
    173 
    174 # Rule to make bin directory if needed
    175 
    176 $(bindir):
    177         mkdir -p $(bindir)
    178 
    179 # Rule to make lib directory if needed
    180 
    181 $(libexecdir):
    182         mkdir -p $(libexecdir)
    183 
    184 # Rule to make man directory if needed
    185        
    186 $(mandir):
    187         mkdir -p $(mandir)
    188        
    189 $(mandir)/man3: $(mandir)
    190         mkdir -p $(mandir)/man3
    191 
    192 # Rule to make the installation directories if needed
    193 
    194 installdirs: $(includedir) $(bindir) $(libexecdir) $(mandir)
    195 
    196 # Define PHONY target "install" to make the necessary directories for
    197 # the installation
    198 
    199 install: all installdirs $(INSTALLTARGETS)
    200         install *.h $(includedir)
    201         install $(TARGET_STATIC) $(libexecdir)
    202         install $(TARGET_DYNAMIC) $(libexecdir)
    203         install $(TARGET_DYNAMIC) $(libexecdir)
    204 
    205 # Define PHONY target "clean" to clean up the development areas for
    206 # psLib
    207 
    208 clean: $(CLEANTARGETS)
    209         $(RM) -f $(TARGET_STATIC)
    210         $(RM) -f $(TARGET_DYNAMIC)
    211 
    212 cleandep: $(CLEANDEPTARGETS)
    213 
    214 # Define PHONY target "distclean" to clean up the distribution area for
    215 # psLib
    216 
    217 distclean: $(DISTCLEANTARGETS)
    218         $(RM) -f $(libexecdir)/$(TARGET_STATIC)
    219         $(RM) -f $(libexecdir)/$(TARGET_DYNAMIC)
    220         $(RM) -f $(TARGET_DYNAMIC)
    221         $(RM) -f $(TARGET_STATIC)
    222 
    223 # Define PHONY target "docs" to generate the Doxygen files for psLib
    224        
    225 docs:
    226         $(DOCS)
    227 
    228 tags:
    229         etags `find . \( -name \*.[chy] \) -print`
    230 
    231 # List of PHONY targets with make file
    232 .PHONY:  sysUtils collections image dataManip astronomy fileUtils
     1# Makefile.in generated by automake 1.9.1 from Makefile.am.
     2# src/Makefile.  Generated from Makefile.in by configure.
     3
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
     6# This Makefile.in is free software; the Free Software Foundation
     7# gives unlimited permission to copy and/or distribute it,
     8# with or without modifications, as long as this notice is preserved.
     9
     10# This program is distributed in the hope that it will be useful,
     11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     13# PARTICULAR PURPOSE.
     14
     15
     16
     17SOURCES = $(libpslib_la_SOURCES)
     18
     19srcdir = .
     20top_srcdir = ..
     21
     22pkgdatadir = $(datadir)/pslib
     23pkglibdir = $(libdir)/pslib
     24pkgincludedir = $(includedir)/pslib
     25top_builddir = ..
     26am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     27INSTALL = /usr/bin/install -c
     28install_sh_DATA = $(install_sh) -c -m 644
     29install_sh_PROGRAM = $(install_sh) -c
     30install_sh_SCRIPT = $(install_sh) -c
     31INSTALL_HEADER = $(INSTALL_DATA)
     32transform = $(program_transform_name)
     33NORMAL_INSTALL = :
     34PRE_INSTALL = :
     35POST_INSTALL = :
     36NORMAL_UNINSTALL = :
     37PRE_UNINSTALL = :
     38POST_UNINSTALL = :
     39build_triplet = x86_64-unknown-linux-gnu
     40host_triplet = x86_64-unknown-linux-gnu
     41subdir = src
     42DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
     43        $(srcdir)/config.h.in
     44ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     45am__aclocal_m4_deps = $(top_srcdir)/configure.in
     46am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     47        $(ACLOCAL_M4)
     48mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     49CONFIG_HEADER = config.h
     50CONFIG_CLEAN_FILES =
     51am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     52am__vpath_adj = case $$p in \
     53    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     54    *) f=$$p;; \
     55  esac;
     56am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
     57am__installdirs = "$(DESTDIR)$(libdir)"
     58libLTLIBRARIES_INSTALL = $(INSTALL)
     59LTLIBRARIES = $(lib_LTLIBRARIES)
     60libpslib_la_DEPENDENCIES =  \
     61        $(top_builddir)/src/astronomy/libpslibastronomy.la \
     62        $(top_builddir)/src/collections/libpslibcollections.la \
     63        $(top_builddir)/src/dataManip/libpslibdataManip.la \
     64        $(top_builddir)/src/fileUtils/libpslibfileUtils.la \
     65        $(top_builddir)/src/image/libpslibimage.la \
     66        $(top_builddir)/src/sysUtils/libpslibsysUtils.la
     67am_libpslib_la_OBJECTS = psTest.lo
     68libpslib_la_OBJECTS = $(am_libpslib_la_OBJECTS)
     69DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
     70depcomp = $(SHELL) $(top_srcdir)/depcomp
     71am__depfiles_maybe = depfiles
     72COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
     73        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     74LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
     75        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
     76        $(AM_CFLAGS) $(CFLAGS)
     77CCLD = $(CC)
     78LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
     79        $(AM_LDFLAGS) $(LDFLAGS) -o $@
     80SOURCES = $(libpslib_la_SOURCES)
     81DIST_SOURCES = $(libpslib_la_SOURCES)
     82RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
     83        html-recursive info-recursive install-data-recursive \
     84        install-exec-recursive install-info-recursive \
     85        install-recursive installcheck-recursive installdirs-recursive \
     86        pdf-recursive ps-recursive uninstall-info-recursive \
     87        uninstall-recursive
     88ETAGS = etags
     89CTAGS = ctags
     90DIST_SUBDIRS = $(SUBDIRS)
     91DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     92ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
     93AMDEP_FALSE = #
     94AMDEP_TRUE =
     95AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
     96AR = ar
     97AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
     98AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
     99AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
     100AWK = gawk
     101CC = gcc
     102CCDEPMODE = depmode=gcc3
     103CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
     104CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
     105CPP = gcc -E
     106CPPFLAGS =
     107CXX = g++
     108CXXCPP = g++ -E
     109CXXDEPMODE = depmode=gcc3
     110CXXFLAGS = -g -O2
     111CYGPATH_W = echo
     112DEFS = -DHAVE_CONFIG_H
     113DEPDIR = .deps
     114ECHO = echo
     115ECHO_C =
     116ECHO_N = -n
     117ECHO_T =
     118EGREP = grep -E
     119EXEEXT =
     120F77 = g77
     121FFLAGS = -fno-second-underscore -O -fno-f2c
     122GSL_CONFIG = /usr/bin/gsl-config
     123INSTALL_DATA = ${INSTALL} -m 644
     124INSTALL_PROGRAM = ${INSTALL}
     125INSTALL_SCRIPT = ${INSTALL}
     126INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
     127LDFLAGS =
     128LIBOBJS =
     129LIBS =
     130LIBTOOL = $(SHELL) $(top_builddir)/libtool
     131LN_S = ln -s
     132LTLIBOBJS =
     133MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
     134OBJEXT = o
     135PACKAGE = pslib
     136PACKAGE_BUGREPORT =
     137PACKAGE_NAME =
     138PACKAGE_STRING =
     139PACKAGE_TARNAME =
     140PACKAGE_VERSION =
     141PATH_SEPARATOR = :
     142PERL = /usr/bin/perl
     143PSLIB_CFLAGS = -I${prefix}/include
     144PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
     145RANLIB = ranlib
     146SET_MAKE =
     147SHELL = /bin/sh
     148STRIP = strip
     149SWIG = /usr/bin/swig
     150VERSION = 1.5
     151XML_CONFIG = /usr/bin/xml2-config
     152ac_ct_AR = ar
     153ac_ct_CC = gcc
     154ac_ct_CXX = g++
     155ac_ct_F77 = g77
     156ac_ct_RANLIB = ranlib
     157ac_ct_STRIP = strip
     158am__fastdepCC_FALSE = #
     159am__fastdepCC_TRUE =
     160am__fastdepCXX_FALSE = #
     161am__fastdepCXX_TRUE =
     162am__include = include
     163am__leading_dot = .
     164am__quote =
     165am__tar = ${AMTAR} chof - "$$tardir"
     166am__untar = ${AMTAR} xf -
     167bindir = ${exec_prefix}/bin
     168build = x86_64-unknown-linux-gnu
     169build_alias =
     170build_cpu = x86_64
     171build_os = linux-gnu
     172build_vendor = unknown
     173datadir = ${prefix}/share
     174exec_prefix = ${prefix}
     175host = x86_64-unknown-linux-gnu
     176host_alias =
     177host_cpu = x86_64
     178host_os = linux-gnu
     179host_vendor = unknown
     180includedir = ${prefix}/include
     181infodir = ${prefix}/info
     182install_sh = /home/desonia/panstarrs/psLib/install-sh
     183libdir = ${exec_prefix}/lib
     184libexecdir = ${exec_prefix}/libexec
     185localstatedir = ${prefix}/var
     186mandir = ${prefix}/man
     187mkdir_p = mkdir -p --
     188oldincludedir = /usr/include
     189prefix = /home/desonia/panstarrs/psLib
     190program_transform_name = s,x,x,
     191sbindir = ${exec_prefix}/sbin
     192sharedstatedir = ${prefix}/com
     193sysconfdir = ${prefix}/etc
     194target_alias =
     195
     196# not a GNU package. You can remove this line, if
     197# have all needed files, that a GNU package needs
     198AUTOMAKE_OPTIONS = foreign 1.4
     199SUBDIRS = astronomy collections dataManip fileUtils image sysUtils swig
     200INCLUDES = \
     201        -I$(top_srcdir)/src/astronomy \
     202        -I$(top_srcdir)/src/collections \
     203        -I$(top_srcdir)/src/dataManip \
     204        -I$(top_srcdir)/src/fileUtils \
     205        -I$(top_srcdir)/src/image \
     206        -I$(top_srcdir)/src/sysUtils \
     207        $(all_includes)
     208
     209lib_LTLIBRARIES = libpslib.la
     210libpslib_la_LIBADD = \
     211        $(top_builddir)/src/astronomy/libpslibastronomy.la \
     212        $(top_builddir)/src/collections/libpslibcollections.la \
     213        $(top_builddir)/src/dataManip/libpslibdataManip.la \
     214        $(top_builddir)/src/fileUtils/libpslibfileUtils.la \
     215        $(top_builddir)/src/image/libpslibimage.la \
     216        $(top_builddir)/src/sysUtils/libpslibsysUtils.la
     217
     218libpslib_la_SOURCES = psTest.c
     219EXTRA_DIST = parseErrorCodes.pl mainpage.dox Doxyfile psErrorCodes.dat psTest.h
     220all: config.h
     221        $(MAKE) $(AM_MAKEFLAGS) all-recursive
     222
     223.SUFFIXES:
     224.SUFFIXES: .c .lo .o .obj
     225$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     226        @for dep in $?; do \
     227          case '$(am__configure_deps)' in \
     228            *$$dep*) \
     229              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     230                && exit 0; \
     231              exit 1;; \
     232          esac; \
     233        done; \
     234        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/Makefile'; \
     235        cd $(top_srcdir) && \
     236          $(AUTOMAKE) --foreign  src/Makefile
     237.PRECIOUS: Makefile
     238Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     239        @case '$?' in \
     240          *config.status*) \
     241            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     242          *) \
     243            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     244            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     245        esac;
     246
     247$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     248        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     249
     250$(top_srcdir)/configure:  $(am__configure_deps)
     251        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     252$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     253        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     254
     255config.h: stamp-h1
     256        @if test ! -f $@; then \
     257          rm -f stamp-h1; \
     258          $(MAKE) stamp-h1; \
     259        else :; fi
     260
     261stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
     262        @rm -f stamp-h1
     263        cd $(top_builddir) && $(SHELL) ./config.status src/config.h
     264$(srcdir)/config.h.in:  $(am__configure_deps)
     265        cd $(top_srcdir) && $(AUTOHEADER)
     266        rm -f stamp-h1
     267        touch $@
     268
     269distclean-hdr:
     270        -rm -f config.h stamp-h1
     271install-libLTLIBRARIES: $(lib_LTLIBRARIES)
     272        @$(NORMAL_INSTALL)
     273        test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
     274        @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
     275          if test -f $$p; then \
     276            f=$(am__strip_dir) \
     277            echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
     278            $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
     279          else :; fi; \
     280        done
     281
     282uninstall-libLTLIBRARIES:
     283        @$(NORMAL_UNINSTALL)
     284        @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
     285          p=$(am__strip_dir) \
     286          echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
     287          $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
     288        done
     289
     290clean-libLTLIBRARIES:
     291        -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
     292        @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
     293          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
     294          test "$$dir" != "$$p" || dir=.; \
     295          echo "rm -f \"$${dir}/so_locations\""; \
     296          rm -f "$${dir}/so_locations"; \
     297        done
     298libpslib.la: $(libpslib_la_OBJECTS) $(libpslib_la_DEPENDENCIES)
     299        $(LINK) -rpath $(libdir) $(libpslib_la_LDFLAGS) $(libpslib_la_OBJECTS) $(libpslib_la_LIBADD) $(LIBS)
     300
     301mostlyclean-compile:
     302        -rm -f *.$(OBJEXT)
     303
     304distclean-compile:
     305        -rm -f *.tab.c
     306
     307include ./$(DEPDIR)/psTest.Plo
     308
     309.c.o:
     310        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     311        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     312#       source='$<' object='$@' libtool=no \
     313#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     314#       $(COMPILE) -c $<
     315
     316.c.obj:
     317        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     318        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     319#       source='$<' object='$@' libtool=no \
     320#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     321#       $(COMPILE) -c `$(CYGPATH_W) '$<'`
     322
     323.c.lo:
     324        if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     325        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     326#       source='$<' object='$@' libtool=yes \
     327#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     328#       $(LTCOMPILE) -c -o $@ $<
     329
     330mostlyclean-libtool:
     331        -rm -f *.lo
     332
     333clean-libtool:
     334        -rm -rf .libs _libs
     335
     336distclean-libtool:
     337        -rm -f libtool
     338uninstall-info-am:
     339
     340# This directory's subdirectories are mostly independent; you can cd
     341# into them and run `make' without going through this Makefile.
     342# To change the values of `make' variables: instead of editing Makefiles,
     343# (1) if the variable is set in `config.status', edit `config.status'
     344#     (which will cause the Makefiles to be regenerated when you run `make');
     345# (2) otherwise, pass the desired values on the `make' command line.
     346$(RECURSIVE_TARGETS):
     347        @set fnord $$MAKEFLAGS; amf=$$2; \
     348        dot_seen=no; \
     349        target=`echo $@ | sed s/-recursive//`; \
     350        list='$(SUBDIRS)'; for subdir in $$list; do \
     351          echo "Making $$target in $$subdir"; \
     352          if test "$$subdir" = "."; then \
     353            dot_seen=yes; \
     354            local_target="$$target-am"; \
     355          else \
     356            local_target="$$target"; \
     357          fi; \
     358          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
     359           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
     360        done; \
     361        if test "$$dot_seen" = "no"; then \
     362          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
     363        fi; test -z "$$fail"
     364
     365mostlyclean-recursive clean-recursive distclean-recursive \
     366maintainer-clean-recursive:
     367        @set fnord $$MAKEFLAGS; amf=$$2; \
     368        dot_seen=no; \
     369        case "$@" in \
     370          distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
     371          *) list='$(SUBDIRS)' ;; \
     372        esac; \
     373        rev=''; for subdir in $$list; do \
     374          if test "$$subdir" = "."; then :; else \
     375            rev="$$subdir $$rev"; \
     376          fi; \
     377        done; \
     378        rev="$$rev ."; \
     379        target=`echo $@ | sed s/-recursive//`; \
     380        for subdir in $$rev; do \
     381          echo "Making $$target in $$subdir"; \
     382          if test "$$subdir" = "."; then \
     383            local_target="$$target-am"; \
     384          else \
     385            local_target="$$target"; \
     386          fi; \
     387          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
     388           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
     389        done && test -z "$$fail"
     390tags-recursive:
     391        list='$(SUBDIRS)'; for subdir in $$list; do \
     392          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
     393        done
     394ctags-recursive:
     395        list='$(SUBDIRS)'; for subdir in $$list; do \
     396          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
     397        done
     398
     399ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     400        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     401        unique=`for i in $$list; do \
     402            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     403          done | \
     404          $(AWK) '    { files[$$0] = 1; } \
     405               END { for (i in files) print i; }'`; \
     406        mkid -fID $$unique
     407tags: TAGS
     408
     409TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
     410                $(TAGS_FILES) $(LISP)
     411        tags=; \
     412        here=`pwd`; \
     413        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
     414          include_option=--etags-include; \
     415          empty_fix=.; \
     416        else \
     417          include_option=--include; \
     418          empty_fix=; \
     419        fi; \
     420        list='$(SUBDIRS)'; for subdir in $$list; do \
     421          if test "$$subdir" = .; then :; else \
     422            test ! -f $$subdir/TAGS || \
     423              tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
     424          fi; \
     425        done; \
     426        list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
     427        unique=`for i in $$list; do \
     428            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     429          done | \
     430          $(AWK) '    { files[$$0] = 1; } \
     431               END { for (i in files) print i; }'`; \
     432        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     433          test -n "$$unique" || unique=$$empty_fix; \
     434          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     435            $$tags $$unique; \
     436        fi
     437ctags: CTAGS
     438CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
     439                $(TAGS_FILES) $(LISP)
     440        tags=; \
     441        here=`pwd`; \
     442        list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
     443        unique=`for i in $$list; do \
     444            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     445          done | \
     446          $(AWK) '    { files[$$0] = 1; } \
     447               END { for (i in files) print i; }'`; \
     448        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     449          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     450             $$tags $$unique
     451
     452GTAGS:
     453        here=`$(am__cd) $(top_builddir) && pwd` \
     454          && cd $(top_srcdir) \
     455          && gtags -i $(GTAGS_ARGS) $$here
     456
     457distclean-tags:
     458        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     459
     460distdir: $(DISTFILES)
     461        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
     462        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     463        list='$(DISTFILES)'; for file in $$list; do \
     464          case $$file in \
     465            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
     466            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
     467          esac; \
     468          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
     469          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
     470          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
     471            dir="/$$dir"; \
     472            $(mkdir_p) "$(distdir)$$dir"; \
     473          else \
     474            dir=''; \
     475          fi; \
     476          if test -d $$d/$$file; then \
     477            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
     478              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
     479            fi; \
     480            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
     481          else \
     482            test -f $(distdir)/$$file \
     483            || cp -p $$d/$$file $(distdir)/$$file \
     484            || exit 1; \
     485          fi; \
     486        done
     487        list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
     488          if test "$$subdir" = .; then :; else \
     489            test -d "$(distdir)/$$subdir" \
     490            || $(mkdir_p) "$(distdir)/$$subdir" \
     491            || exit 1; \
     492            distdir=`$(am__cd) $(distdir) && pwd`; \
     493            top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
     494            (cd $$subdir && \
     495              $(MAKE) $(AM_MAKEFLAGS) \
     496                top_distdir="$$top_distdir" \
     497                distdir="$$distdir/$$subdir" \
     498                distdir) \
     499              || exit 1; \
     500          fi; \
     501        done
     502check-am: all-am
     503check: check-recursive
     504all-am: Makefile $(LTLIBRARIES) config.h
     505installdirs: installdirs-recursive
     506installdirs-am:
     507        for dir in "$(DESTDIR)$(libdir)"; do \
     508          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     509        done
     510install: install-recursive
     511install-exec: install-exec-recursive
     512install-data: install-data-recursive
     513uninstall: uninstall-recursive
     514
     515install-am: all-am
     516        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     517
     518installcheck: installcheck-recursive
     519install-strip:
     520        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     521          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     522          `test -z '$(STRIP)' || \
     523            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     524mostlyclean-generic:
     525
     526clean-generic:
     527
     528distclean-generic:
     529        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
     530
     531maintainer-clean-generic:
     532        @echo "This command is intended for maintainers to use"
     533        @echo "it deletes files that may require special tools to rebuild."
     534clean: clean-recursive
     535
     536clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
     537        mostlyclean-am
     538
     539distclean: distclean-recursive
     540        -rm -rf ./$(DEPDIR)
     541        -rm -f Makefile
     542distclean-am: clean-am distclean-compile distclean-generic \
     543        distclean-hdr distclean-libtool distclean-tags
     544
     545dvi: dvi-recursive
     546
     547dvi-am:
     548
     549html: html-recursive
     550
     551info: info-recursive
     552
     553info-am:
     554
     555install-data-am:
     556
     557install-exec-am: install-libLTLIBRARIES
     558
     559install-info: install-info-recursive
     560
     561install-man:
     562
     563installcheck-am:
     564
     565maintainer-clean: maintainer-clean-recursive
     566        -rm -rf ./$(DEPDIR)
     567        -rm -f Makefile
     568maintainer-clean-am: distclean-am maintainer-clean-generic
     569
     570mostlyclean: mostlyclean-recursive
     571
     572mostlyclean-am: mostlyclean-compile mostlyclean-generic \
     573        mostlyclean-libtool
     574
     575pdf: pdf-recursive
     576
     577pdf-am:
     578
     579ps: ps-recursive
     580
     581ps-am:
     582
     583uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES
     584
     585uninstall-info: uninstall-info-recursive
     586
     587.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
     588        clean clean-generic clean-libLTLIBRARIES clean-libtool \
     589        clean-recursive ctags ctags-recursive distclean \
     590        distclean-compile distclean-generic distclean-hdr \
     591        distclean-libtool distclean-recursive distclean-tags distdir \
     592        dvi dvi-am html html-am info info-am install install-am \
     593        install-data install-data-am install-exec install-exec-am \
     594        install-info install-info-am install-libLTLIBRARIES \
     595        install-man install-strip installcheck installcheck-am \
     596        installdirs installdirs-am maintainer-clean \
     597        maintainer-clean-generic maintainer-clean-recursive \
     598        mostlyclean mostlyclean-compile mostlyclean-generic \
     599        mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
     600        tags tags-recursive uninstall uninstall-am uninstall-info-am \
     601        uninstall-libLTLIBRARIES
     602
     603# Tell versions [3.59,3.63) of GNU make to not export all variables.
     604# Otherwise a system limit (for SysV at least) may be exceeded.
     605.NOEXPORT:
  • trunk/psLib/src/Makefile.Globals

    r3058 r3115  
    66##  Assumptions:    Variable "prefix" already defined
    77##
    8 ##  $Revision: 1.39 $  $Name: not supported by cvs2svn $
    9 ##  $Date: 2005-01-19 01:53:09 $
     8##  $Revision: 1.40 $  $Name: not supported by cvs2svn $
     9##  $Date: 2005-02-03 00:54:10 $
    1010##
    1111##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5050
    5151ifndef PS_LIB_VERSION
    52     export PS_LIB_VERSION = rel4
     52    export PS_LIB_VERSION = post_rel4
    5353endif
    5454
     
    6161endif
    6262
     63ifndef PERL_CORE
     64    export PERL_CORE = `find /usr/lib -name CORE 2> /dev/null | tail -n 1`
     65endif
     66
    6367SLA_LINK := $(shell $(sladir)/bin/sla_link)
    6468XML2_LINK := $(shell $(xml2config) --libs)
     
    6973GCOVFLAGS :=
    7074CFLAGS := -O0 -g2 -Wall -Werror -std=c99 -D_GNU_SOURCE -pipe $(GCOVFLAGS) $(XML2_CFLAGS)
     75SWIG_CFLAGS := -std=c99 -D_GNU_SOURCE -pipe $(GCOVFLAGS) $(XML2_CFLAGS)
    7176
    7277ifdef NO_TRACE
  • trunk/psLib/src/astronomy/Makefile

    r2887 r3115  
    1 ifndef prefix
    2     export prefix=$(shell cd ../..;pwd)
    3 endif
    4 
    5 TARGET_STATIC  = libpslib.a
    6 include ../Makefile.Globals
    7 
    8 CFLAGS := $(CFLAGS_RELOC) -I. -I../sysUtils -I../collections -I../dataManip \
    9     -I.. -I../image -I../fileUtils \
    10     -DTIME_CONFIG_FILE="\"$(TIME_CONFIG_FILE)\""
    11 
    12 SRC_OBJS = psTime.o \
    13            psMetadata.o \
    14            psMetadataIO.o \
    15            psCoord.o \
    16            psAstrometry.o
    17 
    18 OBJS = $(addprefix makedir/,$(SRC_OBJS))
    19 
    20 HEADERS = $(SRC_OBJS:.o=.h) psPhotometry.h slalib.h
    21 
    22 all: $(TARGET_STATIC)
     1# Makefile.in generated by automake 1.9.1 from Makefile.am.
     2# src/astronomy/Makefile.  Generated from Makefile.in by configure.
     3
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
     6# This Makefile.in is free software; the Free Software Foundation
     7# gives unlimited permission to copy and/or distribute it,
     8# with or without modifications, as long as this notice is preserved.
     9
     10# This program is distributed in the hope that it will be useful,
     11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     13# PARTICULAR PURPOSE.
     14
     15
     16
     17
     18SOURCES = $(libpslibastronomy_la_SOURCES)
     19
     20srcdir = .
     21top_srcdir = ../..
     22
     23pkgdatadir = $(datadir)/pslib
     24pkglibdir = $(libdir)/pslib
     25pkgincludedir = $(includedir)/pslib
     26top_builddir = ../..
     27am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     28INSTALL = /usr/bin/install -c
     29install_sh_DATA = $(install_sh) -c -m 644
     30install_sh_PROGRAM = $(install_sh) -c
     31install_sh_SCRIPT = $(install_sh) -c
     32INSTALL_HEADER = $(INSTALL_DATA)
     33transform = $(program_transform_name)
     34NORMAL_INSTALL = :
     35PRE_INSTALL = :
     36POST_INSTALL = :
     37NORMAL_UNINSTALL = :
     38PRE_UNINSTALL = :
     39POST_UNINSTALL = :
     40build_triplet = x86_64-unknown-linux-gnu
     41host_triplet = x86_64-unknown-linux-gnu
     42subdir = src/astronomy
     43DIST_COMMON = $(pslibinclude_HEADERS) $(srcdir)/Makefile.am \
     44        $(srcdir)/Makefile.in
     45ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     46am__aclocal_m4_deps = $(top_srcdir)/configure.in
     47am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     48        $(ACLOCAL_M4)
     49mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     50CONFIG_HEADER = $(top_builddir)/src/config.h
     51CONFIG_CLEAN_FILES =
     52LTLIBRARIES = $(noinst_LTLIBRARIES)
     53libpslibastronomy_la_LIBADD =
     54am_libpslibastronomy_la_OBJECTS = psTime.lo psMetadata.lo \
     55        psMetadataIO.lo psCoord.lo psAstrometry.lo aoppa.lo aopqk.lo \
     56        oapqk.lo airmas.lo eqeqx.lo geoc.lo refco.lo aoppat.lo \
     57        dranrm.lo dcs2c.lo refz.lo refro.lo dcc2s.lo gmst.lo atms.lo \
     58        atmt.lo nutc.lo drange.lo
     59libpslibastronomy_la_OBJECTS = $(am_libpslibastronomy_la_OBJECTS)
     60DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
     61depcomp = $(SHELL) $(top_srcdir)/depcomp
     62am__depfiles_maybe = depfiles
     63COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
     64        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     65LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
     66        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
     67        $(AM_CFLAGS) $(CFLAGS)
     68CCLD = $(CC)
     69LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
     70        $(AM_LDFLAGS) $(LDFLAGS) -o $@
     71F77COMPILE = $(F77) $(AM_FFLAGS) $(FFLAGS)
     72LTF77COMPILE = $(LIBTOOL) --mode=compile --tag=F77 $(F77) $(AM_FFLAGS) \
     73        $(FFLAGS)
     74F77LD = $(F77)
     75F77LINK = $(LIBTOOL) --mode=link --tag=F77 $(F77LD) $(AM_FFLAGS) \
     76        $(FFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
     77SOURCES = $(libpslibastronomy_la_SOURCES)
     78DIST_SOURCES = $(libpslibastronomy_la_SOURCES)
     79am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     80am__vpath_adj = case $$p in \
     81    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     82    *) f=$$p;; \
     83  esac;
     84am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
     85am__installdirs = "$(DESTDIR)$(pslibincludedir)"
     86pslibincludeHEADERS_INSTALL = $(INSTALL_HEADER)
     87HEADERS = $(pslibinclude_HEADERS)
     88ETAGS = etags
     89CTAGS = ctags
     90DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     91ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
     92AMDEP_FALSE = #
     93AMDEP_TRUE =
     94AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
     95AR = ar
     96AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
     97AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
     98AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
     99AWK = gawk
     100CC = gcc
     101CCDEPMODE = depmode=gcc3
     102CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
     103CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
     104CPP = gcc -E
     105CPPFLAGS =
     106CXX = g++
     107CXXCPP = g++ -E
     108CXXDEPMODE = depmode=gcc3
     109CXXFLAGS = -g -O2
     110CYGPATH_W = echo
     111DEFS = -DHAVE_CONFIG_H
     112DEPDIR = .deps
     113ECHO = echo
     114ECHO_C =
     115ECHO_N = -n
     116ECHO_T =
     117EGREP = grep -E
     118EXEEXT =
     119F77 = g77
     120FFLAGS = -fno-second-underscore -O -fno-f2c
     121GSL_CONFIG = /usr/bin/gsl-config
     122INSTALL_DATA = ${INSTALL} -m 644
     123INSTALL_PROGRAM = ${INSTALL}
     124INSTALL_SCRIPT = ${INSTALL}
     125INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
     126LDFLAGS =
     127LIBOBJS =
     128LIBS =
     129LIBTOOL = $(SHELL) $(top_builddir)/libtool
     130LN_S = ln -s
     131LTLIBOBJS =
     132MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
     133OBJEXT = o
     134PACKAGE = pslib
     135PACKAGE_BUGREPORT =
     136PACKAGE_NAME =
     137PACKAGE_STRING =
     138PACKAGE_TARNAME =
     139PACKAGE_VERSION =
     140PATH_SEPARATOR = :
     141PERL = /usr/bin/perl
     142PSLIB_CFLAGS = -I${prefix}/include
     143PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
     144RANLIB = ranlib
     145SET_MAKE =
     146SHELL = /bin/sh
     147STRIP = strip
     148SWIG = /usr/bin/swig
     149VERSION = 1.5
     150XML_CONFIG = /usr/bin/xml2-config
     151ac_ct_AR = ar
     152ac_ct_CC = gcc
     153ac_ct_CXX = g++
     154ac_ct_F77 = g77
     155ac_ct_RANLIB = ranlib
     156ac_ct_STRIP = strip
     157am__fastdepCC_FALSE = #
     158am__fastdepCC_TRUE =
     159am__fastdepCXX_FALSE = #
     160am__fastdepCXX_TRUE =
     161am__include = include
     162am__leading_dot = .
     163am__quote =
     164am__tar = ${AMTAR} chof - "$$tardir"
     165am__untar = ${AMTAR} xf -
     166bindir = ${exec_prefix}/bin
     167build = x86_64-unknown-linux-gnu
     168build_alias =
     169build_cpu = x86_64
     170build_os = linux-gnu
     171build_vendor = unknown
     172datadir = ${prefix}/share
     173exec_prefix = ${prefix}
     174host = x86_64-unknown-linux-gnu
     175host_alias =
     176host_cpu = x86_64
     177host_os = linux-gnu
     178host_vendor = unknown
     179includedir = ${prefix}/include
     180infodir = ${prefix}/info
     181install_sh = /home/desonia/panstarrs/psLib/install-sh
     182libdir = ${exec_prefix}/lib
     183libexecdir = ${exec_prefix}/libexec
     184localstatedir = ${prefix}/var
     185mandir = ${prefix}/man
     186mkdir_p = mkdir -p --
     187oldincludedir = /usr/include
     188prefix = /home/desonia/panstarrs/psLib
     189program_transform_name = s,x,x,
     190sbindir = ${exec_prefix}/sbin
     191sharedstatedir = ${prefix}/com
     192sysconfdir = ${prefix}/etc
     193target_alias =
     194
     195#Makefile for astronomy functions of psLib
     196#
     197INCLUDES = \
     198        -I$(top_srcdir)/src/collections \
     199        -I$(top_srcdir)/src/dataManip \
     200        -I$(top_srcdir)/src/fileUtils \
     201        -I$(top_srcdir)/src/image \
     202        -I$(top_srcdir)/src/sysUtils \
     203        $(all_includes)
     204
     205noinst_LTLIBRARIES = libpslibastronomy.la
     206libpslibastronomy_la_SOURCES = \
     207        psTime.c \
     208        psMetadata.c \
     209        psMetadataIO.c \
     210        psCoord.c \
     211        psAstrometry.c \
     212        aoppa.f aopqk.f oapqk.f airmas.f eqeqx.f geoc.f refco.f aoppat.f \
     213        dranrm.f dcs2c.f refz.f refro.f dcc2s.f gmst.f atms.f atmt.f nutc.f drange.f
     214
     215BUILT_SOURCES = psAstronomyErrors.h
     216EXTRA_DIST = psAstronomyErrors.dat psAstronomyErrors.h
     217pslibincludedir = $(includedir)/pslib
     218pslibinclude_HEADERS = \
     219        psTime.h \
     220        psMetadata.h \
     221        psMetadataIO.h \
     222        psCoord.h \
     223        psAstrometry.h \
     224        psPhotometry.h \
     225        slalib.h
     226
     227all: $(BUILT_SOURCES)
     228        $(MAKE) $(AM_MAKEFLAGS) all-am
     229
     230.SUFFIXES:
     231.SUFFIXES: .c .f .lo .o .obj
     232$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     233        @for dep in $?; do \
     234          case '$(am__configure_deps)' in \
     235            *$$dep*) \
     236              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     237                && exit 0; \
     238              exit 1;; \
     239          esac; \
     240        done; \
     241        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/astronomy/Makefile'; \
     242        cd $(top_srcdir) && \
     243          $(AUTOMAKE) --gnu  src/astronomy/Makefile
     244.PRECIOUS: Makefile
     245Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     246        @case '$?' in \
     247          *config.status*) \
     248            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     249          *) \
     250            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     251            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     252        esac;
     253
     254$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     255        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     256
     257$(top_srcdir)/configure:  $(am__configure_deps)
     258        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     259$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     260        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     261
     262clean-noinstLTLIBRARIES:
     263        -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
     264        @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
     265          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
     266          test "$$dir" != "$$p" || dir=.; \
     267          echo "rm -f \"$${dir}/so_locations\""; \
     268          rm -f "$${dir}/so_locations"; \
     269        done
     270libpslibastronomy.la: $(libpslibastronomy_la_OBJECTS) $(libpslibastronomy_la_DEPENDENCIES)
     271        $(F77LINK)  $(libpslibastronomy_la_LDFLAGS) $(libpslibastronomy_la_OBJECTS) $(libpslibastronomy_la_LIBADD) $(LIBS)
     272
     273mostlyclean-compile:
     274        -rm -f *.$(OBJEXT)
     275
     276distclean-compile:
     277        -rm -f *.tab.c
     278
     279include ./$(DEPDIR)/psAstrometry.Plo
     280include ./$(DEPDIR)/psCoord.Plo
     281include ./$(DEPDIR)/psMetadata.Plo
     282include ./$(DEPDIR)/psMetadataIO.Plo
     283include ./$(DEPDIR)/psTime.Plo
     284
     285.c.o:
     286        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     287        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     288#       source='$<' object='$@' libtool=no \
     289#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     290#       $(COMPILE) -c $<
     291
     292.c.obj:
     293        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     294        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     295#       source='$<' object='$@' libtool=no \
     296#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     297#       $(COMPILE) -c `$(CYGPATH_W) '$<'`
     298
     299.c.lo:
     300        if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     301        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     302#       source='$<' object='$@' libtool=yes \
     303#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     304#       $(LTCOMPILE) -c -o $@ $<
     305
     306.f.o:
     307        $(F77COMPILE) -c -o $@ $<
     308
     309.f.obj:
     310        $(F77COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
     311
     312.f.lo:
     313        $(LTF77COMPILE) -c -o $@ $<
     314
     315mostlyclean-libtool:
     316        -rm -f *.lo
     317
     318clean-libtool:
     319        -rm -rf .libs _libs
     320
     321distclean-libtool:
     322        -rm -f libtool
     323uninstall-info-am:
     324install-pslibincludeHEADERS: $(pslibinclude_HEADERS)
     325        @$(NORMAL_INSTALL)
     326        test -z "$(pslibincludedir)" || $(mkdir_p) "$(DESTDIR)$(pslibincludedir)"
     327        @list='$(pslibinclude_HEADERS)'; for p in $$list; do \
     328          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     329          f=$(am__strip_dir) \
     330          echo " $(pslibincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pslibincludedir)/$$f'"; \
     331          $(pslibincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pslibincludedir)/$$f"; \
     332        done
     333
     334uninstall-pslibincludeHEADERS:
     335        @$(NORMAL_UNINSTALL)
     336        @list='$(pslibinclude_HEADERS)'; for p in $$list; do \
     337          f=$(am__strip_dir) \
     338          echo " rm -f '$(DESTDIR)$(pslibincludedir)/$$f'"; \
     339          rm -f "$(DESTDIR)$(pslibincludedir)/$$f"; \
     340        done
     341
     342ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     343        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     344        unique=`for i in $$list; do \
     345            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     346          done | \
     347          $(AWK) '    { files[$$0] = 1; } \
     348               END { for (i in files) print i; }'`; \
     349        mkid -fID $$unique
     350tags: TAGS
     351
     352TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     353                $(TAGS_FILES) $(LISP)
     354        tags=; \
     355        here=`pwd`; \
     356        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     357        unique=`for i in $$list; do \
     358            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     359          done | \
     360          $(AWK) '    { files[$$0] = 1; } \
     361               END { for (i in files) print i; }'`; \
     362        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     363          test -n "$$unique" || unique=$$empty_fix; \
     364          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     365            $$tags $$unique; \
     366        fi
     367ctags: CTAGS
     368CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     369                $(TAGS_FILES) $(LISP)
     370        tags=; \
     371        here=`pwd`; \
     372        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     373        unique=`for i in $$list; do \
     374            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     375          done | \
     376          $(AWK) '    { files[$$0] = 1; } \
     377               END { for (i in files) print i; }'`; \
     378        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     379          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     380             $$tags $$unique
     381
     382GTAGS:
     383        here=`$(am__cd) $(top_builddir) && pwd` \
     384          && cd $(top_srcdir) \
     385          && gtags -i $(GTAGS_ARGS) $$here
     386
     387distclean-tags:
     388        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     389
     390distdir: $(DISTFILES)
     391        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
     392        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     393        list='$(DISTFILES)'; for file in $$list; do \
     394          case $$file in \
     395            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
     396            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
     397          esac; \
     398          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
     399          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
     400          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
     401            dir="/$$dir"; \
     402            $(mkdir_p) "$(distdir)$$dir"; \
     403          else \
     404            dir=''; \
     405          fi; \
     406          if test -d $$d/$$file; then \
     407            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
     408              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
     409            fi; \
     410            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
     411          else \
     412            test -f $(distdir)/$$file \
     413            || cp -p $$d/$$file $(distdir)/$$file \
     414            || exit 1; \
     415          fi; \
     416        done
     417check-am: all-am
     418check: $(BUILT_SOURCES)
     419        $(MAKE) $(AM_MAKEFLAGS) check-am
     420all-am: Makefile $(LTLIBRARIES) $(HEADERS)
     421installdirs:
     422        for dir in "$(DESTDIR)$(pslibincludedir)"; do \
     423          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     424        done
     425install: $(BUILT_SOURCES)
     426        $(MAKE) $(AM_MAKEFLAGS) install-am
     427install-exec: install-exec-am
     428install-data: install-data-am
     429uninstall: uninstall-am
     430
     431install-am: all-am
     432        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     433
     434installcheck: installcheck-am
     435install-strip:
     436        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     437          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     438          `test -z '$(STRIP)' || \
     439            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     440mostlyclean-generic:
     441
     442clean-generic:
     443
     444distclean-generic:
     445        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
     446
     447maintainer-clean-generic:
     448        @echo "This command is intended for maintainers to use"
     449        @echo "it deletes files that may require special tools to rebuild."
     450        -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
     451clean: clean-am
     452
     453clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
     454        mostlyclean-am
     455
     456distclean: distclean-am
     457        -rm -rf ./$(DEPDIR)
     458        -rm -f Makefile
     459distclean-am: clean-am distclean-compile distclean-generic \
     460        distclean-libtool distclean-tags
     461
     462dvi: dvi-am
     463
     464dvi-am:
     465
     466html: html-am
     467
     468info: info-am
     469
     470info-am:
     471
     472install-data-am: install-pslibincludeHEADERS
     473
     474install-exec-am:
     475
     476install-info: install-info-am
     477
     478install-man:
     479
     480installcheck-am:
     481
     482maintainer-clean: maintainer-clean-am
     483        -rm -rf ./$(DEPDIR)
     484        -rm -f Makefile
     485maintainer-clean-am: distclean-am maintainer-clean-generic
     486
     487mostlyclean: mostlyclean-am
     488
     489mostlyclean-am: mostlyclean-compile mostlyclean-generic \
     490        mostlyclean-libtool
     491
     492pdf: pdf-am
     493
     494pdf-am:
     495
     496ps: ps-am
     497
     498ps-am:
     499
     500uninstall-am: uninstall-info-am uninstall-pslibincludeHEADERS
     501
     502.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
     503        clean-libtool clean-noinstLTLIBRARIES ctags distclean \
     504        distclean-compile distclean-generic distclean-libtool \
     505        distclean-tags distdir dvi dvi-am html html-am info info-am \
     506        install install-am install-data install-data-am install-exec \
     507        install-exec-am install-info install-info-am install-man \
     508        install-pslibincludeHEADERS install-strip installcheck \
     509        installcheck-am installdirs maintainer-clean \
     510        maintainer-clean-generic mostlyclean mostlyclean-compile \
     511        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
     512        tags uninstall uninstall-am uninstall-info-am \
     513        uninstall-pslibincludeHEADERS
     514
    23515
    24516psAstronomyErrors.h: psAstronomyErrors.dat
    25         perl ../parseErrorCodes.pl --data=$? $@
    26 
    27 
    28 # Rule to make static library
    29 
    30 libpslib.a:     $(OBJS)
    31 # The ar option -r is to add/replace object and -s is to create
    32 # a symbol table in the archive
    33         $(AR) rcs ../$@ $(OBJS)
    34 
    35 # Define PHONY target "install" which will install necessary files
    36 install: $(TARGET_STATIC)
    37         install $(HEADERS) $(includedir)
    38 
    39 # Define PHONY target "distclean" which will cleanup the distribution
    40 distclean:      clean
    41         $(RM) ../$(TARGET_STATIC)
    42 
    43 # Define PHONY target "clean" which will cleanup the development area
    44 clean:
    45         @echo "    Deleting intermediate files for 'astronomy'"
    46         $(RM) $(OBJS) *.lint $(SRC_OBJS:.o=.i)
    47 
    48 cleandep:
    49         $(RM) $(OBJS:.o=.d)
    50 
    51 %.lint: %.c
    52         splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
    53 
    54 %.i: %.c
    55         $(CC) -E $(CFLAGS) -o $@ $<
    56 
    57 makedir/%.o: %.c
    58         $(CC) -c $(CFLAGS) -o $@ $<
    59 
    60 makedir/%.d: %.c
    61         $(CC) -MM $(CFLAGS) $< > $@.tmp
    62         sed 's|\($*\)\.o[ :]*|\1.o $@ : |g' $@.tmp | sed 's|[A-Za-z0-9\/\.]*libxml[A-Za-z0-9\/\.]*||g' > $@
    63         $(RM) -f $@.tmp
    64 
    65 include $(OBJS:.o=.d)
     517        perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
     518# Tell versions [3.59,3.63) of GNU make to not export all variables.
     519# Otherwise a system limit (for SysV at least) may be exceeded.
     520.NOEXPORT:
  • trunk/psLib/src/collections/Makefile

    r1787 r3115  
    1 ###############################################################################
    2 ##
    3 ##  Makefile:   collections
    4 ##
    5 ##  $Revision: 1.31 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-09-11 00:43:54 $
    7 ##
    8 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    9 ###############################################################################
    10 
    11 # Define variable prefix to the top level project - psLib
    12 # This is necessary for definition is Makefile.Globals uses prefix
    13 
    14 ifndef prefix
    15     export prefix=$(shell cd ../..;pwd)
    16 endif
    17 
    18 # Define the two targets to be built
    19 
    20 TARGET_STATIC  = libpslib.a
    21 
    22 # Include the make global definitions for the project
    23 
    24 include ../Makefile.Globals
    25 
    26 # Set CFLAGS used by the implicit rule to compile .c
    27 
    28 CFLAGS := $(CFLAGS_RELOC) -I../sysUtils -I..
    29 
    30 # Define the source objects
    31  
    32 SRC_OBJS = psBitSet.o \
    33            psVector.o \
    34            psList.o \
    35            psScalar.o \
    36            psCompare.o \
    37            psArray.o \
    38            psHash.o
    39 
    40 OBJS = $(addprefix makedir/,$(SRC_OBJS))
    41 
    42 HEADERS = $(SRC_OBJS:.o=.h)
    43 
    44 
    45 # Define PHONY target "all" which will make all the necessary items
    46 
    47 all: $(TARGET_STATIC)
    48 
    49 psCollectionsErrors.h: psCollectionsErrors.dat
    50         perl ../parseErrorCodes.pl --data=$? $@
    51 
    52 # Rule to make static library
    53 
    54 libpslib.a: $(OBJS)
    55 # The ar option -r is to add/replace object and -s is to create
    56 # a symbol table in the archive
    57         $(AR) rcs ../$@ $(OBJS)
    58 
    59 # Define PHONY target "install" which will install necessary files
    60 
    61 install: $(TARGET_STATIC)
    62         install $(HEADERS) $(includedir)
    63 
    64 # Define PHONY target "distclean" which will cleanup the distribution
    65 
    66 distclean:      clean
    67         $(RM) ../$(TARGET_STATIC)
    68 
    69 # Define PHONY target "clean" which will cleanup the development area
    70 
    71 clean:
    72         @echo "    Deleting intermediate files for 'collections'"
    73         $(RM) $(OBJS) *.lint $(SRC_OBJS:.o=.i)
    74 
    75 cleandep:
    76         $(RM) $(OBJS:.o=.d)
    77 
    78 %.lint: %.c
    79         splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
    80 
    81 %.i: %.c
    82         $(CC) -E $(CFLAGS) -o $@ $<
    83 
    84 makedir/%.o: %.c
    85         $(CC) -c $(CFLAGS) -o $@ $<
    86 
    87 makedir/%.d: %.c
    88         $(CC) -MM $(CFLAGS) $< > $@.tmp
    89         sed 's|\($*\)\.o[ :]*|\1.o $@ : |g' $@.tmp > $@
    90         $(RM) -f $@.tmp
    91 
    92 include $(OBJS:.o=.d)
     1# Makefile.in generated by automake 1.9.1 from Makefile.am.
     2# src/collections/Makefile.  Generated from Makefile.in by configure.
     3
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
     6# This Makefile.in is free software; the Free Software Foundation
     7# gives unlimited permission to copy and/or distribute it,
     8# with or without modifications, as long as this notice is preserved.
     9
     10# This program is distributed in the hope that it will be useful,
     11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     13# PARTICULAR PURPOSE.
     14
     15
     16
     17
     18SOURCES = $(libpslibcollections_la_SOURCES)
     19
     20srcdir = .
     21top_srcdir = ../..
     22
     23pkgdatadir = $(datadir)/pslib
     24pkglibdir = $(libdir)/pslib
     25pkgincludedir = $(includedir)/pslib
     26top_builddir = ../..
     27am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     28INSTALL = /usr/bin/install -c
     29install_sh_DATA = $(install_sh) -c -m 644
     30install_sh_PROGRAM = $(install_sh) -c
     31install_sh_SCRIPT = $(install_sh) -c
     32INSTALL_HEADER = $(INSTALL_DATA)
     33transform = $(program_transform_name)
     34NORMAL_INSTALL = :
     35PRE_INSTALL = :
     36POST_INSTALL = :
     37NORMAL_UNINSTALL = :
     38PRE_UNINSTALL = :
     39POST_UNINSTALL = :
     40build_triplet = x86_64-unknown-linux-gnu
     41host_triplet = x86_64-unknown-linux-gnu
     42subdir = src/collections
     43DIST_COMMON = $(pslibinclude_HEADERS) $(srcdir)/Makefile.am \
     44        $(srcdir)/Makefile.in
     45ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     46am__aclocal_m4_deps = $(top_srcdir)/configure.in
     47am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     48        $(ACLOCAL_M4)
     49mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     50CONFIG_HEADER = $(top_builddir)/src/config.h
     51CONFIG_CLEAN_FILES =
     52LTLIBRARIES = $(noinst_LTLIBRARIES)
     53libpslibcollections_la_LIBADD =
     54am_libpslibcollections_la_OBJECTS = psBitSet.lo psVector.lo psList.lo \
     55        psScalar.lo psCompare.lo psArray.lo psHash.lo
     56libpslibcollections_la_OBJECTS = $(am_libpslibcollections_la_OBJECTS)
     57DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
     58depcomp = $(SHELL) $(top_srcdir)/depcomp
     59am__depfiles_maybe = depfiles
     60COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
     61        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     62LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
     63        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
     64        $(AM_CFLAGS) $(CFLAGS)
     65CCLD = $(CC)
     66LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
     67        $(AM_LDFLAGS) $(LDFLAGS) -o $@
     68SOURCES = $(libpslibcollections_la_SOURCES)
     69DIST_SOURCES = $(libpslibcollections_la_SOURCES)
     70am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     71am__vpath_adj = case $$p in \
     72    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     73    *) f=$$p;; \
     74  esac;
     75am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
     76am__installdirs = "$(DESTDIR)$(pslibincludedir)"
     77pslibincludeHEADERS_INSTALL = $(INSTALL_HEADER)
     78HEADERS = $(pslibinclude_HEADERS)
     79ETAGS = etags
     80CTAGS = ctags
     81DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     82ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
     83AMDEP_FALSE = #
     84AMDEP_TRUE =
     85AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
     86AR = ar
     87AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
     88AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
     89AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
     90AWK = gawk
     91CC = gcc
     92CCDEPMODE = depmode=gcc3
     93CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
     94CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
     95CPP = gcc -E
     96CPPFLAGS =
     97CXX = g++
     98CXXCPP = g++ -E
     99CXXDEPMODE = depmode=gcc3
     100CXXFLAGS = -g -O2
     101CYGPATH_W = echo
     102DEFS = -DHAVE_CONFIG_H
     103DEPDIR = .deps
     104ECHO = echo
     105ECHO_C =
     106ECHO_N = -n
     107ECHO_T =
     108EGREP = grep -E
     109EXEEXT =
     110F77 = g77
     111FFLAGS = -fno-second-underscore -O -fno-f2c
     112GSL_CONFIG = /usr/bin/gsl-config
     113INSTALL_DATA = ${INSTALL} -m 644
     114INSTALL_PROGRAM = ${INSTALL}
     115INSTALL_SCRIPT = ${INSTALL}
     116INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
     117LDFLAGS =
     118LIBOBJS =
     119LIBS =
     120LIBTOOL = $(SHELL) $(top_builddir)/libtool
     121LN_S = ln -s
     122LTLIBOBJS =
     123MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
     124OBJEXT = o
     125PACKAGE = pslib
     126PACKAGE_BUGREPORT =
     127PACKAGE_NAME =
     128PACKAGE_STRING =
     129PACKAGE_TARNAME =
     130PACKAGE_VERSION =
     131PATH_SEPARATOR = :
     132PERL = /usr/bin/perl
     133PSLIB_CFLAGS = -I${prefix}/include
     134PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
     135RANLIB = ranlib
     136SET_MAKE =
     137SHELL = /bin/sh
     138STRIP = strip
     139SWIG = /usr/bin/swig
     140VERSION = 1.5
     141XML_CONFIG = /usr/bin/xml2-config
     142ac_ct_AR = ar
     143ac_ct_CC = gcc
     144ac_ct_CXX = g++
     145ac_ct_F77 = g77
     146ac_ct_RANLIB = ranlib
     147ac_ct_STRIP = strip
     148am__fastdepCC_FALSE = #
     149am__fastdepCC_TRUE =
     150am__fastdepCXX_FALSE = #
     151am__fastdepCXX_TRUE =
     152am__include = include
     153am__leading_dot = .
     154am__quote =
     155am__tar = ${AMTAR} chof - "$$tardir"
     156am__untar = ${AMTAR} xf -
     157bindir = ${exec_prefix}/bin
     158build = x86_64-unknown-linux-gnu
     159build_alias =
     160build_cpu = x86_64
     161build_os = linux-gnu
     162build_vendor = unknown
     163datadir = ${prefix}/share
     164exec_prefix = ${prefix}
     165host = x86_64-unknown-linux-gnu
     166host_alias =
     167host_cpu = x86_64
     168host_os = linux-gnu
     169host_vendor = unknown
     170includedir = ${prefix}/include
     171infodir = ${prefix}/info
     172install_sh = /home/desonia/panstarrs/psLib/install-sh
     173libdir = ${exec_prefix}/lib
     174libexecdir = ${exec_prefix}/libexec
     175localstatedir = ${prefix}/var
     176mandir = ${prefix}/man
     177mkdir_p = mkdir -p --
     178oldincludedir = /usr/include
     179prefix = /home/desonia/panstarrs/psLib
     180program_transform_name = s,x,x,
     181sbindir = ${exec_prefix}/sbin
     182sharedstatedir = ${prefix}/com
     183sysconfdir = ${prefix}/etc
     184target_alias =
     185
     186#Makefile for collections functions of psLib
     187#
     188INCLUDES = \
     189        -I$(top_srcdir)/src/astronomy \
     190        -I$(top_srcdir)/src/dataManip \
     191        -I$(top_srcdir)/src/fileUtils \
     192        -I$(top_srcdir)/src/image \
     193        -I$(top_srcdir)/src/sysUtils \
     194        $(all_includes)
     195
     196noinst_LTLIBRARIES = libpslibcollections.la
     197libpslibcollections_la_SOURCES = \
     198        psBitSet.c \
     199        psVector.c \
     200        psList.c \
     201        psScalar.c \
     202        psCompare.c \
     203        psArray.c \
     204        psHash.c
     205
     206BUILT_SOURCES = psCollectionsErrors.h
     207EXTRA_DIST = psCollectionsErrors.dat psCollectionsErrors.h
     208pslibincludedir = $(includedir)/pslib
     209pslibinclude_HEADERS = \
     210        psBitSet.h \
     211        psVector.h \
     212        psList.h \
     213        psScalar.h \
     214        psCompare.h \
     215        psArray.h \
     216        psHash.h
     217
     218all: $(BUILT_SOURCES)
     219        $(MAKE) $(AM_MAKEFLAGS) all-am
     220
     221.SUFFIXES:
     222.SUFFIXES: .c .lo .o .obj
     223$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     224        @for dep in $?; do \
     225          case '$(am__configure_deps)' in \
     226            *$$dep*) \
     227              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     228                && exit 0; \
     229              exit 1;; \
     230          esac; \
     231        done; \
     232        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/collections/Makefile'; \
     233        cd $(top_srcdir) && \
     234          $(AUTOMAKE) --gnu  src/collections/Makefile
     235.PRECIOUS: Makefile
     236Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     237        @case '$?' in \
     238          *config.status*) \
     239            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     240          *) \
     241            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     242            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     243        esac;
     244
     245$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     246        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     247
     248$(top_srcdir)/configure:  $(am__configure_deps)
     249        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     250$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     251        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     252
     253clean-noinstLTLIBRARIES:
     254        -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
     255        @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
     256          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
     257          test "$$dir" != "$$p" || dir=.; \
     258          echo "rm -f \"$${dir}/so_locations\""; \
     259          rm -f "$${dir}/so_locations"; \
     260        done
     261libpslibcollections.la: $(libpslibcollections_la_OBJECTS) $(libpslibcollections_la_DEPENDENCIES)
     262        $(LINK)  $(libpslibcollections_la_LDFLAGS) $(libpslibcollections_la_OBJECTS) $(libpslibcollections_la_LIBADD) $(LIBS)
     263
     264mostlyclean-compile:
     265        -rm -f *.$(OBJEXT)
     266
     267distclean-compile:
     268        -rm -f *.tab.c
     269
     270include ./$(DEPDIR)/psArray.Plo
     271include ./$(DEPDIR)/psBitSet.Plo
     272include ./$(DEPDIR)/psCompare.Plo
     273include ./$(DEPDIR)/psHash.Plo
     274include ./$(DEPDIR)/psList.Plo
     275include ./$(DEPDIR)/psScalar.Plo
     276include ./$(DEPDIR)/psVector.Plo
     277
     278.c.o:
     279        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     280        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     281#       source='$<' object='$@' libtool=no \
     282#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     283#       $(COMPILE) -c $<
     284
     285.c.obj:
     286        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     287        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     288#       source='$<' object='$@' libtool=no \
     289#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     290#       $(COMPILE) -c `$(CYGPATH_W) '$<'`
     291
     292.c.lo:
     293        if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     294        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     295#       source='$<' object='$@' libtool=yes \
     296#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     297#       $(LTCOMPILE) -c -o $@ $<
     298
     299mostlyclean-libtool:
     300        -rm -f *.lo
     301
     302clean-libtool:
     303        -rm -rf .libs _libs
     304
     305distclean-libtool:
     306        -rm -f libtool
     307uninstall-info-am:
     308install-pslibincludeHEADERS: $(pslibinclude_HEADERS)
     309        @$(NORMAL_INSTALL)
     310        test -z "$(pslibincludedir)" || $(mkdir_p) "$(DESTDIR)$(pslibincludedir)"
     311        @list='$(pslibinclude_HEADERS)'; for p in $$list; do \
     312          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     313          f=$(am__strip_dir) \
     314          echo " $(pslibincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pslibincludedir)/$$f'"; \
     315          $(pslibincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pslibincludedir)/$$f"; \
     316        done
     317
     318uninstall-pslibincludeHEADERS:
     319        @$(NORMAL_UNINSTALL)
     320        @list='$(pslibinclude_HEADERS)'; for p in $$list; do \
     321          f=$(am__strip_dir) \
     322          echo " rm -f '$(DESTDIR)$(pslibincludedir)/$$f'"; \
     323          rm -f "$(DESTDIR)$(pslibincludedir)/$$f"; \
     324        done
     325
     326ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     327        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     328        unique=`for i in $$list; do \
     329            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     330          done | \
     331          $(AWK) '    { files[$$0] = 1; } \
     332               END { for (i in files) print i; }'`; \
     333        mkid -fID $$unique
     334tags: TAGS
     335
     336TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     337                $(TAGS_FILES) $(LISP)
     338        tags=; \
     339        here=`pwd`; \
     340        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     341        unique=`for i in $$list; do \
     342            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     343          done | \
     344          $(AWK) '    { files[$$0] = 1; } \
     345               END { for (i in files) print i; }'`; \
     346        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     347          test -n "$$unique" || unique=$$empty_fix; \
     348          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     349            $$tags $$unique; \
     350        fi
     351ctags: CTAGS
     352CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     353                $(TAGS_FILES) $(LISP)
     354        tags=; \
     355        here=`pwd`; \
     356        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     357        unique=`for i in $$list; do \
     358            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     359          done | \
     360          $(AWK) '    { files[$$0] = 1; } \
     361               END { for (i in files) print i; }'`; \
     362        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     363          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     364             $$tags $$unique
     365
     366GTAGS:
     367        here=`$(am__cd) $(top_builddir) && pwd` \
     368          && cd $(top_srcdir) \
     369          && gtags -i $(GTAGS_ARGS) $$here
     370
     371distclean-tags:
     372        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     373
     374distdir: $(DISTFILES)
     375        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
     376        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     377        list='$(DISTFILES)'; for file in $$list; do \
     378          case $$file in \
     379            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
     380            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
     381          esac; \
     382          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
     383          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
     384          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
     385            dir="/$$dir"; \
     386            $(mkdir_p) "$(distdir)$$dir"; \
     387          else \
     388            dir=''; \
     389          fi; \
     390          if test -d $$d/$$file; then \
     391            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
     392              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
     393            fi; \
     394            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
     395          else \
     396            test -f $(distdir)/$$file \
     397            || cp -p $$d/$$file $(distdir)/$$file \
     398            || exit 1; \
     399          fi; \
     400        done
     401check-am: all-am
     402check: $(BUILT_SOURCES)
     403        $(MAKE) $(AM_MAKEFLAGS) check-am
     404all-am: Makefile $(LTLIBRARIES) $(HEADERS)
     405installdirs:
     406        for dir in "$(DESTDIR)$(pslibincludedir)"; do \
     407          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     408        done
     409install: $(BUILT_SOURCES)
     410        $(MAKE) $(AM_MAKEFLAGS) install-am
     411install-exec: install-exec-am
     412install-data: install-data-am
     413uninstall: uninstall-am
     414
     415install-am: all-am
     416        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     417
     418installcheck: installcheck-am
     419install-strip:
     420        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     421          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     422          `test -z '$(STRIP)' || \
     423            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     424mostlyclean-generic:
     425
     426clean-generic:
     427
     428distclean-generic:
     429        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
     430
     431maintainer-clean-generic:
     432        @echo "This command is intended for maintainers to use"
     433        @echo "it deletes files that may require special tools to rebuild."
     434        -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
     435clean: clean-am
     436
     437clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
     438        mostlyclean-am
     439
     440distclean: distclean-am
     441        -rm -rf ./$(DEPDIR)
     442        -rm -f Makefile
     443distclean-am: clean-am distclean-compile distclean-generic \
     444        distclean-libtool distclean-tags
     445
     446dvi: dvi-am
     447
     448dvi-am:
     449
     450html: html-am
     451
     452info: info-am
     453
     454info-am:
     455
     456install-data-am: install-pslibincludeHEADERS
     457
     458install-exec-am:
     459
     460install-info: install-info-am
     461
     462install-man:
     463
     464installcheck-am:
     465
     466maintainer-clean: maintainer-clean-am
     467        -rm -rf ./$(DEPDIR)
     468        -rm -f Makefile
     469maintainer-clean-am: distclean-am maintainer-clean-generic
     470
     471mostlyclean: mostlyclean-am
     472
     473mostlyclean-am: mostlyclean-compile mostlyclean-generic \
     474        mostlyclean-libtool
     475
     476pdf: pdf-am
     477
     478pdf-am:
     479
     480ps: ps-am
     481
     482ps-am:
     483
     484uninstall-am: uninstall-info-am uninstall-pslibincludeHEADERS
     485
     486.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
     487        clean-libtool clean-noinstLTLIBRARIES ctags distclean \
     488        distclean-compile distclean-generic distclean-libtool \
     489        distclean-tags distdir dvi dvi-am html html-am info info-am \
     490        install install-am install-data install-data-am install-exec \
     491        install-exec-am install-info install-info-am install-man \
     492        install-pslibincludeHEADERS install-strip installcheck \
     493        installcheck-am installdirs maintainer-clean \
     494        maintainer-clean-generic mostlyclean mostlyclean-compile \
     495        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
     496        tags uninstall uninstall-am uninstall-info-am \
     497        uninstall-pslibincludeHEADERS
     498
     499
     500psCollectionsErrors.h:psCollectionsErrors.dat
     501        perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
     502# Tell versions [3.59,3.63) of GNU make to not export all variables.
     503# Otherwise a system limit (for SysV at least) may be exceeded.
     504.NOEXPORT:
  • trunk/psLib/src/collections/psArray.c

    r2855 r3115  
    99 *  @author Ross Harman, MHPCC
    1010 *
    11  *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-12-30 20:18:36 $
     11 *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-02-03 00:54:10 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3333  FUNCTION IMPLEMENTATION - LOCAL
    3434 *****************************************************************************/
    35 static void arrayFree(psArray* restrict psArr);
     35static void arrayFree(psArray* psArr);
    3636
    37 static void arrayFree(psArray* restrict psArr)
     37static void arrayFree(psArray* psArr)
    3838{
    3939    if (psArr == NULL) {
     
    6666}
    6767
    68 psArray* psArrayRealloc(psArray* restrict in, psU32 nalloc)
     68psArray* psArrayRealloc(psArray* in, psU32 nalloc)
    6969{
    7070    if (in == NULL) {
     
    134134}
    135135
    136 void psArrayElementFree(psArray* restrict psArr)
     136void psArrayElementFree(psArray* psArr)
    137137{
    138138
  • trunk/psLib/src/collections/psArray.h

    r2793 r3115  
    1212 *  @author Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2004-12-23 01:14:52 $
     14 *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-02-03 00:54:10 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5555 */
    5656psArray* psArrayAlloc(
    57     psU32 nalloc                ///< Total number of elements to make available.
     57    psU32 nalloc                       ///< Total number of elements to make available.
    5858);
    5959
     
    6767 */
    6868psArray* psArrayRealloc(
    69     psArray* restrict psArr,           ///< array to reallocate.
     69    psArray* psArr,                    ///< array to reallocate.
    7070    psU32 nalloc                       ///< Total number of elements to make available.
    7171);
     
    104104 */
    105105void psArrayElementFree(
    106     psArray* restrict psArr            ///< Void pointer array to destroy.
     106    psArray* psArr                     ///< Void pointer array to destroy.
    107107);
    108108
  • trunk/psLib/src/collections/psBitSet.c

    r2273 r3115  
    1111 *  @author Robert DeSonia, MHPCC
    1212 *
    13  *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2004-11-04 01:04:57 $
     13 *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-02-03 00:54:10 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3838};
    3939
    40 static void bitSetFree(psBitSet* restrict inBitSet);
     40static void bitSetFree(psBitSet* inBitSet);
    4141
    4242/** Private function to create a mask.
     
    5858}
    5959
    60 static void bitSetFree(psBitSet* restrict inBitSet)
     60static void bitSetFree(psBitSet* inBitSet)
    6161{
    6262    if (inBitSet == NULL) {
     
    161161
    162162psBitSet* psBitSetOp(psBitSet* outBitSet,
    163                      const psBitSet* restrict inBitSet1,
     163                     const psBitSet* inBitSet1,
    164164                     char *operator,
    165                      const psBitSet* restrict inBitSet2)
     165                     const psBitSet* inBitSet2)
    166166{
    167167    psS32 i = 0;
     
    264264        break;
    265265    default:
    266         psAbort(PS_ERRORNAME_DOMAIN "psBitSetOp",
     266        psAbort("psBitSetOp",
    267267                "Unexpected error - operator parsed successfully but not valid?");
    268268    }
     
    272272
    273273psBitSet* psBitSetNot(psBitSet* outBitSet,
    274                       const psBitSet* restrict inBitSet)
     274                      const psBitSet* inBitSet)
    275275{
    276276    if (inBitSet == NULL) {
     
    291291}
    292292
    293 char *psBitSetToString(const psBitSet* restrict inBitSet)
     293char *psBitSetToString(const psBitSet* inBitSet)
    294294{
    295295    psS32 i = 0;
  • trunk/psLib/src/collections/psBitSet.h

    r2204 r3115  
    1212 *  @author Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2004-10-27 00:57:31 $
     14 *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-02-03 00:54:10 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5656/*@null@*/
    5757psBitSet* psBitSetAlloc(
    58     psS32 n                              ///< Number of bits in psBitSet array
     58    psS32 n                            ///< Number of bits in psBitSet array
    5959);
    6060
     
    6969psBitSet* psBitSetSet(
    7070    /* @returned@ */
    71     psBitSet* restrict inMask,         ///< Pointer to psBitSet to be set.
    72     psS32 bit                            ///< Bit to be set.
     71    psBitSet* inMask,                  ///< Pointer to psBitSet to be set.
     72    psS32 bit                          ///< Bit to be set.
    7373);
    7474
     
    8383psBitSet* psBitSetClear(
    8484    /* @returned@ */
    85     psBitSet* restrict inMask,         ///< Pointer to psBitSet to be cleared.
    86     psS32 bit                            ///< Bit to be cleared.
     85    psBitSet* inMask,                  ///< Pointer to psBitSet to be cleared.
     86    psS32 bit                          ///< Bit to be cleared.
    8787);
    8888
     
    9898
    9999psBool psBitSetTest(
    100     const psBitSet* restrict inMask,   ///< Pointer psBitSet to be tested.
    101     psS32 bit                            ///< Bit to be tested.
     100    const psBitSet* inMask,            ///< Pointer psBitSet to be tested.
     101    psS32 bit                          ///< Bit to be tested.
    102102);
    103103
     
    111111psBitSet* psBitSetOp(
    112112    /* @returned@ */
    113     psBitSet* restrict outMask,        ///< Resulting psBitSet from binary operation
    114     const psBitSet* restrict inMask1,  ///< First psBitSet on which to operate
     113    psBitSet* outMask,                 ///< Resulting psBitSet from binary operation
     114    const psBitSet* inMask1,           ///< First psBitSet on which to operate
    115115    char *operator,                    ///< Bit operation
    116     const psBitSet* restrict inMask2   ///< First psBitSet on which to operate
     116    const psBitSet* inMask2            ///< First psBitSet on which to operate
    117117);
    118118
     
    126126psBitSet* psBitSetNot(
    127127    psBitSet* outBitSet,               ///< Resulting psBitSet from operation
    128     const psBitSet* restrict inBitSet  ///< Input psBitSet
     128    const psBitSet* inBitSet           ///< Input psBitSet
    129129);
    130130
     
    138138
    139139char *psBitSetToString(
    140     const psBitSet* restrict inMask    ///< psBitSet to convert */
     140    const psBitSet* inMask             ///< psBitSet to convert */
    141141);
    142142
  • trunk/psLib/src/collections/psVector.c

    r2676 r3115  
    1010*  @author Robert DeSonia, MHPCC
    1111*
    12 *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2004-12-09 21:30:43 $
     12*  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2005-02-03 00:54:10 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2828#include "psCollectionsErrors.h"
    2929
    30 static void vectorFree(psVector* restrict psVec);
    31 
    32 
    33 static void vectorFree(psVector* restrict psVec)
     30static void vectorFree(psVector* psVec);
     31
     32
     33static void vectorFree(psVector* psVec)
    3434{
    3535    if (psVec == NULL) {
     
    6464}
    6565
    66 psVector* psVectorRealloc(psVector* restrict in, psU32 nalloc)
     66psVector* psVectorRealloc(psVector* in, psU32 nalloc)
    6767{
    6868    psS32 elementSize = 0;
     
    8787}
    8888
    89 psVector* psVectorRecycle(psVector* restrict in, psU32 n, psElemType type)
     89psVector* psVectorRecycle(psVector* in, psU32 n, psElemType type)
    9090{
    9191    psS32 byteSize;
     
    218218}
    219219
    220 psVector* psVectorSort(psVector* restrict outVector, const psVector* restrict inVector)
     220psVector* psVectorSort(psVector* outVector, const psVector* inVector)
    221221{
    222222    psS32 N = 0;
     
    302302}
    303303
    304 psVector* psVectorSortIndex(psVector* restrict outVector, const psVector* restrict inVector)
     304psVector* psVectorSortIndex(psVector* outVector, const psVector* inVector)
    305305{
    306306    psS32 N = 0;
  • trunk/psLib/src/collections/psVector.h

    r3025 r3115  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-01-17 20:58:21 $
     13 *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-02-03 00:54:10 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    8484 */
    8585psVector* psVectorRealloc(
    86     psVector* restrict psVec,          ///< Vector to reallocate.
    87     psU32 nalloc                ///< Total number of elements to make available.
     86    psVector* psVec,                   ///< Vector to reallocate.
     87    psU32 nalloc                       ///< Total number of elements to make available.
    8888);
    8989
     
    9898 */
    9999psVector* psVectorRecycle(
    100     psVector* restrict psVec,
     100    psVector* psVec,
    101101    ///< Vector to recycle.  If NULL, a new vector is created.  No effort
    102102    ///< taken to preserve the values.
    103103
    104     psU32 nalloc,               ///< Total number of elements to make available.
     104    psU32 nalloc,                      ///< Total number of elements to make available.
    105105    psElemType type                    ///< the datatype of the returned vector
    106106);
     
    128128 */
    129129psVector* psVectorSort(
    130     psVector* restrict outVector,      ///< the output vector to recycle, or NULL if new vector desired.
    131     const psVector* restrict inVector  ///< the vector to sort.
     130    psVector* outVector,               ///< the output vector to recycle, or NULL if new vector desired.
     131    const psVector* inVector           ///< the vector to sort.
    132132);
    133133
     
    140140 */
    141141psVector* psVectorSortIndex(
    142     psVector* restrict outVector,      ///< vector to recycle
    143     const psVector* restrict inVector  ///< vector to sort
     142    psVector* outVector,               ///< vector to recycle
     143    const psVector* inVector           ///< vector to sort
    144144);
    145145
  • trunk/psLib/src/dataIO/Makefile

    r2962 r3115  
    1 ifndef prefix
    2     export prefix=$(shell cd ../..;pwd)
    3 endif
    4 
    5 TARGET_STATIC  = libpslib.a
    6 include ../Makefile.Globals
    7 CFLAGS := $(CFLAGS_RELOC) -I. -I../sysUtils -I../collections -I../dataManip \
    8     -I.. -I../image -I../astronomy -DSER7_FILE="\"$(SER7_FILE)\"" -DTAIUTC_FILE="\"$(TAIUTC_FILE)\""
    9 
    10 SRC_OBJS = psLookupTable.o \
    11         psFits.o
    12 
    13 OBJS = $(addprefix makedir/,$(SRC_OBJS))
    14 
    15 HEADERS = $(SRC_OBJS:.o=.h)
    16 
    17 all: $(TARGET_STATIC)
     1# Makefile.in generated by automake 1.9.1 from Makefile.am.
     2# src/fileUtils/Makefile.  Generated from Makefile.in by configure.
     3
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
     6# This Makefile.in is free software; the Free Software Foundation
     7# gives unlimited permission to copy and/or distribute it,
     8# with or without modifications, as long as this notice is preserved.
     9
     10# This program is distributed in the hope that it will be useful,
     11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     13# PARTICULAR PURPOSE.
     14
     15
     16
     17
     18SOURCES = $(libpslibfileUtils_la_SOURCES)
     19
     20srcdir = .
     21top_srcdir = ../..
     22
     23pkgdatadir = $(datadir)/pslib
     24pkglibdir = $(libdir)/pslib
     25pkgincludedir = $(includedir)/pslib
     26top_builddir = ../..
     27am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     28INSTALL = /usr/bin/install -c
     29install_sh_DATA = $(install_sh) -c -m 644
     30install_sh_PROGRAM = $(install_sh) -c
     31install_sh_SCRIPT = $(install_sh) -c
     32INSTALL_HEADER = $(INSTALL_DATA)
     33transform = $(program_transform_name)
     34NORMAL_INSTALL = :
     35PRE_INSTALL = :
     36POST_INSTALL = :
     37NORMAL_UNINSTALL = :
     38PRE_UNINSTALL = :
     39POST_UNINSTALL = :
     40build_triplet = x86_64-unknown-linux-gnu
     41host_triplet = x86_64-unknown-linux-gnu
     42subdir = src/fileUtils
     43DIST_COMMON = $(pslibinclude_HEADERS) $(srcdir)/Makefile.am \
     44        $(srcdir)/Makefile.in
     45ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     46am__aclocal_m4_deps = $(top_srcdir)/configure.in
     47am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     48        $(ACLOCAL_M4)
     49mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     50CONFIG_HEADER = $(top_builddir)/src/config.h
     51CONFIG_CLEAN_FILES =
     52LTLIBRARIES = $(noinst_LTLIBRARIES)
     53libpslibfileUtils_la_LIBADD =
     54am_libpslibfileUtils_la_OBJECTS = psLookupTable.lo psFits.lo
     55libpslibfileUtils_la_OBJECTS = $(am_libpslibfileUtils_la_OBJECTS)
     56DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
     57depcomp = $(SHELL) $(top_srcdir)/depcomp
     58am__depfiles_maybe = depfiles
     59COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
     60        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     61LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
     62        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
     63        $(AM_CFLAGS) $(CFLAGS)
     64CCLD = $(CC)
     65LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
     66        $(AM_LDFLAGS) $(LDFLAGS) -o $@
     67SOURCES = $(libpslibfileUtils_la_SOURCES)
     68DIST_SOURCES = $(libpslibfileUtils_la_SOURCES)
     69am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     70am__vpath_adj = case $$p in \
     71    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     72    *) f=$$p;; \
     73  esac;
     74am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
     75am__installdirs = "$(DESTDIR)$(pslibincludedir)"
     76pslibincludeHEADERS_INSTALL = $(INSTALL_HEADER)
     77HEADERS = $(pslibinclude_HEADERS)
     78ETAGS = etags
     79CTAGS = ctags
     80DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     81ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
     82AMDEP_FALSE = #
     83AMDEP_TRUE =
     84AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
     85AR = ar
     86AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
     87AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
     88AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
     89AWK = gawk
     90CC = gcc
     91CCDEPMODE = depmode=gcc3
     92CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
     93CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
     94CPP = gcc -E
     95CPPFLAGS =
     96CXX = g++
     97CXXCPP = g++ -E
     98CXXDEPMODE = depmode=gcc3
     99CXXFLAGS = -g -O2
     100CYGPATH_W = echo
     101DEFS = -DHAVE_CONFIG_H
     102DEPDIR = .deps
     103ECHO = echo
     104ECHO_C =
     105ECHO_N = -n
     106ECHO_T =
     107EGREP = grep -E
     108EXEEXT =
     109F77 = g77
     110FFLAGS = -fno-second-underscore -O -fno-f2c
     111GSL_CONFIG = /usr/bin/gsl-config
     112INSTALL_DATA = ${INSTALL} -m 644
     113INSTALL_PROGRAM = ${INSTALL}
     114INSTALL_SCRIPT = ${INSTALL}
     115INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
     116LDFLAGS =
     117LIBOBJS =
     118LIBS =
     119LIBTOOL = $(SHELL) $(top_builddir)/libtool
     120LN_S = ln -s
     121LTLIBOBJS =
     122MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
     123OBJEXT = o
     124PACKAGE = pslib
     125PACKAGE_BUGREPORT =
     126PACKAGE_NAME =
     127PACKAGE_STRING =
     128PACKAGE_TARNAME =
     129PACKAGE_VERSION =
     130PATH_SEPARATOR = :
     131PERL = /usr/bin/perl
     132PSLIB_CFLAGS = -I${prefix}/include
     133PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
     134RANLIB = ranlib
     135SET_MAKE =
     136SHELL = /bin/sh
     137STRIP = strip
     138SWIG = /usr/bin/swig
     139VERSION = 1.5
     140XML_CONFIG = /usr/bin/xml2-config
     141ac_ct_AR = ar
     142ac_ct_CC = gcc
     143ac_ct_CXX = g++
     144ac_ct_F77 = g77
     145ac_ct_RANLIB = ranlib
     146ac_ct_STRIP = strip
     147am__fastdepCC_FALSE = #
     148am__fastdepCC_TRUE =
     149am__fastdepCXX_FALSE = #
     150am__fastdepCXX_TRUE =
     151am__include = include
     152am__leading_dot = .
     153am__quote =
     154am__tar = ${AMTAR} chof - "$$tardir"
     155am__untar = ${AMTAR} xf -
     156bindir = ${exec_prefix}/bin
     157build = x86_64-unknown-linux-gnu
     158build_alias =
     159build_cpu = x86_64
     160build_os = linux-gnu
     161build_vendor = unknown
     162datadir = ${prefix}/share
     163exec_prefix = ${prefix}
     164host = x86_64-unknown-linux-gnu
     165host_alias =
     166host_cpu = x86_64
     167host_os = linux-gnu
     168host_vendor = unknown
     169includedir = ${prefix}/include
     170infodir = ${prefix}/info
     171install_sh = /home/desonia/panstarrs/psLib/install-sh
     172libdir = ${exec_prefix}/lib
     173libexecdir = ${exec_prefix}/libexec
     174localstatedir = ${prefix}/var
     175mandir = ${prefix}/man
     176mkdir_p = mkdir -p --
     177oldincludedir = /usr/include
     178prefix = /home/desonia/panstarrs/psLib
     179program_transform_name = s,x,x,
     180sbindir = ${exec_prefix}/sbin
     181sharedstatedir = ${prefix}/com
     182sysconfdir = ${prefix}/etc
     183target_alias =
     184
     185#Makefile for fileUtils functions of psLib
     186#
     187INCLUDES = \
     188        -I$(top_srcdir)/src/astronomy \
     189        -I$(top_srcdir)/src/collections \
     190        -I$(top_srcdir)/src/dataManip \
     191        -I$(top_srcdir)/src/image \
     192        -I$(top_srcdir)/src/sysUtils \
     193        $(all_includes)
     194
     195noinst_LTLIBRARIES = libpslibfileUtils.la
     196libpslibfileUtils_la_SOURCES = \
     197        psLookupTable.c \
     198        psFits.c
     199
     200BUILT_SOURCES = psFileUtilsErrors.h
     201EXTRA_DIST = psFileUtilsErrors.dat psFileUtilsErrors.h
     202pslibincludedir = $(includedir)/pslib
     203pslibinclude_HEADERS = \
     204        psLookupTable.h \
     205        psFits.h
     206
     207all: $(BUILT_SOURCES)
     208        $(MAKE) $(AM_MAKEFLAGS) all-am
     209
     210.SUFFIXES:
     211.SUFFIXES: .c .lo .o .obj
     212$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     213        @for dep in $?; do \
     214          case '$(am__configure_deps)' in \
     215            *$$dep*) \
     216              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     217                && exit 0; \
     218              exit 1;; \
     219          esac; \
     220        done; \
     221        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/fileUtils/Makefile'; \
     222        cd $(top_srcdir) && \
     223          $(AUTOMAKE) --gnu  src/fileUtils/Makefile
     224.PRECIOUS: Makefile
     225Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     226        @case '$?' in \
     227          *config.status*) \
     228            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     229          *) \
     230            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     231            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     232        esac;
     233
     234$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     235        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     236
     237$(top_srcdir)/configure:  $(am__configure_deps)
     238        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     239$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     240        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     241
     242clean-noinstLTLIBRARIES:
     243        -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
     244        @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
     245          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
     246          test "$$dir" != "$$p" || dir=.; \
     247          echo "rm -f \"$${dir}/so_locations\""; \
     248          rm -f "$${dir}/so_locations"; \
     249        done
     250libpslibfileUtils.la: $(libpslibfileUtils_la_OBJECTS) $(libpslibfileUtils_la_DEPENDENCIES)
     251        $(LINK)  $(libpslibfileUtils_la_LDFLAGS) $(libpslibfileUtils_la_OBJECTS) $(libpslibfileUtils_la_LIBADD) $(LIBS)
     252
     253mostlyclean-compile:
     254        -rm -f *.$(OBJEXT)
     255
     256distclean-compile:
     257        -rm -f *.tab.c
     258
     259include ./$(DEPDIR)/psFits.Plo
     260include ./$(DEPDIR)/psLookupTable.Plo
     261
     262.c.o:
     263        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     264        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     265#       source='$<' object='$@' libtool=no \
     266#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     267#       $(COMPILE) -c $<
     268
     269.c.obj:
     270        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     271        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     272#       source='$<' object='$@' libtool=no \
     273#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     274#       $(COMPILE) -c `$(CYGPATH_W) '$<'`
     275
     276.c.lo:
     277        if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     278        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     279#       source='$<' object='$@' libtool=yes \
     280#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     281#       $(LTCOMPILE) -c -o $@ $<
     282
     283mostlyclean-libtool:
     284        -rm -f *.lo
     285
     286clean-libtool:
     287        -rm -rf .libs _libs
     288
     289distclean-libtool:
     290        -rm -f libtool
     291uninstall-info-am:
     292install-pslibincludeHEADERS: $(pslibinclude_HEADERS)
     293        @$(NORMAL_INSTALL)
     294        test -z "$(pslibincludedir)" || $(mkdir_p) "$(DESTDIR)$(pslibincludedir)"
     295        @list='$(pslibinclude_HEADERS)'; for p in $$list; do \
     296          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     297          f=$(am__strip_dir) \
     298          echo " $(pslibincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pslibincludedir)/$$f'"; \
     299          $(pslibincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pslibincludedir)/$$f"; \
     300        done
     301
     302uninstall-pslibincludeHEADERS:
     303        @$(NORMAL_UNINSTALL)
     304        @list='$(pslibinclude_HEADERS)'; for p in $$list; do \
     305          f=$(am__strip_dir) \
     306          echo " rm -f '$(DESTDIR)$(pslibincludedir)/$$f'"; \
     307          rm -f "$(DESTDIR)$(pslibincludedir)/$$f"; \
     308        done
     309
     310ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     311        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     312        unique=`for i in $$list; do \
     313            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     314          done | \
     315          $(AWK) '    { files[$$0] = 1; } \
     316               END { for (i in files) print i; }'`; \
     317        mkid -fID $$unique
     318tags: TAGS
     319
     320TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     321                $(TAGS_FILES) $(LISP)
     322        tags=; \
     323        here=`pwd`; \
     324        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     325        unique=`for i in $$list; do \
     326            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     327          done | \
     328          $(AWK) '    { files[$$0] = 1; } \
     329               END { for (i in files) print i; }'`; \
     330        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     331          test -n "$$unique" || unique=$$empty_fix; \
     332          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     333            $$tags $$unique; \
     334        fi
     335ctags: CTAGS
     336CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     337                $(TAGS_FILES) $(LISP)
     338        tags=; \
     339        here=`pwd`; \
     340        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     341        unique=`for i in $$list; do \
     342            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     343          done | \
     344          $(AWK) '    { files[$$0] = 1; } \
     345               END { for (i in files) print i; }'`; \
     346        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     347          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     348             $$tags $$unique
     349
     350GTAGS:
     351        here=`$(am__cd) $(top_builddir) && pwd` \
     352          && cd $(top_srcdir) \
     353          && gtags -i $(GTAGS_ARGS) $$here
     354
     355distclean-tags:
     356        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     357
     358distdir: $(DISTFILES)
     359        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
     360        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     361        list='$(DISTFILES)'; for file in $$list; do \
     362          case $$file in \
     363            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
     364            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
     365          esac; \
     366          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
     367          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
     368          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
     369            dir="/$$dir"; \
     370            $(mkdir_p) "$(distdir)$$dir"; \
     371          else \
     372            dir=''; \
     373          fi; \
     374          if test -d $$d/$$file; then \
     375            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
     376              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
     377            fi; \
     378            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
     379          else \
     380            test -f $(distdir)/$$file \
     381            || cp -p $$d/$$file $(distdir)/$$file \
     382            || exit 1; \
     383          fi; \
     384        done
     385check-am: all-am
     386check: $(BUILT_SOURCES)
     387        $(MAKE) $(AM_MAKEFLAGS) check-am
     388all-am: Makefile $(LTLIBRARIES) $(HEADERS)
     389installdirs:
     390        for dir in "$(DESTDIR)$(pslibincludedir)"; do \
     391          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     392        done
     393install: $(BUILT_SOURCES)
     394        $(MAKE) $(AM_MAKEFLAGS) install-am
     395install-exec: install-exec-am
     396install-data: install-data-am
     397uninstall: uninstall-am
     398
     399install-am: all-am
     400        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     401
     402installcheck: installcheck-am
     403install-strip:
     404        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     405          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     406          `test -z '$(STRIP)' || \
     407            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     408mostlyclean-generic:
     409
     410clean-generic:
     411
     412distclean-generic:
     413        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
     414
     415maintainer-clean-generic:
     416        @echo "This command is intended for maintainers to use"
     417        @echo "it deletes files that may require special tools to rebuild."
     418        -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
     419clean: clean-am
     420
     421clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
     422        mostlyclean-am
     423
     424distclean: distclean-am
     425        -rm -rf ./$(DEPDIR)
     426        -rm -f Makefile
     427distclean-am: clean-am distclean-compile distclean-generic \
     428        distclean-libtool distclean-tags
     429
     430dvi: dvi-am
     431
     432dvi-am:
     433
     434html: html-am
     435
     436info: info-am
     437
     438info-am:
     439
     440install-data-am: install-pslibincludeHEADERS
     441
     442install-exec-am:
     443
     444install-info: install-info-am
     445
     446install-man:
     447
     448installcheck-am:
     449
     450maintainer-clean: maintainer-clean-am
     451        -rm -rf ./$(DEPDIR)
     452        -rm -f Makefile
     453maintainer-clean-am: distclean-am maintainer-clean-generic
     454
     455mostlyclean: mostlyclean-am
     456
     457mostlyclean-am: mostlyclean-compile mostlyclean-generic \
     458        mostlyclean-libtool
     459
     460pdf: pdf-am
     461
     462pdf-am:
     463
     464ps: ps-am
     465
     466ps-am:
     467
     468uninstall-am: uninstall-info-am uninstall-pslibincludeHEADERS
     469
     470.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
     471        clean-libtool clean-noinstLTLIBRARIES ctags distclean \
     472        distclean-compile distclean-generic distclean-libtool \
     473        distclean-tags distdir dvi dvi-am html html-am info info-am \
     474        install install-am install-data install-data-am install-exec \
     475        install-exec-am install-info install-info-am install-man \
     476        install-pslibincludeHEADERS install-strip installcheck \
     477        installcheck-am installdirs maintainer-clean \
     478        maintainer-clean-generic mostlyclean mostlyclean-compile \
     479        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
     480        tags uninstall uninstall-am uninstall-info-am \
     481        uninstall-pslibincludeHEADERS
     482
    18483
    19484psFileUtilsErrors.h: psFileUtilsErrors.dat
    20         perl ../parseErrorCodes.pl --data=$? $@
    21 
    22 
    23 # Rule to make static library
    24 
    25 libpslib.a:     $(OBJS)
    26 # The ar option -r is to add/replace object and -s is to create
    27 # a symbol table in the archive
    28         $(AR) rcs ../$@ $(OBJS)
    29 
    30 # Define PHONY target "install" which will install necessary files
    31 install: $(TARGET_STATIC)
    32         install $(HEADERS) $(includedir)
    33 
    34 # Define PHONY target "distclean" which will cleanup the distribution
    35 distclean:      clean
    36         $(RM) ../$(TARGET_STATIC)
    37 
    38 # Define PHONY target "clean" which will cleanup the development area
    39 clean:
    40         @echo "    Deleting intermediate files for 'fileUtils'"
    41         $(RM) $(OBJS) *.lint $(SRC_OBJS:.o=.i)
    42 
    43 cleandep:
    44         $(RM) $(OBJS:.o=.d)
    45 
    46 %.lint: %.c
    47         splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
    48 
    49 %.i: %.c
    50         $(CC) -E $(CFLAGS) -o $@ $<
    51 
    52 makedir/%.o: %.c
    53         $(CC) -c $(CFLAGS) -o $@ $<
    54 
    55 makedir/%.d: %.c
    56         $(CC) -MM $(CFLAGS) $< > $@.tmp
    57         sed 's|\($*\)\.o[ :]*|\1.o $@ : |g' $@.tmp > $@
    58         $(RM) -f $@.tmp
    59 
    60 include $(OBJS:.o=.d)
     485        perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
     486# Tell versions [3.59,3.63) of GNU make to not export all variables.
     487# Otherwise a system limit (for SysV at least) may be exceeded.
     488.NOEXPORT:
  • trunk/psLib/src/dataIO/psFileUtilsErrors.h

    r3028 r3115  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-01-18 03:15:03 $
     9 *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-02-03 00:54:11 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2626 * DO NOT EDIT THE LINES BETWEEN //~Start and //~End!  ANY CHANGES WILL BE OVERWRITTEN.
    2727 */
    28 
    29 #define PS_ERRORNAME_DOMAIN "psLib.astronomy."
    3028
    3129//~Start #define PS_ERRORTEXT_$1 "$2"
  • trunk/psLib/src/dataIO/psLookupTable.c

    r2725 r3115  
    77*  @author Ross Harman, MHPCC
    88*
    9 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2004-12-16 18:53:02 $
     9*  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2005-02-03 00:54:11 $
    1111*
    1212*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    455455    psU64 failedLines = 0;
    456456    FILE *fp = NULL;
    457     psElemType elemType;
     457    psElemType elemType = PS_TYPE_PTR;
    458458    psVector *indexVec = NULL;
    459459    psVector *valuesVec = NULL;
  • trunk/psLib/src/dataManip/Makefile

    r2432 r3115  
    1 ifndef prefix
    2     export prefix=$(shell cd ../..;pwd)
    3 endif
    4 
    5 TARGET_STATIC  = libpslib.a
    6 include ../Makefile.Globals
    7 CFLAGS := $(CFLAGS_RELOC) -I. -I../sysUtils -I../collections -I.. -I../image -I..
    8 
    9 SRC_OBJS = psStats.o  \
    10            psFunctions.o \
    11            psMatrix.o \
    12            psMatrixVectorArithmetic.o \
    13            psVectorFFT.o \
    14            psMinimize.o \
    15            psRandom.o \
    16  
    17 OBJS = $(addprefix makedir/,$(SRC_OBJS))
    18  
    19 HEADERS = $(SRC_OBJS:.o=.h)
    20          
    21 all: $(TARGET_STATIC)
     1# Makefile.in generated by automake 1.9.1 from Makefile.am.
     2# src/dataManip/Makefile.  Generated from Makefile.in by configure.
     3
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
     6# This Makefile.in is free software; the Free Software Foundation
     7# gives unlimited permission to copy and/or distribute it,
     8# with or without modifications, as long as this notice is preserved.
     9
     10# This program is distributed in the hope that it will be useful,
     11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     13# PARTICULAR PURPOSE.
     14
     15
     16
     17
     18SOURCES = $(libpslibdataManip_la_SOURCES)
     19
     20srcdir = .
     21top_srcdir = ../..
     22
     23pkgdatadir = $(datadir)/pslib
     24pkglibdir = $(libdir)/pslib
     25pkgincludedir = $(includedir)/pslib
     26top_builddir = ../..
     27am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     28INSTALL = /usr/bin/install -c
     29install_sh_DATA = $(install_sh) -c -m 644
     30install_sh_PROGRAM = $(install_sh) -c
     31install_sh_SCRIPT = $(install_sh) -c
     32INSTALL_HEADER = $(INSTALL_DATA)
     33transform = $(program_transform_name)
     34NORMAL_INSTALL = :
     35PRE_INSTALL = :
     36POST_INSTALL = :
     37NORMAL_UNINSTALL = :
     38PRE_UNINSTALL = :
     39POST_UNINSTALL = :
     40build_triplet = x86_64-unknown-linux-gnu
     41host_triplet = x86_64-unknown-linux-gnu
     42subdir = src/dataManip
     43DIST_COMMON = $(pslibinclude_HEADERS) $(srcdir)/Makefile.am \
     44        $(srcdir)/Makefile.in
     45ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     46am__aclocal_m4_deps = $(top_srcdir)/configure.in
     47am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     48        $(ACLOCAL_M4)
     49mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     50CONFIG_HEADER = $(top_builddir)/src/config.h
     51CONFIG_CLEAN_FILES =
     52LTLIBRARIES = $(noinst_LTLIBRARIES)
     53libpslibdataManip_la_LIBADD =
     54am_libpslibdataManip_la_OBJECTS = psStats.lo psFunctions.lo \
     55        psMatrix.lo psMatrixVectorArithmetic.lo psVectorFFT.lo \
     56        psMinimize.lo psRandom.lo
     57libpslibdataManip_la_OBJECTS = $(am_libpslibdataManip_la_OBJECTS)
     58DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
     59depcomp = $(SHELL) $(top_srcdir)/depcomp
     60am__depfiles_maybe = depfiles
     61COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
     62        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     63LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
     64        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
     65        $(AM_CFLAGS) $(CFLAGS)
     66CCLD = $(CC)
     67LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
     68        $(AM_LDFLAGS) $(LDFLAGS) -o $@
     69SOURCES = $(libpslibdataManip_la_SOURCES)
     70DIST_SOURCES = $(libpslibdataManip_la_SOURCES)
     71am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     72am__vpath_adj = case $$p in \
     73    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     74    *) f=$$p;; \
     75  esac;
     76am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
     77am__installdirs = "$(DESTDIR)$(pslibincludedir)"
     78pslibincludeHEADERS_INSTALL = $(INSTALL_HEADER)
     79HEADERS = $(pslibinclude_HEADERS)
     80ETAGS = etags
     81CTAGS = ctags
     82DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     83ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
     84AMDEP_FALSE = #
     85AMDEP_TRUE =
     86AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
     87AR = ar
     88AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
     89AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
     90AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
     91AWK = gawk
     92CC = gcc
     93CCDEPMODE = depmode=gcc3
     94CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
     95CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
     96CPP = gcc -E
     97CPPFLAGS =
     98CXX = g++
     99CXXCPP = g++ -E
     100CXXDEPMODE = depmode=gcc3
     101CXXFLAGS = -g -O2
     102CYGPATH_W = echo
     103DEFS = -DHAVE_CONFIG_H
     104DEPDIR = .deps
     105ECHO = echo
     106ECHO_C =
     107ECHO_N = -n
     108ECHO_T =
     109EGREP = grep -E
     110EXEEXT =
     111F77 = g77
     112FFLAGS = -fno-second-underscore -O -fno-f2c
     113GSL_CONFIG = /usr/bin/gsl-config
     114INSTALL_DATA = ${INSTALL} -m 644
     115INSTALL_PROGRAM = ${INSTALL}
     116INSTALL_SCRIPT = ${INSTALL}
     117INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
     118LDFLAGS =
     119LIBOBJS =
     120LIBS =
     121LIBTOOL = $(SHELL) $(top_builddir)/libtool
     122LN_S = ln -s
     123LTLIBOBJS =
     124MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
     125OBJEXT = o
     126PACKAGE = pslib
     127PACKAGE_BUGREPORT =
     128PACKAGE_NAME =
     129PACKAGE_STRING =
     130PACKAGE_TARNAME =
     131PACKAGE_VERSION =
     132PATH_SEPARATOR = :
     133PERL = /usr/bin/perl
     134PSLIB_CFLAGS = -I${prefix}/include
     135PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
     136RANLIB = ranlib
     137SET_MAKE =
     138SHELL = /bin/sh
     139STRIP = strip
     140SWIG = /usr/bin/swig
     141VERSION = 1.5
     142XML_CONFIG = /usr/bin/xml2-config
     143ac_ct_AR = ar
     144ac_ct_CC = gcc
     145ac_ct_CXX = g++
     146ac_ct_F77 = g77
     147ac_ct_RANLIB = ranlib
     148ac_ct_STRIP = strip
     149am__fastdepCC_FALSE = #
     150am__fastdepCC_TRUE =
     151am__fastdepCXX_FALSE = #
     152am__fastdepCXX_TRUE =
     153am__include = include
     154am__leading_dot = .
     155am__quote =
     156am__tar = ${AMTAR} chof - "$$tardir"
     157am__untar = ${AMTAR} xf -
     158bindir = ${exec_prefix}/bin
     159build = x86_64-unknown-linux-gnu
     160build_alias =
     161build_cpu = x86_64
     162build_os = linux-gnu
     163build_vendor = unknown
     164datadir = ${prefix}/share
     165exec_prefix = ${prefix}
     166host = x86_64-unknown-linux-gnu
     167host_alias =
     168host_cpu = x86_64
     169host_os = linux-gnu
     170host_vendor = unknown
     171includedir = ${prefix}/include
     172infodir = ${prefix}/info
     173install_sh = /home/desonia/panstarrs/psLib/install-sh
     174libdir = ${exec_prefix}/lib
     175libexecdir = ${exec_prefix}/libexec
     176localstatedir = ${prefix}/var
     177mandir = ${prefix}/man
     178mkdir_p = mkdir -p --
     179oldincludedir = /usr/include
     180prefix = /home/desonia/panstarrs/psLib
     181program_transform_name = s,x,x,
     182sbindir = ${exec_prefix}/sbin
     183sharedstatedir = ${prefix}/com
     184sysconfdir = ${prefix}/etc
     185target_alias =
     186
     187#Makefile for dataManip functions of psLib
     188#
     189INCLUDES = \
     190        -I$(top_srcdir)/src/astronomy \
     191        -I$(top_srcdir)/src/collections \
     192        -I$(top_srcdir)/src/fileUtils \
     193        -I$(top_srcdir)/src/image \
     194        -I$(top_srcdir)/src/sysUtils \
     195        $(all_includes)
     196
     197noinst_LTLIBRARIES = libpslibdataManip.la
     198libpslibdataManip_la_SOURCES = \
     199        psStats.c  \
     200        psFunctions.c \
     201        psMatrix.c \
     202        psMatrixVectorArithmetic.c \
     203        psVectorFFT.c \
     204        psMinimize.c \
     205        psRandom.c
     206
     207BUILT_SOURCES = psDataManipErrors.h
     208EXTRA_DIST = psDataManipErrors.dat psDataManipErrors.h
     209pslibincludedir = $(includedir)/pslib
     210pslibinclude_HEADERS = \
     211        psConstants.h \
     212        psStats.h  \
     213        psFunctions.h \
     214        psMatrix.h \
     215        psMatrixVectorArithmetic.h \
     216        psVectorFFT.h \
     217        psMinimize.h \
     218        psRandom.h
     219
     220all: $(BUILT_SOURCES)
     221        $(MAKE) $(AM_MAKEFLAGS) all-am
     222
     223.SUFFIXES:
     224.SUFFIXES: .c .lo .o .obj
     225$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     226        @for dep in $?; do \
     227          case '$(am__configure_deps)' in \
     228            *$$dep*) \
     229              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     230                && exit 0; \
     231              exit 1;; \
     232          esac; \
     233        done; \
     234        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/dataManip/Makefile'; \
     235        cd $(top_srcdir) && \
     236          $(AUTOMAKE) --gnu  src/dataManip/Makefile
     237.PRECIOUS: Makefile
     238Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     239        @case '$?' in \
     240          *config.status*) \
     241            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     242          *) \
     243            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     244            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     245        esac;
     246
     247$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     248        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     249
     250$(top_srcdir)/configure:  $(am__configure_deps)
     251        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     252$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     253        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     254
     255clean-noinstLTLIBRARIES:
     256        -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
     257        @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
     258          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
     259          test "$$dir" != "$$p" || dir=.; \
     260          echo "rm -f \"$${dir}/so_locations\""; \
     261          rm -f "$${dir}/so_locations"; \
     262        done
     263libpslibdataManip.la: $(libpslibdataManip_la_OBJECTS) $(libpslibdataManip_la_DEPENDENCIES)
     264        $(LINK)  $(libpslibdataManip_la_LDFLAGS) $(libpslibdataManip_la_OBJECTS) $(libpslibdataManip_la_LIBADD) $(LIBS)
     265
     266mostlyclean-compile:
     267        -rm -f *.$(OBJEXT)
     268
     269distclean-compile:
     270        -rm -f *.tab.c
     271
     272include ./$(DEPDIR)/psFunctions.Plo
     273include ./$(DEPDIR)/psMatrix.Plo
     274include ./$(DEPDIR)/psMatrixVectorArithmetic.Plo
     275include ./$(DEPDIR)/psMinimize.Plo
     276include ./$(DEPDIR)/psRandom.Plo
     277include ./$(DEPDIR)/psStats.Plo
     278include ./$(DEPDIR)/psVectorFFT.Plo
     279
     280.c.o:
     281        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     282        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     283#       source='$<' object='$@' libtool=no \
     284#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     285#       $(COMPILE) -c $<
     286
     287.c.obj:
     288        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     289        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     290#       source='$<' object='$@' libtool=no \
     291#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     292#       $(COMPILE) -c `$(CYGPATH_W) '$<'`
     293
     294.c.lo:
     295        if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     296        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     297#       source='$<' object='$@' libtool=yes \
     298#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     299#       $(LTCOMPILE) -c -o $@ $<
     300
     301mostlyclean-libtool:
     302        -rm -f *.lo
     303
     304clean-libtool:
     305        -rm -rf .libs _libs
     306
     307distclean-libtool:
     308        -rm -f libtool
     309uninstall-info-am:
     310install-pslibincludeHEADERS: $(pslibinclude_HEADERS)
     311        @$(NORMAL_INSTALL)
     312        test -z "$(pslibincludedir)" || $(mkdir_p) "$(DESTDIR)$(pslibincludedir)"
     313        @list='$(pslibinclude_HEADERS)'; for p in $$list; do \
     314          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     315          f=$(am__strip_dir) \
     316          echo " $(pslibincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pslibincludedir)/$$f'"; \
     317          $(pslibincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pslibincludedir)/$$f"; \
     318        done
     319
     320uninstall-pslibincludeHEADERS:
     321        @$(NORMAL_UNINSTALL)
     322        @list='$(pslibinclude_HEADERS)'; for p in $$list; do \
     323          f=$(am__strip_dir) \
     324          echo " rm -f '$(DESTDIR)$(pslibincludedir)/$$f'"; \
     325          rm -f "$(DESTDIR)$(pslibincludedir)/$$f"; \
     326        done
     327
     328ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     329        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     330        unique=`for i in $$list; do \
     331            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     332          done | \
     333          $(AWK) '    { files[$$0] = 1; } \
     334               END { for (i in files) print i; }'`; \
     335        mkid -fID $$unique
     336tags: TAGS
     337
     338TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     339                $(TAGS_FILES) $(LISP)
     340        tags=; \
     341        here=`pwd`; \
     342        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     343        unique=`for i in $$list; do \
     344            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     345          done | \
     346          $(AWK) '    { files[$$0] = 1; } \
     347               END { for (i in files) print i; }'`; \
     348        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     349          test -n "$$unique" || unique=$$empty_fix; \
     350          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     351            $$tags $$unique; \
     352        fi
     353ctags: CTAGS
     354CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     355                $(TAGS_FILES) $(LISP)
     356        tags=; \
     357        here=`pwd`; \
     358        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     359        unique=`for i in $$list; do \
     360            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     361          done | \
     362          $(AWK) '    { files[$$0] = 1; } \
     363               END { for (i in files) print i; }'`; \
     364        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     365          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     366             $$tags $$unique
     367
     368GTAGS:
     369        here=`$(am__cd) $(top_builddir) && pwd` \
     370          && cd $(top_srcdir) \
     371          && gtags -i $(GTAGS_ARGS) $$here
     372
     373distclean-tags:
     374        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     375
     376distdir: $(DISTFILES)
     377        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
     378        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     379        list='$(DISTFILES)'; for file in $$list; do \
     380          case $$file in \
     381            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
     382            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
     383          esac; \
     384          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
     385          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
     386          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
     387            dir="/$$dir"; \
     388            $(mkdir_p) "$(distdir)$$dir"; \
     389          else \
     390            dir=''; \
     391          fi; \
     392          if test -d $$d/$$file; then \
     393            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
     394              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
     395            fi; \
     396            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
     397          else \
     398            test -f $(distdir)/$$file \
     399            || cp -p $$d/$$file $(distdir)/$$file \
     400            || exit 1; \
     401          fi; \
     402        done
     403check-am: all-am
     404check: $(BUILT_SOURCES)
     405        $(MAKE) $(AM_MAKEFLAGS) check-am
     406all-am: Makefile $(LTLIBRARIES) $(HEADERS)
     407installdirs:
     408        for dir in "$(DESTDIR)$(pslibincludedir)"; do \
     409          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     410        done
     411install: $(BUILT_SOURCES)
     412        $(MAKE) $(AM_MAKEFLAGS) install-am
     413install-exec: install-exec-am
     414install-data: install-data-am
     415uninstall: uninstall-am
     416
     417install-am: all-am
     418        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     419
     420installcheck: installcheck-am
     421install-strip:
     422        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     423          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     424          `test -z '$(STRIP)' || \
     425            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     426mostlyclean-generic:
     427
     428clean-generic:
     429
     430distclean-generic:
     431        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
     432
     433maintainer-clean-generic:
     434        @echo "This command is intended for maintainers to use"
     435        @echo "it deletes files that may require special tools to rebuild."
     436        -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
     437clean: clean-am
     438
     439clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
     440        mostlyclean-am
     441
     442distclean: distclean-am
     443        -rm -rf ./$(DEPDIR)
     444        -rm -f Makefile
     445distclean-am: clean-am distclean-compile distclean-generic \
     446        distclean-libtool distclean-tags
     447
     448dvi: dvi-am
     449
     450dvi-am:
     451
     452html: html-am
     453
     454info: info-am
     455
     456info-am:
     457
     458install-data-am: install-pslibincludeHEADERS
     459
     460install-exec-am:
     461
     462install-info: install-info-am
     463
     464install-man:
     465
     466installcheck-am:
     467
     468maintainer-clean: maintainer-clean-am
     469        -rm -rf ./$(DEPDIR)
     470        -rm -f Makefile
     471maintainer-clean-am: distclean-am maintainer-clean-generic
     472
     473mostlyclean: mostlyclean-am
     474
     475mostlyclean-am: mostlyclean-compile mostlyclean-generic \
     476        mostlyclean-libtool
     477
     478pdf: pdf-am
     479
     480pdf-am:
     481
     482ps: ps-am
     483
     484ps-am:
     485
     486uninstall-am: uninstall-info-am uninstall-pslibincludeHEADERS
     487
     488.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
     489        clean-libtool clean-noinstLTLIBRARIES ctags distclean \
     490        distclean-compile distclean-generic distclean-libtool \
     491        distclean-tags distdir dvi dvi-am html html-am info info-am \
     492        install install-am install-data install-data-am install-exec \
     493        install-exec-am install-info install-info-am install-man \
     494        install-pslibincludeHEADERS install-strip installcheck \
     495        installcheck-am installdirs maintainer-clean \
     496        maintainer-clean-generic mostlyclean mostlyclean-compile \
     497        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
     498        tags uninstall uninstall-am uninstall-info-am \
     499        uninstall-pslibincludeHEADERS
     500
    22501
    23502psDataManipErrors.h: psDataManipErrors.dat
    24         perl ../parseErrorCodes.pl --data=$? $@
    25 
    26 # force the creation of a psImage.i for psImage.o (to expand macros).
    27 psMatrixVectorArithmetic.o: psMatrixVectorArithmetic.i
    28 
    29 # Rule to make static library
    30 
    31 libpslib.a:     $(OBJS)
    32 # The ar option -r is to add/replace object and -s is to create
    33 # a symbol table in the archive
    34         $(AR) rcs ../$@ $(OBJS)
    35 
    36 # Define PHONY target "install" which will install necessary files
    37 # XXX: Do the psConstants.h install.
    38 install: $(TARGET_STATIC)
    39         install $(HEADERS) $(includedir)
    40         install psConstants.h $(includedir)
    41 
    42 
    43 # Define PHONY target "distclean" which will cleanup the distribution
    44 distclean:      clean
    45         $(RM) ../$(TARGET_STATIC)
    46 
    47 # Define PHONY target "clean" which will cleanup the development area
    48 clean:
    49         @echo "    Deleting intermediate files for 'sysUtils'"
    50         $(RM) $(OBJS) *.lint $(SRC_OBJS:.o=.i)
    51 
    52 cleandep:
    53         $(RM) $(OBJS:.o=.d)
    54 
    55 %.lint: %.c
    56         splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
    57 
    58 %.i: %.c
    59         $(CC) -E $(CFLAGS) -o $@ $<
    60 
    61 makedir/%.o: %.c
    62         $(CC) -c $(CFLAGS) -o $@ $<
    63 
    64 makedir/%.d: %.c
    65         $(CC) -MM $(CFLAGS) $< > $@.tmp
    66         sed 's|\($*\)\.o[ :]*|\1.o $@ : |g' $@.tmp > $@
    67         $(RM) -f $@.tmp
    68 
    69 include $(OBJS:.o=.d)
     503        perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
     504# Tell versions [3.59,3.63) of GNU make to not export all variables.
     505# Otherwise a system limit (for SysV at least) may be exceeded.
     506.NOEXPORT:
  • trunk/psLib/src/dataManip/psDataManipErrors.h

    r3009 r3115  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-01-15 01:15:09 $
     9 *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-02-03 00:54:10 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2626 * DO NOT EDIT THE LINES BETWEEN //~Start and //~End!  ANY CHANGES WILL BE OVERWRITTEN.
    2727 */
    28 
    29 #define PS_ERRORNAME_DOMAIN "psLib.dataManip."
    3028
    3129//~Start #define PS_ERRORTEXT_$1 "$2"
  • trunk/psLib/src/dataManip/psFunctions.c

    r3097 r3115  
    77 *  polynomials.  It also contains a Gaussian functions.
    88 *
    9  *  @version $Revision: 1.85 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-01-26 20:47:41 $
     9 *  @version $Revision: 1.86 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-02-03 00:54:10 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    12021202    PS_VECTOR_CHECK_TYPE(x, PS_TYPE_F32, NULL);
    12031203
    1204     psVector *tmp;
    1205     psVector *myX;
     1204    psVector *tmp = NULL;
     1205    psVector *myX = NULL;
    12061206    psS32 i;
    12071207
     
    12441244    PS_VECTOR_CHECK_TYPE(y, PS_TYPE_F32, NULL);
    12451245
    1246     psVector *tmp;
    1247     psVector *myX;
    1248     psVector *myY;
     1246    psVector *tmp = NULL;
     1247    psVector *myX = NULL;
     1248    psVector *myY = NULL;
    12491249    psS32 i;
    12501250    psS32 vecLen=x->n;
     
    13021302    PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F32, NULL);
    13031303
    1304     psVector *tmp;
    1305     psVector *myX;
    1306     psVector *myY;
    1307     psVector *myZ;
     1304    psVector *tmp = NULL;
     1305    psVector *myX = NULL;
     1306    psVector *myY = NULL;
     1307    psVector *myZ = NULL;
    13081308    psS32 i;
    13091309    psS32 vecLen=x->n;
     
    13701370    PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F32, NULL);
    13711371
    1372     psVector *tmp;
    1373     psVector *myW;
    1374     psVector *myX;
    1375     psVector *myY;
    1376     psVector *myZ;
     1372    psVector *tmp = NULL;
     1373    psVector *myW = NULL;
     1374    psVector *myX = NULL;
     1375    psVector *myY = NULL;
     1376    psVector *myZ = NULL;
    13771377    psS32 i;
    13781378    psS32 vecLen=x->n;
     
    16031603    PS_VECTOR_CHECK_TYPE(x, PS_TYPE_F64, NULL);
    16041604
    1605     psVector *tmp;
    1606     psVector *myX;
     1605    psVector *tmp = NULL;
     1606    psVector *myX = NULL;
    16071607    psS32 i;
    16081608
     
    16481648    PS_VECTOR_CHECK_TYPE(y, PS_TYPE_F64, NULL);
    16491649
    1650     psVector *tmp;
    1651     psVector *myX;
    1652     psVector *myY;
     1650    psVector *tmp = NULL;
     1651    psVector *myX = NULL;
     1652    psVector *myY = NULL;
    16531653    psS32 i;
    16541654    psS32 vecLen=x->n;
     
    17101710    PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F64, NULL);
    17111711
    1712     psVector *tmp;
    1713     psVector *myX;
    1714     psVector *myY;
    1715     psVector *myZ;
     1712    psVector *tmp = NULL;
     1713    psVector *myX = NULL;
     1714    psVector *myY = NULL;
     1715    psVector *myZ = NULL;
    17161716    psS32 i;
    17171717    psS32 vecLen=x->n;
     
    17821782    PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F64, NULL);
    17831783
    1784     psVector *tmp;
    1785     psVector *myW;
    1786     psVector *myX;
    1787     psVector *myY;
    1788     psVector *myZ;
     1784    psVector *tmp = NULL;
     1785    psVector *myW = NULL;
     1786    psVector *myX = NULL;
     1787    psVector *myY = NULL;
     1788    psVector *myZ = NULL;
    17891789    psS32 i;
    17901790    psS32 vecLen=x->n;
  • trunk/psLib/src/dataManip/psFunctions.h

    r3096 r3115  
    1212*  @author GLG, MHPCC
    1313*
    14 *  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
    15 *  @date $Date: 2005-01-26 20:41:04 $
     14*  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
     15*  @date $Date: 2005-02-03 00:54:10 $
    1616*
    1717*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    429429
    430430psF32 p_psNRSpline1DEval(psSpline1D *spline,
    431                          const psVector* restrict x,
    432                          const psVector* restrict y,
     431                         const psVector* x,
     432                         const psVector* y,
    433433                         psF32 X);
    434434
  • trunk/psLib/src/dataManip/psMinimize.c

    r3097 r3115  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.103 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-01-26 20:47:41 $
     11 *  @version $Revision: 1.104 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-02-03 00:54:10 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    9696XXX: do an F64 version?
    9797 *****************************************************************************/
    98 psF32 *CalculateSecondDerivs(const psVector* restrict x,        ///< Ordinates (or NULL to just use the indices)
    99                              const psVector* restrict y)        ///< Coordinates
     98psF32 *CalculateSecondDerivs(const psVector* x,        ///< Ordinates (or NULL to just use the indices)
     99                             const psVector* y)        ///< Coordinates
    100100{
    101101    psTrace(".psLib.dataManip.CalculateSecondDerivs", 4,
     
    167167/*
    168168psF32 p_psNRSpline1DEval(psSpline1D *spline,
    169                          const psVector* restrict x,
    170                          const psVector* restrict y,
     169                         const psVector* x,
     170                         const psVector* y,
    171171                         psF32 X)
    172172{
     
    250250XXX: Assumes mySpline->knots is psF32.  Must add psU32 and psF64.
    251251 *****************************************************************************/
    252 psSpline1D *psVectorFitSpline1D(psSpline1D *mySpline,              ///< The spline which will be generated.
    253                                 const psVector* restrict x,        ///< Ordinates (or NULL to just use the indices)
    254                                 const psVector* restrict y,        ///< Coordinates
    255                                 const psVector* restrict yErr)     ///< Errors in coordinates, or NULL
     252psSpline1D *psVectorFitSpline1D(psSpline1D *mySpline,     ///< The spline which will be generated.
     253                                const psVector* x,        ///< Ordinates (or NULL to just use the indices)
     254                                const psVector* y,        ///< Coordinates
     255                                const psVector* yErr)     ///< Errors in coordinates, or NULL
    256256{
    257257    PS_VECTOR_CHECK_NULL(y, NULL);
     
    833833*****************************************************************************/
    834834psPolynomial1D *VectorFitPolynomial1DCheby(psPolynomial1D* myPoly,
    835         const psVector* restrict x,
    836         const psVector* restrict y,
    837         const psVector* restrict yErr)
     835        const psVector* x,
     836        const psVector* y,
     837        const psVector* yErr)
    838838{
    839839    psS32 j;
     
    911911 *****************************************************************************/
    912912psPolynomial1D* VectorFitPolynomial1DOrd(psPolynomial1D* myPoly,
    913         const psVector* restrict x,
    914         const psVector* restrict y,
    915         const psVector* restrict yErr)
     913        const psVector* x,
     914        const psVector* y,
     915        const psVector* yErr)
    916916{
    917917    psS32 polyOrder = myPoly->n;
     
    10181018 *****************************************************************************/
    10191019psPolynomial1D* psVectorFitPolynomial1D(psPolynomial1D* myPoly,
    1020                                         const psVector* restrict x,
    1021                                         const psVector* restrict y,
    1022                                         const psVector* restrict yErr)
     1020                                        const psVector* x,
     1021                                        const psVector* y,
     1022                                        const psVector* yErr)
    10231023{
    10241024    PS_POLY_CHECK_NULL(myPoly, NULL);
  • trunk/psLib/src/dataManip/psMinimize.h

    r2788 r3115  
    88 *  @author GLG, MHPCC
    99 *
    10  *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2004-12-22 05:09:32 $
     10 *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2005-02-03 00:54:10 $
    1212 *
    1313 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    6565psPolynomial1D* psVectorFitPolynomial1D(
    6666    psPolynomial1D* myPoly,            ///< Polynomial to fit
    67     const psVector* restrict x,        ///< Ordinates (or NULL to just use the indices)
    68     const psVector* restrict y,        ///< Coordinates
    69     const psVector* restrict yErr      ///< Errors in coordinates, or NULL
     67    const psVector* x,                 ///< Ordinates (or NULL to just use the indices)
     68    const psVector* y,                 ///< Coordinates
     69    const psVector* yErr               ///< Errors in coordinates, or NULL
    7070);
    7171
    72 psSpline1D *psVectorFitSpline1D(psSpline1D *mySpline,              ///< The spline which will be generated.
    73                                 const psVector* restrict x,        ///< Ordinates (or NULL to just use the indices)
    74                                 const psVector* restrict y,        ///< Coordinates
    75                                 const psVector* restrict yErr      ///< Errors in coordinates, or NULL
     72psSpline1D *psVectorFitSpline1D(psSpline1D *mySpline,     ///< The spline which will be generated.
     73                                const psVector* x,        ///< Ordinates (or NULL to just use the indices)
     74                                const psVector* y,        ///< Coordinates
     75                                const psVector* yErr      ///< Errors in coordinates, or NULL
    7676                               );
    7777
  • trunk/psLib/src/dataManip/psStats.c

    r3095 r3115  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.111 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-01-26 20:24:17 $
     11 *  @version $Revision: 1.112 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-02-03 00:54:10 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    145145this routine sets stats->sampleMean to NAN.
    146146 *****************************************************************************/
    147 psS32 p_psVectorSampleMean(const psVector* restrict myVector,
    148                            const psVector* restrict errors,
    149                            const psVector* restrict maskVector,
     147psS32 p_psVectorSampleMean(const psVector* myVector,
     148                           const psVector* errors,
     149                           const psVector* maskVector,
    150150                           psU32 maskVal,
    151151                           psStats* stats)
     
    283283this routine sets stats->max to NAN.
    284284 *****************************************************************************/
    285 psS32 p_psVectorMax(const psVector* restrict myVector,
    286                     const psVector* restrict maskVector,
     285psS32 p_psVectorMax(const psVector* myVector,
     286                    const psVector* maskVector,
    287287                    psU32 maskVal,
    288288                    psStats* stats)
     
    348348this routine sets stats->min to NAN.
    349349 *****************************************************************************/
    350 psS32 p_psVectorMin(const psVector* restrict myVector,
    351                     const psVector* restrict maskVector,
     350psS32 p_psVectorMin(const psVector* myVector,
     351                    const psVector* maskVector,
    352352                    psU32 maskVal,
    353353                    psStats* stats)
     
    414414"false".
    415415 *****************************************************************************/
    416 bool p_psVectorCheckNonEmpty(const psVector* restrict myVector,
    417                              const psVector* restrict maskVector,
     416bool p_psVectorCheckNonEmpty(const psVector* myVector,
     417                             const psVector* maskVector,
    418418                             psU32 maskVal,
    419419                             psStats* stats)
     
    462462range, if specified.
    463463 *****************************************************************************/
    464 psS32 p_psVectorNValues(const psVector* restrict myVector,
    465                         const psVector* restrict maskVector,
     464psS32 p_psVectorNValues(const psVector* myVector,
     465                        const psVector* maskVector,
    466466                        psU32 maskVal,
    467467                        psStats* stats)
     
    511511XXX: Use static vectors for sort arrays.
    512512 *****************************************************************************/
    513 bool p_psVectorSampleMedian(const psVector* restrict myVector,
    514                             const psVector* restrict maskVector,
     513bool p_psVectorSampleMedian(const psVector* myVector,
     514                            const psVector* maskVector,
    515515                            psU32 maskVal,
    516516                            psStats* stats)
     
    701701    NULL
    702702 *****************************************************************************/
    703 bool p_psVectorSampleQuartiles(const psVector* restrict myVector,
    704                                const psVector* restrict maskVector,
     703bool p_psVectorSampleQuartiles(const psVector* myVector,
     704                               const psVector* maskVector,
    705705                               psU32 maskVal,
    706706                               psStats* stats)
     
    787787 
    788788 *****************************************************************************/
    789 void p_psVectorSampleStdevOLD(const psVector* restrict myVector,
    790                               const psVector* restrict errors,
    791                               const psVector* restrict maskVector,
     789void p_psVectorSampleStdevOLD(const psVector* myVector,
     790                              const psVector* errors,
     791                              const psVector* maskVector,
    792792                              psU32 maskVal,
    793793                              psStats* stats)
     
    881881 
    882882 *****************************************************************************/
    883 void p_psVectorSampleStdev(const psVector* restrict myVector,
    884                            const psVector* restrict errors,
    885                            const psVector* restrict maskVector,
     883void p_psVectorSampleStdev(const psVector* myVector,
     884                           const psVector* errors,
     885                           const psVector* maskVector,
    886886                           psU32 maskVal,
    887887                           psStats* stats)
     
    896896    //    psF32 sum1;
    897897    //    psF32 sum2;
    898     psF32 errorDivisor;
     898    psF32 errorDivisor = 0.0f;
    899899
    900900    // This procedure requires the mean.  If it has not been already
     
    10031003    -2: warning
    10041004 *****************************************************************************/
    1005 psS32 p_psVectorClippedStats(const psVector* restrict myVector,
    1006                              const psVector* restrict errors,
    1007                              const psVector* restrict maskVector,
     1005psS32 p_psVectorClippedStats(const psVector* myVector,
     1006                             const psVector* errors,
     1007                             const psVector* maskVector,
    10081008                             psU32 maskVal,
    10091009                             psStats* stats)
     
    13311331    psPolynomial1D *myPoly = psPolynomial1DAlloc(2, PS_POLYNOMIAL_ORD);
    13321332
    1333     psF32 tmpFloat;
     1333    psF32 tmpFloat = 0.0f;
    13341334
    13351335    if ((binNum > 0) && (binNum < (yVec->n - 2))) {
     
    14251425XXX: Check for errors in psLib routines that we call.
    14261426*****************************************************************************/
    1427 psS32 p_psVectorRobustStats(const psVector* restrict myVector,
    1428                             const psVector* restrict errors,
    1429                             const psVector* restrict maskVector,
     1427psS32 p_psVectorRobustStats(const psVector* myVector,
     1428                            const psVector* errors,
     1429                            const psVector* maskVector,
    14301430                            psU32 maskVal,
    14311431                            psStats* stats)
     
    18201820    The histogram structure
    18211821 *****************************************************************************/
    1822 psHistogram* psHistogramAllocGeneric(const psVector* restrict bounds)
     1822psHistogram* psHistogramAllocGeneric(const psVector* bounds)
    18231823{
    18241824    PS_VECTOR_CHECK_NULL(bounds, NULL);
     
    18901890    psF32 boxcarRight = boxcarCenter + (boxcarWidth / 2.0);
    18911891    psS32 bin;
    1892     psS32 boxcarLeftBinNum;
    1893     psS32 boxcarRightBinNum;
     1892    psS32 boxcarLeftBinNum = 0;
     1893    psS32 boxcarRightBinNum = 0;
    18941894
    18951895    // Determine the left endpoint of the boxcar for the PDF.
     
    19611961 *****************************************************************************/
    19621962psHistogram* psVectorHistogram(psHistogram* out,
    1963                                const psVector* restrict in,
    1964                                const psVector* restrict errors,
    1965                                const psVector* restrict mask,
     1963                               const psVector* in,
     1964                               const psVector* errors,
     1965                               const psVector* mask,
    19661966                               psU32 maskVal)
    19671967{
  • trunk/psLib/src/dataManip/psStats.h

    r2788 r3115  
    1010 *  @author George Gusciora, MHPCC
    1111 *
    12  *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2004-12-22 05:09:32 $
     12 *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2005-02-03 00:54:10 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    143143 */
    144144psHistogram* psHistogramAllocGeneric(
    145     const psVector* restrict bounds    ///< Bounds for the bins
     145    const psVector* bounds             ///< Bounds for the bins
    146146);
    147147
     
    156156psHistogram* psVectorHistogram(
    157157    psHistogram* out,                  ///< Histogram data
    158     const psVector* restrict in,       ///< Vector to analyse
    159     const psVector* restrict errors,   ///< Errors
    160     const psVector* restrict mask,     ///< Mask dat for input vector
    161     psU32 maskVal               ///< Mask value
     158    const psVector* in,                ///< Vector to analyse
     159    const psVector* errors,            ///< Errors
     160    const psVector* mask,              ///< Mask dat for input vector
     161    psU32 maskVal                      ///< Mask value
    162162);
    163163
  • trunk/psLib/src/fileUtils/Makefile

    r2962 r3115  
    1 ifndef prefix
    2     export prefix=$(shell cd ../..;pwd)
    3 endif
    4 
    5 TARGET_STATIC  = libpslib.a
    6 include ../Makefile.Globals
    7 CFLAGS := $(CFLAGS_RELOC) -I. -I../sysUtils -I../collections -I../dataManip \
    8     -I.. -I../image -I../astronomy -DSER7_FILE="\"$(SER7_FILE)\"" -DTAIUTC_FILE="\"$(TAIUTC_FILE)\""
    9 
    10 SRC_OBJS = psLookupTable.o \
    11         psFits.o
    12 
    13 OBJS = $(addprefix makedir/,$(SRC_OBJS))
    14 
    15 HEADERS = $(SRC_OBJS:.o=.h)
    16 
    17 all: $(TARGET_STATIC)
     1# Makefile.in generated by automake 1.9.1 from Makefile.am.
     2# src/fileUtils/Makefile.  Generated from Makefile.in by configure.
     3
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
     6# This Makefile.in is free software; the Free Software Foundation
     7# gives unlimited permission to copy and/or distribute it,
     8# with or without modifications, as long as this notice is preserved.
     9
     10# This program is distributed in the hope that it will be useful,
     11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     13# PARTICULAR PURPOSE.
     14
     15
     16
     17
     18SOURCES = $(libpslibfileUtils_la_SOURCES)
     19
     20srcdir = .
     21top_srcdir = ../..
     22
     23pkgdatadir = $(datadir)/pslib
     24pkglibdir = $(libdir)/pslib
     25pkgincludedir = $(includedir)/pslib
     26top_builddir = ../..
     27am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     28INSTALL = /usr/bin/install -c
     29install_sh_DATA = $(install_sh) -c -m 644
     30install_sh_PROGRAM = $(install_sh) -c
     31install_sh_SCRIPT = $(install_sh) -c
     32INSTALL_HEADER = $(INSTALL_DATA)
     33transform = $(program_transform_name)
     34NORMAL_INSTALL = :
     35PRE_INSTALL = :
     36POST_INSTALL = :
     37NORMAL_UNINSTALL = :
     38PRE_UNINSTALL = :
     39POST_UNINSTALL = :
     40build_triplet = x86_64-unknown-linux-gnu
     41host_triplet = x86_64-unknown-linux-gnu
     42subdir = src/fileUtils
     43DIST_COMMON = $(pslibinclude_HEADERS) $(srcdir)/Makefile.am \
     44        $(srcdir)/Makefile.in
     45ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     46am__aclocal_m4_deps = $(top_srcdir)/configure.in
     47am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     48        $(ACLOCAL_M4)
     49mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     50CONFIG_HEADER = $(top_builddir)/src/config.h
     51CONFIG_CLEAN_FILES =
     52LTLIBRARIES = $(noinst_LTLIBRARIES)
     53libpslibfileUtils_la_LIBADD =
     54am_libpslibfileUtils_la_OBJECTS = psLookupTable.lo psFits.lo
     55libpslibfileUtils_la_OBJECTS = $(am_libpslibfileUtils_la_OBJECTS)
     56DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
     57depcomp = $(SHELL) $(top_srcdir)/depcomp
     58am__depfiles_maybe = depfiles
     59COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
     60        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     61LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
     62        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
     63        $(AM_CFLAGS) $(CFLAGS)
     64CCLD = $(CC)
     65LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
     66        $(AM_LDFLAGS) $(LDFLAGS) -o $@
     67SOURCES = $(libpslibfileUtils_la_SOURCES)
     68DIST_SOURCES = $(libpslibfileUtils_la_SOURCES)
     69am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     70am__vpath_adj = case $$p in \
     71    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     72    *) f=$$p;; \
     73  esac;
     74am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
     75am__installdirs = "$(DESTDIR)$(pslibincludedir)"
     76pslibincludeHEADERS_INSTALL = $(INSTALL_HEADER)
     77HEADERS = $(pslibinclude_HEADERS)
     78ETAGS = etags
     79CTAGS = ctags
     80DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     81ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
     82AMDEP_FALSE = #
     83AMDEP_TRUE =
     84AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
     85AR = ar
     86AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
     87AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
     88AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
     89AWK = gawk
     90CC = gcc
     91CCDEPMODE = depmode=gcc3
     92CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
     93CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
     94CPP = gcc -E
     95CPPFLAGS =
     96CXX = g++
     97CXXCPP = g++ -E
     98CXXDEPMODE = depmode=gcc3
     99CXXFLAGS = -g -O2
     100CYGPATH_W = echo
     101DEFS = -DHAVE_CONFIG_H
     102DEPDIR = .deps
     103ECHO = echo
     104ECHO_C =
     105ECHO_N = -n
     106ECHO_T =
     107EGREP = grep -E
     108EXEEXT =
     109F77 = g77
     110FFLAGS = -fno-second-underscore -O -fno-f2c
     111GSL_CONFIG = /usr/bin/gsl-config
     112INSTALL_DATA = ${INSTALL} -m 644
     113INSTALL_PROGRAM = ${INSTALL}
     114INSTALL_SCRIPT = ${INSTALL}
     115INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
     116LDFLAGS =
     117LIBOBJS =
     118LIBS =
     119LIBTOOL = $(SHELL) $(top_builddir)/libtool
     120LN_S = ln -s
     121LTLIBOBJS =
     122MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
     123OBJEXT = o
     124PACKAGE = pslib
     125PACKAGE_BUGREPORT =
     126PACKAGE_NAME =
     127PACKAGE_STRING =
     128PACKAGE_TARNAME =
     129PACKAGE_VERSION =
     130PATH_SEPARATOR = :
     131PERL = /usr/bin/perl
     132PSLIB_CFLAGS = -I${prefix}/include
     133PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
     134RANLIB = ranlib
     135SET_MAKE =
     136SHELL = /bin/sh
     137STRIP = strip
     138SWIG = /usr/bin/swig
     139VERSION = 1.5
     140XML_CONFIG = /usr/bin/xml2-config
     141ac_ct_AR = ar
     142ac_ct_CC = gcc
     143ac_ct_CXX = g++
     144ac_ct_F77 = g77
     145ac_ct_RANLIB = ranlib
     146ac_ct_STRIP = strip
     147am__fastdepCC_FALSE = #
     148am__fastdepCC_TRUE =
     149am__fastdepCXX_FALSE = #
     150am__fastdepCXX_TRUE =
     151am__include = include
     152am__leading_dot = .
     153am__quote =
     154am__tar = ${AMTAR} chof - "$$tardir"
     155am__untar = ${AMTAR} xf -
     156bindir = ${exec_prefix}/bin
     157build = x86_64-unknown-linux-gnu
     158build_alias =
     159build_cpu = x86_64
     160build_os = linux-gnu
     161build_vendor = unknown
     162datadir = ${prefix}/share
     163exec_prefix = ${prefix}
     164host = x86_64-unknown-linux-gnu
     165host_alias =
     166host_cpu = x86_64
     167host_os = linux-gnu
     168host_vendor = unknown
     169includedir = ${prefix}/include
     170infodir = ${prefix}/info
     171install_sh = /home/desonia/panstarrs/psLib/install-sh
     172libdir = ${exec_prefix}/lib
     173libexecdir = ${exec_prefix}/libexec
     174localstatedir = ${prefix}/var
     175mandir = ${prefix}/man
     176mkdir_p = mkdir -p --
     177oldincludedir = /usr/include
     178prefix = /home/desonia/panstarrs/psLib
     179program_transform_name = s,x,x,
     180sbindir = ${exec_prefix}/sbin
     181sharedstatedir = ${prefix}/com
     182sysconfdir = ${prefix}/etc
     183target_alias =
     184
     185#Makefile for fileUtils functions of psLib
     186#
     187INCLUDES = \
     188        -I$(top_srcdir)/src/astronomy \
     189        -I$(top_srcdir)/src/collections \
     190        -I$(top_srcdir)/src/dataManip \
     191        -I$(top_srcdir)/src/image \
     192        -I$(top_srcdir)/src/sysUtils \
     193        $(all_includes)
     194
     195noinst_LTLIBRARIES = libpslibfileUtils.la
     196libpslibfileUtils_la_SOURCES = \
     197        psLookupTable.c \
     198        psFits.c
     199
     200BUILT_SOURCES = psFileUtilsErrors.h
     201EXTRA_DIST = psFileUtilsErrors.dat psFileUtilsErrors.h
     202pslibincludedir = $(includedir)/pslib
     203pslibinclude_HEADERS = \
     204        psLookupTable.h \
     205        psFits.h
     206
     207all: $(BUILT_SOURCES)
     208        $(MAKE) $(AM_MAKEFLAGS) all-am
     209
     210.SUFFIXES:
     211.SUFFIXES: .c .lo .o .obj
     212$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     213        @for dep in $?; do \
     214          case '$(am__configure_deps)' in \
     215            *$$dep*) \
     216              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     217                && exit 0; \
     218              exit 1;; \
     219          esac; \
     220        done; \
     221        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/fileUtils/Makefile'; \
     222        cd $(top_srcdir) && \
     223          $(AUTOMAKE) --gnu  src/fileUtils/Makefile
     224.PRECIOUS: Makefile
     225Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     226        @case '$?' in \
     227          *config.status*) \
     228            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     229          *) \
     230            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     231            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     232        esac;
     233
     234$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     235        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     236
     237$(top_srcdir)/configure:  $(am__configure_deps)
     238        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     239$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     240        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     241
     242clean-noinstLTLIBRARIES:
     243        -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
     244        @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
     245          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
     246          test "$$dir" != "$$p" || dir=.; \
     247          echo "rm -f \"$${dir}/so_locations\""; \
     248          rm -f "$${dir}/so_locations"; \
     249        done
     250libpslibfileUtils.la: $(libpslibfileUtils_la_OBJECTS) $(libpslibfileUtils_la_DEPENDENCIES)
     251        $(LINK)  $(libpslibfileUtils_la_LDFLAGS) $(libpslibfileUtils_la_OBJECTS) $(libpslibfileUtils_la_LIBADD) $(LIBS)
     252
     253mostlyclean-compile:
     254        -rm -f *.$(OBJEXT)
     255
     256distclean-compile:
     257        -rm -f *.tab.c
     258
     259include ./$(DEPDIR)/psFits.Plo
     260include ./$(DEPDIR)/psLookupTable.Plo
     261
     262.c.o:
     263        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     264        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     265#       source='$<' object='$@' libtool=no \
     266#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     267#       $(COMPILE) -c $<
     268
     269.c.obj:
     270        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     271        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     272#       source='$<' object='$@' libtool=no \
     273#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     274#       $(COMPILE) -c `$(CYGPATH_W) '$<'`
     275
     276.c.lo:
     277        if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     278        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     279#       source='$<' object='$@' libtool=yes \
     280#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     281#       $(LTCOMPILE) -c -o $@ $<
     282
     283mostlyclean-libtool:
     284        -rm -f *.lo
     285
     286clean-libtool:
     287        -rm -rf .libs _libs
     288
     289distclean-libtool:
     290        -rm -f libtool
     291uninstall-info-am:
     292install-pslibincludeHEADERS: $(pslibinclude_HEADERS)
     293        @$(NORMAL_INSTALL)
     294        test -z "$(pslibincludedir)" || $(mkdir_p) "$(DESTDIR)$(pslibincludedir)"
     295        @list='$(pslibinclude_HEADERS)'; for p in $$list; do \
     296          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     297          f=$(am__strip_dir) \
     298          echo " $(pslibincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pslibincludedir)/$$f'"; \
     299          $(pslibincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pslibincludedir)/$$f"; \
     300        done
     301
     302uninstall-pslibincludeHEADERS:
     303        @$(NORMAL_UNINSTALL)
     304        @list='$(pslibinclude_HEADERS)'; for p in $$list; do \
     305          f=$(am__strip_dir) \
     306          echo " rm -f '$(DESTDIR)$(pslibincludedir)/$$f'"; \
     307          rm -f "$(DESTDIR)$(pslibincludedir)/$$f"; \
     308        done
     309
     310ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     311        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     312        unique=`for i in $$list; do \
     313            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     314          done | \
     315          $(AWK) '    { files[$$0] = 1; } \
     316               END { for (i in files) print i; }'`; \
     317        mkid -fID $$unique
     318tags: TAGS
     319
     320TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     321                $(TAGS_FILES) $(LISP)
     322        tags=; \
     323        here=`pwd`; \
     324        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     325        unique=`for i in $$list; do \
     326            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     327          done | \
     328          $(AWK) '    { files[$$0] = 1; } \
     329               END { for (i in files) print i; }'`; \
     330        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     331          test -n "$$unique" || unique=$$empty_fix; \
     332          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     333            $$tags $$unique; \
     334        fi
     335ctags: CTAGS
     336CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     337                $(TAGS_FILES) $(LISP)
     338        tags=; \
     339        here=`pwd`; \
     340        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     341        unique=`for i in $$list; do \
     342            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     343          done | \
     344          $(AWK) '    { files[$$0] = 1; } \
     345               END { for (i in files) print i; }'`; \
     346        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     347          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     348             $$tags $$unique
     349
     350GTAGS:
     351        here=`$(am__cd) $(top_builddir) && pwd` \
     352          && cd $(top_srcdir) \
     353          && gtags -i $(GTAGS_ARGS) $$here
     354
     355distclean-tags:
     356        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     357
     358distdir: $(DISTFILES)
     359        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
     360        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     361        list='$(DISTFILES)'; for file in $$list; do \
     362          case $$file in \
     363            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
     364            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
     365          esac; \
     366          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
     367          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
     368          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
     369            dir="/$$dir"; \
     370            $(mkdir_p) "$(distdir)$$dir"; \
     371          else \
     372            dir=''; \
     373          fi; \
     374          if test -d $$d/$$file; then \
     375            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
     376              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
     377            fi; \
     378            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
     379          else \
     380            test -f $(distdir)/$$file \
     381            || cp -p $$d/$$file $(distdir)/$$file \
     382            || exit 1; \
     383          fi; \
     384        done
     385check-am: all-am
     386check: $(BUILT_SOURCES)
     387        $(MAKE) $(AM_MAKEFLAGS) check-am
     388all-am: Makefile $(LTLIBRARIES) $(HEADERS)
     389installdirs:
     390        for dir in "$(DESTDIR)$(pslibincludedir)"; do \
     391          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     392        done
     393install: $(BUILT_SOURCES)
     394        $(MAKE) $(AM_MAKEFLAGS) install-am
     395install-exec: install-exec-am
     396install-data: install-data-am
     397uninstall: uninstall-am
     398
     399install-am: all-am
     400        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     401
     402installcheck: installcheck-am
     403install-strip:
     404        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     405          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     406          `test -z '$(STRIP)' || \
     407            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     408mostlyclean-generic:
     409
     410clean-generic:
     411
     412distclean-generic:
     413        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
     414
     415maintainer-clean-generic:
     416        @echo "This command is intended for maintainers to use"
     417        @echo "it deletes files that may require special tools to rebuild."
     418        -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
     419clean: clean-am
     420
     421clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
     422        mostlyclean-am
     423
     424distclean: distclean-am
     425        -rm -rf ./$(DEPDIR)
     426        -rm -f Makefile
     427distclean-am: clean-am distclean-compile distclean-generic \
     428        distclean-libtool distclean-tags
     429
     430dvi: dvi-am
     431
     432dvi-am:
     433
     434html: html-am
     435
     436info: info-am
     437
     438info-am:
     439
     440install-data-am: install-pslibincludeHEADERS
     441
     442install-exec-am:
     443
     444install-info: install-info-am
     445
     446install-man:
     447
     448installcheck-am:
     449
     450maintainer-clean: maintainer-clean-am
     451        -rm -rf ./$(DEPDIR)
     452        -rm -f Makefile
     453maintainer-clean-am: distclean-am maintainer-clean-generic
     454
     455mostlyclean: mostlyclean-am
     456
     457mostlyclean-am: mostlyclean-compile mostlyclean-generic \
     458        mostlyclean-libtool
     459
     460pdf: pdf-am
     461
     462pdf-am:
     463
     464ps: ps-am
     465
     466ps-am:
     467
     468uninstall-am: uninstall-info-am uninstall-pslibincludeHEADERS
     469
     470.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
     471        clean-libtool clean-noinstLTLIBRARIES ctags distclean \
     472        distclean-compile distclean-generic distclean-libtool \
     473        distclean-tags distdir dvi dvi-am html html-am info info-am \
     474        install install-am install-data install-data-am install-exec \
     475        install-exec-am install-info install-info-am install-man \
     476        install-pslibincludeHEADERS install-strip installcheck \
     477        installcheck-am installdirs maintainer-clean \
     478        maintainer-clean-generic mostlyclean mostlyclean-compile \
     479        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
     480        tags uninstall uninstall-am uninstall-info-am \
     481        uninstall-pslibincludeHEADERS
     482
    18483
    19484psFileUtilsErrors.h: psFileUtilsErrors.dat
    20         perl ../parseErrorCodes.pl --data=$? $@
    21 
    22 
    23 # Rule to make static library
    24 
    25 libpslib.a:     $(OBJS)
    26 # The ar option -r is to add/replace object and -s is to create
    27 # a symbol table in the archive
    28         $(AR) rcs ../$@ $(OBJS)
    29 
    30 # Define PHONY target "install" which will install necessary files
    31 install: $(TARGET_STATIC)
    32         install $(HEADERS) $(includedir)
    33 
    34 # Define PHONY target "distclean" which will cleanup the distribution
    35 distclean:      clean
    36         $(RM) ../$(TARGET_STATIC)
    37 
    38 # Define PHONY target "clean" which will cleanup the development area
    39 clean:
    40         @echo "    Deleting intermediate files for 'fileUtils'"
    41         $(RM) $(OBJS) *.lint $(SRC_OBJS:.o=.i)
    42 
    43 cleandep:
    44         $(RM) $(OBJS:.o=.d)
    45 
    46 %.lint: %.c
    47         splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
    48 
    49 %.i: %.c
    50         $(CC) -E $(CFLAGS) -o $@ $<
    51 
    52 makedir/%.o: %.c
    53         $(CC) -c $(CFLAGS) -o $@ $<
    54 
    55 makedir/%.d: %.c
    56         $(CC) -MM $(CFLAGS) $< > $@.tmp
    57         sed 's|\($*\)\.o[ :]*|\1.o $@ : |g' $@.tmp > $@
    58         $(RM) -f $@.tmp
    59 
    60 include $(OBJS:.o=.d)
     485        perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
     486# Tell versions [3.59,3.63) of GNU make to not export all variables.
     487# Otherwise a system limit (for SysV at least) may be exceeded.
     488.NOEXPORT:
  • trunk/psLib/src/fileUtils/psFileUtilsErrors.h

    r3028 r3115  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-01-18 03:15:03 $
     9 *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-02-03 00:54:11 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2626 * DO NOT EDIT THE LINES BETWEEN //~Start and //~End!  ANY CHANGES WILL BE OVERWRITTEN.
    2727 */
    28 
    29 #define PS_ERRORNAME_DOMAIN "psLib.astronomy."
    3028
    3129//~Start #define PS_ERRORTEXT_$1 "$2"
  • trunk/psLib/src/fileUtils/psLookupTable.c

    r2725 r3115  
    77*  @author Ross Harman, MHPCC
    88*
    9 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2004-12-16 18:53:02 $
     9*  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2005-02-03 00:54:11 $
    1111*
    1212*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    455455    psU64 failedLines = 0;
    456456    FILE *fp = NULL;
    457     psElemType elemType;
     457    psElemType elemType = PS_TYPE_PTR;
    458458    psVector *indexVec = NULL;
    459459    psVector *valuesVec = NULL;
  • trunk/psLib/src/image/Makefile

    r1787 r3115  
    1 ###############################################################################
    2 ##
    3 ##  Makefile:   collections
    4 ##
    5 ##  $Revision: 1.6 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-09-11 00:43:54 $
    7 ##
    8 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    9 ###############################################################################
    10 
    11 # Define variable prefix to the top level project - psLib
    12 # This is necessary for definition is Makefile.Globals uses prefix
    13 
    14 ifndef prefix
    15     export prefix=$(shell cd ../..;pwd)
    16 endif
    17 
    18 # Define the two targets to be built
    19 
    20 TARGET_STATIC  = libpslib.a
    21 
    22 # Include the make global definitions for the project
    23 
    24 include ../Makefile.Globals
    25 
    26 # Set CFLAGS used by the implicit rule to compile .c
    27 
    28 CFLAGS := $(CFLAGS_RELOC) -I../sysUtils -I../dataManip -I../collections -I..
    29 
    30 # Define the source objects
    31  
    32 SRC_OBJS = psImage.o \
    33            psImageExtraction.o \
    34            psImageIO.o \
    35            psImageManip.o \
    36            psImageStats.o \
    37            psImageFFT.o \
    38            psImageConvolve.o
    39 
    40 OBJS = $(addprefix makedir/,$(SRC_OBJS))
    41 
    42 HEADERS = $(SRC_OBJS:.o=.h)
    43 
    44 # Define PHONY target "all" which will make all the necessary items
    45 
    46 all: $(TARGET_STATIC)
     1# Makefile.in generated by automake 1.9.1 from Makefile.am.
     2# src/image/Makefile.  Generated from Makefile.in by configure.
     3
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
     6# This Makefile.in is free software; the Free Software Foundation
     7# gives unlimited permission to copy and/or distribute it,
     8# with or without modifications, as long as this notice is preserved.
     9
     10# This program is distributed in the hope that it will be useful,
     11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     13# PARTICULAR PURPOSE.
     14
     15
     16
     17
     18SOURCES = $(libpslibimage_la_SOURCES)
     19
     20srcdir = .
     21top_srcdir = ../..
     22
     23pkgdatadir = $(datadir)/pslib
     24pkglibdir = $(libdir)/pslib
     25pkgincludedir = $(includedir)/pslib
     26top_builddir = ../..
     27am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     28INSTALL = /usr/bin/install -c
     29install_sh_DATA = $(install_sh) -c -m 644
     30install_sh_PROGRAM = $(install_sh) -c
     31install_sh_SCRIPT = $(install_sh) -c
     32INSTALL_HEADER = $(INSTALL_DATA)
     33transform = $(program_transform_name)
     34NORMAL_INSTALL = :
     35PRE_INSTALL = :
     36POST_INSTALL = :
     37NORMAL_UNINSTALL = :
     38PRE_UNINSTALL = :
     39POST_UNINSTALL = :
     40build_triplet = x86_64-unknown-linux-gnu
     41host_triplet = x86_64-unknown-linux-gnu
     42subdir = src/image
     43DIST_COMMON = $(pslibinclude_HEADERS) $(srcdir)/Makefile.am \
     44        $(srcdir)/Makefile.in
     45ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     46am__aclocal_m4_deps = $(top_srcdir)/configure.in
     47am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     48        $(ACLOCAL_M4)
     49mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     50CONFIG_HEADER = $(top_builddir)/src/config.h
     51CONFIG_CLEAN_FILES =
     52LTLIBRARIES = $(noinst_LTLIBRARIES)
     53libpslibimage_la_LIBADD =
     54am_libpslibimage_la_OBJECTS = psImage.lo psImageExtraction.lo \
     55        psImageIO.lo psImageManip.lo psImageStats.lo psImageFFT.lo \
     56        psImageConvolve.lo
     57libpslibimage_la_OBJECTS = $(am_libpslibimage_la_OBJECTS)
     58DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
     59depcomp = $(SHELL) $(top_srcdir)/depcomp
     60am__depfiles_maybe = depfiles
     61COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
     62        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     63LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
     64        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
     65        $(AM_CFLAGS) $(CFLAGS)
     66CCLD = $(CC)
     67LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
     68        $(AM_LDFLAGS) $(LDFLAGS) -o $@
     69SOURCES = $(libpslibimage_la_SOURCES)
     70DIST_SOURCES = $(libpslibimage_la_SOURCES)
     71am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     72am__vpath_adj = case $$p in \
     73    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     74    *) f=$$p;; \
     75  esac;
     76am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
     77am__installdirs = "$(DESTDIR)$(pslibincludedir)"
     78pslibincludeHEADERS_INSTALL = $(INSTALL_HEADER)
     79HEADERS = $(pslibinclude_HEADERS)
     80ETAGS = etags
     81CTAGS = ctags
     82DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     83ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
     84AMDEP_FALSE = #
     85AMDEP_TRUE =
     86AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
     87AR = ar
     88AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
     89AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
     90AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
     91AWK = gawk
     92CC = gcc
     93CCDEPMODE = depmode=gcc3
     94CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
     95CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
     96CPP = gcc -E
     97CPPFLAGS =
     98CXX = g++
     99CXXCPP = g++ -E
     100CXXDEPMODE = depmode=gcc3
     101CXXFLAGS = -g -O2
     102CYGPATH_W = echo
     103DEFS = -DHAVE_CONFIG_H
     104DEPDIR = .deps
     105ECHO = echo
     106ECHO_C =
     107ECHO_N = -n
     108ECHO_T =
     109EGREP = grep -E
     110EXEEXT =
     111F77 = g77
     112FFLAGS = -fno-second-underscore -O -fno-f2c
     113GSL_CONFIG = /usr/bin/gsl-config
     114INSTALL_DATA = ${INSTALL} -m 644
     115INSTALL_PROGRAM = ${INSTALL}
     116INSTALL_SCRIPT = ${INSTALL}
     117INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
     118LDFLAGS =
     119LIBOBJS =
     120LIBS =
     121LIBTOOL = $(SHELL) $(top_builddir)/libtool
     122LN_S = ln -s
     123LTLIBOBJS =
     124MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
     125OBJEXT = o
     126PACKAGE = pslib
     127PACKAGE_BUGREPORT =
     128PACKAGE_NAME =
     129PACKAGE_STRING =
     130PACKAGE_TARNAME =
     131PACKAGE_VERSION =
     132PATH_SEPARATOR = :
     133PERL = /usr/bin/perl
     134PSLIB_CFLAGS = -I${prefix}/include
     135PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
     136RANLIB = ranlib
     137SET_MAKE =
     138SHELL = /bin/sh
     139STRIP = strip
     140SWIG = /usr/bin/swig
     141VERSION = 1.5
     142XML_CONFIG = /usr/bin/xml2-config
     143ac_ct_AR = ar
     144ac_ct_CC = gcc
     145ac_ct_CXX = g++
     146ac_ct_F77 = g77
     147ac_ct_RANLIB = ranlib
     148ac_ct_STRIP = strip
     149am__fastdepCC_FALSE = #
     150am__fastdepCC_TRUE =
     151am__fastdepCXX_FALSE = #
     152am__fastdepCXX_TRUE =
     153am__include = include
     154am__leading_dot = .
     155am__quote =
     156am__tar = ${AMTAR} chof - "$$tardir"
     157am__untar = ${AMTAR} xf -
     158bindir = ${exec_prefix}/bin
     159build = x86_64-unknown-linux-gnu
     160build_alias =
     161build_cpu = x86_64
     162build_os = linux-gnu
     163build_vendor = unknown
     164datadir = ${prefix}/share
     165exec_prefix = ${prefix}
     166host = x86_64-unknown-linux-gnu
     167host_alias =
     168host_cpu = x86_64
     169host_os = linux-gnu
     170host_vendor = unknown
     171includedir = ${prefix}/include
     172infodir = ${prefix}/info
     173install_sh = /home/desonia/panstarrs/psLib/install-sh
     174libdir = ${exec_prefix}/lib
     175libexecdir = ${exec_prefix}/libexec
     176localstatedir = ${prefix}/var
     177mandir = ${prefix}/man
     178mkdir_p = mkdir -p --
     179oldincludedir = /usr/include
     180prefix = /home/desonia/panstarrs/psLib
     181program_transform_name = s,x,x,
     182sbindir = ${exec_prefix}/sbin
     183sharedstatedir = ${prefix}/com
     184sysconfdir = ${prefix}/etc
     185target_alias =
     186
     187#Makefile for image functions of psLib
     188#
     189INCLUDES = \
     190        -I$(top_srcdir)/src/astronomy \
     191        -I$(top_srcdir)/src/collections \
     192        -I$(top_srcdir)/src/dataManip \
     193        -I$(top_srcdir)/src/fileUtils \
     194        -I$(top_srcdir)/src/sysUtils \
     195        $(all_includes)
     196
     197noinst_LTLIBRARIES = libpslibimage.la
     198libpslibimage_la_SOURCES = \
     199        psImage.c \
     200        psImageExtraction.c \
     201        psImageIO.c \
     202        psImageManip.c \
     203        psImageStats.c \
     204        psImageFFT.c \
     205        psImageConvolve.c
     206
     207BUILT_SOURCES = psImageErrors.h
     208EXTRA_DIST = psImageErrors.dat psImageErrors.h
     209pslibincludedir = $(includedir)/pslib
     210pslibinclude_HEADERS = \
     211        psImage.h \
     212        psImageExtraction.h \
     213        psImageIO.h \
     214        psImageManip.h \
     215        psImageStats.h \
     216        psImageFFT.h \
     217        psImageConvolve.h
     218
     219all: $(BUILT_SOURCES)
     220        $(MAKE) $(AM_MAKEFLAGS) all-am
     221
     222.SUFFIXES:
     223.SUFFIXES: .c .lo .o .obj
     224$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     225        @for dep in $?; do \
     226          case '$(am__configure_deps)' in \
     227            *$$dep*) \
     228              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     229                && exit 0; \
     230              exit 1;; \
     231          esac; \
     232        done; \
     233        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/image/Makefile'; \
     234        cd $(top_srcdir) && \
     235          $(AUTOMAKE) --gnu  src/image/Makefile
     236.PRECIOUS: Makefile
     237Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     238        @case '$?' in \
     239          *config.status*) \
     240            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     241          *) \
     242            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     243            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     244        esac;
     245
     246$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     247        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     248
     249$(top_srcdir)/configure:  $(am__configure_deps)
     250        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     251$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     252        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     253
     254clean-noinstLTLIBRARIES:
     255        -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
     256        @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
     257          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
     258          test "$$dir" != "$$p" || dir=.; \
     259          echo "rm -f \"$${dir}/so_locations\""; \
     260          rm -f "$${dir}/so_locations"; \
     261        done
     262libpslibimage.la: $(libpslibimage_la_OBJECTS) $(libpslibimage_la_DEPENDENCIES)
     263        $(LINK)  $(libpslibimage_la_LDFLAGS) $(libpslibimage_la_OBJECTS) $(libpslibimage_la_LIBADD) $(LIBS)
     264
     265mostlyclean-compile:
     266        -rm -f *.$(OBJEXT)
     267
     268distclean-compile:
     269        -rm -f *.tab.c
     270
     271include ./$(DEPDIR)/psImage.Plo
     272include ./$(DEPDIR)/psImageConvolve.Plo
     273include ./$(DEPDIR)/psImageExtraction.Plo
     274include ./$(DEPDIR)/psImageFFT.Plo
     275include ./$(DEPDIR)/psImageIO.Plo
     276include ./$(DEPDIR)/psImageManip.Plo
     277include ./$(DEPDIR)/psImageStats.Plo
     278
     279.c.o:
     280        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     281        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     282#       source='$<' object='$@' libtool=no \
     283#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     284#       $(COMPILE) -c $<
     285
     286.c.obj:
     287        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     288        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     289#       source='$<' object='$@' libtool=no \
     290#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     291#       $(COMPILE) -c `$(CYGPATH_W) '$<'`
     292
     293.c.lo:
     294        if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     295        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     296#       source='$<' object='$@' libtool=yes \
     297#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     298#       $(LTCOMPILE) -c -o $@ $<
     299
     300mostlyclean-libtool:
     301        -rm -f *.lo
     302
     303clean-libtool:
     304        -rm -rf .libs _libs
     305
     306distclean-libtool:
     307        -rm -f libtool
     308uninstall-info-am:
     309install-pslibincludeHEADERS: $(pslibinclude_HEADERS)
     310        @$(NORMAL_INSTALL)
     311        test -z "$(pslibincludedir)" || $(mkdir_p) "$(DESTDIR)$(pslibincludedir)"
     312        @list='$(pslibinclude_HEADERS)'; for p in $$list; do \
     313          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     314          f=$(am__strip_dir) \
     315          echo " $(pslibincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pslibincludedir)/$$f'"; \
     316          $(pslibincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pslibincludedir)/$$f"; \
     317        done
     318
     319uninstall-pslibincludeHEADERS:
     320        @$(NORMAL_UNINSTALL)
     321        @list='$(pslibinclude_HEADERS)'; for p in $$list; do \
     322          f=$(am__strip_dir) \
     323          echo " rm -f '$(DESTDIR)$(pslibincludedir)/$$f'"; \
     324          rm -f "$(DESTDIR)$(pslibincludedir)/$$f"; \
     325        done
     326
     327ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     328        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     329        unique=`for i in $$list; do \
     330            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     331          done | \
     332          $(AWK) '    { files[$$0] = 1; } \
     333               END { for (i in files) print i; }'`; \
     334        mkid -fID $$unique
     335tags: TAGS
     336
     337TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     338                $(TAGS_FILES) $(LISP)
     339        tags=; \
     340        here=`pwd`; \
     341        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     342        unique=`for i in $$list; do \
     343            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     344          done | \
     345          $(AWK) '    { files[$$0] = 1; } \
     346               END { for (i in files) print i; }'`; \
     347        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     348          test -n "$$unique" || unique=$$empty_fix; \
     349          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     350            $$tags $$unique; \
     351        fi
     352ctags: CTAGS
     353CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     354                $(TAGS_FILES) $(LISP)
     355        tags=; \
     356        here=`pwd`; \
     357        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     358        unique=`for i in $$list; do \
     359            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     360          done | \
     361          $(AWK) '    { files[$$0] = 1; } \
     362               END { for (i in files) print i; }'`; \
     363        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     364          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     365             $$tags $$unique
     366
     367GTAGS:
     368        here=`$(am__cd) $(top_builddir) && pwd` \
     369          && cd $(top_srcdir) \
     370          && gtags -i $(GTAGS_ARGS) $$here
     371
     372distclean-tags:
     373        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     374
     375distdir: $(DISTFILES)
     376        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
     377        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     378        list='$(DISTFILES)'; for file in $$list; do \
     379          case $$file in \
     380            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
     381            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
     382          esac; \
     383          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
     384          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
     385          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
     386            dir="/$$dir"; \
     387            $(mkdir_p) "$(distdir)$$dir"; \
     388          else \
     389            dir=''; \
     390          fi; \
     391          if test -d $$d/$$file; then \
     392            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
     393              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
     394            fi; \
     395            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
     396          else \
     397            test -f $(distdir)/$$file \
     398            || cp -p $$d/$$file $(distdir)/$$file \
     399            || exit 1; \
     400          fi; \
     401        done
     402check-am: all-am
     403check: $(BUILT_SOURCES)
     404        $(MAKE) $(AM_MAKEFLAGS) check-am
     405all-am: Makefile $(LTLIBRARIES) $(HEADERS)
     406installdirs:
     407        for dir in "$(DESTDIR)$(pslibincludedir)"; do \
     408          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     409        done
     410install: $(BUILT_SOURCES)
     411        $(MAKE) $(AM_MAKEFLAGS) install-am
     412install-exec: install-exec-am
     413install-data: install-data-am
     414uninstall: uninstall-am
     415
     416install-am: all-am
     417        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     418
     419installcheck: installcheck-am
     420install-strip:
     421        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     422          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     423          `test -z '$(STRIP)' || \
     424            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     425mostlyclean-generic:
     426
     427clean-generic:
     428
     429distclean-generic:
     430        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
     431
     432maintainer-clean-generic:
     433        @echo "This command is intended for maintainers to use"
     434        @echo "it deletes files that may require special tools to rebuild."
     435        -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
     436clean: clean-am
     437
     438clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
     439        mostlyclean-am
     440
     441distclean: distclean-am
     442        -rm -rf ./$(DEPDIR)
     443        -rm -f Makefile
     444distclean-am: clean-am distclean-compile distclean-generic \
     445        distclean-libtool distclean-tags
     446
     447dvi: dvi-am
     448
     449dvi-am:
     450
     451html: html-am
     452
     453info: info-am
     454
     455info-am:
     456
     457install-data-am: install-pslibincludeHEADERS
     458
     459install-exec-am:
     460
     461install-info: install-info-am
     462
     463install-man:
     464
     465installcheck-am:
     466
     467maintainer-clean: maintainer-clean-am
     468        -rm -rf ./$(DEPDIR)
     469        -rm -f Makefile
     470maintainer-clean-am: distclean-am maintainer-clean-generic
     471
     472mostlyclean: mostlyclean-am
     473
     474mostlyclean-am: mostlyclean-compile mostlyclean-generic \
     475        mostlyclean-libtool
     476
     477pdf: pdf-am
     478
     479pdf-am:
     480
     481ps: ps-am
     482
     483ps-am:
     484
     485uninstall-am: uninstall-info-am uninstall-pslibincludeHEADERS
     486
     487.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
     488        clean-libtool clean-noinstLTLIBRARIES ctags distclean \
     489        distclean-compile distclean-generic distclean-libtool \
     490        distclean-tags distdir dvi dvi-am html html-am info info-am \
     491        install install-am install-data install-data-am install-exec \
     492        install-exec-am install-info install-info-am install-man \
     493        install-pslibincludeHEADERS install-strip installcheck \
     494        installcheck-am installdirs maintainer-clean \
     495        maintainer-clean-generic mostlyclean mostlyclean-compile \
     496        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
     497        tags uninstall uninstall-am uninstall-info-am \
     498        uninstall-pslibincludeHEADERS
     499
    47500
    48501psImageErrors.h: psImageErrors.dat
    49         perl ../parseErrorCodes.pl --data=$? $@
    50 
    51 # Rule to make static library
    52 
    53 libpslib.a: $(OBJS)
    54 # The ar option -r is to add/replace object and -s is to create
    55 # a symbol table in the archive
    56         $(AR) rcs ../$@ $(OBJS)
    57 
    58 # Define PHONY target "install" which will install necessary files
    59 
    60 install: $(TARGET_STATIC)
    61         install $(HEADERS) $(includedir)
    62 
    63 # Define PHONY target "distclean" which will cleanup the distribution
    64 
    65 distclean:      clean
    66         $(RM) ../$(TARGET_STATIC)
    67 
    68 # Define PHONY target "clean" which will cleanup the development area
    69 
    70 clean:
    71         @echo "    Deleting intermediate files for 'collections'"
    72         $(RM) $(OBJS) *.lint $(SRC_OBJS:.o=.i)
    73 
    74 cleandep:
    75         $(RM) $(OBJS:.o=.d)
    76 
    77 %.lint: %.c
    78         splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
    79 
    80 %.i: %.c
    81         $(CC) -E $(CFLAGS) -o $@ $<
    82 
    83 makedir/%.o: %.c
    84         $(CC) -c $(CFLAGS) -o $@ $<
    85 
    86 makedir/%.d: %.c
    87         $(CC) -MM $(CFLAGS) $< > $@.tmp
    88         sed 's|\($*\)\.o[ :]*|\1.o $@ : |g' $@.tmp > $@
    89         $(RM) -f $@.tmp
    90 
    91 include $(OBJS:.o=.d)
     502        perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
     503# Tell versions [3.59,3.63) of GNU make to not export all variables.
     504# Otherwise a system limit (for SysV at least) may be exceeded.
     505.NOEXPORT:
  • trunk/psLib/src/image/psImage.c

    r2970 r3115  
    99 *  @author Ross Harman, MHPCC
    1010 *
    11  *  @version $Revision: 1.57 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-01-13 03:26:23 $
     11 *  @version $Revision: 1.58 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-02-03 00:54:11 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    568568    psS32 lastX = input->numCols - 1; \
    569569    psS32 lastY = input->numRows - 1; \
    570     ps##TYPE V00; \
    571     ps##TYPE V01; \
    572     ps##TYPE V10; \
    573     ps##TYPE V11; \
     570    ps##TYPE V00 = 0; \
     571    ps##TYPE V01 = 0; \
     572    ps##TYPE V10 = 0; \
     573    ps##TYPE V11 = 0; \
    574574    psBool valid00 = false; \
    575575    psBool valid01 = false; \
     
    611611    /* OK, at least one pixel is not valid - need to do it piecemeal */ \
    612612    \
    613     psF64 V0; \
     613    psF64 V0 = 0.0; \
    614614    psBool valid0 = true; \
    615615    if (valid00 && valid10) { \
     
    623623    } \
    624624    \
    625     psF64 V1; \
     625    psF64 V1 = 0.0; \
    626626    psBool valid1 = true; \
    627627    if (valid01 && valid11) { \
     
    662662    psS32 lastX = input->numCols - 1; \
    663663    psS32 lastY = input->numRows - 1; \
    664     ps##TYPE V00; \
    665     ps##TYPE V01; \
    666     ps##TYPE V10; \
    667     ps##TYPE V11; \
     664    ps##TYPE V00 = 0; \
     665    ps##TYPE V01 = 0; \
     666    ps##TYPE V10 = 0; \
     667    ps##TYPE V11 = 0; \
    668668    psBool valid00 = false; \
    669669    psBool valid01 = false; \
     
    705705    /* OK, at least one pixel is not valid - need to do it piecemeal */ \
    706706    \
    707     psC64 V0; \
     707    psC64 V0 = 0; \
    708708    psBool valid0 = true; \
    709709    if (valid00 && valid10) { \
     
    717717    } \
    718718    \
    719     psC64 V1; \
     719    psC64 V1 = 0; \
    720720    psBool valid1 = true; \
    721721    if (valid01 && valid11) { \
  • trunk/psLib/src/image/psImage.h

    r2970 r3115  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.45 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-01-13 03:26:23 $
     13 *  @version $Revision: 1.46 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-02-03 00:54:11 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    157157 */
    158158psImage* psImageCopy(
    159     psImage* restrict output,          ///< if not NULL, a psImage that could be recycled.
     159    psImage* output,                   ///< if not NULL, a psImage that could be recycled.
    160160    const psImage* input,              ///< the psImage to copy
    161161    psElemType type                    ///< the desired datatype of the returned copy
     
    221221        psC64 unexposedValue           /**< return value if x,y location is not in image. */ \
    222222                                                     );
    223 
     223#ifndef SWIG
    224224p_psImagePixelInterpolateFcns(U8)
    225225p_psImagePixelInterpolateFcns(U16)
     
    234234p_psImagePixelInterpolateComplexFcns(C32)
    235235p_psImagePixelInterpolateComplexFcns(C64)
     236#endif
    236237
    237238/// @}
  • trunk/psLib/src/image/psImageErrors.h

    r2879 r3115  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-01-04 02:34:57 $
     9 *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-02-03 00:54:11 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2626 * DO NOT EDIT THE LINES BETWEEN //~Start and //~End!  ANY CHANGES WILL BE OVERWRITTEN.
    2727 */
    28 
    29 #define PS_ERRORNAME_DOMAIN "psLib.image."
    3028
    3129//~Start #define PS_ERRORTEXT_$1 "$2"
  • trunk/psLib/src/image/psImageExtraction.h

    r2204 r3115  
    1010*  @author Robert DeSonia, MHPCC
    1111*
    12 *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2004-10-27 00:57:31 $
     12*  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2005-02-03 00:54:11 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    128128    ///< coorsponding to the output vector's value of the same position in the
    129129    ///< vector.  This vector maybe resized and retyped as appropriate.
    130     const psImage* restrict input,     ///< the input image in which to perform the slice
    131     const psImage* restrict mask,      ///< the mask for the input image.
    132     psU32 maskVal,              ///< the mask value to apply to the mask
    133     psS32 col0,                          ///< the leftmost column of the slice region
    134     psS32 row0,                          ///< the bottommost row of the slice region
    135     psS32 col1,                          ///< exclusive end column of the slice region
    136     psS32 row1,                           ///< exclusive end row of the slice region
     130    const psImage* input,              ///< the input image in which to perform the slice
     131    const psImage* mask,               ///< the mask for the input image.
     132    psU32 maskVal,                     ///< the mask value to apply to the mask
     133    psS32 col0,                        ///< the leftmost column of the slice region
     134    psS32 row0,                        ///< the bottommost row of the slice region
     135    psS32 col1,                        ///< exclusive end column of the slice region
     136    psS32 row1,                        ///< exclusive end row of the slice region
    137137    psImageCutDirection direction,     ///< the slice dimension and direction
    138138    const psStats* stats               ///< the statistic to perform in slice operation
     
    160160    psVector* cutRows,                 ///< if not NULL, the calculated row values along the slice (output)
    161161    const psImage* input,              ///< the input image in which to perform the cut
    162     const psImage* restrict mask,      ///< the mask for the input image.
    163     psU32 maskVal,              ///< the mask value to apply to the mask
     162    const psImage* mask,               ///< the mask for the input image.
     163    psU32 maskVal,                     ///< the mask value to apply to the mask
    164164    float startCol,                    ///< the column of the start of the cut line
    165165    float startRow,                    ///< the row of the start of the cut line
    166166    float endCol,                      ///< the column of the end of the cut line
    167167    float endRow,                      ///< the row of the end of the cut line
    168     psU32 nSamples,             ///< the number of samples along the cut
     168    psU32 nSamples,                    ///< the number of samples along the cut
    169169    psImageInterpolateMode mode        ///< the interpolation method to use
    170170);
     
    186186    psVector* out,                     ///< psVector to recycle, or NULL.
    187187    const psImage* input,              ///< the input image in which to perform the cut
    188     const psImage* restrict mask,      ///< the mask for the input image.
    189     psU32 maskVal,              ///< the mask value to apply to the mask
     188    const psImage* mask,               ///< the mask for the input image.
     189    psU32 maskVal,                     ///< the mask value to apply to the mask
    190190    float centerCol,                   ///< the column of the center of the cut circle
    191191    float centerRow,                   ///< the row of the center of the cut circle
  • trunk/psLib/src/image/psImageManip.h

    r2860 r3115  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-01-03 21:58:53 $
     13 *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-02-03 00:54:11 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    101101    psImage* out,                      ///< an psImage to recycle.  If NULL, a new image is created
    102102    const psImage* in,                 ///< input image
    103     const psImage* restrict mask,      ///< mask for input image.  If NULL, no masking is done.
     103    const psImage* mask,               ///< mask for input image.  If NULL, no masking is done.
    104104    psMaskType maskVal,                ///< the bits to check in mask.
    105105    psU32 scale,                       ///< the scale to rebin for each dimension
  • trunk/psLib/src/image/psImageStats.c

    r3027 r3115  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.63 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-01-17 23:25:10 $
     11 *  @version $Revision: 1.64 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-02-03 00:54:11 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    245245            for (x = 0; x < input->numRows; x++) {
    246246                for (y = 0; y < input->numCols; y++) {
    247                     double pixel;
     247                    double pixel = 0.0;
    248248                    if (input->type.type == PS_TYPE_S8) {
    249249                        pixel = (double) input->data.S8[x][y];
  • trunk/psLib/src/imageops/psImageStats.c

    r3027 r3115  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.63 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-01-17 23:25:10 $
     11 *  @version $Revision: 1.64 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-02-03 00:54:11 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    245245            for (x = 0; x < input->numRows; x++) {
    246246                for (y = 0; y < input->numCols; y++) {
    247                     double pixel;
     247                    double pixel = 0.0;
    248248                    if (input->type.type == PS_TYPE_S8) {
    249249                        pixel = (double) input->data.S8[x][y];
  • trunk/psLib/src/math/psMinimize.c

    r3097 r3115  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.103 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-01-26 20:47:41 $
     11 *  @version $Revision: 1.104 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-02-03 00:54:10 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    9696XXX: do an F64 version?
    9797 *****************************************************************************/
    98 psF32 *CalculateSecondDerivs(const psVector* restrict x,        ///< Ordinates (or NULL to just use the indices)
    99                              const psVector* restrict y)        ///< Coordinates
     98psF32 *CalculateSecondDerivs(const psVector* x,        ///< Ordinates (or NULL to just use the indices)
     99                             const psVector* y)        ///< Coordinates
    100100{
    101101    psTrace(".psLib.dataManip.CalculateSecondDerivs", 4,
     
    167167/*
    168168psF32 p_psNRSpline1DEval(psSpline1D *spline,
    169                          const psVector* restrict x,
    170                          const psVector* restrict y,
     169                         const psVector* x,
     170                         const psVector* y,
    171171                         psF32 X)
    172172{
     
    250250XXX: Assumes mySpline->knots is psF32.  Must add psU32 and psF64.
    251251 *****************************************************************************/
    252 psSpline1D *psVectorFitSpline1D(psSpline1D *mySpline,              ///< The spline which will be generated.
    253                                 const psVector* restrict x,        ///< Ordinates (or NULL to just use the indices)
    254                                 const psVector* restrict y,        ///< Coordinates
    255                                 const psVector* restrict yErr)     ///< Errors in coordinates, or NULL
     252psSpline1D *psVectorFitSpline1D(psSpline1D *mySpline,     ///< The spline which will be generated.
     253                                const psVector* x,        ///< Ordinates (or NULL to just use the indices)
     254                                const psVector* y,        ///< Coordinates
     255                                const psVector* yErr)     ///< Errors in coordinates, or NULL
    256256{
    257257    PS_VECTOR_CHECK_NULL(y, NULL);
     
    833833*****************************************************************************/
    834834psPolynomial1D *VectorFitPolynomial1DCheby(psPolynomial1D* myPoly,
    835         const psVector* restrict x,
    836         const psVector* restrict y,
    837         const psVector* restrict yErr)
     835        const psVector* x,
     836        const psVector* y,
     837        const psVector* yErr)
    838838{
    839839    psS32 j;
     
    911911 *****************************************************************************/
    912912psPolynomial1D* VectorFitPolynomial1DOrd(psPolynomial1D* myPoly,
    913         const psVector* restrict x,
    914         const psVector* restrict y,
    915         const psVector* restrict yErr)
     913        const psVector* x,
     914        const psVector* y,
     915        const psVector* yErr)
    916916{
    917917    psS32 polyOrder = myPoly->n;
     
    10181018 *****************************************************************************/
    10191019psPolynomial1D* psVectorFitPolynomial1D(psPolynomial1D* myPoly,
    1020                                         const psVector* restrict x,
    1021                                         const psVector* restrict y,
    1022                                         const psVector* restrict yErr)
     1020                                        const psVector* x,
     1021                                        const psVector* y,
     1022                                        const psVector* yErr)
    10231023{
    10241024    PS_POLY_CHECK_NULL(myPoly, NULL);
  • trunk/psLib/src/math/psMinimize.h

    r2788 r3115  
    88 *  @author GLG, MHPCC
    99 *
    10  *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2004-12-22 05:09:32 $
     10 *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2005-02-03 00:54:10 $
    1212 *
    1313 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    6565psPolynomial1D* psVectorFitPolynomial1D(
    6666    psPolynomial1D* myPoly,            ///< Polynomial to fit
    67     const psVector* restrict x,        ///< Ordinates (or NULL to just use the indices)
    68     const psVector* restrict y,        ///< Coordinates
    69     const psVector* restrict yErr      ///< Errors in coordinates, or NULL
     67    const psVector* x,                 ///< Ordinates (or NULL to just use the indices)
     68    const psVector* y,                 ///< Coordinates
     69    const psVector* yErr               ///< Errors in coordinates, or NULL
    7070);
    7171
    72 psSpline1D *psVectorFitSpline1D(psSpline1D *mySpline,              ///< The spline which will be generated.
    73                                 const psVector* restrict x,        ///< Ordinates (or NULL to just use the indices)
    74                                 const psVector* restrict y,        ///< Coordinates
    75                                 const psVector* restrict yErr      ///< Errors in coordinates, or NULL
     72psSpline1D *psVectorFitSpline1D(psSpline1D *mySpline,     ///< The spline which will be generated.
     73                                const psVector* x,        ///< Ordinates (or NULL to just use the indices)
     74                                const psVector* y,        ///< Coordinates
     75                                const psVector* yErr      ///< Errors in coordinates, or NULL
    7676                               );
    7777
  • trunk/psLib/src/math/psPolynomial.c

    r3097 r3115  
    77 *  polynomials.  It also contains a Gaussian functions.
    88 *
    9  *  @version $Revision: 1.85 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-01-26 20:47:41 $
     9 *  @version $Revision: 1.86 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-02-03 00:54:10 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    12021202    PS_VECTOR_CHECK_TYPE(x, PS_TYPE_F32, NULL);
    12031203
    1204     psVector *tmp;
    1205     psVector *myX;
     1204    psVector *tmp = NULL;
     1205    psVector *myX = NULL;
    12061206    psS32 i;
    12071207
     
    12441244    PS_VECTOR_CHECK_TYPE(y, PS_TYPE_F32, NULL);
    12451245
    1246     psVector *tmp;
    1247     psVector *myX;
    1248     psVector *myY;
     1246    psVector *tmp = NULL;
     1247    psVector *myX = NULL;
     1248    psVector *myY = NULL;
    12491249    psS32 i;
    12501250    psS32 vecLen=x->n;
     
    13021302    PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F32, NULL);
    13031303
    1304     psVector *tmp;
    1305     psVector *myX;
    1306     psVector *myY;
    1307     psVector *myZ;
     1304    psVector *tmp = NULL;
     1305    psVector *myX = NULL;
     1306    psVector *myY = NULL;
     1307    psVector *myZ = NULL;
    13081308    psS32 i;
    13091309    psS32 vecLen=x->n;
     
    13701370    PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F32, NULL);
    13711371
    1372     psVector *tmp;
    1373     psVector *myW;
    1374     psVector *myX;
    1375     psVector *myY;
    1376     psVector *myZ;
     1372    psVector *tmp = NULL;
     1373    psVector *myW = NULL;
     1374    psVector *myX = NULL;
     1375    psVector *myY = NULL;
     1376    psVector *myZ = NULL;
    13771377    psS32 i;
    13781378    psS32 vecLen=x->n;
     
    16031603    PS_VECTOR_CHECK_TYPE(x, PS_TYPE_F64, NULL);
    16041604
    1605     psVector *tmp;
    1606     psVector *myX;
     1605    psVector *tmp = NULL;
     1606    psVector *myX = NULL;
    16071607    psS32 i;
    16081608
     
    16481648    PS_VECTOR_CHECK_TYPE(y, PS_TYPE_F64, NULL);
    16491649
    1650     psVector *tmp;
    1651     psVector *myX;
    1652     psVector *myY;
     1650    psVector *tmp = NULL;
     1651    psVector *myX = NULL;
     1652    psVector *myY = NULL;
    16531653    psS32 i;
    16541654    psS32 vecLen=x->n;
     
    17101710    PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F64, NULL);
    17111711
    1712     psVector *tmp;
    1713     psVector *myX;
    1714     psVector *myY;
    1715     psVector *myZ;
     1712    psVector *tmp = NULL;
     1713    psVector *myX = NULL;
     1714    psVector *myY = NULL;
     1715    psVector *myZ = NULL;
    17161716    psS32 i;
    17171717    psS32 vecLen=x->n;
     
    17821782    PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F64, NULL);
    17831783
    1784     psVector *tmp;
    1785     psVector *myW;
    1786     psVector *myX;
    1787     psVector *myY;
    1788     psVector *myZ;
     1784    psVector *tmp = NULL;
     1785    psVector *myW = NULL;
     1786    psVector *myX = NULL;
     1787    psVector *myY = NULL;
     1788    psVector *myZ = NULL;
    17891789    psS32 i;
    17901790    psS32 vecLen=x->n;
  • trunk/psLib/src/math/psPolynomial.h

    r3096 r3115  
    1212*  @author GLG, MHPCC
    1313*
    14 *  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
    15 *  @date $Date: 2005-01-26 20:41:04 $
     14*  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
     15*  @date $Date: 2005-02-03 00:54:10 $
    1616*
    1717*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    429429
    430430psF32 p_psNRSpline1DEval(psSpline1D *spline,
    431                          const psVector* restrict x,
    432                          const psVector* restrict y,
     431                         const psVector* x,
     432                         const psVector* y,
    433433                         psF32 X);
    434434
  • trunk/psLib/src/math/psSpline.c

    r3097 r3115  
    77 *  polynomials.  It also contains a Gaussian functions.
    88 *
    9  *  @version $Revision: 1.85 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-01-26 20:47:41 $
     9 *  @version $Revision: 1.86 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-02-03 00:54:10 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    12021202    PS_VECTOR_CHECK_TYPE(x, PS_TYPE_F32, NULL);
    12031203
    1204     psVector *tmp;
    1205     psVector *myX;
     1204    psVector *tmp = NULL;
     1205    psVector *myX = NULL;
    12061206    psS32 i;
    12071207
     
    12441244    PS_VECTOR_CHECK_TYPE(y, PS_TYPE_F32, NULL);
    12451245
    1246     psVector *tmp;
    1247     psVector *myX;
    1248     psVector *myY;
     1246    psVector *tmp = NULL;
     1247    psVector *myX = NULL;
     1248    psVector *myY = NULL;
    12491249    psS32 i;
    12501250    psS32 vecLen=x->n;
     
    13021302    PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F32, NULL);
    13031303
    1304     psVector *tmp;
    1305     psVector *myX;
    1306     psVector *myY;
    1307     psVector *myZ;
     1304    psVector *tmp = NULL;
     1305    psVector *myX = NULL;
     1306    psVector *myY = NULL;
     1307    psVector *myZ = NULL;
    13081308    psS32 i;
    13091309    psS32 vecLen=x->n;
     
    13701370    PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F32, NULL);
    13711371
    1372     psVector *tmp;
    1373     psVector *myW;
    1374     psVector *myX;
    1375     psVector *myY;
    1376     psVector *myZ;
     1372    psVector *tmp = NULL;
     1373    psVector *myW = NULL;
     1374    psVector *myX = NULL;
     1375    psVector *myY = NULL;
     1376    psVector *myZ = NULL;
    13771377    psS32 i;
    13781378    psS32 vecLen=x->n;
     
    16031603    PS_VECTOR_CHECK_TYPE(x, PS_TYPE_F64, NULL);
    16041604
    1605     psVector *tmp;
    1606     psVector *myX;
     1605    psVector *tmp = NULL;
     1606    psVector *myX = NULL;
    16071607    psS32 i;
    16081608
     
    16481648    PS_VECTOR_CHECK_TYPE(y, PS_TYPE_F64, NULL);
    16491649
    1650     psVector *tmp;
    1651     psVector *myX;
    1652     psVector *myY;
     1650    psVector *tmp = NULL;
     1651    psVector *myX = NULL;
     1652    psVector *myY = NULL;
    16531653    psS32 i;
    16541654    psS32 vecLen=x->n;
     
    17101710    PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F64, NULL);
    17111711
    1712     psVector *tmp;
    1713     psVector *myX;
    1714     psVector *myY;
    1715     psVector *myZ;
     1712    psVector *tmp = NULL;
     1713    psVector *myX = NULL;
     1714    psVector *myY = NULL;
     1715    psVector *myZ = NULL;
    17161716    psS32 i;
    17171717    psS32 vecLen=x->n;
     
    17821782    PS_VECTOR_CHECK_TYPE(z, PS_TYPE_F64, NULL);
    17831783
    1784     psVector *tmp;
    1785     psVector *myW;
    1786     psVector *myX;
    1787     psVector *myY;
    1788     psVector *myZ;
     1784    psVector *tmp = NULL;
     1785    psVector *myW = NULL;
     1786    psVector *myX = NULL;
     1787    psVector *myY = NULL;
     1788    psVector *myZ = NULL;
    17891789    psS32 i;
    17901790    psS32 vecLen=x->n;
  • trunk/psLib/src/math/psSpline.h

    r3096 r3115  
    1212*  @author GLG, MHPCC
    1313*
    14 *  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
    15 *  @date $Date: 2005-01-26 20:41:04 $
     14*  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
     15*  @date $Date: 2005-02-03 00:54:10 $
    1616*
    1717*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    429429
    430430psF32 p_psNRSpline1DEval(psSpline1D *spline,
    431                          const psVector* restrict x,
    432                          const psVector* restrict y,
     431                         const psVector* x,
     432                         const psVector* y,
    433433                         psF32 X);
    434434
  • trunk/psLib/src/math/psStats.c

    r3095 r3115  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.111 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-01-26 20:24:17 $
     11 *  @version $Revision: 1.112 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-02-03 00:54:10 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    145145this routine sets stats->sampleMean to NAN.
    146146 *****************************************************************************/
    147 psS32 p_psVectorSampleMean(const psVector* restrict myVector,
    148                            const psVector* restrict errors,
    149                            const psVector* restrict maskVector,
     147psS32 p_psVectorSampleMean(const psVector* myVector,
     148                           const psVector* errors,
     149                           const psVector* maskVector,
    150150                           psU32 maskVal,
    151151                           psStats* stats)
     
    283283this routine sets stats->max to NAN.
    284284 *****************************************************************************/
    285 psS32 p_psVectorMax(const psVector* restrict myVector,
    286                     const psVector* restrict maskVector,
     285psS32 p_psVectorMax(const psVector* myVector,
     286                    const psVector* maskVector,
    287287                    psU32 maskVal,
    288288                    psStats* stats)
     
    348348this routine sets stats->min to NAN.
    349349 *****************************************************************************/
    350 psS32 p_psVectorMin(const psVector* restrict myVector,
    351                     const psVector* restrict maskVector,
     350psS32 p_psVectorMin(const psVector* myVector,
     351                    const psVector* maskVector,
    352352                    psU32 maskVal,
    353353                    psStats* stats)
     
    414414"false".
    415415 *****************************************************************************/
    416 bool p_psVectorCheckNonEmpty(const psVector* restrict myVector,
    417                              const psVector* restrict maskVector,
     416bool p_psVectorCheckNonEmpty(const psVector* myVector,
     417                             const psVector* maskVector,
    418418                             psU32 maskVal,
    419419                             psStats* stats)
     
    462462range, if specified.
    463463 *****************************************************************************/
    464 psS32 p_psVectorNValues(const psVector* restrict myVector,
    465                         const psVector* restrict maskVector,
     464psS32 p_psVectorNValues(const psVector* myVector,
     465                        const psVector* maskVector,
    466466                        psU32 maskVal,
    467467                        psStats* stats)
     
    511511XXX: Use static vectors for sort arrays.
    512512 *****************************************************************************/
    513 bool p_psVectorSampleMedian(const psVector* restrict myVector,
    514                             const psVector* restrict maskVector,
     513bool p_psVectorSampleMedian(const psVector* myVector,
     514                            const psVector* maskVector,
    515515                            psU32 maskVal,
    516516                            psStats* stats)
     
    701701    NULL
    702702 *****************************************************************************/
    703 bool p_psVectorSampleQuartiles(const psVector* restrict myVector,
    704                                const psVector* restrict maskVector,
     703bool p_psVectorSampleQuartiles(const psVector* myVector,
     704                               const psVector* maskVector,
    705705                               psU32 maskVal,
    706706                               psStats* stats)
     
    787787 
    788788 *****************************************************************************/
    789 void p_psVectorSampleStdevOLD(const psVector* restrict myVector,
    790                               const psVector* restrict errors,
    791                               const psVector* restrict maskVector,
     789void p_psVectorSampleStdevOLD(const psVector* myVector,
     790                              const psVector* errors,
     791                              const psVector* maskVector,
    792792                              psU32 maskVal,
    793793                              psStats* stats)
     
    881881 
    882882 *****************************************************************************/
    883 void p_psVectorSampleStdev(const psVector* restrict myVector,
    884                            const psVector* restrict errors,
    885                            const psVector* restrict maskVector,
     883void p_psVectorSampleStdev(const psVector* myVector,
     884                           const psVector* errors,
     885                           const psVector* maskVector,
    886886                           psU32 maskVal,
    887887                           psStats* stats)
     
    896896    //    psF32 sum1;
    897897    //    psF32 sum2;
    898     psF32 errorDivisor;
     898    psF32 errorDivisor = 0.0f;
    899899
    900900    // This procedure requires the mean.  If it has not been already
     
    10031003    -2: warning
    10041004 *****************************************************************************/
    1005 psS32 p_psVectorClippedStats(const psVector* restrict myVector,
    1006                              const psVector* restrict errors,
    1007                              const psVector* restrict maskVector,
     1005psS32 p_psVectorClippedStats(const psVector* myVector,
     1006                             const psVector* errors,
     1007                             const psVector* maskVector,
    10081008                             psU32 maskVal,
    10091009                             psStats* stats)
     
    13311331    psPolynomial1D *myPoly = psPolynomial1DAlloc(2, PS_POLYNOMIAL_ORD);
    13321332
    1333     psF32 tmpFloat;
     1333    psF32 tmpFloat = 0.0f;
    13341334
    13351335    if ((binNum > 0) && (binNum < (yVec->n - 2))) {
     
    14251425XXX: Check for errors in psLib routines that we call.
    14261426*****************************************************************************/
    1427 psS32 p_psVectorRobustStats(const psVector* restrict myVector,
    1428                             const psVector* restrict errors,
    1429                             const psVector* restrict maskVector,
     1427psS32 p_psVectorRobustStats(const psVector* myVector,
     1428                            const psVector* errors,
     1429                            const psVector* maskVector,
    14301430                            psU32 maskVal,
    14311431                            psStats* stats)
     
    18201820    The histogram structure
    18211821 *****************************************************************************/
    1822 psHistogram* psHistogramAllocGeneric(const psVector* restrict bounds)
     1822psHistogram* psHistogramAllocGeneric(const psVector* bounds)
    18231823{
    18241824    PS_VECTOR_CHECK_NULL(bounds, NULL);
     
    18901890    psF32 boxcarRight = boxcarCenter + (boxcarWidth / 2.0);
    18911891    psS32 bin;
    1892     psS32 boxcarLeftBinNum;
    1893     psS32 boxcarRightBinNum;
     1892    psS32 boxcarLeftBinNum = 0;
     1893    psS32 boxcarRightBinNum = 0;
    18941894
    18951895    // Determine the left endpoint of the boxcar for the PDF.
     
    19611961 *****************************************************************************/
    19621962psHistogram* psVectorHistogram(psHistogram* out,
    1963                                const psVector* restrict in,
    1964                                const psVector* restrict errors,
    1965                                const psVector* restrict mask,
     1963                               const psVector* in,
     1964                               const psVector* errors,
     1965                               const psVector* mask,
    19661966                               psU32 maskVal)
    19671967{
  • trunk/psLib/src/math/psStats.h

    r2788 r3115  
    1010 *  @author George Gusciora, MHPCC
    1111 *
    12  *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2004-12-22 05:09:32 $
     12 *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2005-02-03 00:54:10 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    143143 */
    144144psHistogram* psHistogramAllocGeneric(
    145     const psVector* restrict bounds    ///< Bounds for the bins
     145    const psVector* bounds             ///< Bounds for the bins
    146146);
    147147
     
    156156psHistogram* psVectorHistogram(
    157157    psHistogram* out,                  ///< Histogram data
    158     const psVector* restrict in,       ///< Vector to analyse
    159     const psVector* restrict errors,   ///< Errors
    160     const psVector* restrict mask,     ///< Mask dat for input vector
    161     psU32 maskVal               ///< Mask value
     158    const psVector* in,                ///< Vector to analyse
     159    const psVector* errors,            ///< Errors
     160    const psVector* mask,              ///< Mask dat for input vector
     161    psU32 maskVal                      ///< Mask value
    162162);
    163163
  • trunk/psLib/src/mathtypes/psImage.c

    r2970 r3115  
    99 *  @author Ross Harman, MHPCC
    1010 *
    11  *  @version $Revision: 1.57 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-01-13 03:26:23 $
     11 *  @version $Revision: 1.58 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-02-03 00:54:11 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    568568    psS32 lastX = input->numCols - 1; \
    569569    psS32 lastY = input->numRows - 1; \
    570     ps##TYPE V00; \
    571     ps##TYPE V01; \
    572     ps##TYPE V10; \
    573     ps##TYPE V11; \
     570    ps##TYPE V00 = 0; \
     571    ps##TYPE V01 = 0; \
     572    ps##TYPE V10 = 0; \
     573    ps##TYPE V11 = 0; \
    574574    psBool valid00 = false; \
    575575    psBool valid01 = false; \
     
    611611    /* OK, at least one pixel is not valid - need to do it piecemeal */ \
    612612    \
    613     psF64 V0; \
     613    psF64 V0 = 0.0; \
    614614    psBool valid0 = true; \
    615615    if (valid00 && valid10) { \
     
    623623    } \
    624624    \
    625     psF64 V1; \
     625    psF64 V1 = 0.0; \
    626626    psBool valid1 = true; \
    627627    if (valid01 && valid11) { \
     
    662662    psS32 lastX = input->numCols - 1; \
    663663    psS32 lastY = input->numRows - 1; \
    664     ps##TYPE V00; \
    665     ps##TYPE V01; \
    666     ps##TYPE V10; \
    667     ps##TYPE V11; \
     664    ps##TYPE V00 = 0; \
     665    ps##TYPE V01 = 0; \
     666    ps##TYPE V10 = 0; \
     667    ps##TYPE V11 = 0; \
    668668    psBool valid00 = false; \
    669669    psBool valid01 = false; \
     
    705705    /* OK, at least one pixel is not valid - need to do it piecemeal */ \
    706706    \
    707     psC64 V0; \
     707    psC64 V0 = 0; \
    708708    psBool valid0 = true; \
    709709    if (valid00 && valid10) { \
     
    717717    } \
    718718    \
    719     psC64 V1; \
     719    psC64 V1 = 0; \
    720720    psBool valid1 = true; \
    721721    if (valid01 && valid11) { \
  • trunk/psLib/src/mathtypes/psImage.h

    r2970 r3115  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.45 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-01-13 03:26:23 $
     13 *  @version $Revision: 1.46 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-02-03 00:54:11 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    157157 */
    158158psImage* psImageCopy(
    159     psImage* restrict output,          ///< if not NULL, a psImage that could be recycled.
     159    psImage* output,                   ///< if not NULL, a psImage that could be recycled.
    160160    const psImage* input,              ///< the psImage to copy
    161161    psElemType type                    ///< the desired datatype of the returned copy
     
    221221        psC64 unexposedValue           /**< return value if x,y location is not in image. */ \
    222222                                                     );
    223 
     223#ifndef SWIG
    224224p_psImagePixelInterpolateFcns(U8)
    225225p_psImagePixelInterpolateFcns(U16)
     
    234234p_psImagePixelInterpolateComplexFcns(C32)
    235235p_psImagePixelInterpolateComplexFcns(C64)
     236#endif
    236237
    237238/// @}
  • trunk/psLib/src/mathtypes/psVector.c

    r2676 r3115  
    1010*  @author Robert DeSonia, MHPCC
    1111*
    12 *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2004-12-09 21:30:43 $
     12*  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2005-02-03 00:54:10 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2828#include "psCollectionsErrors.h"
    2929
    30 static void vectorFree(psVector* restrict psVec);
    31 
    32 
    33 static void vectorFree(psVector* restrict psVec)
     30static void vectorFree(psVector* psVec);
     31
     32
     33static void vectorFree(psVector* psVec)
    3434{
    3535    if (psVec == NULL) {
     
    6464}
    6565
    66 psVector* psVectorRealloc(psVector* restrict in, psU32 nalloc)
     66psVector* psVectorRealloc(psVector* in, psU32 nalloc)
    6767{
    6868    psS32 elementSize = 0;
     
    8787}
    8888
    89 psVector* psVectorRecycle(psVector* restrict in, psU32 n, psElemType type)
     89psVector* psVectorRecycle(psVector* in, psU32 n, psElemType type)
    9090{
    9191    psS32 byteSize;
     
    218218}
    219219
    220 psVector* psVectorSort(psVector* restrict outVector, const psVector* restrict inVector)
     220psVector* psVectorSort(psVector* outVector, const psVector* inVector)
    221221{
    222222    psS32 N = 0;
     
    302302}
    303303
    304 psVector* psVectorSortIndex(psVector* restrict outVector, const psVector* restrict inVector)
     304psVector* psVectorSortIndex(psVector* outVector, const psVector* inVector)
    305305{
    306306    psS32 N = 0;
  • trunk/psLib/src/mathtypes/psVector.h

    r3025 r3115  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-01-17 20:58:21 $
     13 *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-02-03 00:54:10 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    8484 */
    8585psVector* psVectorRealloc(
    86     psVector* restrict psVec,          ///< Vector to reallocate.
    87     psU32 nalloc                ///< Total number of elements to make available.
     86    psVector* psVec,                   ///< Vector to reallocate.
     87    psU32 nalloc                       ///< Total number of elements to make available.
    8888);
    8989
     
    9898 */
    9999psVector* psVectorRecycle(
    100     psVector* restrict psVec,
     100    psVector* psVec,
    101101    ///< Vector to recycle.  If NULL, a new vector is created.  No effort
    102102    ///< taken to preserve the values.
    103103
    104     psU32 nalloc,               ///< Total number of elements to make available.
     104    psU32 nalloc,                      ///< Total number of elements to make available.
    105105    psElemType type                    ///< the datatype of the returned vector
    106106);
     
    128128 */
    129129psVector* psVectorSort(
    130     psVector* restrict outVector,      ///< the output vector to recycle, or NULL if new vector desired.
    131     const psVector* restrict inVector  ///< the vector to sort.
     130    psVector* outVector,               ///< the output vector to recycle, or NULL if new vector desired.
     131    const psVector* inVector           ///< the vector to sort.
    132132);
    133133
     
    140140 */
    141141psVector* psVectorSortIndex(
    142     psVector* restrict outVector,      ///< vector to recycle
    143     const psVector* restrict inVector  ///< vector to sort
     142    psVector* outVector,               ///< vector to recycle
     143    const psVector* inVector           ///< vector to sort
    144144);
    145145
  • trunk/psLib/src/parseErrorCodes.pl

    r1807 r3115  
    5454    my @result   = ();
    5555
    56     die "Failed to open input file"
     56    die "Failed to open input file '$filename'"
    5757      if !open( INFILE, "<", $filename );
    5858
  • trunk/psLib/src/pslib.h

    r2962 r3115  
    99*  @author Eric Van Alst, MHPCC
    1010*
    11 *  @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
    12 *  @date $Date: 2005-01-12 22:17:01 $
     11*  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
     12*  @date $Date: 2005-02-03 00:54:10 $
    1313*
    1414*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2424/******************************************************************************/
    2525
    26 // System Utilities
     26// // System Utilities
    2727
    2828/// @defgroup SysUtils System Utilities
     
    130130#include "psMatrixVectorArithmetic.h"
    131131
     132#include "psRandom.h"
     133
    132134/// @defgroup Transform Fourier Transform Operations
    133135/// @ingroup DataManip
  • trunk/psLib/src/sys/psConfigure.c

    r2867 r3115  
    1212 *  @author Robert DeSonia, MHPCC
    1313 *
    14  *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2005-01-03 23:35:07 $
     14 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-02-03 00:54:11 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2222#include "psConfigure.h"
    2323#include "psSysUtilsErrors.h"
    24 
    25 
    26 #ifndef PS_LIB_VERSION
    27 #define PS_LIB_VERSION "psLib version unknown"
    28 #pragma warning PS_LIB_VERSION was not defined in the makefile.
    29 #endif
     24#include "config.h"
    3025
    3126char* psLibVersion(void)
    3227{
    33     // PS_LIB_VERSION comes from Makefile.Globals
    34     return(psStringCopy(PS_LIB_VERSION));
     28    char version[80];
     29    snprintf(version,80,"%s-v%s",PACKAGE,VERSION);
     30
     31    return(psStringCopy(version));
    3532}
    3633
  • trunk/psLib/src/sys/psError.h

    r2972 r3115  
    1212 *  @author Eric Van Alst, MHPCC
    1313 *
    14  *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2005-01-13 19:50:45 $
     14 *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-02-03 00:54:11 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    9090);
    9191
     92#ifndef SWIG
    9293/** Prints error stack to specified open file descriptor
    9394 *
     
    103104    va_list va                         ///< any parameters required in fmt
    104105);
     106#endif
    105107
    106108/** Reports an error message to the logging facility
  • trunk/psLib/src/sys/psLogMsg.h

    r2204 r3115  
    1111 *  @author George Gusciora, MHPCC
    1212 *
    13  *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2004-10-27 00:57:31 $
     13 *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-02-03 00:54:11 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    7474);
    7575
     76#ifndef SWIG
    7677/** This procedure is functionally equivalent to psLogMsg(), except that
    7778 *  it takes a va_list as the message parameter, not a printf-style string.
     
    8485    va_list ap                         ///< varargs argument list
    8586);
     87#endif
    8688
    8789///< Status codes for log messages
  • trunk/psLib/src/sys/psTrace.c

    r2600 r3115  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-12-02 21:12:52 $
     11 *  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-02-03 00:54:11 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    125125    for (i = 0; i < currentNode->n; i++) {
    126126        if (NULL == currentNode->subcomp[i]) {
    127             psLogMsg(PS_ERRORNAME_DOMAIN "p_psTraceReset", PS_LOG_WARN,
     127            psLogMsg("p_psTraceReset", PS_LOG_WARN,
    128128                     PS_ERRORTEXT_psTrace_NULL_SUBCOMPONENT,
    129129                     i, currentNode->name);
     
    327327        for (i = 0; i < currentNode->n; i++) {
    328328            if (NULL == currentNode->subcomp[i]) {
    329                 psLogMsg(PS_ERRORNAME_DOMAIN "p_psTraceReset", PS_LOG_WARN,
     329                psLogMsg("p_psTraceReset", PS_LOG_WARN,
    330330                         PS_ERRORTEXT_psTrace_NULL_SUBCOMPONENT,
    331331                         i, currentNode->name);
  • trunk/psLib/src/sys/psType.h

    r3025 r3115  
    1111*  @author Ross Harman, MHPCC
    1212*
    13 *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
    14 *  @date $Date: 2005-01-17 20:58:21 $
     13*  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
     14*  @date $Date: 2005-02-03 00:54:11 $
    1515*
    1616*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5151typedef float psF32;                   ///< 32-bit floating point
    5252typedef double psF64;                  ///< 64-bit floating point
     53#ifdef SWIG
     54typedef struct
     55{
     56    float re, im;
     57}
     58psC32;
     59typedef struct
     60{
     61    double re,im;
     62}
     63psC64;
     64#else
    5365typedef float _Complex psC32;          ///< complex with 32-bit floating point Real and Imagary numbers
    5466typedef double _Complex psC64;         ///< complex with 64-bit floating point Real and Imagary numbers
     67#endif
    5568typedef void* psPtr;                   ///< void pointer
    5669typedef bool psBool;                   ///< boolean value
  • trunk/psLib/src/sysUtils/Makefile

    r2869 r3115  
    1 ###############################################################################
    2 ##
    3 ##  Makefile:   sysUtils
    4 ##
    5 ##  $Revision: 1.24 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2005-01-03 23:41:36 $
    7 ##
    8 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    9 ###############################################################################
    10 
    11 # Define variable prefix to the top level project - psLib
    12 # This is necessary for definition is Makefile.Globals uses prefix
    13 
    14 ifndef prefix
    15     export prefix=$(shell cd ../..;pwd)
    16 endif
    17 
    18 # Define the two targets to be built
    19 
    20 TARGET_STATIC  = libpslib.a
    21 
    22 # Include the make global definitions for the project
    23 
    24 include ../Makefile.Globals
    25 
    26 # Set CFLAGS used by the implicit rule to compile .c
    27 
    28 CFLAGS := $(CFLAGS_RELOC) -DPS_LIB_VERSION="\"$(PS_LIB_VERSION)\"" -I../collections -I../dataManip -I../sysUtils -I../include -I../astronomy -I../image -I..
    29 
    30 # Define the source objects
    31 
    32 SRC_OBJS = psMemory.o     \
    33            psError.o      \
    34            psTrace.o      \
    35            psLogMsg.o     \
    36            psAbort.o      \
    37            psString.o     \
    38            psConfigure.o  \
    39            psErrorCodes.o
    40 
    41 OBJS = $(addprefix makedir/,$(SRC_OBJS))
    42 
    43 HEADERS = $(SRC_OBJS:.o=.h) psType.h
    44 
    45 # Define PHONY target "all" which will make all the necessary items
    46 
    47 all: $(TARGET_STATIC)
    48 
    49 psErrorCodes.h: ../psErrorCodes.dat
    50         perl ../parseErrorCodes.pl --data=$? $@
    51 
    52 psErrorCodes.c: ../psErrorCodes.dat
    53         perl ../parseErrorCodes.pl --data=$? $@
     1# Makefile.in generated by automake 1.9.1 from Makefile.am.
     2# src/sysUtils/Makefile.  Generated from Makefile.in by configure.
     3
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
     6# This Makefile.in is free software; the Free Software Foundation
     7# gives unlimited permission to copy and/or distribute it,
     8# with or without modifications, as long as this notice is preserved.
     9
     10# This program is distributed in the hope that it will be useful,
     11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     13# PARTICULAR PURPOSE.
     14
     15
     16
     17
     18SOURCES = $(libpslibsysUtils_la_SOURCES)
     19
     20srcdir = .
     21top_srcdir = ../..
     22
     23pkgdatadir = $(datadir)/pslib
     24pkglibdir = $(libdir)/pslib
     25pkgincludedir = $(includedir)/pslib
     26top_builddir = ../..
     27am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     28INSTALL = /usr/bin/install -c
     29install_sh_DATA = $(install_sh) -c -m 644
     30install_sh_PROGRAM = $(install_sh) -c
     31install_sh_SCRIPT = $(install_sh) -c
     32INSTALL_HEADER = $(INSTALL_DATA)
     33transform = $(program_transform_name)
     34NORMAL_INSTALL = :
     35PRE_INSTALL = :
     36POST_INSTALL = :
     37NORMAL_UNINSTALL = :
     38PRE_UNINSTALL = :
     39POST_UNINSTALL = :
     40build_triplet = x86_64-unknown-linux-gnu
     41host_triplet = x86_64-unknown-linux-gnu
     42subdir = src/sysUtils
     43DIST_COMMON = README $(pslibinclude_HEADERS) $(srcdir)/Makefile.am \
     44        $(srcdir)/Makefile.in
     45ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     46am__aclocal_m4_deps = $(top_srcdir)/configure.in
     47am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     48        $(ACLOCAL_M4)
     49mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     50CONFIG_HEADER = $(top_builddir)/src/config.h
     51CONFIG_CLEAN_FILES =
     52LTLIBRARIES = $(noinst_LTLIBRARIES)
     53libpslibsysUtils_la_LIBADD =
     54am_libpslibsysUtils_la_OBJECTS = psMemory.lo psError.lo psTrace.lo \
     55        psLogMsg.lo psAbort.lo psString.lo psConfigure.lo \
     56        psErrorCodes.lo
     57libpslibsysUtils_la_OBJECTS = $(am_libpslibsysUtils_la_OBJECTS)
     58DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
     59depcomp = $(SHELL) $(top_srcdir)/depcomp
     60am__depfiles_maybe = depfiles
     61COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
     62        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     63LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
     64        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
     65        $(AM_CFLAGS) $(CFLAGS)
     66CCLD = $(CC)
     67LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
     68        $(AM_LDFLAGS) $(LDFLAGS) -o $@
     69SOURCES = $(libpslibsysUtils_la_SOURCES)
     70DIST_SOURCES = $(libpslibsysUtils_la_SOURCES)
     71am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     72am__vpath_adj = case $$p in \
     73    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     74    *) f=$$p;; \
     75  esac;
     76am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
     77am__installdirs = "$(DESTDIR)$(pslibincludedir)"
     78pslibincludeHEADERS_INSTALL = $(INSTALL_HEADER)
     79HEADERS = $(pslibinclude_HEADERS)
     80ETAGS = etags
     81CTAGS = ctags
     82DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     83ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
     84AMDEP_FALSE = #
     85AMDEP_TRUE =
     86AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
     87AR = ar
     88AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
     89AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
     90AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
     91AWK = gawk
     92CC = gcc
     93CCDEPMODE = depmode=gcc3
     94CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
     95CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
     96CPP = gcc -E
     97CPPFLAGS =
     98CXX = g++
     99CXXCPP = g++ -E
     100CXXDEPMODE = depmode=gcc3
     101CXXFLAGS = -g -O2
     102CYGPATH_W = echo
     103DEFS = -DHAVE_CONFIG_H
     104DEPDIR = .deps
     105ECHO = echo
     106ECHO_C =
     107ECHO_N = -n
     108ECHO_T =
     109EGREP = grep -E
     110EXEEXT =
     111F77 = g77
     112FFLAGS = -fno-second-underscore -O -fno-f2c
     113GSL_CONFIG = /usr/bin/gsl-config
     114INSTALL_DATA = ${INSTALL} -m 644
     115INSTALL_PROGRAM = ${INSTALL}
     116INSTALL_SCRIPT = ${INSTALL}
     117INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
     118LDFLAGS =
     119LIBOBJS =
     120LIBS =
     121LIBTOOL = $(SHELL) $(top_builddir)/libtool
     122LN_S = ln -s
     123LTLIBOBJS =
     124MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
     125OBJEXT = o
     126PACKAGE = pslib
     127PACKAGE_BUGREPORT =
     128PACKAGE_NAME =
     129PACKAGE_STRING =
     130PACKAGE_TARNAME =
     131PACKAGE_VERSION =
     132PATH_SEPARATOR = :
     133PERL = /usr/bin/perl
     134PSLIB_CFLAGS = -I${prefix}/include
     135PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
     136RANLIB = ranlib
     137SET_MAKE =
     138SHELL = /bin/sh
     139STRIP = strip
     140SWIG = /usr/bin/swig
     141VERSION = 1.5
     142XML_CONFIG = /usr/bin/xml2-config
     143ac_ct_AR = ar
     144ac_ct_CC = gcc
     145ac_ct_CXX = g++
     146ac_ct_F77 = g77
     147ac_ct_RANLIB = ranlib
     148ac_ct_STRIP = strip
     149am__fastdepCC_FALSE = #
     150am__fastdepCC_TRUE =
     151am__fastdepCXX_FALSE = #
     152am__fastdepCXX_TRUE =
     153am__include = include
     154am__leading_dot = .
     155am__quote =
     156am__tar = ${AMTAR} chof - "$$tardir"
     157am__untar = ${AMTAR} xf -
     158bindir = ${exec_prefix}/bin
     159build = x86_64-unknown-linux-gnu
     160build_alias =
     161build_cpu = x86_64
     162build_os = linux-gnu
     163build_vendor = unknown
     164datadir = ${prefix}/share
     165exec_prefix = ${prefix}
     166host = x86_64-unknown-linux-gnu
     167host_alias =
     168host_cpu = x86_64
     169host_os = linux-gnu
     170host_vendor = unknown
     171includedir = ${prefix}/include
     172infodir = ${prefix}/info
     173install_sh = /home/desonia/panstarrs/psLib/install-sh
     174libdir = ${exec_prefix}/lib
     175libexecdir = ${exec_prefix}/libexec
     176localstatedir = ${prefix}/var
     177mandir = ${prefix}/man
     178mkdir_p = mkdir -p --
     179oldincludedir = /usr/include
     180prefix = /home/desonia/panstarrs/psLib
     181program_transform_name = s,x,x,
     182sbindir = ${exec_prefix}/sbin
     183sharedstatedir = ${prefix}/com
     184sysconfdir = ${prefix}/etc
     185target_alias =
     186
     187#Makefile for sysUtils functions of psLib
     188#
     189INCLUDES = \
     190        -I$(top_srcdir)/src/astronomy \
     191        -I$(top_srcdir)/src/collections \
     192        -I$(top_srcdir)/src/dataManip \
     193        -I$(top_srcdir)/src/fileUtils \
     194        -I$(top_srcdir)/src/image \
     195        $(all_includes)
     196
     197noinst_LTLIBRARIES = libpslibsysUtils.la
     198libpslibsysUtils_la_SOURCES = \
     199        psMemory.c     \
     200        psError.c      \
     201        psTrace.c      \
     202        psLogMsg.c     \
     203        psAbort.c      \
     204        psString.c     \
     205        psConfigure.c  \
     206        psErrorCodes.c
     207
     208BUILT_SOURCES = psSysUtilsErrors.h
     209EXTRA_DIST = psSysUtilsErrors.dat psSysUtilsErrors.h
     210pslibincludedir = $(includedir)/pslib
     211pslibinclude_HEADERS = \
     212        psType.h       \
     213        psMemory.h     \
     214        psError.h      \
     215        psTrace.h      \
     216        psLogMsg.h     \
     217        psAbort.h      \
     218        psString.h     \
     219        psConfigure.h  \
     220        psErrorCodes.h
     221
     222all: $(BUILT_SOURCES)
     223        $(MAKE) $(AM_MAKEFLAGS) all-am
     224
     225.SUFFIXES:
     226.SUFFIXES: .c .lo .o .obj
     227$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     228        @for dep in $?; do \
     229          case '$(am__configure_deps)' in \
     230            *$$dep*) \
     231              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     232                && exit 0; \
     233              exit 1;; \
     234          esac; \
     235        done; \
     236        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/sysUtils/Makefile'; \
     237        cd $(top_srcdir) && \
     238          $(AUTOMAKE) --gnu  src/sysUtils/Makefile
     239.PRECIOUS: Makefile
     240Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     241        @case '$?' in \
     242          *config.status*) \
     243            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     244          *) \
     245            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     246            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     247        esac;
     248
     249$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     250        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     251
     252$(top_srcdir)/configure:  $(am__configure_deps)
     253        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     254$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     255        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     256
     257clean-noinstLTLIBRARIES:
     258        -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
     259        @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
     260          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
     261          test "$$dir" != "$$p" || dir=.; \
     262          echo "rm -f \"$${dir}/so_locations\""; \
     263          rm -f "$${dir}/so_locations"; \
     264        done
     265libpslibsysUtils.la: $(libpslibsysUtils_la_OBJECTS) $(libpslibsysUtils_la_DEPENDENCIES)
     266        $(LINK)  $(libpslibsysUtils_la_LDFLAGS) $(libpslibsysUtils_la_OBJECTS) $(libpslibsysUtils_la_LIBADD) $(LIBS)
     267
     268mostlyclean-compile:
     269        -rm -f *.$(OBJEXT)
     270
     271distclean-compile:
     272        -rm -f *.tab.c
     273
     274include ./$(DEPDIR)/psAbort.Plo
     275include ./$(DEPDIR)/psConfigure.Plo
     276include ./$(DEPDIR)/psError.Plo
     277include ./$(DEPDIR)/psErrorCodes.Plo
     278include ./$(DEPDIR)/psLogMsg.Plo
     279include ./$(DEPDIR)/psMemory.Plo
     280include ./$(DEPDIR)/psString.Plo
     281include ./$(DEPDIR)/psTrace.Plo
     282
     283.c.o:
     284        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     285        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     286#       source='$<' object='$@' libtool=no \
     287#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     288#       $(COMPILE) -c $<
     289
     290.c.obj:
     291        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     292        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     293#       source='$<' object='$@' libtool=no \
     294#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     295#       $(COMPILE) -c `$(CYGPATH_W) '$<'`
     296
     297.c.lo:
     298        if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     299        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     300#       source='$<' object='$@' libtool=yes \
     301#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     302#       $(LTCOMPILE) -c -o $@ $<
     303
     304mostlyclean-libtool:
     305        -rm -f *.lo
     306
     307clean-libtool:
     308        -rm -rf .libs _libs
     309
     310distclean-libtool:
     311        -rm -f libtool
     312uninstall-info-am:
     313install-pslibincludeHEADERS: $(pslibinclude_HEADERS)
     314        @$(NORMAL_INSTALL)
     315        test -z "$(pslibincludedir)" || $(mkdir_p) "$(DESTDIR)$(pslibincludedir)"
     316        @list='$(pslibinclude_HEADERS)'; for p in $$list; do \
     317          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     318          f=$(am__strip_dir) \
     319          echo " $(pslibincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pslibincludedir)/$$f'"; \
     320          $(pslibincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pslibincludedir)/$$f"; \
     321        done
     322
     323uninstall-pslibincludeHEADERS:
     324        @$(NORMAL_UNINSTALL)
     325        @list='$(pslibinclude_HEADERS)'; for p in $$list; do \
     326          f=$(am__strip_dir) \
     327          echo " rm -f '$(DESTDIR)$(pslibincludedir)/$$f'"; \
     328          rm -f "$(DESTDIR)$(pslibincludedir)/$$f"; \
     329        done
     330
     331ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     332        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     333        unique=`for i in $$list; do \
     334            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     335          done | \
     336          $(AWK) '    { files[$$0] = 1; } \
     337               END { for (i in files) print i; }'`; \
     338        mkid -fID $$unique
     339tags: TAGS
     340
     341TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     342                $(TAGS_FILES) $(LISP)
     343        tags=; \
     344        here=`pwd`; \
     345        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     346        unique=`for i in $$list; do \
     347            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     348          done | \
     349          $(AWK) '    { files[$$0] = 1; } \
     350               END { for (i in files) print i; }'`; \
     351        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     352          test -n "$$unique" || unique=$$empty_fix; \
     353          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     354            $$tags $$unique; \
     355        fi
     356ctags: CTAGS
     357CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     358                $(TAGS_FILES) $(LISP)
     359        tags=; \
     360        here=`pwd`; \
     361        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     362        unique=`for i in $$list; do \
     363            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     364          done | \
     365          $(AWK) '    { files[$$0] = 1; } \
     366               END { for (i in files) print i; }'`; \
     367        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     368          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     369             $$tags $$unique
     370
     371GTAGS:
     372        here=`$(am__cd) $(top_builddir) && pwd` \
     373          && cd $(top_srcdir) \
     374          && gtags -i $(GTAGS_ARGS) $$here
     375
     376distclean-tags:
     377        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     378
     379distdir: $(DISTFILES)
     380        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
     381        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     382        list='$(DISTFILES)'; for file in $$list; do \
     383          case $$file in \
     384            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
     385            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
     386          esac; \
     387          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
     388          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
     389          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
     390            dir="/$$dir"; \
     391            $(mkdir_p) "$(distdir)$$dir"; \
     392          else \
     393            dir=''; \
     394          fi; \
     395          if test -d $$d/$$file; then \
     396            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
     397              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
     398            fi; \
     399            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
     400          else \
     401            test -f $(distdir)/$$file \
     402            || cp -p $$d/$$file $(distdir)/$$file \
     403            || exit 1; \
     404          fi; \
     405        done
     406check-am: all-am
     407check: $(BUILT_SOURCES)
     408        $(MAKE) $(AM_MAKEFLAGS) check-am
     409all-am: Makefile $(LTLIBRARIES) $(HEADERS)
     410installdirs:
     411        for dir in "$(DESTDIR)$(pslibincludedir)"; do \
     412          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     413        done
     414install: $(BUILT_SOURCES)
     415        $(MAKE) $(AM_MAKEFLAGS) install-am
     416install-exec: install-exec-am
     417install-data: install-data-am
     418uninstall: uninstall-am
     419
     420install-am: all-am
     421        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     422
     423installcheck: installcheck-am
     424install-strip:
     425        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     426          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     427          `test -z '$(STRIP)' || \
     428            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     429mostlyclean-generic:
     430
     431clean-generic:
     432
     433distclean-generic:
     434        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
     435
     436maintainer-clean-generic:
     437        @echo "This command is intended for maintainers to use"
     438        @echo "it deletes files that may require special tools to rebuild."
     439        -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
     440clean: clean-am
     441
     442clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
     443        mostlyclean-am
     444
     445distclean: distclean-am
     446        -rm -rf ./$(DEPDIR)
     447        -rm -f Makefile
     448distclean-am: clean-am distclean-compile distclean-generic \
     449        distclean-libtool distclean-tags
     450
     451dvi: dvi-am
     452
     453dvi-am:
     454
     455html: html-am
     456
     457info: info-am
     458
     459info-am:
     460
     461install-data-am: install-pslibincludeHEADERS
     462
     463install-exec-am:
     464
     465install-info: install-info-am
     466
     467install-man:
     468
     469installcheck-am:
     470
     471maintainer-clean: maintainer-clean-am
     472        -rm -rf ./$(DEPDIR)
     473        -rm -f Makefile
     474maintainer-clean-am: distclean-am maintainer-clean-generic
     475
     476mostlyclean: mostlyclean-am
     477
     478mostlyclean-am: mostlyclean-compile mostlyclean-generic \
     479        mostlyclean-libtool
     480
     481pdf: pdf-am
     482
     483pdf-am:
     484
     485ps: ps-am
     486
     487ps-am:
     488
     489uninstall-am: uninstall-info-am uninstall-pslibincludeHEADERS
     490
     491.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
     492        clean-libtool clean-noinstLTLIBRARIES ctags distclean \
     493        distclean-compile distclean-generic distclean-libtool \
     494        distclean-tags distdir dvi dvi-am html html-am info info-am \
     495        install install-am install-data install-data-am install-exec \
     496        install-exec-am install-info install-info-am install-man \
     497        install-pslibincludeHEADERS install-strip installcheck \
     498        installcheck-am installdirs maintainer-clean \
     499        maintainer-clean-generic mostlyclean mostlyclean-compile \
     500        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
     501        tags uninstall uninstall-am uninstall-info-am \
     502        uninstall-pslibincludeHEADERS
     503
    54504
    55505psSysUtilsErrors.h: psSysUtilsErrors.dat
    56         perl ../parseErrorCodes.pl --data=$? $@
    57 
    58 
    59 # Rule to make static library
    60 
    61 libpslib.a: $(OBJS)
    62 # The ar option -r is to add/replace object and -s is to create
    63 # a symbol table in the archive
    64         $(AR) rcs ../$@ $(OBJS)
    65 
    66 # Define PHONY target "install" which will install necessary files
    67 
    68 install: $(TARGET_STATIC)
    69         install $(HEADERS) $(includedir)
    70 
    71 # Define PHONY target "distclean" which will cleanup the distribution
    72 
    73 distclean:      clean
    74         $(RM) ../$(TARGET_STATIC)
    75 
    76 # Define PHONY target "clean" which will cleanup the development area
    77 
    78 clean:
    79         @echo "    Deleting intermediate files for 'sysUtils'"
    80         $(RM) $(OBJS) *.lint
    81 
    82 cleandep:
    83         $(RM) $(OBJS:.o=.d)
    84 
    85 %.lint: %.c
    86         splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
    87 
    88 makedir/%.o: %.c
    89         $(CC) -c $(CFLAGS) -o $@ $<
    90 
    91 makedir/%.d: %.c
    92         $(CC) -MM $(CFLAGS) $< > $@.tmp
    93         sed 's|\($*\)\.o[ :]*|\1.o $@ : |g' $@.tmp > $@
    94         $(RM) -f $@.tmp
    95 
    96 include $(OBJS:.o=.d)
     506        perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
     507# Tell versions [3.59,3.63) of GNU make to not export all variables.
     508# Otherwise a system limit (for SysV at least) may be exceeded.
     509.NOEXPORT:
  • trunk/psLib/src/sysUtils/psConfigure.c

    r2867 r3115  
    1212 *  @author Robert DeSonia, MHPCC
    1313 *
    14  *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2005-01-03 23:35:07 $
     14 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-02-03 00:54:11 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2222#include "psConfigure.h"
    2323#include "psSysUtilsErrors.h"
    24 
    25 
    26 #ifndef PS_LIB_VERSION
    27 #define PS_LIB_VERSION "psLib version unknown"
    28 #pragma warning PS_LIB_VERSION was not defined in the makefile.
    29 #endif
     24#include "config.h"
    3025
    3126char* psLibVersion(void)
    3227{
    33     // PS_LIB_VERSION comes from Makefile.Globals
    34     return(psStringCopy(PS_LIB_VERSION));
     28    char version[80];
     29    snprintf(version,80,"%s-v%s",PACKAGE,VERSION);
     30
     31    return(psStringCopy(version));
    3532}
    3633
  • trunk/psLib/src/sysUtils/psError.h

    r2972 r3115  
    1212 *  @author Eric Van Alst, MHPCC
    1313 *
    14  *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2005-01-13 19:50:45 $
     14 *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-02-03 00:54:11 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    9090);
    9191
     92#ifndef SWIG
    9293/** Prints error stack to specified open file descriptor
    9394 *
     
    103104    va_list va                         ///< any parameters required in fmt
    104105);
     106#endif
    105107
    106108/** Reports an error message to the logging facility
  • trunk/psLib/src/sysUtils/psLogMsg.h

    r2204 r3115  
    1111 *  @author George Gusciora, MHPCC
    1212 *
    13  *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2004-10-27 00:57:31 $
     13 *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-02-03 00:54:11 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    7474);
    7575
     76#ifndef SWIG
    7677/** This procedure is functionally equivalent to psLogMsg(), except that
    7778 *  it takes a va_list as the message parameter, not a printf-style string.
     
    8485    va_list ap                         ///< varargs argument list
    8586);
     87#endif
    8688
    8789///< Status codes for log messages
  • trunk/psLib/src/sysUtils/psSysUtilsErrors.h

    r2600 r3115  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2004-12-02 21:12:52 $
     9 *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-02-03 00:54:11 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2626 * DO NOT EDIT THE LINES BETWEEN //~Start and //~End!  ANY CHANGES WILL BE OVERWRITTEN.
    2727 */
    28 
    29 #define PS_ERRORNAME_DOMAIN "psLib.sysUtils."
    3028
    3129//~Start #define PS_ERRORTEXT_$1 "$2"
  • trunk/psLib/src/sysUtils/psTrace.c

    r2600 r3115  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-12-02 21:12:52 $
     11 *  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-02-03 00:54:11 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    125125    for (i = 0; i < currentNode->n; i++) {
    126126        if (NULL == currentNode->subcomp[i]) {
    127             psLogMsg(PS_ERRORNAME_DOMAIN "p_psTraceReset", PS_LOG_WARN,
     127            psLogMsg("p_psTraceReset", PS_LOG_WARN,
    128128                     PS_ERRORTEXT_psTrace_NULL_SUBCOMPONENT,
    129129                     i, currentNode->name);
     
    327327        for (i = 0; i < currentNode->n; i++) {
    328328            if (NULL == currentNode->subcomp[i]) {
    329                 psLogMsg(PS_ERRORNAME_DOMAIN "p_psTraceReset", PS_LOG_WARN,
     329                psLogMsg("p_psTraceReset", PS_LOG_WARN,
    330330                         PS_ERRORTEXT_psTrace_NULL_SUBCOMPONENT,
    331331                         i, currentNode->name);
  • trunk/psLib/src/sysUtils/psType.h

    r3025 r3115  
    1111*  @author Ross Harman, MHPCC
    1212*
    13 *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
    14 *  @date $Date: 2005-01-17 20:58:21 $
     13*  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
     14*  @date $Date: 2005-02-03 00:54:11 $
    1515*
    1616*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5151typedef float psF32;                   ///< 32-bit floating point
    5252typedef double psF64;                  ///< 64-bit floating point
     53#ifdef SWIG
     54typedef struct
     55{
     56    float re, im;
     57}
     58psC32;
     59typedef struct
     60{
     61    double re,im;
     62}
     63psC64;
     64#else
    5365typedef float _Complex psC32;          ///< complex with 32-bit floating point Real and Imagary numbers
    5466typedef double _Complex psC64;         ///< complex with 64-bit floating point Real and Imagary numbers
     67#endif
    5568typedef void* psPtr;                   ///< void pointer
    5669typedef bool psBool;                   ///< boolean value
  • trunk/psLib/src/types/psArray.c

    r2855 r3115  
    99 *  @author Ross Harman, MHPCC
    1010 *
    11  *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-12-30 20:18:36 $
     11 *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-02-03 00:54:10 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3333  FUNCTION IMPLEMENTATION - LOCAL
    3434 *****************************************************************************/
    35 static void arrayFree(psArray* restrict psArr);
     35static void arrayFree(psArray* psArr);
    3636
    37 static void arrayFree(psArray* restrict psArr)
     37static void arrayFree(psArray* psArr)
    3838{
    3939    if (psArr == NULL) {
     
    6666}
    6767
    68 psArray* psArrayRealloc(psArray* restrict in, psU32 nalloc)
     68psArray* psArrayRealloc(psArray* in, psU32 nalloc)
    6969{
    7070    if (in == NULL) {
     
    134134}
    135135
    136 void psArrayElementFree(psArray* restrict psArr)
     136void psArrayElementFree(psArray* psArr)
    137137{
    138138
  • trunk/psLib/src/types/psArray.h

    r2793 r3115  
    1212 *  @author Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2004-12-23 01:14:52 $
     14 *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-02-03 00:54:10 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5555 */
    5656psArray* psArrayAlloc(
    57     psU32 nalloc                ///< Total number of elements to make available.
     57    psU32 nalloc                       ///< Total number of elements to make available.
    5858);
    5959
     
    6767 */
    6868psArray* psArrayRealloc(
    69     psArray* restrict psArr,           ///< array to reallocate.
     69    psArray* psArr,                    ///< array to reallocate.
    7070    psU32 nalloc                       ///< Total number of elements to make available.
    7171);
     
    104104 */
    105105void psArrayElementFree(
    106     psArray* restrict psArr            ///< Void pointer array to destroy.
     106    psArray* psArr                     ///< Void pointer array to destroy.
    107107);
    108108
  • trunk/psLib/src/types/psBitSet.c

    r2273 r3115  
    1111 *  @author Robert DeSonia, MHPCC
    1212 *
    13  *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2004-11-04 01:04:57 $
     13 *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-02-03 00:54:10 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3838};
    3939
    40 static void bitSetFree(psBitSet* restrict inBitSet);
     40static void bitSetFree(psBitSet* inBitSet);
    4141
    4242/** Private function to create a mask.
     
    5858}
    5959
    60 static void bitSetFree(psBitSet* restrict inBitSet)
     60static void bitSetFree(psBitSet* inBitSet)
    6161{
    6262    if (inBitSet == NULL) {
     
    161161
    162162psBitSet* psBitSetOp(psBitSet* outBitSet,
    163                      const psBitSet* restrict inBitSet1,
     163                     const psBitSet* inBitSet1,
    164164                     char *operator,
    165                      const psBitSet* restrict inBitSet2)
     165                     const psBitSet* inBitSet2)
    166166{
    167167    psS32 i = 0;
     
    264264        break;
    265265    default:
    266         psAbort(PS_ERRORNAME_DOMAIN "psBitSetOp",
     266        psAbort("psBitSetOp",
    267267                "Unexpected error - operator parsed successfully but not valid?");
    268268    }
     
    272272
    273273psBitSet* psBitSetNot(psBitSet* outBitSet,
    274                       const psBitSet* restrict inBitSet)
     274                      const psBitSet* inBitSet)
    275275{
    276276    if (inBitSet == NULL) {
     
    291291}
    292292
    293 char *psBitSetToString(const psBitSet* restrict inBitSet)
     293char *psBitSetToString(const psBitSet* inBitSet)
    294294{
    295295    psS32 i = 0;
  • trunk/psLib/src/types/psBitSet.h

    r2204 r3115  
    1212 *  @author Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2004-10-27 00:57:31 $
     14 *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-02-03 00:54:10 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5656/*@null@*/
    5757psBitSet* psBitSetAlloc(
    58     psS32 n                              ///< Number of bits in psBitSet array
     58    psS32 n                            ///< Number of bits in psBitSet array
    5959);
    6060
     
    6969psBitSet* psBitSetSet(
    7070    /* @returned@ */
    71     psBitSet* restrict inMask,         ///< Pointer to psBitSet to be set.
    72     psS32 bit                            ///< Bit to be set.
     71    psBitSet* inMask,                  ///< Pointer to psBitSet to be set.
     72    psS32 bit                          ///< Bit to be set.
    7373);
    7474
     
    8383psBitSet* psBitSetClear(
    8484    /* @returned@ */
    85     psBitSet* restrict inMask,         ///< Pointer to psBitSet to be cleared.
    86     psS32 bit                            ///< Bit to be cleared.
     85    psBitSet* inMask,                  ///< Pointer to psBitSet to be cleared.
     86    psS32 bit                          ///< Bit to be cleared.
    8787);
    8888
     
    9898
    9999psBool psBitSetTest(
    100     const psBitSet* restrict inMask,   ///< Pointer psBitSet to be tested.
    101     psS32 bit                            ///< Bit to be tested.
     100    const psBitSet* inMask,            ///< Pointer psBitSet to be tested.
     101    psS32 bit                          ///< Bit to be tested.
    102102);
    103103
     
    111111psBitSet* psBitSetOp(
    112112    /* @returned@ */
    113     psBitSet* restrict outMask,        ///< Resulting psBitSet from binary operation
    114     const psBitSet* restrict inMask1,  ///< First psBitSet on which to operate
     113    psBitSet* outMask,                 ///< Resulting psBitSet from binary operation
     114    const psBitSet* inMask1,           ///< First psBitSet on which to operate
    115115    char *operator,                    ///< Bit operation
    116     const psBitSet* restrict inMask2   ///< First psBitSet on which to operate
     116    const psBitSet* inMask2            ///< First psBitSet on which to operate
    117117);
    118118
     
    126126psBitSet* psBitSetNot(
    127127    psBitSet* outBitSet,               ///< Resulting psBitSet from operation
    128     const psBitSet* restrict inBitSet  ///< Input psBitSet
     128    const psBitSet* inBitSet           ///< Input psBitSet
    129129);
    130130
     
    138138
    139139char *psBitSetToString(
    140     const psBitSet* restrict inMask    ///< psBitSet to convert */
     140    const psBitSet* inMask             ///< psBitSet to convert */
    141141);
    142142
  • trunk/psLib/src/types/psLookupTable.c

    r2725 r3115  
    77*  @author Ross Harman, MHPCC
    88*
    9 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2004-12-16 18:53:02 $
     9*  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2005-02-03 00:54:11 $
    1111*
    1212*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    455455    psU64 failedLines = 0;
    456456    FILE *fp = NULL;
    457     psElemType elemType;
     457    psElemType elemType = PS_TYPE_PTR;
    458458    psVector *indexVec = NULL;
    459459    psVector *valuesVec = NULL;
  • trunk/psLib/test/FullUnitTest

    r2204 r3115  
    1919#  RETURN : integer number of tests which failed
    2020#
    21 #  $Revision: 1.15 $  $Name: not supported by cvs2svn $
    22 #  $Date: 2004-10-27 00:57:31 $
     21#  $Revision: 1.16 $  $Name: not supported by cvs2svn $
     22#  $Date: 2005-02-03 00:54:12 $
    2323#
    2424#  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    239239            `make clean`;
    240240
    241             # Execute the make distclean
    242             `make distclean`;
    243241        }
    244242
    245243        # Execute the make and save results
    246         $_ = join( "\n|| ", split( "\n", "\n" . `make` ) );
     244        $_ = join( "\n|| ", split( "\n", "\n" . `make tests` ) );
    247245
    248246        # Check the output of make for return value != 0 or any of the
     
    276274            # Display the make was successful if silent option not set
    277275            print("\nMake successful.\n") if ( !$silent );
    278             if ($clean) {
    279                 `make install`;
    280             }
    281276        }
    282277    }
  • trunk/psLib/test/Makefile

    r2309 r3115  
    1 ##############################################################################
    2 ##
    3 ##  Makefile:   test
    4 ##
    5 ##  $Revision: 1.10 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-11-09 01:10:38 $
    7 ##
    8 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    9 ###############################################################################
    10 
    11 # Define variable prefix to the top level project - psLib
    12 # This is necessary for definition is Makefile.Globals uses prefix
    13 
    14 ifndef prefix
    15     export prefix=$(shell cd ..;pwd)
    16 endif
    17 
    18 # Define the two targets to be built
    19 
    20 TARGET_STATIC  = libpstest.a
    21 TARGET_DYNAMIC = libpstest.$(DLL)
    22 
    23 # Include the make global definitions for the project
    24 
    25 include ../src/Makefile.Globals
    26 
    27 # Set CFLAGS used by the implicit rule to compile .c
    28 
    29 CFLAGS := $(CFLAGS_RELOC) -I../include
    30 
    31 # Define the source objects
    32  
    33 SRC_OBJS = psTest.o
    34 
    35 # Define PHONY target "all" which will make all the necessary items
    36 
    37 all: $(TARGET_STATIC) $(TARGET_DYNAMIC)
    38 
    39 # Rule to make static library
    40 
    41 libpstest.a: $(SRC_OBJS)
    42 # The ar option -r is to add/replace object and -s is to create
    43 # a symbol table in the archive
    44         $(AR) rcs $@ $(SRC_OBJS)
    45 
    46 # Rule to make dynamic library
    47 
    48 libpstest.$(DLL): $(SRC_OBJS)
    49         $(CC) $(LDFLAGS_DLL) -L../lib -lpslib $(SRC_OBJS) -o $@ 
    50 
    51 # Define PHONY target "install" which will install necessary files
    52 
    53 install: $(TARGET_STATIC) $(TARGET_DYNAMIC) $(includedir) $(libexecdir) $(testbindir)
    54         install *.h $(includedir)
    55         install $(TARGET_STATIC) $(libexecdir)
    56         install $(TARGET_DYNAMIC) $(libexecdir)
    57         install FullUnitTest runTest $(testbindir)
    58         $(MAKE) --directory=collections install
    59         $(MAKE) --directory=image install
    60         $(MAKE) --directory=dataManip install
    61         $(MAKE) --directory=sysUtils install
    62         $(MAKE) --directory=astronomy install
    63         $(MAKE) --directory=fileUtils install
    64 
    65 # Define PHONY target "distclean" which will cleanup the distribution
    66 
    67 distclean:      clean
    68         $(MAKE) --directory=collections distclean
    69         $(MAKE) --directory=image distclean
    70         $(MAKE) --directory=dataManip distclean
    71         $(MAKE) --directory=sysUtils distclean
    72         $(MAKE) --directory=astronomy distclean
    73         $(MAKE) --directory=fileUtils distclean
    74         $(RM) $(TARGET_STATIC)
    75         $(RM) $(TARGET_DYNAMIC)
    76         $(RM) $(libexecdir)/$(TARGET_STATIC)
    77         $(RM) $(libexecdir)/$(TARGET_DYNAMIC)
    78 
    79 # Define PHONY target "clean" which will cleanup the development area
    80 
    81 clean:
    82         $(MAKE) --directory=collections clean
    83         $(MAKE) --directory=image clean
    84         $(MAKE) --directory=dataManip clean
    85         $(MAKE) --directory=sysUtils clean
    86         $(MAKE) --directory=astronomy clean
    87         $(MAKE) --directory=fileUtils clean
    88         @echo "    Deleting intermediate files for 'test'"
    89         $(RM) $(SRC_OBJS) *.lint
    90 
    91 %.lint: %.c
    92         splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
    93 
    94 # Rule to make include directory if needed
    95 
    96 $(includedir):
    97         mkdir -p $(includedir)
    98 
    99 # Rule to make lib directory if needed
    100 
    101 $(libexecdir):
    102         mkdir -p $(libexecdir)
    103 
    104 $(testbindir):
    105         mkdir -p $(testbindir)
    106 
     1# Makefile.in generated by automake 1.9.1 from Makefile.am.
     2# test/Makefile.  Generated from Makefile.in by configure.
     3
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
     6# This Makefile.in is free software; the Free Software Foundation
     7# gives unlimited permission to copy and/or distribute it,
     8# with or without modifications, as long as this notice is preserved.
     9
     10# This program is distributed in the hope that it will be useful,
     11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     13# PARTICULAR PURPOSE.
     14
     15
     16srcdir = .
     17top_srcdir = ..
     18
     19pkgdatadir = $(datadir)/pslib
     20pkglibdir = $(libdir)/pslib
     21pkgincludedir = $(includedir)/pslib
     22top_builddir = ..
     23am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     24INSTALL = /usr/bin/install -c
     25install_sh_DATA = $(install_sh) -c -m 644
     26install_sh_PROGRAM = $(install_sh) -c
     27install_sh_SCRIPT = $(install_sh) -c
     28INSTALL_HEADER = $(INSTALL_DATA)
     29transform = $(program_transform_name)
     30NORMAL_INSTALL = :
     31PRE_INSTALL = :
     32POST_INSTALL = :
     33NORMAL_UNINSTALL = :
     34PRE_UNINSTALL = :
     35POST_UNINSTALL = :
     36build_triplet = x86_64-unknown-linux-gnu
     37host_triplet = x86_64-unknown-linux-gnu
     38subdir = test
     39DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
     40ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     41am__aclocal_m4_deps = $(top_srcdir)/configure.in
     42am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     43        $(ACLOCAL_M4)
     44mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     45CONFIG_HEADER = $(top_builddir)/src/config.h
     46CONFIG_CLEAN_FILES =
     47SOURCES =
     48DIST_SOURCES =
     49RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
     50        html-recursive info-recursive install-data-recursive \
     51        install-exec-recursive install-info-recursive \
     52        install-recursive installcheck-recursive installdirs-recursive \
     53        pdf-recursive ps-recursive uninstall-info-recursive \
     54        uninstall-recursive
     55ETAGS = etags
     56CTAGS = ctags
     57DIST_SUBDIRS = $(SUBDIRS)
     58DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     59ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
     60AMDEP_FALSE = #
     61AMDEP_TRUE =
     62AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
     63AR = ar
     64AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
     65AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
     66AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
     67AWK = gawk
     68CC = gcc
     69CCDEPMODE = depmode=gcc3
     70CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
     71CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
     72CPP = gcc -E
     73CPPFLAGS =
     74CXX = g++
     75CXXCPP = g++ -E
     76CXXDEPMODE = depmode=gcc3
     77CXXFLAGS = -g -O2
     78CYGPATH_W = echo
     79DEFS = -DHAVE_CONFIG_H
     80DEPDIR = .deps
     81ECHO = echo
     82ECHO_C =
     83ECHO_N = -n
     84ECHO_T =
     85EGREP = grep -E
     86EXEEXT =
     87F77 = g77
     88FFLAGS = -fno-second-underscore -O -fno-f2c
     89GSL_CONFIG = /usr/bin/gsl-config
     90INSTALL_DATA = ${INSTALL} -m 644
     91INSTALL_PROGRAM = ${INSTALL}
     92INSTALL_SCRIPT = ${INSTALL}
     93INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
     94LDFLAGS =
     95LIBOBJS =
     96LIBS =
     97LIBTOOL = $(SHELL) $(top_builddir)/libtool
     98LN_S = ln -s
     99LTLIBOBJS =
     100MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
     101OBJEXT = o
     102PACKAGE = pslib
     103PACKAGE_BUGREPORT =
     104PACKAGE_NAME =
     105PACKAGE_STRING =
     106PACKAGE_TARNAME =
     107PACKAGE_VERSION =
     108PATH_SEPARATOR = :
     109PERL = /usr/bin/perl
     110PSLIB_CFLAGS = -I${prefix}/include
     111PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
     112RANLIB = ranlib
     113SET_MAKE =
     114SHELL = /bin/sh
     115STRIP = strip
     116SWIG = /usr/bin/swig
     117VERSION = 1.5
     118XML_CONFIG = /usr/bin/xml2-config
     119ac_ct_AR = ar
     120ac_ct_CC = gcc
     121ac_ct_CXX = g++
     122ac_ct_F77 = g77
     123ac_ct_RANLIB = ranlib
     124ac_ct_STRIP = strip
     125am__fastdepCC_FALSE = #
     126am__fastdepCC_TRUE =
     127am__fastdepCXX_FALSE = #
     128am__fastdepCXX_TRUE =
     129am__include = include
     130am__leading_dot = .
     131am__quote =
     132am__tar = ${AMTAR} chof - "$$tardir"
     133am__untar = ${AMTAR} xf -
     134bindir = ${exec_prefix}/bin
     135build = x86_64-unknown-linux-gnu
     136build_alias =
     137build_cpu = x86_64
     138build_os = linux-gnu
     139build_vendor = unknown
     140datadir = ${prefix}/share
     141exec_prefix = ${prefix}
     142host = x86_64-unknown-linux-gnu
     143host_alias =
     144host_cpu = x86_64
     145host_os = linux-gnu
     146host_vendor = unknown
     147includedir = ${prefix}/include
     148infodir = ${prefix}/info
     149install_sh = /home/desonia/panstarrs/psLib/install-sh
     150libdir = ${exec_prefix}/lib
     151libexecdir = ${exec_prefix}/libexec
     152localstatedir = ${prefix}/var
     153mandir = ${prefix}/man
     154mkdir_p = mkdir -p --
     155oldincludedir = /usr/include
     156prefix = /home/desonia/panstarrs/psLib
     157program_transform_name = s,x,x,
     158sbindir = ${exec_prefix}/sbin
     159sharedstatedir = ${prefix}/com
     160sysconfdir = ${prefix}/etc
     161target_alias =
     162
     163# not a GNU package. You can remove this line, if
     164# have all needed files, that a GNU package needs
     165AUTOMAKE_OPTIONS = foreign 1.4
     166SUBDIRS = astronomy collections dataManip fileUtils image sysUtils
     167EXTRA_DIST = runTest FullUnitTest
     168all: all-recursive
     169
     170.SUFFIXES:
     171$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     172        @for dep in $?; do \
     173          case '$(am__configure_deps)' in \
     174            *$$dep*) \
     175              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     176                && exit 0; \
     177              exit 1;; \
     178          esac; \
     179        done; \
     180        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  test/Makefile'; \
     181        cd $(top_srcdir) && \
     182          $(AUTOMAKE) --foreign  test/Makefile
     183.PRECIOUS: Makefile
     184Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     185        @case '$?' in \
     186          *config.status*) \
     187            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     188          *) \
     189            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     190            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     191        esac;
     192
     193$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     194        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     195
     196$(top_srcdir)/configure:  $(am__configure_deps)
     197        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     198$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     199        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     200
     201mostlyclean-libtool:
     202        -rm -f *.lo
     203
     204clean-libtool:
     205        -rm -rf .libs _libs
     206
     207distclean-libtool:
     208        -rm -f libtool
     209uninstall-info-am:
     210
     211# This directory's subdirectories are mostly independent; you can cd
     212# into them and run `make' without going through this Makefile.
     213# To change the values of `make' variables: instead of editing Makefiles,
     214# (1) if the variable is set in `config.status', edit `config.status'
     215#     (which will cause the Makefiles to be regenerated when you run `make');
     216# (2) otherwise, pass the desired values on the `make' command line.
     217$(RECURSIVE_TARGETS):
     218        @set fnord $$MAKEFLAGS; amf=$$2; \
     219        dot_seen=no; \
     220        target=`echo $@ | sed s/-recursive//`; \
     221        list='$(SUBDIRS)'; for subdir in $$list; do \
     222          echo "Making $$target in $$subdir"; \
     223          if test "$$subdir" = "."; then \
     224            dot_seen=yes; \
     225            local_target="$$target-am"; \
     226          else \
     227            local_target="$$target"; \
     228          fi; \
     229          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
     230           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
     231        done; \
     232        if test "$$dot_seen" = "no"; then \
     233          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
     234        fi; test -z "$$fail"
     235
     236mostlyclean-recursive clean-recursive distclean-recursive \
     237maintainer-clean-recursive:
     238        @set fnord $$MAKEFLAGS; amf=$$2; \
     239        dot_seen=no; \
     240        case "$@" in \
     241          distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
     242          *) list='$(SUBDIRS)' ;; \
     243        esac; \
     244        rev=''; for subdir in $$list; do \
     245          if test "$$subdir" = "."; then :; else \
     246            rev="$$subdir $$rev"; \
     247          fi; \
     248        done; \
     249        rev="$$rev ."; \
     250        target=`echo $@ | sed s/-recursive//`; \
     251        for subdir in $$rev; do \
     252          echo "Making $$target in $$subdir"; \
     253          if test "$$subdir" = "."; then \
     254            local_target="$$target-am"; \
     255          else \
     256            local_target="$$target"; \
     257          fi; \
     258          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
     259           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
     260        done && test -z "$$fail"
     261tags-recursive:
     262        list='$(SUBDIRS)'; for subdir in $$list; do \
     263          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
     264        done
     265ctags-recursive:
     266        list='$(SUBDIRS)'; for subdir in $$list; do \
     267          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
     268        done
     269
     270ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     271        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     272        unique=`for i in $$list; do \
     273            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     274          done | \
     275          $(AWK) '    { files[$$0] = 1; } \
     276               END { for (i in files) print i; }'`; \
     277        mkid -fID $$unique
     278tags: TAGS
     279
     280TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     281                $(TAGS_FILES) $(LISP)
     282        tags=; \
     283        here=`pwd`; \
     284        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
     285          include_option=--etags-include; \
     286          empty_fix=.; \
     287        else \
     288          include_option=--include; \
     289          empty_fix=; \
     290        fi; \
     291        list='$(SUBDIRS)'; for subdir in $$list; do \
     292          if test "$$subdir" = .; then :; else \
     293            test ! -f $$subdir/TAGS || \
     294              tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
     295          fi; \
     296        done; \
     297        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     298        unique=`for i in $$list; do \
     299            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     300          done | \
     301          $(AWK) '    { files[$$0] = 1; } \
     302               END { for (i in files) print i; }'`; \
     303        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     304          test -n "$$unique" || unique=$$empty_fix; \
     305          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     306            $$tags $$unique; \
     307        fi
     308ctags: CTAGS
     309CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     310                $(TAGS_FILES) $(LISP)
     311        tags=; \
     312        here=`pwd`; \
     313        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     314        unique=`for i in $$list; do \
     315            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     316          done | \
     317          $(AWK) '    { files[$$0] = 1; } \
     318               END { for (i in files) print i; }'`; \
     319        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     320          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     321             $$tags $$unique
     322
     323GTAGS:
     324        here=`$(am__cd) $(top_builddir) && pwd` \
     325          && cd $(top_srcdir) \
     326          && gtags -i $(GTAGS_ARGS) $$here
     327
     328distclean-tags:
     329        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     330
     331distdir: $(DISTFILES)
     332        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
     333        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     334        list='$(DISTFILES)'; for file in $$list; do \
     335          case $$file in \
     336            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
     337            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
     338          esac; \
     339          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
     340          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
     341          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
     342            dir="/$$dir"; \
     343            $(mkdir_p) "$(distdir)$$dir"; \
     344          else \
     345            dir=''; \
     346          fi; \
     347          if test -d $$d/$$file; then \
     348            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
     349              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
     350            fi; \
     351            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
     352          else \
     353            test -f $(distdir)/$$file \
     354            || cp -p $$d/$$file $(distdir)/$$file \
     355            || exit 1; \
     356          fi; \
     357        done
     358        list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
     359          if test "$$subdir" = .; then :; else \
     360            test -d "$(distdir)/$$subdir" \
     361            || $(mkdir_p) "$(distdir)/$$subdir" \
     362            || exit 1; \
     363            distdir=`$(am__cd) $(distdir) && pwd`; \
     364            top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
     365            (cd $$subdir && \
     366              $(MAKE) $(AM_MAKEFLAGS) \
     367                top_distdir="$$top_distdir" \
     368                distdir="$$distdir/$$subdir" \
     369                distdir) \
     370              || exit 1; \
     371          fi; \
     372        done
     373check-am: all-am
     374check: check-recursive
     375all-am: Makefile
     376installdirs: installdirs-recursive
     377installdirs-am:
     378install: install-recursive
     379install-exec: install-exec-recursive
     380install-data: install-data-recursive
     381uninstall: uninstall-recursive
     382
     383install-am: all-am
     384        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     385
     386installcheck: installcheck-recursive
     387install-strip:
     388        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     389          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     390          `test -z '$(STRIP)' || \
     391            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     392mostlyclean-generic:
     393
     394clean-generic:
     395
     396distclean-generic:
     397        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
     398
     399maintainer-clean-generic:
     400        @echo "This command is intended for maintainers to use"
     401        @echo "it deletes files that may require special tools to rebuild."
     402clean: clean-recursive
     403
     404clean-am: clean-generic clean-libtool mostlyclean-am
     405
     406distclean: distclean-recursive
     407        -rm -f Makefile
     408distclean-am: clean-am distclean-generic distclean-libtool \
     409        distclean-tags
     410
     411dvi: dvi-recursive
     412
     413dvi-am:
     414
     415html: html-recursive
     416
     417info: info-recursive
     418
     419info-am:
     420
     421install-data-am:
     422
     423install-exec-am:
     424
     425install-info: install-info-recursive
     426
     427install-man:
     428
     429installcheck-am:
     430
     431maintainer-clean: maintainer-clean-recursive
     432        -rm -f Makefile
     433maintainer-clean-am: distclean-am maintainer-clean-generic
     434
     435mostlyclean: mostlyclean-recursive
     436
     437mostlyclean-am: mostlyclean-generic mostlyclean-libtool
     438
     439pdf: pdf-recursive
     440
     441pdf-am:
     442
     443ps: ps-recursive
     444
     445ps-am:
     446
     447uninstall-am: uninstall-info-am
     448
     449uninstall-info: uninstall-info-recursive
     450
     451.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
     452        clean clean-generic clean-libtool clean-recursive ctags \
     453        ctags-recursive distclean distclean-generic distclean-libtool \
     454        distclean-recursive distclean-tags distdir dvi dvi-am html \
     455        html-am info info-am install install-am install-data \
     456        install-data-am install-exec install-exec-am install-info \
     457        install-info-am install-man install-strip installcheck \
     458        installcheck-am installdirs installdirs-am maintainer-clean \
     459        maintainer-clean-generic maintainer-clean-recursive \
     460        mostlyclean mostlyclean-generic mostlyclean-libtool \
     461        mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
     462        uninstall uninstall-am uninstall-info-am
     463
     464
     465tests:
     466# Tell versions [3.59,3.63) of GNU make to not export all variables.
     467# Otherwise a system limit (for SysV at least) may be exceeded.
     468.NOEXPORT:
  • trunk/psLib/test/astronomy/Makefile

    r3056 r3115  
    1 ################################################################################
    2 ##
    3 ##  Makefile:   test/astronomy
    4 ##
    5 ##  $Revision: 1.26 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2005-01-19 01:53:00 $
    7 ##
    8 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    9 ##
    10 ###############################################################################
    11 
    12 ifndef prefix
    13     export prefix=$(shell cd ../..;pwd)
    14 endif
    15 
    16 include ../../src/Makefile.Globals
    17 
    18 CFLAGS := -I../../include \
    19   -DTIME_XML_FILE="\"$(TIME_XML_FILE)\"" \
    20   -DTIME_CONFIG_FILE="\"$(TIME_CONFIG_FILE)\"" \
    21   $(CFLAGS)
    22 
    23 LDFLAGS := -L../../lib -lpslib -lpstest -lxml2 $(LDFLAGS)
    24 
    25 TARGET = tst_psTime_01 \
     1# Makefile.in generated by automake 1.9.1 from Makefile.am.
     2# test/astronomy/Makefile.  Generated from Makefile.in by configure.
     3
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
     6# This Makefile.in is free software; the Free Software Foundation
     7# gives unlimited permission to copy and/or distribute it,
     8# with or without modifications, as long as this notice is preserved.
     9
     10# This program is distributed in the hope that it will be useful,
     11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     13# PARTICULAR PURPOSE.
     14
     15
     16SOURCES = $(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)
     17
     18srcdir = .
     19top_srcdir = ../..
     20
     21pkgdatadir = $(datadir)/pslib
     22pkglibdir = $(libdir)/pslib
     23pkgincludedir = $(includedir)/pslib
     24top_builddir = ../..
     25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     26INSTALL = /usr/bin/install -c
     27install_sh_DATA = $(install_sh) -c -m 644
     28install_sh_PROGRAM = $(install_sh) -c
     29install_sh_SCRIPT = $(install_sh) -c
     30INSTALL_HEADER = $(INSTALL_DATA)
     31transform = $(program_transform_name)
     32NORMAL_INSTALL = :
     33PRE_INSTALL = :
     34POST_INSTALL = :
     35NORMAL_UNINSTALL = :
     36PRE_UNINSTALL = :
     37POST_UNINSTALL = :
     38build_triplet = x86_64-unknown-linux-gnu
     39host_triplet = x86_64-unknown-linux-gnu
     40check_PROGRAMS = tst_psTime_01$(EXEEXT) tst_psTime_02$(EXEEXT) \
     41        tst_psTime_03$(EXEEXT) tst_psTime_04$(EXEEXT) \
     42        tst_psMetadataIO$(EXEEXT) tst_psMetadata_01$(EXEEXT) \
     43        tst_psMetadata_02$(EXEEXT) tst_psMetadata_03$(EXEEXT) \
     44        tst_psMetadata_04$(EXEEXT) tst_psMetadata_05$(EXEEXT) \
     45        tst_psMetadata_06$(EXEEXT) tst_psMetadata_07$(EXEEXT) \
     46        tst_psAstrometry$(EXEEXT) tst_psCoord$(EXEEXT) \
     47        tst_psAstrometry01$(EXEEXT)
     48subdir = test/astronomy
     49DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
     50ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     51am__aclocal_m4_deps = $(top_srcdir)/configure.in
     52am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     53        $(ACLOCAL_M4)
     54mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     55CONFIG_HEADER = $(top_builddir)/src/config.h
     56CONFIG_CLEAN_FILES =
     57am_tst_psAstrometry_OBJECTS = tst_psAstrometry.$(OBJEXT)
     58tst_psAstrometry_OBJECTS = $(am_tst_psAstrometry_OBJECTS)
     59tst_psAstrometry_LDADD = $(LDADD)
     60am_tst_psAstrometry01_OBJECTS = tst_psAstrometry01.$(OBJEXT)
     61tst_psAstrometry01_OBJECTS = $(am_tst_psAstrometry01_OBJECTS)
     62tst_psAstrometry01_LDADD = $(LDADD)
     63am_tst_psCoord_OBJECTS = tst_psCoord.$(OBJEXT)
     64tst_psCoord_OBJECTS = $(am_tst_psCoord_OBJECTS)
     65tst_psCoord_LDADD = $(LDADD)
     66am_tst_psMetadataIO_OBJECTS = tst_psMetadataIO.$(OBJEXT)
     67tst_psMetadataIO_OBJECTS = $(am_tst_psMetadataIO_OBJECTS)
     68tst_psMetadataIO_LDADD = $(LDADD)
     69am_tst_psMetadata_01_OBJECTS = tst_psMetadata_01.$(OBJEXT)
     70tst_psMetadata_01_OBJECTS = $(am_tst_psMetadata_01_OBJECTS)
     71tst_psMetadata_01_LDADD = $(LDADD)
     72am_tst_psMetadata_02_OBJECTS = tst_psMetadata_02.$(OBJEXT)
     73tst_psMetadata_02_OBJECTS = $(am_tst_psMetadata_02_OBJECTS)
     74tst_psMetadata_02_LDADD = $(LDADD)
     75am_tst_psMetadata_03_OBJECTS = tst_psMetadata_03.$(OBJEXT)
     76tst_psMetadata_03_OBJECTS = $(am_tst_psMetadata_03_OBJECTS)
     77tst_psMetadata_03_LDADD = $(LDADD)
     78am_tst_psMetadata_04_OBJECTS = tst_psMetadata_04.$(OBJEXT)
     79tst_psMetadata_04_OBJECTS = $(am_tst_psMetadata_04_OBJECTS)
     80tst_psMetadata_04_LDADD = $(LDADD)
     81am_tst_psMetadata_05_OBJECTS = tst_psMetadata_05.$(OBJEXT)
     82tst_psMetadata_05_OBJECTS = $(am_tst_psMetadata_05_OBJECTS)
     83tst_psMetadata_05_LDADD = $(LDADD)
     84am_tst_psMetadata_06_OBJECTS = tst_psMetadata_06.$(OBJEXT)
     85tst_psMetadata_06_OBJECTS = $(am_tst_psMetadata_06_OBJECTS)
     86tst_psMetadata_06_LDADD = $(LDADD)
     87am_tst_psMetadata_07_OBJECTS = tst_psMetadata_07.$(OBJEXT)
     88tst_psMetadata_07_OBJECTS = $(am_tst_psMetadata_07_OBJECTS)
     89tst_psMetadata_07_LDADD = $(LDADD)
     90am_tst_psTime_01_OBJECTS = tst_psTime_01.$(OBJEXT)
     91tst_psTime_01_OBJECTS = $(am_tst_psTime_01_OBJECTS)
     92tst_psTime_01_LDADD = $(LDADD)
     93am_tst_psTime_02_OBJECTS = tst_psTime_02.$(OBJEXT)
     94tst_psTime_02_OBJECTS = $(am_tst_psTime_02_OBJECTS)
     95tst_psTime_02_LDADD = $(LDADD)
     96am_tst_psTime_03_OBJECTS = tst_psTime_03.$(OBJEXT)
     97tst_psTime_03_OBJECTS = $(am_tst_psTime_03_OBJECTS)
     98tst_psTime_03_LDADD = $(LDADD)
     99am_tst_psTime_04_OBJECTS = tst_psTime_04.$(OBJEXT)
     100tst_psTime_04_OBJECTS = $(am_tst_psTime_04_OBJECTS)
     101tst_psTime_04_LDADD = $(LDADD)
     102DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
     103depcomp = $(SHELL) $(top_srcdir)/depcomp
     104am__depfiles_maybe = depfiles
     105COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
     106        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     107LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
     108        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
     109        $(AM_CFLAGS) $(CFLAGS)
     110CCLD = $(CC)
     111LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
     112        $(AM_LDFLAGS) $(LDFLAGS) -o $@
     113SOURCES = $(tst_psAstrometry_SOURCES) $(tst_psAstrometry01_SOURCES) \
     114        $(tst_psCoord_SOURCES) $(tst_psMetadataIO_SOURCES) \
     115        $(tst_psMetadata_01_SOURCES) $(tst_psMetadata_02_SOURCES) \
     116        $(tst_psMetadata_03_SOURCES) $(tst_psMetadata_04_SOURCES) \
     117        $(tst_psMetadata_05_SOURCES) $(tst_psMetadata_06_SOURCES) \
     118        $(tst_psMetadata_07_SOURCES) $(tst_psTime_01_SOURCES) \
     119        $(tst_psTime_02_SOURCES) $(tst_psTime_03_SOURCES) \
     120        $(tst_psTime_04_SOURCES)
     121DIST_SOURCES = $(tst_psAstrometry_SOURCES) \
     122        $(tst_psAstrometry01_SOURCES) $(tst_psCoord_SOURCES) \
     123        $(tst_psMetadataIO_SOURCES) $(tst_psMetadata_01_SOURCES) \
     124        $(tst_psMetadata_02_SOURCES) $(tst_psMetadata_03_SOURCES) \
     125        $(tst_psMetadata_04_SOURCES) $(tst_psMetadata_05_SOURCES) \
     126        $(tst_psMetadata_06_SOURCES) $(tst_psMetadata_07_SOURCES) \
     127        $(tst_psTime_01_SOURCES) $(tst_psTime_02_SOURCES) \
     128        $(tst_psTime_03_SOURCES) $(tst_psTime_04_SOURCES)
     129ETAGS = etags
     130CTAGS = ctags
     131DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     132ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
     133AMDEP_FALSE = #
     134AMDEP_TRUE =
     135AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
     136AR = ar
     137AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
     138AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
     139AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
     140AWK = gawk
     141CC = gcc
     142CCDEPMODE = depmode=gcc3
     143CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
     144CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
     145CPP = gcc -E
     146CPPFLAGS =
     147CXX = g++
     148CXXCPP = g++ -E
     149CXXDEPMODE = depmode=gcc3
     150CXXFLAGS = -g -O2
     151CYGPATH_W = echo
     152DEFS = -DHAVE_CONFIG_H
     153DEPDIR = .deps
     154ECHO = echo
     155ECHO_C =
     156ECHO_N = -n
     157ECHO_T =
     158EGREP = grep -E
     159EXEEXT =
     160F77 = g77
     161FFLAGS = -fno-second-underscore -O -fno-f2c
     162GSL_CONFIG = /usr/bin/gsl-config
     163INSTALL_DATA = ${INSTALL} -m 644
     164INSTALL_PROGRAM = ${INSTALL}
     165INSTALL_SCRIPT = ${INSTALL}
     166INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
     167LDFLAGS =
     168LIBOBJS =
     169LIBS =
     170LIBTOOL = $(SHELL) $(top_builddir)/libtool
     171LN_S = ln -s
     172LTLIBOBJS =
     173MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
     174OBJEXT = o
     175PACKAGE = pslib
     176PACKAGE_BUGREPORT =
     177PACKAGE_NAME =
     178PACKAGE_STRING =
     179PACKAGE_TARNAME =
     180PACKAGE_VERSION =
     181PATH_SEPARATOR = :
     182PERL = /usr/bin/perl
     183PSLIB_CFLAGS = -I${prefix}/include
     184PSLIB_LIBS = `sh $(top_srcdir)/pslib-config --libs`
     185RANLIB = ranlib
     186SET_MAKE =
     187SHELL = /bin/sh
     188STRIP = strip
     189SWIG = /usr/bin/swig
     190VERSION = 1.5
     191XML_CONFIG = /usr/bin/xml2-config
     192ac_ct_AR = ar
     193ac_ct_CC = gcc
     194ac_ct_CXX = g++
     195ac_ct_F77 = g77
     196ac_ct_RANLIB = ranlib
     197ac_ct_STRIP = strip
     198am__fastdepCC_FALSE = #
     199am__fastdepCC_TRUE =
     200am__fastdepCXX_FALSE = #
     201am__fastdepCXX_TRUE =
     202am__include = include
     203am__leading_dot = .
     204am__quote =
     205am__tar = ${AMTAR} chof - "$$tardir"
     206am__untar = ${AMTAR} xf -
     207bindir = ${exec_prefix}/bin
     208build = x86_64-unknown-linux-gnu
     209build_alias =
     210build_cpu = x86_64
     211build_os = linux-gnu
     212build_vendor = unknown
     213datadir = ${prefix}/share
     214exec_prefix = ${prefix}
     215host = x86_64-unknown-linux-gnu
     216host_alias =
     217host_cpu = x86_64
     218host_os = linux-gnu
     219host_vendor = unknown
     220includedir = ${prefix}/include
     221infodir = ${prefix}/info
     222install_sh = /home/desonia/panstarrs/psLib/install-sh
     223libdir = ${exec_prefix}/lib
     224libexecdir = ${exec_prefix}/libexec
     225localstatedir = ${prefix}/var
     226mandir = ${prefix}/man
     227mkdir_p = mkdir -p --
     228oldincludedir = /usr/include
     229prefix = /home/desonia/panstarrs/psLib
     230program_transform_name = s,x,x,
     231sbindir = ${exec_prefix}/sbin
     232sharedstatedir = ${prefix}/com
     233sysconfdir = ${prefix}/etc
     234target_alias =
     235
     236#Makefile for astronomy functions of psLib
     237#
     238INCLUDES = \
     239        -I$(top_srcdir)/src \
     240        -I$(top_srcdir)/src/astronomy \
     241        -I$(top_srcdir)/src/collections \
     242        -I$(top_srcdir)/src/dataManip \
     243        -I$(top_srcdir)/src/fileUtils \
     244        -I$(top_srcdir)/src/image \
     245        -I$(top_srcdir)/src/sysUtils \
     246        $(all_includes)
     247
     248AM_LDFLAGS = $(PSLIB_LIBS) -L$(top_srcdir)/src
     249TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest
     250TESTS = tst_psTime_01 \
    26251         tst_psTime_02 \
    27252         tst_psTime_03 \
     
    39264         tst_psAstrometry01
    40265
    41 OBJS = $(addprefix builddir/,$(addsuffix .o,$(TARGET)))
    42 
    43 all: $(TARGET)
    44         sed 's|PREFIX|$(prefix)|' test.psTime.config1.template > test.psTime.config1
    45         sed 's|PREFIX|$(prefix)|' test.psTime.config2.template > test.psTime.config2
    46         sed 's|PREFIX|$(prefix)|' test.psTime.config3.template > test.psTime.config3
    47         sed 's|PREFIX|$(prefix)|' test.psTime.config4.template > test.psTime.config4
    48 
    49 clean:
    50         @echo "    Deleting executable and binary files for 'test/collections'"
    51         $(RM) $(OBJS)
    52 
    53 distclean: clean
    54         $(RM) $(TARGET)
    55 
    56 install: $(testbindir) $(testbindir)/verified $(TARGET)
    57         install test.config header_1.fits header_2.fits $(TARGET) $(testbindir)
    58         install verified/*.stderr verified/*.stdout $(testbindir)/verified
    59         install test.ser7.dat test.psTime.config1 test.psTime.config2 test.psTime.config3 test.psTime.config4 $(testbindir)
    60 
    61 $(testbindir):
    62         mkdir -p $(testbindir)
    63 
    64 $(testbindir)/verified:
    65         mkdir -p $(testbindir)/verified
    66 
     266tst_psTime_01_SOURCES = tst_psTime_01.c
     267tst_psTime_02_SOURCES = tst_psTime_02.c
     268tst_psTime_03_SOURCES = tst_psTime_03.c
     269tst_psTime_04_SOURCES = tst_psTime_04.c
     270tst_psMetadataIO_SOURCES = tst_psMetadataIO.c
     271tst_psMetadata_01_SOURCES = tst_psMetadata_01.c
     272tst_psMetadata_02_SOURCES = tst_psMetadata_02.c
     273tst_psMetadata_03_SOURCES = tst_psMetadata_03.c
     274tst_psMetadata_04_SOURCES = tst_psMetadata_04.c
     275tst_psMetadata_05_SOURCES = tst_psMetadata_05.c
     276tst_psMetadata_06_SOURCES = tst_psMetadata_06.c
     277tst_psMetadata_07_SOURCES = tst_psMetadata_07.c
     278tst_psAstrometry_SOURCES = tst_psAstrometry.c
     279tst_psCoord_SOURCES = tst_psCoord.c
     280tst_psAstrometry01_SOURCES = tst_psAstrometry01.c
     281BUILT_SOURCES = test.psTime.config1 test.psTime.config2 test.psTime.config3 test.psTime.config4
     282all: $(BUILT_SOURCES)
     283        $(MAKE) $(AM_MAKEFLAGS) all-am
     284
     285.SUFFIXES:
     286.SUFFIXES: .c .lo .o .obj
     287$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     288        @for dep in $?; do \
     289          case '$(am__configure_deps)' in \
     290            *$$dep*) \
     291              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     292                && exit 0; \
     293              exit 1;; \
     294          esac; \
     295        done; \
     296        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  test/astronomy/Makefile'; \
     297        cd $(top_srcdir) && \
     298          $(AUTOMAKE) --gnu  test/astronomy/Makefile
     299.PRECIOUS: Makefile
     300Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     301        @case '$?' in \
     302          *config.status*) \
     303            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     304          *) \
     305            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     306            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     307        esac;
     308
     309$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     310        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     311
     312$(top_srcdir)/configure:  $(am__configure_deps)
     313        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     314$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     315        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     316
     317clean-checkPROGRAMS:
     318        @list='$(check_PROGRAMS)'; for p in $$list; do \
     319          f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     320          echo " rm -f $$p $$f"; \
     321          rm -f $$p $$f ; \
     322        done
     323tst_psAstrometry$(EXEEXT): $(tst_psAstrometry_OBJECTS) $(tst_psAstrometry_DEPENDENCIES)
     324        @rm -f tst_psAstrometry$(EXEEXT)
     325        $(LINK) $(tst_psAstrometry_LDFLAGS) $(tst_psAstrometry_OBJECTS) $(tst_psAstrometry_LDADD) $(LIBS)
     326tst_psAstrometry01$(EXEEXT): $(tst_psAstrometry01_OBJECTS) $(tst_psAstrometry01_DEPENDENCIES)
     327        @rm -f tst_psAstrometry01$(EXEEXT)
     328        $(LINK) $(tst_psAstrometry01_LDFLAGS) $(tst_psAstrometry01_OBJECTS) $(tst_psAstrometry01_LDADD) $(LIBS)
     329tst_psCoord$(EXEEXT): $(tst_psCoord_OBJECTS) $(tst_psCoord_DEPENDENCIES)
     330        @rm -f tst_psCoord$(EXEEXT)
     331        $(LINK) $(tst_psCoord_LDFLAGS) $(tst_psCoord_OBJECTS) $(tst_psCoord_LDADD) $(LIBS)
     332tst_psMetadataIO$(EXEEXT): $(tst_psMetadataIO_OBJECTS) $(tst_psMetadataIO_DEPENDENCIES)
     333        @rm -f tst_psMetadataIO$(EXEEXT)
     334        $(LINK) $(tst_psMetadataIO_LDFLAGS) $(tst_psMetadataIO_OBJECTS) $(tst_psMetadataIO_LDADD) $(LIBS)
     335tst_psMetadata_01$(EXEEXT): $(tst_psMetadata_01_OBJECTS) $(tst_psMetadata_01_DEPENDENCIES)
     336        @rm -f tst_psMetadata_01$(EXEEXT)
     337        $(LINK) $(tst_psMetadata_01_LDFLAGS) $(tst_psMetadata_01_OBJECTS) $(tst_psMetadata_01_LDADD) $(LIBS)
     338tst_psMetadata_02$(EXEEXT): $(tst_psMetadata_02_OBJECTS) $(tst_psMetadata_02_DEPENDENCIES)
     339        @rm -f tst_psMetadata_02$(EXEEXT)
     340        $(LINK) $(tst_psMetadata_02_LDFLAGS) $(tst_psMetadata_02_OBJECTS) $(tst_psMetadata_02_LDADD) $(LIBS)
     341tst_psMetadata_03$(EXEEXT): $(tst_psMetadata_03_OBJECTS) $(tst_psMetadata_03_DEPENDENCIES)
     342        @rm -f tst_psMetadata_03$(EXEEXT)
     343        $(LINK) $(tst_psMetadata_03_LDFLAGS) $(tst_psMetadata_03_OBJECTS) $(tst_psMetadata_03_LDADD) $(LIBS)
     344tst_psMetadata_04$(EXEEXT): $(tst_psMetadata_04_OBJECTS) $(tst_psMetadata_04_DEPENDENCIES)
     345        @rm -f tst_psMetadata_04$(EXEEXT)
     346        $(LINK) $(tst_psMetadata_04_LDFLAGS) $(tst_psMetadata_04_OBJECTS) $(tst_psMetadata_04_LDADD) $(LIBS)
     347tst_psMetadata_05$(EXEEXT): $(tst_psMetadata_05_OBJECTS) $(tst_psMetadata_05_DEPENDENCIES)
     348        @rm -f tst_psMetadata_05$(EXEEXT)
     349        $(LINK) $(tst_psMetadata_05_LDFLAGS) $(tst_psMetadata_05_OBJECTS) $(tst_psMetadata_05_LDADD) $(LIBS)
     350tst_psMetadata_06$(EXEEXT): $(tst_psMetadata_06_OBJECTS) $(tst_psMetadata_06_DEPENDENCIES)
     351        @rm -f tst_psMetadata_06$(EXEEXT)
     352        $(LINK) $(tst_psMetadata_06_LDFLAGS) $(tst_psMetadata_06_OBJECTS) $(tst_psMetadata_06_LDADD) $(LIBS)
     353tst_psMetadata_07$(EXEEXT): $(tst_psMetadata_07_OBJECTS) $(tst_psMetadata_07_DEPENDENCIES)
     354        @rm -f tst_psMetadata_07$(EXEEXT)
     355        $(LINK) $(tst_psMetadata_07_LDFLAGS) $(tst_psMetadata_07_OBJECTS) $(tst_psMetadata_07_LDADD) $(LIBS)
     356tst_psTime_01$(EXEEXT): $(tst_psTime_01_OBJECTS) $(tst_psTime_01_DEPENDENCIES)
     357        @rm -f tst_psTime_01$(EXEEXT)
     358        $(LINK) $(tst_psTime_01_LDFLAGS) $(tst_psTime_01_OBJECTS) $(tst_psTime_01_LDADD) $(LIBS)
     359tst_psTime_02$(EXEEXT): $(tst_psTime_02_OBJECTS) $(tst_psTime_02_DEPENDENCIES)
     360        @rm -f tst_psTime_02$(EXEEXT)
     361        $(LINK) $(tst_psTime_02_LDFLAGS) $(tst_psTime_02_OBJECTS) $(tst_psTime_02_LDADD) $(LIBS)
     362tst_psTime_03$(EXEEXT): $(tst_psTime_03_OBJECTS) $(tst_psTime_03_DEPENDENCIES)
     363        @rm -f tst_psTime_03$(EXEEXT)
     364        $(LINK) $(tst_psTime_03_LDFLAGS) $(tst_psTime_03_OBJECTS) $(tst_psTime_03_LDADD) $(LIBS)
     365tst_psTime_04$(EXEEXT): $(tst_psTime_04_OBJECTS) $(tst_psTime_04_DEPENDENCIES)
     366        @rm -f tst_psTime_04$(EXEEXT)
     367        $(LINK) $(tst_psTime_04_LDFLAGS) $(tst_psTime_04_OBJECTS) $(tst_psTime_04_LDADD) $(LIBS)
     368
     369mostlyclean-compile:
     370        -rm -f *.$(OBJEXT)
     371
     372distclean-compile:
     373        -rm -f *.tab.c
     374
     375include ./$(DEPDIR)/tst_psAstrometry.Po
     376include ./$(DEPDIR)/tst_psAstrometry01.Po
     377include ./$(DEPDIR)/tst_psCoord.Po
     378include ./$(DEPDIR)/tst_psMetadataIO.Po
     379include ./$(DEPDIR)/tst_psMetadata_01.Po
     380include ./$(DEPDIR)/tst_psMetadata_02.Po
     381include ./$(DEPDIR)/tst_psMetadata_03.Po
     382include ./$(DEPDIR)/tst_psMetadata_04.Po
     383include ./$(DEPDIR)/tst_psMetadata_05.Po
     384include ./$(DEPDIR)/tst_psMetadata_06.Po
     385include ./$(DEPDIR)/tst_psMetadata_07.Po
     386include ./$(DEPDIR)/tst_psTime_01.Po
     387include ./$(DEPDIR)/tst_psTime_02.Po
     388include ./$(DEPDIR)/tst_psTime_03.Po
     389include ./$(DEPDIR)/tst_psTime_04.Po
     390
     391.c.o:
     392        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     393        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     394#       source='$<' object='$@' libtool=no \
     395#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     396#       $(COMPILE) -c $<
     397
     398.c.obj:
     399        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     400        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     401#       source='$<' object='$@' libtool=no \
     402#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     403#       $(COMPILE) -c `$(CYGPATH_W) '$<'`
     404
     405.c.lo:
     406        if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     407        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     408#       source='$<' object='$@' libtool=yes \
     409#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     410#       $(LTCOMPILE) -c -o $@ $<
     411
     412mostlyclean-libtool:
     413        -rm -f *.lo
     414
     415clean-libtool:
     416        -rm -rf .libs _libs
     417
     418distclean-libtool:
     419        -rm -f libtool
     420uninstall-info-am:
     421
     422ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     423        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     424        unique=`for i in $$list; do \
     425            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     426          done | \
     427          $(AWK) '    { files[$$0] = 1; } \
     428               END { for (i in files) print i; }'`; \
     429        mkid -fID $$unique
     430tags: TAGS
     431
     432TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     433                $(TAGS_FILES) $(LISP)
     434        tags=; \
     435        here=`pwd`; \
     436        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     437        unique=`for i in $$list; do \
     438            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     439          done | \
     440          $(AWK) '    { files[$$0] = 1; } \
     441               END { for (i in files) print i; }'`; \
     442        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     443          test -n "$$unique" || unique=$$empty_fix; \
     444          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     445            $$tags $$unique; \
     446        fi
     447ctags: CTAGS
     448CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     449                $(TAGS_FILES) $(LISP)
     450        tags=; \
     451        here=`pwd`; \
     452        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     453        unique=`for i in $$list; do \
     454            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     455          done | \
     456          $(AWK) '    { files[$$0] = 1; } \
     457               END { for (i in files) print i; }'`; \
     458        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     459          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     460             $$tags $$unique
     461
     462GTAGS:
     463        here=`$(am__cd) $(top_builddir) && pwd` \
     464          && cd $(top_srcdir) \
     465          && gtags -i $(GTAGS_ARGS) $$here
     466
     467distclean-tags:
     468        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     469
     470check-TESTS: $(TESTS)
     471        @failed=0; all=0; xfail=0; xpass=0; skip=0; \
     472        srcdir=$(srcdir); export srcdir; \
     473        list='$(TESTS)'; \
     474        if test -n "$$list"; then \
     475          for tst in $$list; do \
     476            if test -f ./$$tst; then dir=./; \
     477            elif test -f $$tst; then dir=; \
     478            else dir="$(srcdir)/"; fi; \
     479            if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
     480              all=`expr $$all + 1`; \
     481              case " $(XFAIL_TESTS) " in \
     482              *" $$tst "*) \
     483                xpass=`expr $$xpass + 1`; \
     484                failed=`expr $$failed + 1`; \
     485                echo "XPASS: $$tst"; \
     486              ;; \
     487              *) \
     488                echo "PASS: $$tst"; \
     489              ;; \
     490              esac; \
     491            elif test $$? -ne 77; then \
     492              all=`expr $$all + 1`; \
     493              case " $(XFAIL_TESTS) " in \
     494              *" $$tst "*) \
     495                xfail=`expr $$xfail + 1`; \
     496                echo "XFAIL: $$tst"; \
     497              ;; \
     498              *) \
     499                failed=`expr $$failed + 1`; \
     500                echo "FAIL: $$tst"; \
     501              ;; \
     502              esac; \
     503            else \
     504              skip=`expr $$skip + 1`; \
     505              echo "SKIP: $$tst"; \
     506            fi; \
     507          done; \
     508          if test "$$failed" -eq 0; then \
     509            if test "$$xfail" -eq 0; then \
     510              banner="All $$all tests passed"; \
     511            else \
     512              banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
     513            fi; \
     514          else \
     515            if test "$$xpass" -eq 0; then \
     516              banner="$$failed of $$all tests failed"; \
     517            else \
     518              banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
     519            fi; \
     520          fi; \
     521          dashes="$$banner"; \
     522          skipped=""; \
     523          if test "$$skip" -ne 0; then \
     524            skipped="($$skip tests were not run)"; \
     525            test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
     526              dashes="$$skipped"; \
     527          fi; \
     528          report=""; \
     529          if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
     530            report="Please report to $(PACKAGE_BUGREPORT)"; \
     531            test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
     532              dashes="$$report"; \
     533          fi; \
     534          dashes=`echo "$$dashes" | sed s/./=/g`; \
     535          echo "$$dashes"; \
     536          echo "$$banner"; \
     537          test -z "$$skipped" || echo "$$skipped"; \
     538          test -z "$$report" || echo "$$report"; \
     539          echo "$$dashes"; \
     540          test "$$failed" -eq 0; \
     541        else :; fi
     542
     543distdir: $(DISTFILES)
     544        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
     545        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     546        list='$(DISTFILES)'; for file in $$list; do \
     547          case $$file in \
     548            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
     549            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
     550          esac; \
     551          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
     552          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
     553          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
     554            dir="/$$dir"; \
     555            $(mkdir_p) "$(distdir)$$dir"; \
     556          else \
     557            dir=''; \
     558          fi; \
     559          if test -d $$d/$$file; then \
     560            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
     561              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
     562            fi; \
     563            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
     564          else \
     565            test -f $(distdir)/$$file \
     566            || cp -p $$d/$$file $(distdir)/$$file \
     567            || exit 1; \
     568          fi; \
     569        done
     570check-am: all-am
     571        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
     572        $(MAKE) $(AM_MAKEFLAGS) check-TESTS
     573check: $(BUILT_SOURCES)
     574        $(MAKE) $(AM_MAKEFLAGS) check-am
     575all-am: Makefile
     576installdirs:
     577install: $(BUILT_SOURCES)
     578        $(MAKE) $(AM_MAKEFLAGS) install-am
     579install-exec: install-exec-am
     580install-data: install-data-am
     581uninstall: uninstall-am
     582
     583install-am: all-am
     584        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     585
     586installcheck: installcheck-am
     587install-strip:
     588        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     589          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     590          `test -z '$(STRIP)' || \
     591            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     592mostlyclean-generic:
     593
     594clean-generic:
     595
     596distclean-generic:
     597        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
     598
     599maintainer-clean-generic:
     600        @echo "This command is intended for maintainers to use"
     601        @echo "it deletes files that may require special tools to rebuild."
     602        -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
     603clean: clean-am
     604
     605clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
     606        mostlyclean-am
     607
     608distclean: distclean-am
     609        -rm -rf ./$(DEPDIR)
     610        -rm -f Makefile
     611distclean-am: clean-am distclean-compile distclean-generic \
     612        distclean-libtool distclean-tags
     613
     614dvi: dvi-am
     615
     616dvi-am:
     617
     618html: html-am
     619
     620info: info-am
     621
     622info-am:
     623
     624install-data-am:
     625
     626install-exec-am:
     627
     628install-info: install-info-am
     629
     630install-man:
     631
     632installcheck-am:
     633
     634maintainer-clean: maintainer-clean-am
     635        -rm -rf ./$(DEPDIR)
     636        -rm -f Makefile
     637maintainer-clean-am: distclean-am maintainer-clean-generic
     638
     639mostlyclean: mostlyclean-am
     640
     641mostlyclean-am: mostlyclean-compile mostlyclean-generic \
     642        mostlyclean-libtool
     643
     644pdf: pdf-am
     645
     646pdf-am:
     647
     648ps: ps-am
     649
     650ps-am:
     651
     652uninstall-am: uninstall-info-am
     653
     654.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
     655        clean-checkPROGRAMS clean-generic clean-libtool ctags \
     656        distclean distclean-compile distclean-generic \
     657        distclean-libtool distclean-tags distdir dvi dvi-am html \
     658        html-am info info-am install install-am install-data \
     659        install-data-am install-exec install-exec-am install-info \
     660        install-info-am install-man install-strip installcheck \
     661        installcheck-am installdirs maintainer-clean \
     662        maintainer-clean-generic mostlyclean mostlyclean-compile \
     663        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
     664        tags uninstall uninstall-am uninstall-info-am
     665
     666tests: $(TESTS)
     667
     668test.psTime.config1: test.psTime.config1.template
     669        sed 's|PREFIX|$(prefix)|' $? > $@
     670
     671test.psTime.config2: test.psTime.config2.template
     672        sed 's|PREFIX|$(prefix)|' $? > $@
     673
     674test.psTime.config3: test.psTime.config3.template
     675        sed 's|PREFIX|$(prefix)|' $? > $@
     676
     677test.psTime.config4: test.psTime.config4.template
     678        sed 's|PREFIX|$(prefix)|' $? > $@
     679# Tell versions [3.59,3.63) of GNU make to not export all variables.
     680# Otherwise a system limit (for SysV at least) may be exceeded.
     681.NOEXPORT:
  • trunk/psLib/test/astronomy/test.psTime.config2

    r3056 r3115  
    11# This configuration file specifies values required for time calculations by psLib.
    2 psLib.time.tables.dir STR /home/desonia/psLib/data                                                    # Directory for time tables
     2psLib.time.tables.dir STR /home/desonia/panstarrs/psLib/data                                                    # Directory for time tables
    33psLib.time.tables.n S32 4                                                               # Number of time tables
    44psLib.time.tables.files STR eopc01_1900_2004.dat finals_all.dat tai_utc.dat    # These are the table file names
  • trunk/psLib/test/astronomy/test.psTime.config3

    r3056 r3115  
    11# This configuration file specifies values required for time calculations by psLib.
    2 psLib.time.tables.dir STR /home/desonia/psLib/data                                                    # Directory for time tables
     2psLib.time.tables.dir STR /home/desonia/panstarrs/psLib/data                                                    # Directory for time tables
    33psLib.time.tables.n S32 4                                                               # Number of time tables
    44psLib.time.tables.files STR ser7.dat eopc01_1900_2004.dat finals_all.dat tai_utc.dat    # These are the table file names
  • trunk/psLib/test/astronomy/tst_psMetadataIO.c

    r3107 r3115  
    1313*  @author  Ross Harman, MHPCC
    1414*
    15 *  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
    16 *  @date  $Date: 2005-02-02 20:20:55 $
     15*  @version $Revision: 1.8 $  $Name: not supported by cvs2svn $
     16*  @date  $Date: 2005-02-03 00:54:12 $
    1717*
    1818*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2020*/
    2121
     22#include <string.h>
    2223#include "pslib.h"
    2324#include "psTest.h"
    24 #include <string.h>
    2525
    2626static void printMetadataItem(psMetadataItem *metadataItem, char *spaces);
  • trunk/psLib/test/astronomy/tst_psMetadata_01.c

    r3107 r3115  
    1818*  @author  Ross Harman, MHPCC
    1919*
    20 *  @version $Revision: 1.18 $  $Name: not supported by cvs2svn $
    21 *  @date  $Date: 2005-02-02 20:20:55 $
     20*  @version $Revision: 1.19 $  $Name: not supported by cvs2svn $
     21*  @date  $Date: 2005-02-03 00:54:12 $
    2222*
    2323*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2525*/
    2626
     27#include <string.h>
    2728#include "pslib.h"
    2829#include "psTest.h"
    29 #include <string.h>
    3030
    3131static void printMetadataItem(psMetadataItem *metadataItem, char *spaces);
  • trunk/psLib/test/astronomy/tst_psMetadata_02.c

    r2607 r3115  
    1414*  @author  Ross Harman, MHPCC
    1515*
    16 *  @version $Revision: 1.9 $  $Name: not supported by cvs2svn $
    17 *  @date  $Date: 2004-12-03 23:19:07 $
     16*  @version $Revision: 1.10 $  $Name: not supported by cvs2svn $
     17*  @date  $Date: 2005-02-03 00:54:12 $
    1818*
    1919*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2121*/
    2222
     23#include <string.h>
    2324#include "pslib.h"
    2425#include "psTest.h"
    25 #include <string.h>
    2626
    2727static void printMetadataItem(psMetadataItem *metadataItem)
  • trunk/psLib/test/astronomy/tst_psMetadata_03.c

    r2607 r3115  
    1818*  @author  Ross Harman, MHPCC
    1919*
    20 *  @version $Revision: 1.11 $  $Name: not supported by cvs2svn $
    21 *  @date  $Date: 2004-12-03 23:19:07 $
     20*  @version $Revision: 1.12 $  $Name: not supported by cvs2svn $
     21*  @date  $Date: 2005-02-03 00:54:12 $
    2222*
    2323*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2525*/
    2626
     27#include <string.h>
    2728#include "pslib.h"
    2829#include "psTest.h"
    29 #include <string.h>
    3030
    3131static void printMetadataItem(psMetadataItem *metadataItem)
  • trunk/psLib/test/astronomy/tst_psMetadata_04.c

    r2977 r3115  
    2323*  @author  Ross Harman, MHPCC
    2424*
    25 *  @version $Revision: 1.11 $  $Name: not supported by cvs2svn $
    26 *  @date  $Date: 2005-01-13 21:19:31 $
     25*  @version $Revision: 1.12 $  $Name: not supported by cvs2svn $
     26*  @date  $Date: 2005-02-03 00:54:12 $
    2727*
    2828*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3030*/
    3131
     32#include <string.h>
    3233#include "pslib.h"
    3334#include "psTest.h"
    34 #include <string.h>
    3535
    3636static void printMetadataItem(psMetadataItem *metadataItem)
  • trunk/psLib/test/astronomy/tst_psMetadata_05.c

    r2986 r3115  
    2222*  @author  Ross Harman, MHPCC
    2323*
    24 *  @version $Revision: 1.16 $  $Name: not supported by cvs2svn $
    25 *  @date  $Date: 2005-01-13 23:34:56 $
     24*  @version $Revision: 1.17 $  $Name: not supported by cvs2svn $
     25*  @date  $Date: 2005-02-03 00:54:12 $
    2626*
    2727*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2929*/
    3030
     31#include <string.h>
    3132#include "pslib.h"
    3233#include "psTest.h"
    33 #include <string.h>
    3434
    3535static void printMetadataItem(psMetadataItem *metadataItem)
  • trunk/psLib/test/astronomy/tst_psMetadata_06.c

    r2607 r3115  
    1313*  @author  Ross Harman, MHPCC
    1414*
    15 *  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
    16 *  @date  $Date: 2004-12-03 23:19:07 $
     15*  @version $Revision: 1.8 $  $Name: not supported by cvs2svn $
     16*  @date  $Date: 2005-02-03 00:54:12 $
    1717*
    1818*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2020*/
    2121
     22#include <string.h>
    2223#include "pslib.h"
    2324#include "psTest.h"
    24 #include <string.h>
    2525
    2626static void printMetadataItem(psMetadataItem *metadataItem)
  • trunk/psLib/test/astronomy/tst_psMetadata_07.c

    r3056 r3115  
    99*  @author  Ross Harman, MHPCC
    1010*
    11 *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
    12 *  @date  $Date: 2005-01-19 01:53:00 $
     11*  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
     12*  @date  $Date: 2005-02-03 00:54:12 $
    1313*
    1414*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    1515*
    1616*/
     17#include "config.h"
    1718#include "pslib.h"
    1819#include "psTest.h"
    19 
    20 #ifndef TIME_XML_FILE
    21 #define TIME_XML_FILE "../../config/psTime.xml"
    22 #pragma warning TIME_XML_FILE was not defined in the makefile.
    23 #endif
    24 
    2520
    2621int main(int argc, char* argv[])
     
    3126    psU32 nFail = 0;
    3227    psMetadata *md = NULL;
    33     md = psMetadataParseConfigXml(md, &nFail, TIME_XML_FILE, true);
     28    md = psMetadataParseConfigXml(md, &nFail, XML_CONFIG_FILE, true);
    3429    if (nFail != 0) {
    3530        printf("psMetadataParseConfigXml returned error %d\n", res);
  • trunk/psLib/test/astronomy/tst_psTime_01.c

    r2681 r3115  
    2323 *  @author  Ross Harman, MHPCC
    2424 *
    25  *  @version $Revision: 1.17 $  $Name: not supported by cvs2svn $
    26  *  @date  $Date: 2004-12-10 02:50:15 $
     25 *  @version $Revision: 1.18 $  $Name: not supported by cvs2svn $
     26 *  @date  $Date: 2005-02-03 00:54:12 $
    2727 *
    2828 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3030 */
    3131
     32#include <string.h>
    3233#include "pslib.h"
    3334#include "psTest.h"
    34 #include <string.h>
    3535
    3636psS32 main(psS32 argc, char* argv[])
  • trunk/psLib/test/astronomy/tst_psTime_04.c

    r3056 r3115  
    1414 *  @author  Ross Harman, MHPCC
    1515 *
    16  *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
    17  *  @date  $Date: 2005-01-19 01:53:00 $
     16 *  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
     17 *  @date  $Date: 2005-02-03 00:54:12 $
    1818 *
    1919 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    2020 *
    2121 */
     22#include "config.h"
    2223
    2324#include "pslib.h"
     
    2930    // Test A - Initialize time
    3031    printPositiveTestHeader(stdout, "psTime", "Test A - Initialize time");
    31     psLibInit(true, TIME_CONFIG_FILE);
     32    psLibInit(true, CONFIG_FILE);
    3233    psLibFinalize();
    3334    printFooter(stdout, "psTime", "Test A - Initialize time", true);
  • trunk/psLib/test/collections/Makefile

    r2859 r3115  
    1 ################################################################################
    2 ##
    3 ##  Makefile:   test/collections
    4 ##
    5 ##  $Revision: 1.27 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2005-01-03 20:28:07 $
    7 ##
    8 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    9 ##
    10 ###############################################################################
    11 
    12 ifndef prefix
    13     export prefix=$(shell cd ../..;pwd)
    14 endif
    15 
    16 include ../../src/Makefile.Globals
    17 
    18 CFLAGS := -I../../include $(CFLAGS)
    19 LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS)
    20 
    21 TARGET = tst_psVector          \
     1# Makefile.in generated by automake 1.9.1 from Makefile.am.
     2# test/collections/Makefile.  Generated from Makefile.in by configure.
     3
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
     6# This Makefile.in is free software; the Free Software Foundation
     7# gives unlimited permission to copy and/or distribute it,
     8# with or without modifications, as long as this notice is preserved.
     9
     10# This program is distributed in the hope that it will be useful,
     11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     13# PARTICULAR PURPOSE.
     14
     15
     16SOURCES = $(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)
     17
     18srcdir = .
     19top_srcdir = ../..
     20
     21pkgdatadir = $(datadir)/pslib
     22pkglibdir = $(libdir)/pslib
     23pkgincludedir = $(includedir)/pslib
     24top_builddir = ../..
     25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     26INSTALL = /usr/bin/install -c
     27install_sh_DATA = $(install_sh) -c -m 644
     28install_sh_PROGRAM = $(install_sh) -c
     29install_sh_SCRIPT = $(install_sh) -c
     30INSTALL_HEADER = $(INSTALL_DATA)
     31transform = $(program_transform_name)
     32NORMAL_INSTALL = :
     33PRE_INSTALL = :
     34POST_INSTALL = :
     35NORMAL_UNINSTALL = :
     36PRE_UNINSTALL = :
     37POST_UNINSTALL = :
     38build_triplet = x86_64-unknown-linux-gnu
     39host_triplet = x86_64-unknown-linux-gnu
     40check_PROGRAMS = tst_psVector$(EXEEXT) tst_psArray$(EXEEXT) \
     41        tst_psArray01$(EXEEXT) tst_psArray02$(EXEEXT) \
     42        tst_psBitSet$(EXEEXT) tst_psVectorSort_01$(EXEEXT) \
     43        tst_psVectorSort_02$(EXEEXT) tst_psVectorSort_03$(EXEEXT) \
     44        tst_psVectorSort_04$(EXEEXT) tst_psList$(EXEEXT) \
     45        tst_psHash00$(EXEEXT) tst_psHash01$(EXEEXT) \
     46        tst_psHash02$(EXEEXT) tst_psHash03$(EXEEXT) \
     47        tst_psHash04$(EXEEXT) tst_psHash05$(EXEEXT) \
     48        tst_psScalar$(EXEEXT)
     49subdir = test/collections
     50DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
     51ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     52am__aclocal_m4_deps = $(top_srcdir)/configure.in
     53am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     54        $(ACLOCAL_M4)
     55mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     56CONFIG_HEADER = $(top_builddir)/src/config.h
     57CONFIG_CLEAN_FILES =
     58am_tst_psArray_OBJECTS = tst_psArray.$(OBJEXT)
     59tst_psArray_OBJECTS = $(am_tst_psArray_OBJECTS)
     60tst_psArray_LDADD = $(LDADD)
     61am_tst_psArray01_OBJECTS = tst_psArray01.$(OBJEXT)
     62tst_psArray01_OBJECTS = $(am_tst_psArray01_OBJECTS)
     63tst_psArray01_LDADD = $(LDADD)
     64am_tst_psArray02_OBJECTS = tst_psArray02.$(OBJEXT)
     65tst_psArray02_OBJECTS = $(am_tst_psArray02_OBJECTS)
     66tst_psArray02_LDADD = $(LDADD)
     67am_tst_psBitSet_OBJECTS = tst_psBitSet.$(OBJEXT)
     68tst_psBitSet_OBJECTS = $(am_tst_psBitSet_OBJECTS)
     69tst_psBitSet_LDADD = $(LDADD)
     70am_tst_psHash00_OBJECTS = tst_psHash00.$(OBJEXT)
     71tst_psHash00_OBJECTS = $(am_tst_psHash00_OBJECTS)
     72tst_psHash00_LDADD = $(LDADD)
     73am_tst_psHash01_OBJECTS = tst_psHash01.$(OBJEXT)
     74tst_psHash01_OBJECTS = $(am_tst_psHash01_OBJECTS)
     75tst_psHash01_LDADD = $(LDADD)
     76am_tst_psHash02_OBJECTS = tst_psHash02.$(OBJEXT)
     77tst_psHash02_OBJECTS = $(am_tst_psHash02_OBJECTS)
     78tst_psHash02_LDADD = $(LDADD)
     79am_tst_psHash03_OBJECTS = tst_psHash03.$(OBJEXT)
     80tst_psHash03_OBJECTS = $(am_tst_psHash03_OBJECTS)
     81tst_psHash03_LDADD = $(LDADD)
     82am_tst_psHash04_OBJECTS = tst_psHash04.$(OBJEXT)
     83tst_psHash04_OBJECTS = $(am_tst_psHash04_OBJECTS)
     84tst_psHash04_LDADD = $(LDADD)
     85am_tst_psHash05_OBJECTS = tst_psHash05.$(OBJEXT)
     86tst_psHash05_OBJECTS = $(am_tst_psHash05_OBJECTS)
     87tst_psHash05_LDADD = $(LDADD)
     88am_tst_psList_OBJECTS = tst_psList.$(OBJEXT)
     89tst_psList_OBJECTS = $(am_tst_psList_OBJECTS)
     90tst_psList_LDADD = $(LDADD)
     91am_tst_psScalar_OBJECTS = tst_psScalar.$(OBJEXT)
     92tst_psScalar_OBJECTS = $(am_tst_psScalar_OBJECTS)
     93tst_psScalar_LDADD = $(LDADD)
     94am_tst_psVector_OBJECTS = tst_psVector.$(OBJEXT)
     95tst_psVector_OBJECTS = $(am_tst_psVector_OBJECTS)
     96tst_psVector_LDADD = $(LDADD)
     97am_tst_psVectorSort_01_OBJECTS = tst_psVectorSort_01.$(OBJEXT)
     98tst_psVectorSort_01_OBJECTS = $(am_tst_psVectorSort_01_OBJECTS)
     99tst_psVectorSort_01_LDADD = $(LDADD)
     100am_tst_psVectorSort_02_OBJECTS = tst_psVectorSort_02.$(OBJEXT)
     101tst_psVectorSort_02_OBJECTS = $(am_tst_psVectorSort_02_OBJECTS)
     102tst_psVectorSort_02_LDADD = $(LDADD)
     103am_tst_psVectorSort_03_OBJECTS = tst_psVectorSort_03.$(OBJEXT)
     104tst_psVectorSort_03_OBJECTS = $(am_tst_psVectorSort_03_OBJECTS)
     105tst_psVectorSort_03_LDADD = $(LDADD)
     106am_tst_psVectorSort_04_OBJECTS = tst_psVectorSort_04.$(OBJEXT)
     107tst_psVectorSort_04_OBJECTS = $(am_tst_psVectorSort_04_OBJECTS)
     108tst_psVectorSort_04_LDADD = $(LDADD)
     109DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
     110depcomp = $(SHELL) $(top_srcdir)/depcomp
     111am__depfiles_maybe = depfiles
     112COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
     113        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     114LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
     115        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
     116        $(AM_CFLAGS) $(CFLAGS)
     117CCLD = $(CC)
     118LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
     119        $(AM_LDFLAGS) $(LDFLAGS) -o $@
     120SOURCES = $(tst_psArray_SOURCES) $(tst_psArray01_SOURCES) \
     121        $(tst_psArray02_SOURCES) $(tst_psBitSet_SOURCES) \
     122        $(tst_psHash00_SOURCES) $(tst_psHash01_SOURCES) \
     123        $(tst_psHash02_SOURCES) $(tst_psHash03_SOURCES) \
     124        $(tst_psHash04_SOURCES) $(tst_psHash05_SOURCES) \
     125        $(tst_psList_SOURCES) $(tst_psScalar_SOURCES) \
     126        $(tst_psVector_SOURCES) $(tst_psVectorSort_01_SOURCES) \
     127        $(tst_psVectorSort_02_SOURCES) $(tst_psVectorSort_03_SOURCES) \
     128        $(tst_psVectorSort_04_SOURCES)
     129DIST_SOURCES = $(tst_psArray_SOURCES) $(tst_psArray01_SOURCES) \
     130        $(tst_psArray02_SOURCES) $(tst_psBitSet_SOURCES) \
     131        $(tst_psHash00_SOURCES) $(tst_psHash01_SOURCES) \
     132        $(tst_psHash02_SOURCES) $(tst_psHash03_SOURCES) \
     133        $(tst_psHash04_SOURCES) $(tst_psHash05_SOURCES) \
     134        $(tst_psList_SOURCES) $(tst_psScalar_SOURCES) \
     135        $(tst_psVector_SOURCES) $(tst_psVectorSort_01_SOURCES) \
     136        $(tst_psVectorSort_02_SOURCES) $(tst_psVectorSort_03_SOURCES) \
     137        $(tst_psVectorSort_04_SOURCES)
     138ETAGS = etags
     139CTAGS = ctags
     140DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     141ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
     142AMDEP_FALSE = #
     143AMDEP_TRUE =
     144AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
     145AR = ar
     146AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
     147AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
     148AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
     149AWK = gawk
     150CC = gcc
     151CCDEPMODE = depmode=gcc3
     152CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
     153CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
     154CPP = gcc -E
     155CPPFLAGS =
     156CXX = g++
     157CXXCPP = g++ -E
     158CXXDEPMODE = depmode=gcc3
     159CXXFLAGS = -g -O2
     160CYGPATH_W = echo
     161DEFS = -DHAVE_CONFIG_H
     162DEPDIR = .deps
     163ECHO = echo
     164ECHO_C =
     165ECHO_N = -n
     166ECHO_T =
     167EGREP = grep -E
     168EXEEXT =
     169F77 = g77
     170FFLAGS = -fno-second-underscore -O -fno-f2c
     171GSL_CONFIG = /usr/bin/gsl-config
     172INSTALL_DATA = ${INSTALL} -m 644
     173INSTALL_PROGRAM = ${INSTALL}
     174INSTALL_SCRIPT = ${INSTALL}
     175INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
     176LDFLAGS =
     177LIBOBJS =
     178LIBS =
     179LIBTOOL = $(SHELL) $(top_builddir)/libtool
     180LN_S = ln -s
     181LTLIBOBJS =
     182MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
     183OBJEXT = o
     184PACKAGE = pslib
     185PACKAGE_BUGREPORT =
     186PACKAGE_NAME =
     187PACKAGE_STRING =
     188PACKAGE_TARNAME =
     189PACKAGE_VERSION =
     190PATH_SEPARATOR = :
     191PERL = /usr/bin/perl
     192PSLIB_CFLAGS = -I${prefix}/include
     193PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
     194RANLIB = ranlib
     195SET_MAKE =
     196SHELL = /bin/sh
     197STRIP = strip
     198SWIG = /usr/bin/swig
     199VERSION = 1.5
     200XML_CONFIG = /usr/bin/xml2-config
     201ac_ct_AR = ar
     202ac_ct_CC = gcc
     203ac_ct_CXX = g++
     204ac_ct_F77 = g77
     205ac_ct_RANLIB = ranlib
     206ac_ct_STRIP = strip
     207am__fastdepCC_FALSE = #
     208am__fastdepCC_TRUE =
     209am__fastdepCXX_FALSE = #
     210am__fastdepCXX_TRUE =
     211am__include = include
     212am__leading_dot = .
     213am__quote =
     214am__tar = ${AMTAR} chof - "$$tardir"
     215am__untar = ${AMTAR} xf -
     216bindir = ${exec_prefix}/bin
     217build = x86_64-unknown-linux-gnu
     218build_alias =
     219build_cpu = x86_64
     220build_os = linux-gnu
     221build_vendor = unknown
     222datadir = ${prefix}/share
     223exec_prefix = ${prefix}
     224host = x86_64-unknown-linux-gnu
     225host_alias =
     226host_cpu = x86_64
     227host_os = linux-gnu
     228host_vendor = unknown
     229includedir = ${prefix}/include
     230infodir = ${prefix}/info
     231install_sh = /home/desonia/panstarrs/psLib/install-sh
     232libdir = ${exec_prefix}/lib
     233libexecdir = ${exec_prefix}/libexec
     234localstatedir = ${prefix}/var
     235mandir = ${prefix}/man
     236mkdir_p = mkdir -p --
     237oldincludedir = /usr/include
     238prefix = /home/desonia/panstarrs/psLib
     239program_transform_name = s,x,x,
     240sbindir = ${exec_prefix}/sbin
     241sharedstatedir = ${prefix}/com
     242sysconfdir = ${prefix}/etc
     243target_alias =
     244
     245#Makefile for astronomy functions of psLib
     246#
     247INCLUDES = \
     248        -I$(top_srcdir)/src \
     249        -I$(top_srcdir)/src/astronomy \
     250        -I$(top_srcdir)/src/collections \
     251        -I$(top_srcdir)/src/dataManip \
     252        -I$(top_srcdir)/src/fileUtils \
     253        -I$(top_srcdir)/src/image \
     254        -I$(top_srcdir)/src/sysUtils \
     255        $(all_includes)
     256
     257AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs`
     258TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest
     259TESTS = \
     260         tst_psVector          \
    22261         tst_psArray           \
    23262         tst_psArray01         \
     
    37276         tst_psScalar
    38277
    39 OBJS = $(addsuffix .o,$(TARGET))
    40 
    41 all: $(TARGET)
    42 
    43 clean:
    44         @echo "    Deleting executable and binary files for 'test/collections'"
    45         $(RM) $(OBJS)
    46 
    47 distclean: clean
    48         $(RM) $(TARGET)
    49 
    50 install: $(testbindir) $(testbindir)/verified $(TARGET)
    51         install $(TARGET) $(testbindir)
    52         install verified/*.stderr verified/*.stdout $(testbindir)/verified
    53 
    54 $(testbindir):
    55         mkdir -p $(testbindir)
    56 
    57 $(testbindir)/verified:
    58         mkdir -p $(testbindir)/verified
    59 
    60 
     278tst_psVector_SOURCES = tst_psVector.c
     279tst_psArray_SOURCES = tst_psArray.c
     280tst_psArray01_SOURCES = tst_psArray01.c
     281tst_psArray02_SOURCES = tst_psArray02.c
     282tst_psBitSet_SOURCES = tst_psBitSet.c
     283tst_psVectorSort_01_SOURCES = tst_psVectorSort_01.c
     284tst_psVectorSort_02_SOURCES = tst_psVectorSort_02.c
     285tst_psVectorSort_03_SOURCES = tst_psVectorSort_03.c
     286tst_psVectorSort_04_SOURCES = tst_psVectorSort_04.c
     287tst_psList_SOURCES = tst_psList.c
     288tst_psHash00_SOURCES = tst_psHash00.c
     289tst_psHash01_SOURCES = tst_psHash01.c
     290tst_psHash02_SOURCES = tst_psHash02.c
     291tst_psHash03_SOURCES = tst_psHash03.c
     292tst_psHash04_SOURCES = tst_psHash04.c
     293tst_psHash05_SOURCES = tst_psHash05.c
     294tst_psScalar_SOURCES = tst_psScalar.c
     295all: all-am
     296
     297.SUFFIXES:
     298.SUFFIXES: .c .lo .o .obj
     299$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     300        @for dep in $?; do \
     301          case '$(am__configure_deps)' in \
     302            *$$dep*) \
     303              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     304                && exit 0; \
     305              exit 1;; \
     306          esac; \
     307        done; \
     308        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  test/collections/Makefile'; \
     309        cd $(top_srcdir) && \
     310          $(AUTOMAKE) --gnu  test/collections/Makefile
     311.PRECIOUS: Makefile
     312Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     313        @case '$?' in \
     314          *config.status*) \
     315            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     316          *) \
     317            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     318            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     319        esac;
     320
     321$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     322        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     323
     324$(top_srcdir)/configure:  $(am__configure_deps)
     325        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     326$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     327        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     328
     329clean-checkPROGRAMS:
     330        @list='$(check_PROGRAMS)'; for p in $$list; do \
     331          f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     332          echo " rm -f $$p $$f"; \
     333          rm -f $$p $$f ; \
     334        done
     335tst_psArray$(EXEEXT): $(tst_psArray_OBJECTS) $(tst_psArray_DEPENDENCIES)
     336        @rm -f tst_psArray$(EXEEXT)
     337        $(LINK) $(tst_psArray_LDFLAGS) $(tst_psArray_OBJECTS) $(tst_psArray_LDADD) $(LIBS)
     338tst_psArray01$(EXEEXT): $(tst_psArray01_OBJECTS) $(tst_psArray01_DEPENDENCIES)
     339        @rm -f tst_psArray01$(EXEEXT)
     340        $(LINK) $(tst_psArray01_LDFLAGS) $(tst_psArray01_OBJECTS) $(tst_psArray01_LDADD) $(LIBS)
     341tst_psArray02$(EXEEXT): $(tst_psArray02_OBJECTS) $(tst_psArray02_DEPENDENCIES)
     342        @rm -f tst_psArray02$(EXEEXT)
     343        $(LINK) $(tst_psArray02_LDFLAGS) $(tst_psArray02_OBJECTS) $(tst_psArray02_LDADD) $(LIBS)
     344tst_psBitSet$(EXEEXT): $(tst_psBitSet_OBJECTS) $(tst_psBitSet_DEPENDENCIES)
     345        @rm -f tst_psBitSet$(EXEEXT)
     346        $(LINK) $(tst_psBitSet_LDFLAGS) $(tst_psBitSet_OBJECTS) $(tst_psBitSet_LDADD) $(LIBS)
     347tst_psHash00$(EXEEXT): $(tst_psHash00_OBJECTS) $(tst_psHash00_DEPENDENCIES)
     348        @rm -f tst_psHash00$(EXEEXT)
     349        $(LINK) $(tst_psHash00_LDFLAGS) $(tst_psHash00_OBJECTS) $(tst_psHash00_LDADD) $(LIBS)
     350tst_psHash01$(EXEEXT): $(tst_psHash01_OBJECTS) $(tst_psHash01_DEPENDENCIES)
     351        @rm -f tst_psHash01$(EXEEXT)
     352        $(LINK) $(tst_psHash01_LDFLAGS) $(tst_psHash01_OBJECTS) $(tst_psHash01_LDADD) $(LIBS)
     353tst_psHash02$(EXEEXT): $(tst_psHash02_OBJECTS) $(tst_psHash02_DEPENDENCIES)
     354        @rm -f tst_psHash02$(EXEEXT)
     355        $(LINK) $(tst_psHash02_LDFLAGS) $(tst_psHash02_OBJECTS) $(tst_psHash02_LDADD) $(LIBS)
     356tst_psHash03$(EXEEXT): $(tst_psHash03_OBJECTS) $(tst_psHash03_DEPENDENCIES)
     357        @rm -f tst_psHash03$(EXEEXT)
     358        $(LINK) $(tst_psHash03_LDFLAGS) $(tst_psHash03_OBJECTS) $(tst_psHash03_LDADD) $(LIBS)
     359tst_psHash04$(EXEEXT): $(tst_psHash04_OBJECTS) $(tst_psHash04_DEPENDENCIES)
     360        @rm -f tst_psHash04$(EXEEXT)
     361        $(LINK) $(tst_psHash04_LDFLAGS) $(tst_psHash04_OBJECTS) $(tst_psHash04_LDADD) $(LIBS)
     362tst_psHash05$(EXEEXT): $(tst_psHash05_OBJECTS) $(tst_psHash05_DEPENDENCIES)
     363        @rm -f tst_psHash05$(EXEEXT)
     364        $(LINK) $(tst_psHash05_LDFLAGS) $(tst_psHash05_OBJECTS) $(tst_psHash05_LDADD) $(LIBS)
     365tst_psList$(EXEEXT): $(tst_psList_OBJECTS) $(tst_psList_DEPENDENCIES)
     366        @rm -f tst_psList$(EXEEXT)
     367        $(LINK) $(tst_psList_LDFLAGS) $(tst_psList_OBJECTS) $(tst_psList_LDADD) $(LIBS)
     368tst_psScalar$(EXEEXT): $(tst_psScalar_OBJECTS) $(tst_psScalar_DEPENDENCIES)
     369        @rm -f tst_psScalar$(EXEEXT)
     370        $(LINK) $(tst_psScalar_LDFLAGS) $(tst_psScalar_OBJECTS) $(tst_psScalar_LDADD) $(LIBS)
     371tst_psVector$(EXEEXT): $(tst_psVector_OBJECTS) $(tst_psVector_DEPENDENCIES)
     372        @rm -f tst_psVector$(EXEEXT)
     373        $(LINK) $(tst_psVector_LDFLAGS) $(tst_psVector_OBJECTS) $(tst_psVector_LDADD) $(LIBS)
     374tst_psVectorSort_01$(EXEEXT): $(tst_psVectorSort_01_OBJECTS) $(tst_psVectorSort_01_DEPENDENCIES)
     375        @rm -f tst_psVectorSort_01$(EXEEXT)
     376        $(LINK) $(tst_psVectorSort_01_LDFLAGS) $(tst_psVectorSort_01_OBJECTS) $(tst_psVectorSort_01_LDADD) $(LIBS)
     377tst_psVectorSort_02$(EXEEXT): $(tst_psVectorSort_02_OBJECTS) $(tst_psVectorSort_02_DEPENDENCIES)
     378        @rm -f tst_psVectorSort_02$(EXEEXT)
     379        $(LINK) $(tst_psVectorSort_02_LDFLAGS) $(tst_psVectorSort_02_OBJECTS) $(tst_psVectorSort_02_LDADD) $(LIBS)
     380tst_psVectorSort_03$(EXEEXT): $(tst_psVectorSort_03_OBJECTS) $(tst_psVectorSort_03_DEPENDENCIES)
     381        @rm -f tst_psVectorSort_03$(EXEEXT)
     382        $(LINK) $(tst_psVectorSort_03_LDFLAGS) $(tst_psVectorSort_03_OBJECTS) $(tst_psVectorSort_03_LDADD) $(LIBS)
     383tst_psVectorSort_04$(EXEEXT): $(tst_psVectorSort_04_OBJECTS) $(tst_psVectorSort_04_DEPENDENCIES)
     384        @rm -f tst_psVectorSort_04$(EXEEXT)
     385        $(LINK) $(tst_psVectorSort_04_LDFLAGS) $(tst_psVectorSort_04_OBJECTS) $(tst_psVectorSort_04_LDADD) $(LIBS)
     386
     387mostlyclean-compile:
     388        -rm -f *.$(OBJEXT)
     389
     390distclean-compile:
     391        -rm -f *.tab.c
     392
     393include ./$(DEPDIR)/tst_psArray.Po
     394include ./$(DEPDIR)/tst_psArray01.Po
     395include ./$(DEPDIR)/tst_psArray02.Po
     396include ./$(DEPDIR)/tst_psBitSet.Po
     397include ./$(DEPDIR)/tst_psHash00.Po
     398include ./$(DEPDIR)/tst_psHash01.Po
     399include ./$(DEPDIR)/tst_psHash02.Po
     400include ./$(DEPDIR)/tst_psHash03.Po
     401include ./$(DEPDIR)/tst_psHash04.Po
     402include ./$(DEPDIR)/tst_psHash05.Po
     403include ./$(DEPDIR)/tst_psList.Po
     404include ./$(DEPDIR)/tst_psScalar.Po
     405include ./$(DEPDIR)/tst_psVector.Po
     406include ./$(DEPDIR)/tst_psVectorSort_01.Po
     407include ./$(DEPDIR)/tst_psVectorSort_02.Po
     408include ./$(DEPDIR)/tst_psVectorSort_03.Po
     409include ./$(DEPDIR)/tst_psVectorSort_04.Po
     410
     411.c.o:
     412        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     413        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     414#       source='$<' object='$@' libtool=no \
     415#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     416#       $(COMPILE) -c $<
     417
     418.c.obj:
     419        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     420        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     421#       source='$<' object='$@' libtool=no \
     422#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     423#       $(COMPILE) -c `$(CYGPATH_W) '$<'`
     424
     425.c.lo:
     426        if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     427        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     428#       source='$<' object='$@' libtool=yes \
     429#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     430#       $(LTCOMPILE) -c -o $@ $<
     431
     432mostlyclean-libtool:
     433        -rm -f *.lo
     434
     435clean-libtool:
     436        -rm -rf .libs _libs
     437
     438distclean-libtool:
     439        -rm -f libtool
     440uninstall-info-am:
     441
     442ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     443        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     444        unique=`for i in $$list; do \
     445            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     446          done | \
     447          $(AWK) '    { files[$$0] = 1; } \
     448               END { for (i in files) print i; }'`; \
     449        mkid -fID $$unique
     450tags: TAGS
     451
     452TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     453                $(TAGS_FILES) $(LISP)
     454        tags=; \
     455        here=`pwd`; \
     456        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     457        unique=`for i in $$list; do \
     458            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     459          done | \
     460          $(AWK) '    { files[$$0] = 1; } \
     461               END { for (i in files) print i; }'`; \
     462        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     463          test -n "$$unique" || unique=$$empty_fix; \
     464          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     465            $$tags $$unique; \
     466        fi
     467ctags: CTAGS
     468CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     469                $(TAGS_FILES) $(LISP)
     470        tags=; \
     471        here=`pwd`; \
     472        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     473        unique=`for i in $$list; do \
     474            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     475          done | \
     476          $(AWK) '    { files[$$0] = 1; } \
     477               END { for (i in files) print i; }'`; \
     478        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     479          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     480             $$tags $$unique
     481
     482GTAGS:
     483        here=`$(am__cd) $(top_builddir) && pwd` \
     484          && cd $(top_srcdir) \
     485          && gtags -i $(GTAGS_ARGS) $$here
     486
     487distclean-tags:
     488        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     489
     490check-TESTS: $(TESTS)
     491        @failed=0; all=0; xfail=0; xpass=0; skip=0; \
     492        srcdir=$(srcdir); export srcdir; \
     493        list='$(TESTS)'; \
     494        if test -n "$$list"; then \
     495          for tst in $$list; do \
     496            if test -f ./$$tst; then dir=./; \
     497            elif test -f $$tst; then dir=; \
     498            else dir="$(srcdir)/"; fi; \
     499            if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
     500              all=`expr $$all + 1`; \
     501              case " $(XFAIL_TESTS) " in \
     502              *" $$tst "*) \
     503                xpass=`expr $$xpass + 1`; \
     504                failed=`expr $$failed + 1`; \
     505                echo "XPASS: $$tst"; \
     506              ;; \
     507              *) \
     508                echo "PASS: $$tst"; \
     509              ;; \
     510              esac; \
     511            elif test $$? -ne 77; then \
     512              all=`expr $$all + 1`; \
     513              case " $(XFAIL_TESTS) " in \
     514              *" $$tst "*) \
     515                xfail=`expr $$xfail + 1`; \
     516                echo "XFAIL: $$tst"; \
     517              ;; \
     518              *) \
     519                failed=`expr $$failed + 1`; \
     520                echo "FAIL: $$tst"; \
     521              ;; \
     522              esac; \
     523            else \
     524              skip=`expr $$skip + 1`; \
     525              echo "SKIP: $$tst"; \
     526            fi; \
     527          done; \
     528          if test "$$failed" -eq 0; then \
     529            if test "$$xfail" -eq 0; then \
     530              banner="All $$all tests passed"; \
     531            else \
     532              banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
     533            fi; \
     534          else \
     535            if test "$$xpass" -eq 0; then \
     536              banner="$$failed of $$all tests failed"; \
     537            else \
     538              banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
     539            fi; \
     540          fi; \
     541          dashes="$$banner"; \
     542          skipped=""; \
     543          if test "$$skip" -ne 0; then \
     544            skipped="($$skip tests were not run)"; \
     545            test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
     546              dashes="$$skipped"; \
     547          fi; \
     548          report=""; \
     549          if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
     550            report="Please report to $(PACKAGE_BUGREPORT)"; \
     551            test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
     552              dashes="$$report"; \
     553          fi; \
     554          dashes=`echo "$$dashes" | sed s/./=/g`; \
     555          echo "$$dashes"; \
     556          echo "$$banner"; \
     557          test -z "$$skipped" || echo "$$skipped"; \
     558          test -z "$$report" || echo "$$report"; \
     559          echo "$$dashes"; \
     560          test "$$failed" -eq 0; \
     561        else :; fi
     562
     563distdir: $(DISTFILES)
     564        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
     565        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     566        list='$(DISTFILES)'; for file in $$list; do \
     567          case $$file in \
     568            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
     569            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
     570          esac; \
     571          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
     572          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
     573          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
     574            dir="/$$dir"; \
     575            $(mkdir_p) "$(distdir)$$dir"; \
     576          else \
     577            dir=''; \
     578          fi; \
     579          if test -d $$d/$$file; then \
     580            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
     581              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
     582            fi; \
     583            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
     584          else \
     585            test -f $(distdir)/$$file \
     586            || cp -p $$d/$$file $(distdir)/$$file \
     587            || exit 1; \
     588          fi; \
     589        done
     590check-am: all-am
     591        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
     592        $(MAKE) $(AM_MAKEFLAGS) check-TESTS
     593check: check-am
     594all-am: Makefile
     595installdirs:
     596install: install-am
     597install-exec: install-exec-am
     598install-data: install-data-am
     599uninstall: uninstall-am
     600
     601install-am: all-am
     602        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     603
     604installcheck: installcheck-am
     605install-strip:
     606        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     607          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     608          `test -z '$(STRIP)' || \
     609            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     610mostlyclean-generic:
     611
     612clean-generic:
     613
     614distclean-generic:
     615        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
     616
     617maintainer-clean-generic:
     618        @echo "This command is intended for maintainers to use"
     619        @echo "it deletes files that may require special tools to rebuild."
     620clean: clean-am
     621
     622clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
     623        mostlyclean-am
     624
     625distclean: distclean-am
     626        -rm -rf ./$(DEPDIR)
     627        -rm -f Makefile
     628distclean-am: clean-am distclean-compile distclean-generic \
     629        distclean-libtool distclean-tags
     630
     631dvi: dvi-am
     632
     633dvi-am:
     634
     635html: html-am
     636
     637info: info-am
     638
     639info-am:
     640
     641install-data-am:
     642
     643install-exec-am:
     644
     645install-info: install-info-am
     646
     647install-man:
     648
     649installcheck-am:
     650
     651maintainer-clean: maintainer-clean-am
     652        -rm -rf ./$(DEPDIR)
     653        -rm -f Makefile
     654maintainer-clean-am: distclean-am maintainer-clean-generic
     655
     656mostlyclean: mostlyclean-am
     657
     658mostlyclean-am: mostlyclean-compile mostlyclean-generic \
     659        mostlyclean-libtool
     660
     661pdf: pdf-am
     662
     663pdf-am:
     664
     665ps: ps-am
     666
     667ps-am:
     668
     669uninstall-am: uninstall-info-am
     670
     671.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
     672        clean-checkPROGRAMS clean-generic clean-libtool ctags \
     673        distclean distclean-compile distclean-generic \
     674        distclean-libtool distclean-tags distdir dvi dvi-am html \
     675        html-am info info-am install install-am install-data \
     676        install-data-am install-exec install-exec-am install-info \
     677        install-info-am install-man install-strip installcheck \
     678        installcheck-am installdirs maintainer-clean \
     679        maintainer-clean-generic mostlyclean mostlyclean-compile \
     680        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
     681        tags uninstall uninstall-am uninstall-info-am
     682
     683tests: $(TESTS)
     684# Tell versions [3.59,3.63) of GNU make to not export all variables.
     685# Otherwise a system limit (for SysV at least) may be exceeded.
     686.NOEXPORT:
  • trunk/psLib/test/collections/tst_psMetadataIO.c

    r3107 r3115  
    1313*  @author  Ross Harman, MHPCC
    1414*
    15 *  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
    16 *  @date  $Date: 2005-02-02 20:20:55 $
     15*  @version $Revision: 1.8 $  $Name: not supported by cvs2svn $
     16*  @date  $Date: 2005-02-03 00:54:12 $
    1717*
    1818*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2020*/
    2121
     22#include <string.h>
    2223#include "pslib.h"
    2324#include "psTest.h"
    24 #include <string.h>
    2525
    2626static void printMetadataItem(psMetadataItem *metadataItem, char *spaces);
  • trunk/psLib/test/collections/tst_psMetadata_01.c

    r3107 r3115  
    1818*  @author  Ross Harman, MHPCC
    1919*
    20 *  @version $Revision: 1.18 $  $Name: not supported by cvs2svn $
    21 *  @date  $Date: 2005-02-02 20:20:55 $
     20*  @version $Revision: 1.19 $  $Name: not supported by cvs2svn $
     21*  @date  $Date: 2005-02-03 00:54:12 $
    2222*
    2323*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2525*/
    2626
     27#include <string.h>
    2728#include "pslib.h"
    2829#include "psTest.h"
    29 #include <string.h>
    3030
    3131static void printMetadataItem(psMetadataItem *metadataItem, char *spaces);
  • trunk/psLib/test/collections/tst_psMetadata_02.c

    r2607 r3115  
    1414*  @author  Ross Harman, MHPCC
    1515*
    16 *  @version $Revision: 1.9 $  $Name: not supported by cvs2svn $
    17 *  @date  $Date: 2004-12-03 23:19:07 $
     16*  @version $Revision: 1.10 $  $Name: not supported by cvs2svn $
     17*  @date  $Date: 2005-02-03 00:54:12 $
    1818*
    1919*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2121*/
    2222
     23#include <string.h>
    2324#include "pslib.h"
    2425#include "psTest.h"
    25 #include <string.h>
    2626
    2727static void printMetadataItem(psMetadataItem *metadataItem)
  • trunk/psLib/test/collections/tst_psMetadata_03.c

    r2607 r3115  
    1818*  @author  Ross Harman, MHPCC
    1919*
    20 *  @version $Revision: 1.11 $  $Name: not supported by cvs2svn $
    21 *  @date  $Date: 2004-12-03 23:19:07 $
     20*  @version $Revision: 1.12 $  $Name: not supported by cvs2svn $
     21*  @date  $Date: 2005-02-03 00:54:12 $
    2222*
    2323*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2525*/
    2626
     27#include <string.h>
    2728#include "pslib.h"
    2829#include "psTest.h"
    29 #include <string.h>
    3030
    3131static void printMetadataItem(psMetadataItem *metadataItem)
  • trunk/psLib/test/collections/tst_psMetadata_04.c

    r2977 r3115  
    2323*  @author  Ross Harman, MHPCC
    2424*
    25 *  @version $Revision: 1.11 $  $Name: not supported by cvs2svn $
    26 *  @date  $Date: 2005-01-13 21:19:31 $
     25*  @version $Revision: 1.12 $  $Name: not supported by cvs2svn $
     26*  @date  $Date: 2005-02-03 00:54:12 $
    2727*
    2828*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3030*/
    3131
     32#include <string.h>
    3233#include "pslib.h"
    3334#include "psTest.h"
    34 #include <string.h>
    3535
    3636static void printMetadataItem(psMetadataItem *metadataItem)
  • trunk/psLib/test/collections/tst_psMetadata_05.c

    r2986 r3115  
    2222*  @author  Ross Harman, MHPCC
    2323*
    24 *  @version $Revision: 1.16 $  $Name: not supported by cvs2svn $
    25 *  @date  $Date: 2005-01-13 23:34:56 $
     24*  @version $Revision: 1.17 $  $Name: not supported by cvs2svn $
     25*  @date  $Date: 2005-02-03 00:54:12 $
    2626*
    2727*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2929*/
    3030
     31#include <string.h>
    3132#include "pslib.h"
    3233#include "psTest.h"
    33 #include <string.h>
    3434
    3535static void printMetadataItem(psMetadataItem *metadataItem)
  • trunk/psLib/test/collections/tst_psMetadata_06.c

    r2607 r3115  
    1313*  @author  Ross Harman, MHPCC
    1414*
    15 *  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
    16 *  @date  $Date: 2004-12-03 23:19:07 $
     15*  @version $Revision: 1.8 $  $Name: not supported by cvs2svn $
     16*  @date  $Date: 2005-02-03 00:54:12 $
    1717*
    1818*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2020*/
    2121
     22#include <string.h>
    2223#include "pslib.h"
    2324#include "psTest.h"
    24 #include <string.h>
    2525
    2626static void printMetadataItem(psMetadataItem *metadataItem)
  • trunk/psLib/test/collections/tst_psMetadata_07.c

    r3056 r3115  
    99*  @author  Ross Harman, MHPCC
    1010*
    11 *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
    12 *  @date  $Date: 2005-01-19 01:53:00 $
     11*  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
     12*  @date  $Date: 2005-02-03 00:54:12 $
    1313*
    1414*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    1515*
    1616*/
     17#include "config.h"
    1718#include "pslib.h"
    1819#include "psTest.h"
    19 
    20 #ifndef TIME_XML_FILE
    21 #define TIME_XML_FILE "../../config/psTime.xml"
    22 #pragma warning TIME_XML_FILE was not defined in the makefile.
    23 #endif
    24 
    2520
    2621int main(int argc, char* argv[])
     
    3126    psU32 nFail = 0;
    3227    psMetadata *md = NULL;
    33     md = psMetadataParseConfigXml(md, &nFail, TIME_XML_FILE, true);
     28    md = psMetadataParseConfigXml(md, &nFail, XML_CONFIG_FILE, true);
    3429    if (nFail != 0) {
    3530        printf("psMetadataParseConfigXml returned error %d\n", res);
  • trunk/psLib/test/dataIO/Makefile

    r3056 r3115  
    1 ################################################################################
    2 ##
    3 ##  Makefile:   test/fileUtils
    4 ##
    5 ##  $Revision: 1.3 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2005-01-19 01:53:00 $
    7 ##
    8 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    9 ##
    10 ###############################################################################
    11 
    12 ifndef prefix
    13     export prefix=$(shell cd ../..;pwd)
    14 endif
    15 
    16 include ../../src/Makefile.Globals
    17 
    18 CFLAGS := -I../../include -DUTC_DAT_FILE="\"$(prefix)/data/tai_utc.dat\"" $(CFLAGS)
    19 LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS)
    20 
    21 TARGET = tst_psLookupTable_01 \
     1# Makefile.in generated by automake 1.9.1 from Makefile.am.
     2# test/fileUtils/Makefile.  Generated from Makefile.in by configure.
     3
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
     6# This Makefile.in is free software; the Free Software Foundation
     7# gives unlimited permission to copy and/or distribute it,
     8# with or without modifications, as long as this notice is preserved.
     9
     10# This program is distributed in the hope that it will be useful,
     11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     13# PARTICULAR PURPOSE.
     14
     15
     16SOURCES = $(tst_psFits_SOURCES) $(tst_psLookupTable_01_SOURCES)
     17
     18srcdir = .
     19top_srcdir = ../..
     20
     21pkgdatadir = $(datadir)/pslib
     22pkglibdir = $(libdir)/pslib
     23pkgincludedir = $(includedir)/pslib
     24top_builddir = ../..
     25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     26INSTALL = /usr/bin/install -c
     27install_sh_DATA = $(install_sh) -c -m 644
     28install_sh_PROGRAM = $(install_sh) -c
     29install_sh_SCRIPT = $(install_sh) -c
     30INSTALL_HEADER = $(INSTALL_DATA)
     31transform = $(program_transform_name)
     32NORMAL_INSTALL = :
     33PRE_INSTALL = :
     34POST_INSTALL = :
     35NORMAL_UNINSTALL = :
     36PRE_UNINSTALL = :
     37POST_UNINSTALL = :
     38build_triplet = x86_64-unknown-linux-gnu
     39host_triplet = x86_64-unknown-linux-gnu
     40check_PROGRAMS = tst_psLookupTable_01$(EXEEXT) tst_psFits$(EXEEXT)
     41subdir = test/fileUtils
     42DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
     43ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     44am__aclocal_m4_deps = $(top_srcdir)/configure.in
     45am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     46        $(ACLOCAL_M4)
     47mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     48CONFIG_HEADER = $(top_builddir)/src/config.h
     49CONFIG_CLEAN_FILES =
     50am_tst_psFits_OBJECTS = tst_psFits.$(OBJEXT)
     51tst_psFits_OBJECTS = $(am_tst_psFits_OBJECTS)
     52tst_psFits_LDADD = $(LDADD)
     53am_tst_psLookupTable_01_OBJECTS = tst_psLookupTable_01.$(OBJEXT)
     54tst_psLookupTable_01_OBJECTS = $(am_tst_psLookupTable_01_OBJECTS)
     55tst_psLookupTable_01_LDADD = $(LDADD)
     56DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
     57depcomp = $(SHELL) $(top_srcdir)/depcomp
     58am__depfiles_maybe = depfiles
     59COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
     60        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     61LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
     62        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
     63        $(AM_CFLAGS) $(CFLAGS)
     64CCLD = $(CC)
     65LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
     66        $(AM_LDFLAGS) $(LDFLAGS) -o $@
     67SOURCES = $(tst_psFits_SOURCES) $(tst_psLookupTable_01_SOURCES)
     68DIST_SOURCES = $(tst_psFits_SOURCES) $(tst_psLookupTable_01_SOURCES)
     69ETAGS = etags
     70CTAGS = ctags
     71DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     72ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
     73AMDEP_FALSE = #
     74AMDEP_TRUE =
     75AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
     76AR = ar
     77AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
     78AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
     79AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
     80AWK = gawk
     81CC = gcc
     82CCDEPMODE = depmode=gcc3
     83CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
     84CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
     85CPP = gcc -E
     86CPPFLAGS =
     87CXX = g++
     88CXXCPP = g++ -E
     89CXXDEPMODE = depmode=gcc3
     90CXXFLAGS = -g -O2
     91CYGPATH_W = echo
     92DEFS = -DHAVE_CONFIG_H
     93DEPDIR = .deps
     94ECHO = echo
     95ECHO_C =
     96ECHO_N = -n
     97ECHO_T =
     98EGREP = grep -E
     99EXEEXT =
     100F77 = g77
     101FFLAGS = -fno-second-underscore -O -fno-f2c
     102GSL_CONFIG = /usr/bin/gsl-config
     103INSTALL_DATA = ${INSTALL} -m 644
     104INSTALL_PROGRAM = ${INSTALL}
     105INSTALL_SCRIPT = ${INSTALL}
     106INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
     107LDFLAGS =
     108LIBOBJS =
     109LIBS =
     110LIBTOOL = $(SHELL) $(top_builddir)/libtool
     111LN_S = ln -s
     112LTLIBOBJS =
     113MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
     114OBJEXT = o
     115PACKAGE = pslib
     116PACKAGE_BUGREPORT =
     117PACKAGE_NAME =
     118PACKAGE_STRING =
     119PACKAGE_TARNAME =
     120PACKAGE_VERSION =
     121PATH_SEPARATOR = :
     122PERL = /usr/bin/perl
     123PSLIB_CFLAGS = -I${prefix}/include
     124PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
     125RANLIB = ranlib
     126SET_MAKE =
     127SHELL = /bin/sh
     128STRIP = strip
     129SWIG = /usr/bin/swig
     130VERSION = 1.5
     131XML_CONFIG = /usr/bin/xml2-config
     132ac_ct_AR = ar
     133ac_ct_CC = gcc
     134ac_ct_CXX = g++
     135ac_ct_F77 = g77
     136ac_ct_RANLIB = ranlib
     137ac_ct_STRIP = strip
     138am__fastdepCC_FALSE = #
     139am__fastdepCC_TRUE =
     140am__fastdepCXX_FALSE = #
     141am__fastdepCXX_TRUE =
     142am__include = include
     143am__leading_dot = .
     144am__quote =
     145am__tar = ${AMTAR} chof - "$$tardir"
     146am__untar = ${AMTAR} xf -
     147bindir = ${exec_prefix}/bin
     148build = x86_64-unknown-linux-gnu
     149build_alias =
     150build_cpu = x86_64
     151build_os = linux-gnu
     152build_vendor = unknown
     153datadir = ${prefix}/share
     154exec_prefix = ${prefix}
     155host = x86_64-unknown-linux-gnu
     156host_alias =
     157host_cpu = x86_64
     158host_os = linux-gnu
     159host_vendor = unknown
     160includedir = ${prefix}/include
     161infodir = ${prefix}/info
     162install_sh = /home/desonia/panstarrs/psLib/install-sh
     163libdir = ${exec_prefix}/lib
     164libexecdir = ${exec_prefix}/libexec
     165localstatedir = ${prefix}/var
     166mandir = ${prefix}/man
     167mkdir_p = mkdir -p --
     168oldincludedir = /usr/include
     169prefix = /home/desonia/panstarrs/psLib
     170program_transform_name = s,x,x,
     171sbindir = ${exec_prefix}/sbin
     172sharedstatedir = ${prefix}/com
     173sysconfdir = ${prefix}/etc
     174target_alias =
     175
     176#Makefile for astronomy functions of psLib
     177#
     178INCLUDES = \
     179        -I$(top_srcdir)/src \
     180        -I$(top_srcdir)/src/astronomy \
     181        -I$(top_srcdir)/src/collections \
     182        -I$(top_srcdir)/src/dataManip \
     183        -I$(top_srcdir)/src/fileUtils \
     184        -I$(top_srcdir)/src/image \
     185        -I$(top_srcdir)/src/sysUtils \
     186        $(all_includes)
     187
     188AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs`
     189TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest
     190TESTS = \
     191        tst_psLookupTable_01 \
    22192        tst_psFits
    23193
    24 OBJS = $(addprefix builddir/,$(addsuffix .o,$(TARGET)))
    25 
    26 all: $(TARGET)
    27 
    28 clean:
    29         @echo "    Deleting executable and binary files for 'test/fileUtils'"
    30         $(RM) $(OBJS)
    31 
    32 distclean: clean
    33         $(RM) $(TARGET)
    34 
    35 install: $(testbindir) $(testbindir)/verified $(TARGET)
    36         install $(TARGET) $(testbindir)
    37         install verified/*.stderr verified/*.stdout $(testbindir)/verified
    38 
    39 $(testbindir):
    40         mkdir -p $(testbindir)
    41 
    42 $(testbindir)/verified:
    43         mkdir -p $(testbindir)/verified
    44 
     194tst_psLookupTable_01_SOURCES = tst_psLookupTable_01.c
     195tst_psFits_SOURCES = tst_psFits.c
     196all: all-am
     197
     198.SUFFIXES:
     199.SUFFIXES: .c .lo .o .obj
     200$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     201        @for dep in $?; do \
     202          case '$(am__configure_deps)' in \
     203            *$$dep*) \
     204              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     205                && exit 0; \
     206              exit 1;; \
     207          esac; \
     208        done; \
     209        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  test/fileUtils/Makefile'; \
     210        cd $(top_srcdir) && \
     211          $(AUTOMAKE) --gnu  test/fileUtils/Makefile
     212.PRECIOUS: Makefile
     213Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     214        @case '$?' in \
     215          *config.status*) \
     216            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     217          *) \
     218            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     219            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     220        esac;
     221
     222$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     223        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     224
     225$(top_srcdir)/configure:  $(am__configure_deps)
     226        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     227$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     228        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     229
     230clean-checkPROGRAMS:
     231        @list='$(check_PROGRAMS)'; for p in $$list; do \
     232          f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     233          echo " rm -f $$p $$f"; \
     234          rm -f $$p $$f ; \
     235        done
     236tst_psFits$(EXEEXT): $(tst_psFits_OBJECTS) $(tst_psFits_DEPENDENCIES)
     237        @rm -f tst_psFits$(EXEEXT)
     238        $(LINK) $(tst_psFits_LDFLAGS) $(tst_psFits_OBJECTS) $(tst_psFits_LDADD) $(LIBS)
     239tst_psLookupTable_01$(EXEEXT): $(tst_psLookupTable_01_OBJECTS) $(tst_psLookupTable_01_DEPENDENCIES)
     240        @rm -f tst_psLookupTable_01$(EXEEXT)
     241        $(LINK) $(tst_psLookupTable_01_LDFLAGS) $(tst_psLookupTable_01_OBJECTS) $(tst_psLookupTable_01_LDADD) $(LIBS)
     242
     243mostlyclean-compile:
     244        -rm -f *.$(OBJEXT)
     245
     246distclean-compile:
     247        -rm -f *.tab.c
     248
     249include ./$(DEPDIR)/tst_psFits.Po
     250include ./$(DEPDIR)/tst_psLookupTable_01.Po
     251
     252.c.o:
     253        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     254        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     255#       source='$<' object='$@' libtool=no \
     256#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     257#       $(COMPILE) -c $<
     258
     259.c.obj:
     260        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     261        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     262#       source='$<' object='$@' libtool=no \
     263#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     264#       $(COMPILE) -c `$(CYGPATH_W) '$<'`
     265
     266.c.lo:
     267        if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     268        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     269#       source='$<' object='$@' libtool=yes \
     270#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     271#       $(LTCOMPILE) -c -o $@ $<
     272
     273mostlyclean-libtool:
     274        -rm -f *.lo
     275
     276clean-libtool:
     277        -rm -rf .libs _libs
     278
     279distclean-libtool:
     280        -rm -f libtool
     281uninstall-info-am:
     282
     283ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     284        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     285        unique=`for i in $$list; do \
     286            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     287          done | \
     288          $(AWK) '    { files[$$0] = 1; } \
     289               END { for (i in files) print i; }'`; \
     290        mkid -fID $$unique
     291tags: TAGS
     292
     293TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     294                $(TAGS_FILES) $(LISP)
     295        tags=; \
     296        here=`pwd`; \
     297        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     298        unique=`for i in $$list; do \
     299            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     300          done | \
     301          $(AWK) '    { files[$$0] = 1; } \
     302               END { for (i in files) print i; }'`; \
     303        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     304          test -n "$$unique" || unique=$$empty_fix; \
     305          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     306            $$tags $$unique; \
     307        fi
     308ctags: CTAGS
     309CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     310                $(TAGS_FILES) $(LISP)
     311        tags=; \
     312        here=`pwd`; \
     313        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     314        unique=`for i in $$list; do \
     315            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     316          done | \
     317          $(AWK) '    { files[$$0] = 1; } \
     318               END { for (i in files) print i; }'`; \
     319        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     320          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     321             $$tags $$unique
     322
     323GTAGS:
     324        here=`$(am__cd) $(top_builddir) && pwd` \
     325          && cd $(top_srcdir) \
     326          && gtags -i $(GTAGS_ARGS) $$here
     327
     328distclean-tags:
     329        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     330
     331check-TESTS: $(TESTS)
     332        @failed=0; all=0; xfail=0; xpass=0; skip=0; \
     333        srcdir=$(srcdir); export srcdir; \
     334        list='$(TESTS)'; \
     335        if test -n "$$list"; then \
     336          for tst in $$list; do \
     337            if test -f ./$$tst; then dir=./; \
     338            elif test -f $$tst; then dir=; \
     339            else dir="$(srcdir)/"; fi; \
     340            if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
     341              all=`expr $$all + 1`; \
     342              case " $(XFAIL_TESTS) " in \
     343              *" $$tst "*) \
     344                xpass=`expr $$xpass + 1`; \
     345                failed=`expr $$failed + 1`; \
     346                echo "XPASS: $$tst"; \
     347              ;; \
     348              *) \
     349                echo "PASS: $$tst"; \
     350              ;; \
     351              esac; \
     352            elif test $$? -ne 77; then \
     353              all=`expr $$all + 1`; \
     354              case " $(XFAIL_TESTS) " in \
     355              *" $$tst "*) \
     356                xfail=`expr $$xfail + 1`; \
     357                echo "XFAIL: $$tst"; \
     358              ;; \
     359              *) \
     360                failed=`expr $$failed + 1`; \
     361                echo "FAIL: $$tst"; \
     362              ;; \
     363              esac; \
     364            else \
     365              skip=`expr $$skip + 1`; \
     366              echo "SKIP: $$tst"; \
     367            fi; \
     368          done; \
     369          if test "$$failed" -eq 0; then \
     370            if test "$$xfail" -eq 0; then \
     371              banner="All $$all tests passed"; \
     372            else \
     373              banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
     374            fi; \
     375          else \
     376            if test "$$xpass" -eq 0; then \
     377              banner="$$failed of $$all tests failed"; \
     378            else \
     379              banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
     380            fi; \
     381          fi; \
     382          dashes="$$banner"; \
     383          skipped=""; \
     384          if test "$$skip" -ne 0; then \
     385            skipped="($$skip tests were not run)"; \
     386            test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
     387              dashes="$$skipped"; \
     388          fi; \
     389          report=""; \
     390          if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
     391            report="Please report to $(PACKAGE_BUGREPORT)"; \
     392            test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
     393              dashes="$$report"; \
     394          fi; \
     395          dashes=`echo "$$dashes" | sed s/./=/g`; \
     396          echo "$$dashes"; \
     397          echo "$$banner"; \
     398          test -z "$$skipped" || echo "$$skipped"; \
     399          test -z "$$report" || echo "$$report"; \
     400          echo "$$dashes"; \
     401          test "$$failed" -eq 0; \
     402        else :; fi
     403
     404distdir: $(DISTFILES)
     405        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
     406        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     407        list='$(DISTFILES)'; for file in $$list; do \
     408          case $$file in \
     409            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
     410            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
     411          esac; \
     412          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
     413          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
     414          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
     415            dir="/$$dir"; \
     416            $(mkdir_p) "$(distdir)$$dir"; \
     417          else \
     418            dir=''; \
     419          fi; \
     420          if test -d $$d/$$file; then \
     421            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
     422              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
     423            fi; \
     424            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
     425          else \
     426            test -f $(distdir)/$$file \
     427            || cp -p $$d/$$file $(distdir)/$$file \
     428            || exit 1; \
     429          fi; \
     430        done
     431check-am: all-am
     432        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
     433        $(MAKE) $(AM_MAKEFLAGS) check-TESTS
     434check: check-am
     435all-am: Makefile
     436installdirs:
     437install: install-am
     438install-exec: install-exec-am
     439install-data: install-data-am
     440uninstall: uninstall-am
     441
     442install-am: all-am
     443        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     444
     445installcheck: installcheck-am
     446install-strip:
     447        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     448          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     449          `test -z '$(STRIP)' || \
     450            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     451mostlyclean-generic:
     452
     453clean-generic:
     454
     455distclean-generic:
     456        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
     457
     458maintainer-clean-generic:
     459        @echo "This command is intended for maintainers to use"
     460        @echo "it deletes files that may require special tools to rebuild."
     461clean: clean-am
     462
     463clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
     464        mostlyclean-am
     465
     466distclean: distclean-am
     467        -rm -rf ./$(DEPDIR)
     468        -rm -f Makefile
     469distclean-am: clean-am distclean-compile distclean-generic \
     470        distclean-libtool distclean-tags
     471
     472dvi: dvi-am
     473
     474dvi-am:
     475
     476html: html-am
     477
     478info: info-am
     479
     480info-am:
     481
     482install-data-am:
     483
     484install-exec-am:
     485
     486install-info: install-info-am
     487
     488install-man:
     489
     490installcheck-am:
     491
     492maintainer-clean: maintainer-clean-am
     493        -rm -rf ./$(DEPDIR)
     494        -rm -f Makefile
     495maintainer-clean-am: distclean-am maintainer-clean-generic
     496
     497mostlyclean: mostlyclean-am
     498
     499mostlyclean-am: mostlyclean-compile mostlyclean-generic \
     500        mostlyclean-libtool
     501
     502pdf: pdf-am
     503
     504pdf-am:
     505
     506ps: ps-am
     507
     508ps-am:
     509
     510uninstall-am: uninstall-info-am
     511
     512.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
     513        clean-checkPROGRAMS clean-generic clean-libtool ctags \
     514        distclean distclean-compile distclean-generic \
     515        distclean-libtool distclean-tags distdir dvi dvi-am html \
     516        html-am info info-am install install-am install-data \
     517        install-data-am install-exec install-exec-am install-info \
     518        install-info-am install-man install-strip installcheck \
     519        installcheck-am installdirs maintainer-clean \
     520        maintainer-clean-generic mostlyclean mostlyclean-compile \
     521        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
     522        tags uninstall uninstall-am uninstall-info-am
     523
     524tests: $(TESTS)
     525# Tell versions [3.59,3.63) of GNU make to not export all variables.
     526# Otherwise a system limit (for SysV at least) may be exceeded.
     527.NOEXPORT:
  • trunk/psLib/test/dataIO/tst_psFits.c

    r3037 r3115  
    66*  @author Robert DeSonia, MHPCC
    77*
    8 *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
    9 *  @date $Date: 2005-01-18 19:35:24 $
     8*  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
     9*  @date $Date: 2005-02-03 00:54:12 $
    1010*
    1111*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    1212*/
    13 
    14 #include "psTest.h"
    15 #include "pslib.h"
    1613
    1714#include <unistd.h>
     
    2017#include <sys/types.h>
    2118
     19#include "psTest.h"
     20#include "pslib.h"
    2221
    2322#define GENIMAGE(img,c,r,TYP, valueFcn) \
  • trunk/psLib/test/dataIO/tst_psLookupTable_01.c

    r3056 r3115  
    1212*  @author  Ross Harman, MHPCC
    1313*
    14 *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
    15 *  @date  $Date: 2005-01-19 01:53:00 $
     14*  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
     15*  @date  $Date: 2005-02-03 00:54:12 $
    1616*
    1717*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1919*/
    2020
     21#include <string.h>
     22#include "config.h"
    2123#include "pslib.h"
    2224#include "psTest.h"
    23 #include <string.h>
    24 
    25 
    2625
    2726int main(int argc, char* argv[])
  • trunk/psLib/test/dataManip/Makefile

    r2780 r3115  
    1 ################################################################################
    2 ##
    3 ##  Makefile:   test/sysUtils
    4 ##
    5 ##  $Revision: 1.54 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-12-21 23:24:49 $
    7 ##
    8 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    9 ##
    10 ###############################################################################
    11 
    12 ifndef prefix
    13     export prefix=$(shell cd ../..;pwd)
    14 endif
    15 
    16 include ../../src/Makefile.Globals
    17 
    18 CFLAGS := -I../../include $(CFLAGS)
    19 LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS)
    20 TARGET = \
    21 tst_psFunc00 \
    22 tst_psFunc01 \
    23 tst_psFunc02 \
    24 tst_psFunc03 \
    25 tst_psFunc04 \
    26 tst_psFunc05 \
    27 tst_psFunc07 \
    28 tst_psHist00 \
    29 tst_psHist01 \
    30 tst_psHist02 \
    31 tst_psHist03 \
    32 tst_psMatrix01 \
    33 tst_psMatrix02 \
    34 tst_psMatrix03 \
    35 tst_psMatrix04 \
    36 tst_psMatrix05 \
    37 tst_psMatrix06 \
    38 tst_psMatrix07 \
    39 tst_psMatrixVectorArithmetic01 \
    40 tst_psMatrixVectorArithmetic02 \
    41 tst_psMatrixVectorArithmetic03 \
    42 tst_psMatrixVectorArithmetic04 \
    43 tst_psMinimize04 \
    44 tst_psMinimize04_F32 \
    45 tst_psMinimize04b \
    46 tst_psMinimize04b_F32 \
    47 tst_psMinimize05 \
    48 tst_psMinimize06 \
    49 tst_psMinimize07 \
    50 tst_psStats00 \
    51 tst_psStats01 \
    52 tst_psStats02 \
    53 tst_psStats03 \
    54 tst_psStats05 \
    55 tst_psStats06 \
    56 tst_psStats07 \
    57 tst_psStats08 \
    58 tst_psStats09 \
    59 tst_psRandom \
    60 tst_psVectorFFT
    61 # tst_psFunc06 \
    62 # tst_psMinimize04b \
    63 
    64 OBJS = $(addsuffix .o,$(TARGET))
    65 
    66 all: $(TARGET)
    67 
    68 # include $(DEPENDENCIES)
    69 
    70 clean:
    71         @echo "    Deleting executable and binary files for 'test/collections'"
    72         $(RM) $(OBJS)
    73 
    74 distclean: clean
    75         $(RM) $(TARGET)
    76 
    77 install: $(testbindir) $(testbindir)/verified $(TARGET)
    78         install $(TARGET) $(testbindir)
    79         install verified/*.stderr verified/*.stdout $(testbindir)/verified
    80 
    81 $(testbindir):
    82         mkdir -p $(testbindir)
    83 
    84 $(testbindir)/verified:
    85         mkdir -p $(testbindir)/verified
    86 
    87 
     1# Makefile.in generated by automake 1.9.1 from Makefile.am.
     2# test/dataManip/Makefile.  Generated from Makefile.in by configure.
     3
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
     6# This Makefile.in is free software; the Free Software Foundation
     7# gives unlimited permission to copy and/or distribute it,
     8# with or without modifications, as long as this notice is preserved.
     9
     10# This program is distributed in the hope that it will be useful,
     11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     13# PARTICULAR PURPOSE.
     14
     15
     16SOURCES = $(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)
     17
     18srcdir = .
     19top_srcdir = ../..
     20
     21pkgdatadir = $(datadir)/pslib
     22pkglibdir = $(libdir)/pslib
     23pkgincludedir = $(includedir)/pslib
     24top_builddir = ../..
     25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     26INSTALL = /usr/bin/install -c
     27install_sh_DATA = $(install_sh) -c -m 644
     28install_sh_PROGRAM = $(install_sh) -c
     29install_sh_SCRIPT = $(install_sh) -c
     30INSTALL_HEADER = $(INSTALL_DATA)
     31transform = $(program_transform_name)
     32NORMAL_INSTALL = :
     33PRE_INSTALL = :
     34POST_INSTALL = :
     35NORMAL_UNINSTALL = :
     36PRE_UNINSTALL = :
     37POST_UNINSTALL = :
     38build_triplet = x86_64-unknown-linux-gnu
     39host_triplet = x86_64-unknown-linux-gnu
     40check_PROGRAMS = tst_psFunc00$(EXEEXT) tst_psFunc01$(EXEEXT) \
     41        tst_psFunc02$(EXEEXT) tst_psFunc03$(EXEEXT) \
     42        tst_psFunc04$(EXEEXT) tst_psFunc05$(EXEEXT) \
     43        tst_psFunc07$(EXEEXT) tst_psHist00$(EXEEXT) \
     44        tst_psHist01$(EXEEXT) tst_psHist02$(EXEEXT) \
     45        tst_psHist03$(EXEEXT) tst_psMatrix01$(EXEEXT) \
     46        tst_psMatrix02$(EXEEXT) tst_psMatrix03$(EXEEXT) \
     47        tst_psMatrix04$(EXEEXT) tst_psMatrix05$(EXEEXT) \
     48        tst_psMatrix06$(EXEEXT) tst_psMatrix07$(EXEEXT) \
     49        tst_psMatrixVectorArithmetic01$(EXEEXT) \
     50        tst_psMatrixVectorArithmetic02$(EXEEXT) \
     51        tst_psMatrixVectorArithmetic03$(EXEEXT) \
     52        tst_psMatrixVectorArithmetic04$(EXEEXT) \
     53        tst_psMinimize04$(EXEEXT) tst_psMinimize04_F32$(EXEEXT) \
     54        tst_psMinimize04b$(EXEEXT) tst_psMinimize04b_F32$(EXEEXT) \
     55        tst_psMinimize05$(EXEEXT) tst_psMinimize06$(EXEEXT) \
     56        tst_psMinimize07$(EXEEXT) tst_psStats00$(EXEEXT) \
     57        tst_psStats01$(EXEEXT) tst_psStats02$(EXEEXT) \
     58        tst_psStats03$(EXEEXT) tst_psStats05$(EXEEXT) \
     59        tst_psStats06$(EXEEXT) tst_psStats07$(EXEEXT) \
     60        tst_psStats08$(EXEEXT) tst_psStats09$(EXEEXT) \
     61        tst_psRandom$(EXEEXT) tst_psVectorFFT$(EXEEXT)
     62subdir = test/dataManip
     63DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
     64ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     65am__aclocal_m4_deps = $(top_srcdir)/configure.in
     66am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     67        $(ACLOCAL_M4)
     68mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     69CONFIG_HEADER = $(top_builddir)/src/config.h
     70CONFIG_CLEAN_FILES =
     71am_tst_psFunc00_OBJECTS = tst_psFunc00.$(OBJEXT)
     72tst_psFunc00_OBJECTS = $(am_tst_psFunc00_OBJECTS)
     73tst_psFunc00_LDADD = $(LDADD)
     74am_tst_psFunc01_OBJECTS = tst_psFunc01.$(OBJEXT)
     75tst_psFunc01_OBJECTS = $(am_tst_psFunc01_OBJECTS)
     76tst_psFunc01_LDADD = $(LDADD)
     77am_tst_psFunc02_OBJECTS = tst_psFunc02.$(OBJEXT)
     78tst_psFunc02_OBJECTS = $(am_tst_psFunc02_OBJECTS)
     79tst_psFunc02_LDADD = $(LDADD)
     80am_tst_psFunc03_OBJECTS = tst_psFunc03.$(OBJEXT)
     81tst_psFunc03_OBJECTS = $(am_tst_psFunc03_OBJECTS)
     82tst_psFunc03_LDADD = $(LDADD)
     83am_tst_psFunc04_OBJECTS = tst_psFunc04.$(OBJEXT)
     84tst_psFunc04_OBJECTS = $(am_tst_psFunc04_OBJECTS)
     85tst_psFunc04_LDADD = $(LDADD)
     86am_tst_psFunc05_OBJECTS = tst_psFunc05.$(OBJEXT)
     87tst_psFunc05_OBJECTS = $(am_tst_psFunc05_OBJECTS)
     88tst_psFunc05_LDADD = $(LDADD)
     89am_tst_psFunc07_OBJECTS = tst_psFunc07.$(OBJEXT)
     90tst_psFunc07_OBJECTS = $(am_tst_psFunc07_OBJECTS)
     91tst_psFunc07_LDADD = $(LDADD)
     92am_tst_psHist00_OBJECTS = tst_psHist00.$(OBJEXT)
     93tst_psHist00_OBJECTS = $(am_tst_psHist00_OBJECTS)
     94tst_psHist00_LDADD = $(LDADD)
     95am_tst_psHist01_OBJECTS = tst_psHist01.$(OBJEXT)
     96tst_psHist01_OBJECTS = $(am_tst_psHist01_OBJECTS)
     97tst_psHist01_LDADD = $(LDADD)
     98am_tst_psHist02_OBJECTS = tst_psHist02.$(OBJEXT)
     99tst_psHist02_OBJECTS = $(am_tst_psHist02_OBJECTS)
     100tst_psHist02_LDADD = $(LDADD)
     101am_tst_psHist03_OBJECTS = tst_psHist03.$(OBJEXT)
     102tst_psHist03_OBJECTS = $(am_tst_psHist03_OBJECTS)
     103tst_psHist03_LDADD = $(LDADD)
     104am_tst_psMatrix01_OBJECTS = tst_psMatrix01.$(OBJEXT)
     105tst_psMatrix01_OBJECTS = $(am_tst_psMatrix01_OBJECTS)
     106tst_psMatrix01_LDADD = $(LDADD)
     107am_tst_psMatrix02_OBJECTS = tst_psMatrix02.$(OBJEXT)
     108tst_psMatrix02_OBJECTS = $(am_tst_psMatrix02_OBJECTS)
     109tst_psMatrix02_LDADD = $(LDADD)
     110am_tst_psMatrix03_OBJECTS = tst_psMatrix03.$(OBJEXT)
     111tst_psMatrix03_OBJECTS = $(am_tst_psMatrix03_OBJECTS)
     112tst_psMatrix03_LDADD = $(LDADD)
     113am_tst_psMatrix04_OBJECTS = tst_psMatrix04.$(OBJEXT)
     114tst_psMatrix04_OBJECTS = $(am_tst_psMatrix04_OBJECTS)
     115tst_psMatrix04_LDADD = $(LDADD)
     116am_tst_psMatrix05_OBJECTS = tst_psMatrix05.$(OBJEXT)
     117tst_psMatrix05_OBJECTS = $(am_tst_psMatrix05_OBJECTS)
     118tst_psMatrix05_LDADD = $(LDADD)
     119am_tst_psMatrix06_OBJECTS = tst_psMatrix06.$(OBJEXT)
     120tst_psMatrix06_OBJECTS = $(am_tst_psMatrix06_OBJECTS)
     121tst_psMatrix06_LDADD = $(LDADD)
     122am_tst_psMatrix07_OBJECTS = tst_psMatrix07.$(OBJEXT)
     123tst_psMatrix07_OBJECTS = $(am_tst_psMatrix07_OBJECTS)
     124tst_psMatrix07_LDADD = $(LDADD)
     125am_tst_psMatrixVectorArithmetic01_OBJECTS =  \
     126        tst_psMatrixVectorArithmetic01.$(OBJEXT)
     127tst_psMatrixVectorArithmetic01_OBJECTS =  \
     128        $(am_tst_psMatrixVectorArithmetic01_OBJECTS)
     129tst_psMatrixVectorArithmetic01_LDADD = $(LDADD)
     130am_tst_psMatrixVectorArithmetic02_OBJECTS =  \
     131        tst_psMatrixVectorArithmetic02.$(OBJEXT)
     132tst_psMatrixVectorArithmetic02_OBJECTS =  \
     133        $(am_tst_psMatrixVectorArithmetic02_OBJECTS)
     134tst_psMatrixVectorArithmetic02_LDADD = $(LDADD)
     135am_tst_psMatrixVectorArithmetic03_OBJECTS =  \
     136        tst_psMatrixVectorArithmetic03.$(OBJEXT)
     137tst_psMatrixVectorArithmetic03_OBJECTS =  \
     138        $(am_tst_psMatrixVectorArithmetic03_OBJECTS)
     139tst_psMatrixVectorArithmetic03_LDADD = $(LDADD)
     140am_tst_psMatrixVectorArithmetic04_OBJECTS =  \
     141        tst_psMatrixVectorArithmetic04.$(OBJEXT)
     142tst_psMatrixVectorArithmetic04_OBJECTS =  \
     143        $(am_tst_psMatrixVectorArithmetic04_OBJECTS)
     144tst_psMatrixVectorArithmetic04_LDADD = $(LDADD)
     145am_tst_psMinimize04_OBJECTS = tst_psMinimize04.$(OBJEXT)
     146tst_psMinimize04_OBJECTS = $(am_tst_psMinimize04_OBJECTS)
     147tst_psMinimize04_LDADD = $(LDADD)
     148am_tst_psMinimize04_F32_OBJECTS = tst_psMinimize04.$(OBJEXT)
     149tst_psMinimize04_F32_OBJECTS = $(am_tst_psMinimize04_F32_OBJECTS)
     150tst_psMinimize04_F32_LDADD = $(LDADD)
     151am_tst_psMinimize04b_OBJECTS = tst_psMinimize04b.$(OBJEXT)
     152tst_psMinimize04b_OBJECTS = $(am_tst_psMinimize04b_OBJECTS)
     153tst_psMinimize04b_LDADD = $(LDADD)
     154am_tst_psMinimize04b_F32_OBJECTS = tst_psMinimize04b.$(OBJEXT)
     155tst_psMinimize04b_F32_OBJECTS = $(am_tst_psMinimize04b_F32_OBJECTS)
     156tst_psMinimize04b_F32_LDADD = $(LDADD)
     157am_tst_psMinimize05_OBJECTS = tst_psMinimize05.$(OBJEXT)
     158tst_psMinimize05_OBJECTS = $(am_tst_psMinimize05_OBJECTS)
     159tst_psMinimize05_LDADD = $(LDADD)
     160am_tst_psMinimize06_OBJECTS = tst_psMinimize06.$(OBJEXT)
     161tst_psMinimize06_OBJECTS = $(am_tst_psMinimize06_OBJECTS)
     162tst_psMinimize06_LDADD = $(LDADD)
     163am_tst_psMinimize07_OBJECTS = tst_psMinimize07.$(OBJEXT)
     164tst_psMinimize07_OBJECTS = $(am_tst_psMinimize07_OBJECTS)
     165tst_psMinimize07_LDADD = $(LDADD)
     166am_tst_psRandom_OBJECTS = tst_psRandom.$(OBJEXT)
     167tst_psRandom_OBJECTS = $(am_tst_psRandom_OBJECTS)
     168tst_psRandom_LDADD = $(LDADD)
     169am_tst_psStats00_OBJECTS = tst_psStats00.$(OBJEXT)
     170tst_psStats00_OBJECTS = $(am_tst_psStats00_OBJECTS)
     171tst_psStats00_LDADD = $(LDADD)
     172am_tst_psStats01_OBJECTS = tst_psStats01.$(OBJEXT)
     173tst_psStats01_OBJECTS = $(am_tst_psStats01_OBJECTS)
     174tst_psStats01_LDADD = $(LDADD)
     175am_tst_psStats02_OBJECTS = tst_psStats02.$(OBJEXT)
     176tst_psStats02_OBJECTS = $(am_tst_psStats02_OBJECTS)
     177tst_psStats02_LDADD = $(LDADD)
     178am_tst_psStats03_OBJECTS = tst_psStats03.$(OBJEXT)
     179tst_psStats03_OBJECTS = $(am_tst_psStats03_OBJECTS)
     180tst_psStats03_LDADD = $(LDADD)
     181am_tst_psStats05_OBJECTS = tst_psStats05.$(OBJEXT)
     182tst_psStats05_OBJECTS = $(am_tst_psStats05_OBJECTS)
     183tst_psStats05_LDADD = $(LDADD)
     184am_tst_psStats06_OBJECTS = tst_psStats06.$(OBJEXT)
     185tst_psStats06_OBJECTS = $(am_tst_psStats06_OBJECTS)
     186tst_psStats06_LDADD = $(LDADD)
     187am_tst_psStats07_OBJECTS = tst_psStats07.$(OBJEXT)
     188tst_psStats07_OBJECTS = $(am_tst_psStats07_OBJECTS)
     189tst_psStats07_LDADD = $(LDADD)
     190am_tst_psStats08_OBJECTS = tst_psStats08.$(OBJEXT)
     191tst_psStats08_OBJECTS = $(am_tst_psStats08_OBJECTS)
     192tst_psStats08_LDADD = $(LDADD)
     193am_tst_psStats09_OBJECTS = tst_psStats09.$(OBJEXT)
     194tst_psStats09_OBJECTS = $(am_tst_psStats09_OBJECTS)
     195tst_psStats09_LDADD = $(LDADD)
     196am_tst_psVectorFFT_OBJECTS = tst_psVectorFFT.$(OBJEXT)
     197tst_psVectorFFT_OBJECTS = $(am_tst_psVectorFFT_OBJECTS)
     198tst_psVectorFFT_LDADD = $(LDADD)
     199DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
     200depcomp = $(SHELL) $(top_srcdir)/depcomp
     201am__depfiles_maybe = depfiles
     202COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
     203        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     204LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
     205        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
     206        $(AM_CFLAGS) $(CFLAGS)
     207CCLD = $(CC)
     208LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
     209        $(AM_LDFLAGS) $(LDFLAGS) -o $@
     210SOURCES = $(tst_psFunc00_SOURCES) $(tst_psFunc01_SOURCES) \
     211        $(tst_psFunc02_SOURCES) $(tst_psFunc03_SOURCES) \
     212        $(tst_psFunc04_SOURCES) $(tst_psFunc05_SOURCES) \
     213        $(tst_psFunc07_SOURCES) $(tst_psHist00_SOURCES) \
     214        $(tst_psHist01_SOURCES) $(tst_psHist02_SOURCES) \
     215        $(tst_psHist03_SOURCES) $(tst_psMatrix01_SOURCES) \
     216        $(tst_psMatrix02_SOURCES) $(tst_psMatrix03_SOURCES) \
     217        $(tst_psMatrix04_SOURCES) $(tst_psMatrix05_SOURCES) \
     218        $(tst_psMatrix06_SOURCES) $(tst_psMatrix07_SOURCES) \
     219        $(tst_psMatrixVectorArithmetic01_SOURCES) \
     220        $(tst_psMatrixVectorArithmetic02_SOURCES) \
     221        $(tst_psMatrixVectorArithmetic03_SOURCES) \
     222        $(tst_psMatrixVectorArithmetic04_SOURCES) \
     223        $(tst_psMinimize04_SOURCES) $(tst_psMinimize04_F32_SOURCES) \
     224        $(tst_psMinimize04b_SOURCES) $(tst_psMinimize04b_F32_SOURCES) \
     225        $(tst_psMinimize05_SOURCES) $(tst_psMinimize06_SOURCES) \
     226        $(tst_psMinimize07_SOURCES) $(tst_psRandom_SOURCES) \
     227        $(tst_psStats00_SOURCES) $(tst_psStats01_SOURCES) \
     228        $(tst_psStats02_SOURCES) $(tst_psStats03_SOURCES) \
     229        $(tst_psStats05_SOURCES) $(tst_psStats06_SOURCES) \
     230        $(tst_psStats07_SOURCES) $(tst_psStats08_SOURCES) \
     231        $(tst_psStats09_SOURCES) $(tst_psVectorFFT_SOURCES)
     232DIST_SOURCES = $(tst_psFunc00_SOURCES) $(tst_psFunc01_SOURCES) \
     233        $(tst_psFunc02_SOURCES) $(tst_psFunc03_SOURCES) \
     234        $(tst_psFunc04_SOURCES) $(tst_psFunc05_SOURCES) \
     235        $(tst_psFunc07_SOURCES) $(tst_psHist00_SOURCES) \
     236        $(tst_psHist01_SOURCES) $(tst_psHist02_SOURCES) \
     237        $(tst_psHist03_SOURCES) $(tst_psMatrix01_SOURCES) \
     238        $(tst_psMatrix02_SOURCES) $(tst_psMatrix03_SOURCES) \
     239        $(tst_psMatrix04_SOURCES) $(tst_psMatrix05_SOURCES) \
     240        $(tst_psMatrix06_SOURCES) $(tst_psMatrix07_SOURCES) \
     241        $(tst_psMatrixVectorArithmetic01_SOURCES) \
     242        $(tst_psMatrixVectorArithmetic02_SOURCES) \
     243        $(tst_psMatrixVectorArithmetic03_SOURCES) \
     244        $(tst_psMatrixVectorArithmetic04_SOURCES) \
     245        $(tst_psMinimize04_SOURCES) $(tst_psMinimize04_F32_SOURCES) \
     246        $(tst_psMinimize04b_SOURCES) $(tst_psMinimize04b_F32_SOURCES) \
     247        $(tst_psMinimize05_SOURCES) $(tst_psMinimize06_SOURCES) \
     248        $(tst_psMinimize07_SOURCES) $(tst_psRandom_SOURCES) \
     249        $(tst_psStats00_SOURCES) $(tst_psStats01_SOURCES) \
     250        $(tst_psStats02_SOURCES) $(tst_psStats03_SOURCES) \
     251        $(tst_psStats05_SOURCES) $(tst_psStats06_SOURCES) \
     252        $(tst_psStats07_SOURCES) $(tst_psStats08_SOURCES) \
     253        $(tst_psStats09_SOURCES) $(tst_psVectorFFT_SOURCES)
     254ETAGS = etags
     255CTAGS = ctags
     256DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     257ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
     258AMDEP_FALSE = #
     259AMDEP_TRUE =
     260AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
     261AR = ar
     262AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
     263AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
     264AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
     265AWK = gawk
     266CC = gcc
     267CCDEPMODE = depmode=gcc3
     268CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
     269CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
     270CPP = gcc -E
     271CPPFLAGS =
     272CXX = g++
     273CXXCPP = g++ -E
     274CXXDEPMODE = depmode=gcc3
     275CXXFLAGS = -g -O2
     276CYGPATH_W = echo
     277DEFS = -DHAVE_CONFIG_H
     278DEPDIR = .deps
     279ECHO = echo
     280ECHO_C =
     281ECHO_N = -n
     282ECHO_T =
     283EGREP = grep -E
     284EXEEXT =
     285F77 = g77
     286FFLAGS = -fno-second-underscore -O -fno-f2c
     287GSL_CONFIG = /usr/bin/gsl-config
     288INSTALL_DATA = ${INSTALL} -m 644
     289INSTALL_PROGRAM = ${INSTALL}
     290INSTALL_SCRIPT = ${INSTALL}
     291INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
     292LDFLAGS =
     293LIBOBJS =
     294LIBS =
     295LIBTOOL = $(SHELL) $(top_builddir)/libtool
     296LN_S = ln -s
     297LTLIBOBJS =
     298MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
     299OBJEXT = o
     300PACKAGE = pslib
     301PACKAGE_BUGREPORT =
     302PACKAGE_NAME =
     303PACKAGE_STRING =
     304PACKAGE_TARNAME =
     305PACKAGE_VERSION =
     306PATH_SEPARATOR = :
     307PERL = /usr/bin/perl
     308PSLIB_CFLAGS = -I${prefix}/include
     309PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
     310RANLIB = ranlib
     311SET_MAKE =
     312SHELL = /bin/sh
     313STRIP = strip
     314SWIG = /usr/bin/swig
     315VERSION = 1.5
     316XML_CONFIG = /usr/bin/xml2-config
     317ac_ct_AR = ar
     318ac_ct_CC = gcc
     319ac_ct_CXX = g++
     320ac_ct_F77 = g77
     321ac_ct_RANLIB = ranlib
     322ac_ct_STRIP = strip
     323am__fastdepCC_FALSE = #
     324am__fastdepCC_TRUE =
     325am__fastdepCXX_FALSE = #
     326am__fastdepCXX_TRUE =
     327am__include = include
     328am__leading_dot = .
     329am__quote =
     330am__tar = ${AMTAR} chof - "$$tardir"
     331am__untar = ${AMTAR} xf -
     332bindir = ${exec_prefix}/bin
     333build = x86_64-unknown-linux-gnu
     334build_alias =
     335build_cpu = x86_64
     336build_os = linux-gnu
     337build_vendor = unknown
     338datadir = ${prefix}/share
     339exec_prefix = ${prefix}
     340host = x86_64-unknown-linux-gnu
     341host_alias =
     342host_cpu = x86_64
     343host_os = linux-gnu
     344host_vendor = unknown
     345includedir = ${prefix}/include
     346infodir = ${prefix}/info
     347install_sh = /home/desonia/panstarrs/psLib/install-sh
     348libdir = ${exec_prefix}/lib
     349libexecdir = ${exec_prefix}/libexec
     350localstatedir = ${prefix}/var
     351mandir = ${prefix}/man
     352mkdir_p = mkdir -p --
     353oldincludedir = /usr/include
     354prefix = /home/desonia/panstarrs/psLib
     355program_transform_name = s,x,x,
     356sbindir = ${exec_prefix}/sbin
     357sharedstatedir = ${prefix}/com
     358sysconfdir = ${prefix}/etc
     359target_alias =
     360
     361#Makefile for astronomy functions of psLib
     362#
     363INCLUDES = \
     364        -I$(top_srcdir)/src \
     365        -I$(top_srcdir)/src/astronomy \
     366        -I$(top_srcdir)/src/collections \
     367        -I$(top_srcdir)/src/dataManip \
     368        -I$(top_srcdir)/src/fileUtils \
     369        -I$(top_srcdir)/src/image \
     370        -I$(top_srcdir)/src/sysUtils \
     371        $(all_includes)
     372
     373AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs`
     374TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest
     375TESTS = \
     376        tst_psFunc00 \
     377        tst_psFunc01 \
     378        tst_psFunc02 \
     379        tst_psFunc03 \
     380        tst_psFunc04 \
     381        tst_psFunc05 \
     382        tst_psFunc07 \
     383        tst_psHist00 \
     384        tst_psHist01 \
     385        tst_psHist02 \
     386        tst_psHist03 \
     387        tst_psMatrix01 \
     388        tst_psMatrix02 \
     389        tst_psMatrix03 \
     390        tst_psMatrix04 \
     391        tst_psMatrix05 \
     392        tst_psMatrix06 \
     393        tst_psMatrix07 \
     394        tst_psMatrixVectorArithmetic01 \
     395        tst_psMatrixVectorArithmetic02 \
     396        tst_psMatrixVectorArithmetic03 \
     397        tst_psMatrixVectorArithmetic04 \
     398        tst_psMinimize04 \
     399        tst_psMinimize04_F32 \
     400        tst_psMinimize04b \
     401        tst_psMinimize04b_F32 \
     402        tst_psMinimize05 \
     403        tst_psMinimize06 \
     404        tst_psMinimize07 \
     405        tst_psStats00 \
     406        tst_psStats01 \
     407        tst_psStats02 \
     408        tst_psStats03 \
     409        tst_psStats05 \
     410        tst_psStats06 \
     411        tst_psStats07 \
     412        tst_psStats08 \
     413        tst_psStats09 \
     414        tst_psRandom \
     415        tst_psVectorFFT
     416
     417tst_psFunc00_SOURCES = tst_psFunc00.c
     418tst_psFunc01_SOURCES = tst_psFunc01.c
     419tst_psFunc02_SOURCES = tst_psFunc02.c
     420tst_psFunc03_SOURCES = tst_psFunc03.c
     421tst_psFunc04_SOURCES = tst_psFunc04.c
     422tst_psFunc05_SOURCES = tst_psFunc05.c
     423tst_psFunc07_SOURCES = tst_psFunc07.c
     424tst_psHist00_SOURCES = tst_psHist00.c
     425tst_psHist01_SOURCES = tst_psHist01.c
     426tst_psHist02_SOURCES = tst_psHist02.c
     427tst_psHist03_SOURCES = tst_psHist03.c
     428tst_psMatrix01_SOURCES = tst_psMatrix01.c
     429tst_psMatrix02_SOURCES = tst_psMatrix02.c
     430tst_psMatrix03_SOURCES = tst_psMatrix03.c
     431tst_psMatrix04_SOURCES = tst_psMatrix04.c
     432tst_psMatrix05_SOURCES = tst_psMatrix05.c
     433tst_psMatrix06_SOURCES = tst_psMatrix06.c
     434tst_psMatrix07_SOURCES = tst_psMatrix07.c
     435tst_psMatrixVectorArithmetic01_SOURCES = tst_psMatrixVectorArithmetic01.c
     436tst_psMatrixVectorArithmetic02_SOURCES = tst_psMatrixVectorArithmetic02.c
     437tst_psMatrixVectorArithmetic03_SOURCES = tst_psMatrixVectorArithmetic03.c
     438tst_psMatrixVectorArithmetic04_SOURCES = tst_psMatrixVectorArithmetic04.c
     439tst_psMinimize04_SOURCES = tst_psMinimize04.c
     440tst_psMinimize04_F32_SOURCES = tst_psMinimize04.c
     441tst_psMinimize04b_SOURCES = tst_psMinimize04b.c
     442tst_psMinimize04b_F32_SOURCES = tst_psMinimize04b.c
     443tst_psMinimize05_SOURCES = tst_psMinimize05.c
     444tst_psMinimize06_SOURCES = tst_psMinimize06.c
     445tst_psMinimize07_SOURCES = tst_psMinimize07.c
     446tst_psStats00_SOURCES = tst_psStats00.c
     447tst_psStats01_SOURCES = tst_psStats01.c
     448tst_psStats02_SOURCES = tst_psStats02.c
     449tst_psStats03_SOURCES = tst_psStats03.c
     450tst_psStats05_SOURCES = tst_psStats05.c
     451tst_psStats06_SOURCES = tst_psStats06.c
     452tst_psStats07_SOURCES = tst_psStats07.c
     453tst_psStats08_SOURCES = tst_psStats08.c
     454tst_psStats09_SOURCES = tst_psStats09.c
     455tst_psRandom_SOURCES = tst_psRandom.c
     456tst_psVectorFFT_SOURCES = tst_psVectorFFT.c
     457all: all-am
     458
     459.SUFFIXES:
     460.SUFFIXES: .c .lo .o .obj
     461$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     462        @for dep in $?; do \
     463          case '$(am__configure_deps)' in \
     464            *$$dep*) \
     465              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     466                && exit 0; \
     467              exit 1;; \
     468          esac; \
     469        done; \
     470        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  test/dataManip/Makefile'; \
     471        cd $(top_srcdir) && \
     472          $(AUTOMAKE) --gnu  test/dataManip/Makefile
     473.PRECIOUS: Makefile
     474Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     475        @case '$?' in \
     476          *config.status*) \
     477            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     478          *) \
     479            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     480            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     481        esac;
     482
     483$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     484        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     485
     486$(top_srcdir)/configure:  $(am__configure_deps)
     487        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     488$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     489        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     490
     491clean-checkPROGRAMS:
     492        @list='$(check_PROGRAMS)'; for p in $$list; do \
     493          f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     494          echo " rm -f $$p $$f"; \
     495          rm -f $$p $$f ; \
     496        done
     497tst_psFunc00$(EXEEXT): $(tst_psFunc00_OBJECTS) $(tst_psFunc00_DEPENDENCIES)
     498        @rm -f tst_psFunc00$(EXEEXT)
     499        $(LINK) $(tst_psFunc00_LDFLAGS) $(tst_psFunc00_OBJECTS) $(tst_psFunc00_LDADD) $(LIBS)
     500tst_psFunc01$(EXEEXT): $(tst_psFunc01_OBJECTS) $(tst_psFunc01_DEPENDENCIES)
     501        @rm -f tst_psFunc01$(EXEEXT)
     502        $(LINK) $(tst_psFunc01_LDFLAGS) $(tst_psFunc01_OBJECTS) $(tst_psFunc01_LDADD) $(LIBS)
     503tst_psFunc02$(EXEEXT): $(tst_psFunc02_OBJECTS) $(tst_psFunc02_DEPENDENCIES)
     504        @rm -f tst_psFunc02$(EXEEXT)
     505        $(LINK) $(tst_psFunc02_LDFLAGS) $(tst_psFunc02_OBJECTS) $(tst_psFunc02_LDADD) $(LIBS)
     506tst_psFunc03$(EXEEXT): $(tst_psFunc03_OBJECTS) $(tst_psFunc03_DEPENDENCIES)
     507        @rm -f tst_psFunc03$(EXEEXT)
     508        $(LINK) $(tst_psFunc03_LDFLAGS) $(tst_psFunc03_OBJECTS) $(tst_psFunc03_LDADD) $(LIBS)
     509tst_psFunc04$(EXEEXT): $(tst_psFunc04_OBJECTS) $(tst_psFunc04_DEPENDENCIES)
     510        @rm -f tst_psFunc04$(EXEEXT)
     511        $(LINK) $(tst_psFunc04_LDFLAGS) $(tst_psFunc04_OBJECTS) $(tst_psFunc04_LDADD) $(LIBS)
     512tst_psFunc05$(EXEEXT): $(tst_psFunc05_OBJECTS) $(tst_psFunc05_DEPENDENCIES)
     513        @rm -f tst_psFunc05$(EXEEXT)
     514        $(LINK) $(tst_psFunc05_LDFLAGS) $(tst_psFunc05_OBJECTS) $(tst_psFunc05_LDADD) $(LIBS)
     515tst_psFunc07$(EXEEXT): $(tst_psFunc07_OBJECTS) $(tst_psFunc07_DEPENDENCIES)
     516        @rm -f tst_psFunc07$(EXEEXT)
     517        $(LINK) $(tst_psFunc07_LDFLAGS) $(tst_psFunc07_OBJECTS) $(tst_psFunc07_LDADD) $(LIBS)
     518tst_psHist00$(EXEEXT): $(tst_psHist00_OBJECTS) $(tst_psHist00_DEPENDENCIES)
     519        @rm -f tst_psHist00$(EXEEXT)
     520        $(LINK) $(tst_psHist00_LDFLAGS) $(tst_psHist00_OBJECTS) $(tst_psHist00_LDADD) $(LIBS)
     521tst_psHist01$(EXEEXT): $(tst_psHist01_OBJECTS) $(tst_psHist01_DEPENDENCIES)
     522        @rm -f tst_psHist01$(EXEEXT)
     523        $(LINK) $(tst_psHist01_LDFLAGS) $(tst_psHist01_OBJECTS) $(tst_psHist01_LDADD) $(LIBS)
     524tst_psHist02$(EXEEXT): $(tst_psHist02_OBJECTS) $(tst_psHist02_DEPENDENCIES)
     525        @rm -f tst_psHist02$(EXEEXT)
     526        $(LINK) $(tst_psHist02_LDFLAGS) $(tst_psHist02_OBJECTS) $(tst_psHist02_LDADD) $(LIBS)
     527tst_psHist03$(EXEEXT): $(tst_psHist03_OBJECTS) $(tst_psHist03_DEPENDENCIES)
     528        @rm -f tst_psHist03$(EXEEXT)
     529        $(LINK) $(tst_psHist03_LDFLAGS) $(tst_psHist03_OBJECTS) $(tst_psHist03_LDADD) $(LIBS)
     530tst_psMatrix01$(EXEEXT): $(tst_psMatrix01_OBJECTS) $(tst_psMatrix01_DEPENDENCIES)
     531        @rm -f tst_psMatrix01$(EXEEXT)
     532        $(LINK) $(tst_psMatrix01_LDFLAGS) $(tst_psMatrix01_OBJECTS) $(tst_psMatrix01_LDADD) $(LIBS)
     533tst_psMatrix02$(EXEEXT): $(tst_psMatrix02_OBJECTS) $(tst_psMatrix02_DEPENDENCIES)
     534        @rm -f tst_psMatrix02$(EXEEXT)
     535        $(LINK) $(tst_psMatrix02_LDFLAGS) $(tst_psMatrix02_OBJECTS) $(tst_psMatrix02_LDADD) $(LIBS)
     536tst_psMatrix03$(EXEEXT): $(tst_psMatrix03_OBJECTS) $(tst_psMatrix03_DEPENDENCIES)
     537        @rm -f tst_psMatrix03$(EXEEXT)
     538        $(LINK) $(tst_psMatrix03_LDFLAGS) $(tst_psMatrix03_OBJECTS) $(tst_psMatrix03_LDADD) $(LIBS)
     539tst_psMatrix04$(EXEEXT): $(tst_psMatrix04_OBJECTS) $(tst_psMatrix04_DEPENDENCIES)
     540        @rm -f tst_psMatrix04$(EXEEXT)
     541        $(LINK) $(tst_psMatrix04_LDFLAGS) $(tst_psMatrix04_OBJECTS) $(tst_psMatrix04_LDADD) $(LIBS)
     542tst_psMatrix05$(EXEEXT): $(tst_psMatrix05_OBJECTS) $(tst_psMatrix05_DEPENDENCIES)
     543        @rm -f tst_psMatrix05$(EXEEXT)
     544        $(LINK) $(tst_psMatrix05_LDFLAGS) $(tst_psMatrix05_OBJECTS) $(tst_psMatrix05_LDADD) $(LIBS)
     545tst_psMatrix06$(EXEEXT): $(tst_psMatrix06_OBJECTS) $(tst_psMatrix06_DEPENDENCIES)
     546        @rm -f tst_psMatrix06$(EXEEXT)
     547        $(LINK) $(tst_psMatrix06_LDFLAGS) $(tst_psMatrix06_OBJECTS) $(tst_psMatrix06_LDADD) $(LIBS)
     548tst_psMatrix07$(EXEEXT): $(tst_psMatrix07_OBJECTS) $(tst_psMatrix07_DEPENDENCIES)
     549        @rm -f tst_psMatrix07$(EXEEXT)
     550        $(LINK) $(tst_psMatrix07_LDFLAGS) $(tst_psMatrix07_OBJECTS) $(tst_psMatrix07_LDADD) $(LIBS)
     551tst_psMatrixVectorArithmetic01$(EXEEXT): $(tst_psMatrixVectorArithmetic01_OBJECTS) $(tst_psMatrixVectorArithmetic01_DEPENDENCIES)
     552        @rm -f tst_psMatrixVectorArithmetic01$(EXEEXT)
     553        $(LINK) $(tst_psMatrixVectorArithmetic01_LDFLAGS) $(tst_psMatrixVectorArithmetic01_OBJECTS) $(tst_psMatrixVectorArithmetic01_LDADD) $(LIBS)
     554tst_psMatrixVectorArithmetic02$(EXEEXT): $(tst_psMatrixVectorArithmetic02_OBJECTS) $(tst_psMatrixVectorArithmetic02_DEPENDENCIES)
     555        @rm -f tst_psMatrixVectorArithmetic02$(EXEEXT)
     556        $(LINK) $(tst_psMatrixVectorArithmetic02_LDFLAGS) $(tst_psMatrixVectorArithmetic02_OBJECTS) $(tst_psMatrixVectorArithmetic02_LDADD) $(LIBS)
     557tst_psMatrixVectorArithmetic03$(EXEEXT): $(tst_psMatrixVectorArithmetic03_OBJECTS) $(tst_psMatrixVectorArithmetic03_DEPENDENCIES)
     558        @rm -f tst_psMatrixVectorArithmetic03$(EXEEXT)
     559        $(LINK) $(tst_psMatrixVectorArithmetic03_LDFLAGS) $(tst_psMatrixVectorArithmetic03_OBJECTS) $(tst_psMatrixVectorArithmetic03_LDADD) $(LIBS)
     560tst_psMatrixVectorArithmetic04$(EXEEXT): $(tst_psMatrixVectorArithmetic04_OBJECTS) $(tst_psMatrixVectorArithmetic04_DEPENDENCIES)
     561        @rm -f tst_psMatrixVectorArithmetic04$(EXEEXT)
     562        $(LINK) $(tst_psMatrixVectorArithmetic04_LDFLAGS) $(tst_psMatrixVectorArithmetic04_OBJECTS) $(tst_psMatrixVectorArithmetic04_LDADD) $(LIBS)
     563tst_psMinimize04$(EXEEXT): $(tst_psMinimize04_OBJECTS) $(tst_psMinimize04_DEPENDENCIES)
     564        @rm -f tst_psMinimize04$(EXEEXT)
     565        $(LINK) $(tst_psMinimize04_LDFLAGS) $(tst_psMinimize04_OBJECTS) $(tst_psMinimize04_LDADD) $(LIBS)
     566tst_psMinimize04_F32$(EXEEXT): $(tst_psMinimize04_F32_OBJECTS) $(tst_psMinimize04_F32_DEPENDENCIES)
     567        @rm -f tst_psMinimize04_F32$(EXEEXT)
     568        $(LINK) $(tst_psMinimize04_F32_LDFLAGS) $(tst_psMinimize04_F32_OBJECTS) $(tst_psMinimize04_F32_LDADD) $(LIBS)
     569tst_psMinimize04b$(EXEEXT): $(tst_psMinimize04b_OBJECTS) $(tst_psMinimize04b_DEPENDENCIES)
     570        @rm -f tst_psMinimize04b$(EXEEXT)
     571        $(LINK) $(tst_psMinimize04b_LDFLAGS) $(tst_psMinimize04b_OBJECTS) $(tst_psMinimize04b_LDADD) $(LIBS)
     572tst_psMinimize04b_F32$(EXEEXT): $(tst_psMinimize04b_F32_OBJECTS) $(tst_psMinimize04b_F32_DEPENDENCIES)
     573        @rm -f tst_psMinimize04b_F32$(EXEEXT)
     574        $(LINK) $(tst_psMinimize04b_F32_LDFLAGS) $(tst_psMinimize04b_F32_OBJECTS) $(tst_psMinimize04b_F32_LDADD) $(LIBS)
     575tst_psMinimize05$(EXEEXT): $(tst_psMinimize05_OBJECTS) $(tst_psMinimize05_DEPENDENCIES)
     576        @rm -f tst_psMinimize05$(EXEEXT)
     577        $(LINK) $(tst_psMinimize05_LDFLAGS) $(tst_psMinimize05_OBJECTS) $(tst_psMinimize05_LDADD) $(LIBS)
     578tst_psMinimize06$(EXEEXT): $(tst_psMinimize06_OBJECTS) $(tst_psMinimize06_DEPENDENCIES)
     579        @rm -f tst_psMinimize06$(EXEEXT)
     580        $(LINK) $(tst_psMinimize06_LDFLAGS) $(tst_psMinimize06_OBJECTS) $(tst_psMinimize06_LDADD) $(LIBS)
     581tst_psMinimize07$(EXEEXT): $(tst_psMinimize07_OBJECTS) $(tst_psMinimize07_DEPENDENCIES)
     582        @rm -f tst_psMinimize07$(EXEEXT)
     583        $(LINK) $(tst_psMinimize07_LDFLAGS) $(tst_psMinimize07_OBJECTS) $(tst_psMinimize07_LDADD) $(LIBS)
     584tst_psRandom$(EXEEXT): $(tst_psRandom_OBJECTS) $(tst_psRandom_DEPENDENCIES)
     585        @rm -f tst_psRandom$(EXEEXT)
     586        $(LINK) $(tst_psRandom_LDFLAGS) $(tst_psRandom_OBJECTS) $(tst_psRandom_LDADD) $(LIBS)
     587tst_psStats00$(EXEEXT): $(tst_psStats00_OBJECTS) $(tst_psStats00_DEPENDENCIES)
     588        @rm -f tst_psStats00$(EXEEXT)
     589        $(LINK) $(tst_psStats00_LDFLAGS) $(tst_psStats00_OBJECTS) $(tst_psStats00_LDADD) $(LIBS)
     590tst_psStats01$(EXEEXT): $(tst_psStats01_OBJECTS) $(tst_psStats01_DEPENDENCIES)
     591        @rm -f tst_psStats01$(EXEEXT)
     592        $(LINK) $(tst_psStats01_LDFLAGS) $(tst_psStats01_OBJECTS) $(tst_psStats01_LDADD) $(LIBS)
     593tst_psStats02$(EXEEXT): $(tst_psStats02_OBJECTS) $(tst_psStats02_DEPENDENCIES)
     594        @rm -f tst_psStats02$(EXEEXT)
     595        $(LINK) $(tst_psStats02_LDFLAGS) $(tst_psStats02_OBJECTS) $(tst_psStats02_LDADD) $(LIBS)
     596tst_psStats03$(EXEEXT): $(tst_psStats03_OBJECTS) $(tst_psStats03_DEPENDENCIES)
     597        @rm -f tst_psStats03$(EXEEXT)
     598        $(LINK) $(tst_psStats03_LDFLAGS) $(tst_psStats03_OBJECTS) $(tst_psStats03_LDADD) $(LIBS)
     599tst_psStats05$(EXEEXT): $(tst_psStats05_OBJECTS) $(tst_psStats05_DEPENDENCIES)
     600        @rm -f tst_psStats05$(EXEEXT)
     601        $(LINK) $(tst_psStats05_LDFLAGS) $(tst_psStats05_OBJECTS) $(tst_psStats05_LDADD) $(LIBS)
     602tst_psStats06$(EXEEXT): $(tst_psStats06_OBJECTS) $(tst_psStats06_DEPENDENCIES)
     603        @rm -f tst_psStats06$(EXEEXT)
     604        $(LINK) $(tst_psStats06_LDFLAGS) $(tst_psStats06_OBJECTS) $(tst_psStats06_LDADD) $(LIBS)
     605tst_psStats07$(EXEEXT): $(tst_psStats07_OBJECTS) $(tst_psStats07_DEPENDENCIES)
     606        @rm -f tst_psStats07$(EXEEXT)
     607        $(LINK) $(tst_psStats07_LDFLAGS) $(tst_psStats07_OBJECTS) $(tst_psStats07_LDADD) $(LIBS)
     608tst_psStats08$(EXEEXT): $(tst_psStats08_OBJECTS) $(tst_psStats08_DEPENDENCIES)
     609        @rm -f tst_psStats08$(EXEEXT)
     610        $(LINK) $(tst_psStats08_LDFLAGS) $(tst_psStats08_OBJECTS) $(tst_psStats08_LDADD) $(LIBS)
     611tst_psStats09$(EXEEXT): $(tst_psStats09_OBJECTS) $(tst_psStats09_DEPENDENCIES)
     612        @rm -f tst_psStats09$(EXEEXT)
     613        $(LINK) $(tst_psStats09_LDFLAGS) $(tst_psStats09_OBJECTS) $(tst_psStats09_LDADD) $(LIBS)
     614tst_psVectorFFT$(EXEEXT): $(tst_psVectorFFT_OBJECTS) $(tst_psVectorFFT_DEPENDENCIES)
     615        @rm -f tst_psVectorFFT$(EXEEXT)
     616        $(LINK) $(tst_psVectorFFT_LDFLAGS) $(tst_psVectorFFT_OBJECTS) $(tst_psVectorFFT_LDADD) $(LIBS)
     617
     618mostlyclean-compile:
     619        -rm -f *.$(OBJEXT)
     620
     621distclean-compile:
     622        -rm -f *.tab.c
     623
     624include ./$(DEPDIR)/tst_psFunc00.Po
     625include ./$(DEPDIR)/tst_psFunc01.Po
     626include ./$(DEPDIR)/tst_psFunc02.Po
     627include ./$(DEPDIR)/tst_psFunc03.Po
     628include ./$(DEPDIR)/tst_psFunc04.Po
     629include ./$(DEPDIR)/tst_psFunc05.Po
     630include ./$(DEPDIR)/tst_psFunc07.Po
     631include ./$(DEPDIR)/tst_psHist00.Po
     632include ./$(DEPDIR)/tst_psHist01.Po
     633include ./$(DEPDIR)/tst_psHist02.Po
     634include ./$(DEPDIR)/tst_psHist03.Po
     635include ./$(DEPDIR)/tst_psMatrix01.Po
     636include ./$(DEPDIR)/tst_psMatrix02.Po
     637include ./$(DEPDIR)/tst_psMatrix03.Po
     638include ./$(DEPDIR)/tst_psMatrix04.Po
     639include ./$(DEPDIR)/tst_psMatrix05.Po
     640include ./$(DEPDIR)/tst_psMatrix06.Po
     641include ./$(DEPDIR)/tst_psMatrix07.Po
     642include ./$(DEPDIR)/tst_psMatrixVectorArithmetic01.Po
     643include ./$(DEPDIR)/tst_psMatrixVectorArithmetic02.Po
     644include ./$(DEPDIR)/tst_psMatrixVectorArithmetic03.Po
     645include ./$(DEPDIR)/tst_psMatrixVectorArithmetic04.Po
     646include ./$(DEPDIR)/tst_psMinimize04.Po
     647include ./$(DEPDIR)/tst_psMinimize04b.Po
     648include ./$(DEPDIR)/tst_psMinimize05.Po
     649include ./$(DEPDIR)/tst_psMinimize06.Po
     650include ./$(DEPDIR)/tst_psMinimize07.Po
     651include ./$(DEPDIR)/tst_psRandom.Po
     652include ./$(DEPDIR)/tst_psStats00.Po
     653include ./$(DEPDIR)/tst_psStats01.Po
     654include ./$(DEPDIR)/tst_psStats02.Po
     655include ./$(DEPDIR)/tst_psStats03.Po
     656include ./$(DEPDIR)/tst_psStats05.Po
     657include ./$(DEPDIR)/tst_psStats06.Po
     658include ./$(DEPDIR)/tst_psStats07.Po
     659include ./$(DEPDIR)/tst_psStats08.Po
     660include ./$(DEPDIR)/tst_psStats09.Po
     661include ./$(DEPDIR)/tst_psVectorFFT.Po
     662
     663.c.o:
     664        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     665        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     666#       source='$<' object='$@' libtool=no \
     667#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     668#       $(COMPILE) -c $<
     669
     670.c.obj:
     671        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     672        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     673#       source='$<' object='$@' libtool=no \
     674#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     675#       $(COMPILE) -c `$(CYGPATH_W) '$<'`
     676
     677.c.lo:
     678        if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     679        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     680#       source='$<' object='$@' libtool=yes \
     681#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     682#       $(LTCOMPILE) -c -o $@ $<
     683
     684mostlyclean-libtool:
     685        -rm -f *.lo
     686
     687clean-libtool:
     688        -rm -rf .libs _libs
     689
     690distclean-libtool:
     691        -rm -f libtool
     692uninstall-info-am:
     693
     694ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     695        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     696        unique=`for i in $$list; do \
     697            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     698          done | \
     699          $(AWK) '    { files[$$0] = 1; } \
     700               END { for (i in files) print i; }'`; \
     701        mkid -fID $$unique
     702tags: TAGS
     703
     704TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     705                $(TAGS_FILES) $(LISP)
     706        tags=; \
     707        here=`pwd`; \
     708        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     709        unique=`for i in $$list; do \
     710            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     711          done | \
     712          $(AWK) '    { files[$$0] = 1; } \
     713               END { for (i in files) print i; }'`; \
     714        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     715          test -n "$$unique" || unique=$$empty_fix; \
     716          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     717            $$tags $$unique; \
     718        fi
     719ctags: CTAGS
     720CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     721                $(TAGS_FILES) $(LISP)
     722        tags=; \
     723        here=`pwd`; \
     724        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     725        unique=`for i in $$list; do \
     726            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     727          done | \
     728          $(AWK) '    { files[$$0] = 1; } \
     729               END { for (i in files) print i; }'`; \
     730        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     731          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     732             $$tags $$unique
     733
     734GTAGS:
     735        here=`$(am__cd) $(top_builddir) && pwd` \
     736          && cd $(top_srcdir) \
     737          && gtags -i $(GTAGS_ARGS) $$here
     738
     739distclean-tags:
     740        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     741
     742check-TESTS: $(TESTS)
     743        @failed=0; all=0; xfail=0; xpass=0; skip=0; \
     744        srcdir=$(srcdir); export srcdir; \
     745        list='$(TESTS)'; \
     746        if test -n "$$list"; then \
     747          for tst in $$list; do \
     748            if test -f ./$$tst; then dir=./; \
     749            elif test -f $$tst; then dir=; \
     750            else dir="$(srcdir)/"; fi; \
     751            if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
     752              all=`expr $$all + 1`; \
     753              case " $(XFAIL_TESTS) " in \
     754              *" $$tst "*) \
     755                xpass=`expr $$xpass + 1`; \
     756                failed=`expr $$failed + 1`; \
     757                echo "XPASS: $$tst"; \
     758              ;; \
     759              *) \
     760                echo "PASS: $$tst"; \
     761              ;; \
     762              esac; \
     763            elif test $$? -ne 77; then \
     764              all=`expr $$all + 1`; \
     765              case " $(XFAIL_TESTS) " in \
     766              *" $$tst "*) \
     767                xfail=`expr $$xfail + 1`; \
     768                echo "XFAIL: $$tst"; \
     769              ;; \
     770              *) \
     771                failed=`expr $$failed + 1`; \
     772                echo "FAIL: $$tst"; \
     773              ;; \
     774              esac; \
     775            else \
     776              skip=`expr $$skip + 1`; \
     777              echo "SKIP: $$tst"; \
     778            fi; \
     779          done; \
     780          if test "$$failed" -eq 0; then \
     781            if test "$$xfail" -eq 0; then \
     782              banner="All $$all tests passed"; \
     783            else \
     784              banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
     785            fi; \
     786          else \
     787            if test "$$xpass" -eq 0; then \
     788              banner="$$failed of $$all tests failed"; \
     789            else \
     790              banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
     791            fi; \
     792          fi; \
     793          dashes="$$banner"; \
     794          skipped=""; \
     795          if test "$$skip" -ne 0; then \
     796            skipped="($$skip tests were not run)"; \
     797            test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
     798              dashes="$$skipped"; \
     799          fi; \
     800          report=""; \
     801          if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
     802            report="Please report to $(PACKAGE_BUGREPORT)"; \
     803            test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
     804              dashes="$$report"; \
     805          fi; \
     806          dashes=`echo "$$dashes" | sed s/./=/g`; \
     807          echo "$$dashes"; \
     808          echo "$$banner"; \
     809          test -z "$$skipped" || echo "$$skipped"; \
     810          test -z "$$report" || echo "$$report"; \
     811          echo "$$dashes"; \
     812          test "$$failed" -eq 0; \
     813        else :; fi
     814
     815distdir: $(DISTFILES)
     816        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
     817        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     818        list='$(DISTFILES)'; for file in $$list; do \
     819          case $$file in \
     820            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
     821            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
     822          esac; \
     823          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
     824          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
     825          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
     826            dir="/$$dir"; \
     827            $(mkdir_p) "$(distdir)$$dir"; \
     828          else \
     829            dir=''; \
     830          fi; \
     831          if test -d $$d/$$file; then \
     832            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
     833              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
     834            fi; \
     835            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
     836          else \
     837            test -f $(distdir)/$$file \
     838            || cp -p $$d/$$file $(distdir)/$$file \
     839            || exit 1; \
     840          fi; \
     841        done
     842check-am: all-am
     843        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
     844        $(MAKE) $(AM_MAKEFLAGS) check-TESTS
     845check: check-am
     846all-am: Makefile
     847installdirs:
     848install: install-am
     849install-exec: install-exec-am
     850install-data: install-data-am
     851uninstall: uninstall-am
     852
     853install-am: all-am
     854        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     855
     856installcheck: installcheck-am
     857install-strip:
     858        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     859          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     860          `test -z '$(STRIP)' || \
     861            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     862mostlyclean-generic:
     863
     864clean-generic:
     865
     866distclean-generic:
     867        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
     868
     869maintainer-clean-generic:
     870        @echo "This command is intended for maintainers to use"
     871        @echo "it deletes files that may require special tools to rebuild."
     872clean: clean-am
     873
     874clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
     875        mostlyclean-am
     876
     877distclean: distclean-am
     878        -rm -rf ./$(DEPDIR)
     879        -rm -f Makefile
     880distclean-am: clean-am distclean-compile distclean-generic \
     881        distclean-libtool distclean-tags
     882
     883dvi: dvi-am
     884
     885dvi-am:
     886
     887html: html-am
     888
     889info: info-am
     890
     891info-am:
     892
     893install-data-am:
     894
     895install-exec-am:
     896
     897install-info: install-info-am
     898
     899install-man:
     900
     901installcheck-am:
     902
     903maintainer-clean: maintainer-clean-am
     904        -rm -rf ./$(DEPDIR)
     905        -rm -f Makefile
     906maintainer-clean-am: distclean-am maintainer-clean-generic
     907
     908mostlyclean: mostlyclean-am
     909
     910mostlyclean-am: mostlyclean-compile mostlyclean-generic \
     911        mostlyclean-libtool
     912
     913pdf: pdf-am
     914
     915pdf-am:
     916
     917ps: ps-am
     918
     919ps-am:
     920
     921uninstall-am: uninstall-info-am
     922
     923.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
     924        clean-checkPROGRAMS clean-generic clean-libtool ctags \
     925        distclean distclean-compile distclean-generic \
     926        distclean-libtool distclean-tags distdir dvi dvi-am html \
     927        html-am info info-am install install-am install-data \
     928        install-data-am install-exec install-exec-am install-info \
     929        install-info-am install-man install-strip installcheck \
     930        installcheck-am installdirs maintainer-clean \
     931        maintainer-clean-generic mostlyclean mostlyclean-compile \
     932        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
     933        tags uninstall uninstall-am uninstall-info-am
     934
     935tests: $(TESTS)
     936# Tell versions [3.59,3.63) of GNU make to not export all variables.
     937# Otherwise a system limit (for SysV at least) may be exceeded.
     938.NOEXPORT:
  • trunk/psLib/test/dataManip/verified/tst_psFunc02.stdout

    r2717 r3115  
    55\**********************************************************************************/
    66
    7 psSpline1D->domains[0] is 1.000000
    8 psSpline1D->domains[1] is 3.250000
    9 psSpline1D->domains[2] is 5.500000
    10 psSpline1D->domains[3] is 7.750000
    11 psSpline1D->domains[4] is 10.000000
     7psSpline1D->knots->data.F32[0] is 1.000000
     8psSpline1D->knots->data.F32[1] is 3.250000
     9psSpline1D->knots->data.F32[2] is 5.500000
     10psSpline1D->knots->data.F32[3] is 7.750000
     11psSpline1D->knots->data.F32[4] is 10.000000
    1212
    1313---> TESTPOINT PASSED (psFunctions functions{psSpline1DAlloc(): linear, normal} | tst_psFunc02.c)
     
    2828\**********************************************************************************/
    2929
    30 psSpline1D->domains[0] is 1.000000
    31 psSpline1D->domains[1] is 0.500000
    32 psSpline1D->domains[2] is 0.000000
    33 psSpline1D->domains[3] is -0.500000
    34 psSpline1D->domains[4] is -1.000000
     30psSpline1D->knots->data.F32[0] is 1.000000
     31psSpline1D->knots->data.F32[1] is 0.500000
     32psSpline1D->knots->data.F32[2] is 0.000000
     33psSpline1D->knots->data.F32[3] is -0.500000
     34psSpline1D->knots->data.F32[4] is -1.000000
    3535
    3636---> TESTPOINT PASSED (psFunctions functions{psSpline1DAlloc(): linear, min > max.} | tst_psFunc02.c)
     
    4242\**********************************************************************************/
    4343
    44 psSpline1D->domains[0] is 1.000000
    45 psSpline1D->domains[1] is 3.250000
    46 psSpline1D->domains[2] is 5.500000
    47 psSpline1D->domains[3] is 7.750000
    48 psSpline1D->domains[4] is 10.000000
     44psSpline1D->data.F32[0] is 1.000000
     45psSpline1D->data.F32[1] is 3.250000
     46psSpline1D->data.F32[2] is 5.500000
     47psSpline1D->data.F32[3] is 7.750000
     48psSpline1D->data.F32[4] is 10.000000
    4949
    5050---> TESTPOINT PASSED (psFunctions functions{psSpline1DAlloc(): cubic, normal} | tst_psFunc02.c)
     
    6565\**********************************************************************************/
    6666
    67 psSpline1D->domains[0] is 1.000000
    68 psSpline1D->domains[1] is 0.500000
    69 psSpline1D->domains[2] is 0.000000
    70 psSpline1D->domains[3] is -0.500000
    71 psSpline1D->domains[4] is -1.000000
     67psSpline1D->knots->data.F32[0] is 1.000000
     68psSpline1D->knots->data.F32[1] is 0.500000
     69psSpline1D->knots->data.F32[2] is 0.000000
     70psSpline1D->knots->data.F32[3] is -0.500000
     71psSpline1D->knots->data.F32[4] is -1.000000
    7272
    7373---> TESTPOINT PASSED (psFunctions functions{psSpline1DAlloc(): cubic, min > max.} | tst_psFunc02.c)
     
    7979\**********************************************************************************/
    8080
    81 psSpline1D->domains[0] is 2.000000
    82 psSpline1D->domains[1] is 4.000000
    83 psSpline1D->domains[2] is 6.000000
    84 psSpline1D->domains[3] is 8.000000
    85 psSpline1D->domains[4] is 10.000000
     81psSpline1D->knots->data.F32[0] is 2.000000
     82psSpline1D->knots->data.F32[1] is 4.000000
     83psSpline1D->knots->data.F32[2] is 6.000000
     84psSpline1D->knots->data.F32[3] is 8.000000
     85psSpline1D->knots->data.F32[4] is 10.000000
    8686
    8787---> TESTPOINT PASSED (psFunctions functions{psSpline1DAllocGeneric(): linear, normal} | tst_psFunc02.c)
  • trunk/psLib/test/dataManip/verified/tst_psMinimize04_F32.stderr

    r2288 r3115  
    11<DATE><TIME>|<HOST>|I|t03
    2     Following should generate error for null arguments.
     2    Following should generate an error for null input polynomial.
    33<DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D (psMinimize.c:<LINENO>)
    44    Unallowable operation: polynomial myPoly or its coeffs is NULL.
  • trunk/psLib/test/dataManip/verified/tst_psMinimize04_F32.stdout

    r2091 r3115  
    11/***************************** TESTPOINT ******************************************\
    2 *             TestFile: tst_psMinimize04_F32.c                                     *
    3 *            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): equal errors in yErr} *
     2*             TestFile: tst_psMinimize04.c                                         *
     3*            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): equal difference in variable yE *
    44*             TestType: Positive                                                   *
    55\**********************************************************************************/
    66
    77
    8 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): equal errors in yErr} | tst_psMinimize04_F32.c)
     8---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): equal differences in variable yErr} | tst_psMinimize04.c)
    99
    1010/***************************** TESTPOINT ******************************************\
    11 *             TestFile: tst_psMinimize04_F32.c                                     *
     11*             TestFile: tst_psMinimize04.c                                         *
    1212*            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): yErr is NULL} *
    1313*             TestType: Positive                                                   *
     
    1515
    1616
    17 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): yErr is NULL} | tst_psMinimize04_F32.c)
     17---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): yErr is NULL} | tst_psMinimize04.c)
    1818
    1919/***************************** TESTPOINT ******************************************\
    20 *             TestFile: tst_psMinimize04_F32.c                                     *
     20*             TestFile: tst_psMinimize04.c                                         *
    2121*            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): x, yErr is NULL} *
    2222*             TestType: Positive                                                   *
     
    2424
    2525
    26 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): x, yErr is NULL} | tst_psMinimize04_F32.c)
     26---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): x, yErr is NULL} | tst_psMinimize04.c)
    2727
    2828/***************************** TESTPOINT ******************************************\
    29 *             TestFile: tst_psMinimize04_F32.c                                     *
     29*             TestFile: tst_psMinimize04.c                                         *
    3030*            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): all inputs are NULL} *
    3131*             TestType: Positive                                                   *
     
    3333
    3434
    35 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): all inputs are NULL} | tst_psMinimize04_F32.c)
     35---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): all inputs are NULL} | tst_psMinimize04.c)
    3636
  • trunk/psLib/test/dataManip/verified/tst_psMinimize04b_F32.stderr

    r2740 r3115  
    11<DATE><TIME>|<HOST>|I|t03
    2     Following should generate error for null arguments.
     2    Following should generate an error for null arguments.
    33<DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D (psMinimize.c:<LINENO>)
    44    Unallowable operation: polynomial myPoly or its coeffs is NULL.
  • trunk/psLib/test/dataManip/verified/tst_psMinimize04b_F32.stdout

    r2086 r3115  
    11/***************************** TESTPOINT ******************************************\
    2 *             TestFile: tst_psMinimize04b_F32.c                                    *
     2*             TestFile: tst_psMinimize04b.c                                        *
    33*            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): CHEB, equal errors in yErr} *
    44*             TestType: Positive                                                   *
     
    66
    77
    8 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, equal errors in yErr} | tst_psMinimize04b_F32.c)
     8---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, equal errors in yErr} | tst_psMinimize04b.c)
    99
    1010/***************************** TESTPOINT ******************************************\
    11 *             TestFile: tst_psMinimize04b_F32.c                                    *
     11*             TestFile: tst_psMinimize04b.c                                        *
    1212*            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} *
    1313*             TestType: Positive                                                   *
     
    1515
    1616
    17 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} | tst_psMinimize04b_F32.c)
     17---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} | tst_psMinimize04b.c)
    1818
    1919/***************************** TESTPOINT ******************************************\
    20 *             TestFile: tst_psMinimize04b_F32.c                                    *
     20*             TestFile: tst_psMinimize04b.c                                        *
    2121*            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): CHEB, x, yErr is NULL} *
    2222*             TestType: Positive                                                   *
     
    2424
    2525
    26 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, x, yErr is NULL} | tst_psMinimize04b_F32.c)
     26---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, x, yErr is NULL} | tst_psMinimize04b.c)
    2727
    2828/***************************** TESTPOINT ******************************************\
    29 *             TestFile: tst_psMinimize04b_F32.c                                    *
     29*             TestFile: tst_psMinimize04b.c                                        *
    3030*            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} *
    3131*             TestType: Positive                                                   *
     
    3333
    3434
    35 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} | tst_psMinimize04b_F32.c)
     35---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} | tst_psMinimize04b.c)
    3636
  • trunk/psLib/test/fileUtils/Makefile

    r3056 r3115  
    1 ################################################################################
    2 ##
    3 ##  Makefile:   test/fileUtils
    4 ##
    5 ##  $Revision: 1.3 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2005-01-19 01:53:00 $
    7 ##
    8 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    9 ##
    10 ###############################################################################
    11 
    12 ifndef prefix
    13     export prefix=$(shell cd ../..;pwd)
    14 endif
    15 
    16 include ../../src/Makefile.Globals
    17 
    18 CFLAGS := -I../../include -DUTC_DAT_FILE="\"$(prefix)/data/tai_utc.dat\"" $(CFLAGS)
    19 LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS)
    20 
    21 TARGET = tst_psLookupTable_01 \
     1# Makefile.in generated by automake 1.9.1 from Makefile.am.
     2# test/fileUtils/Makefile.  Generated from Makefile.in by configure.
     3
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
     6# This Makefile.in is free software; the Free Software Foundation
     7# gives unlimited permission to copy and/or distribute it,
     8# with or without modifications, as long as this notice is preserved.
     9
     10# This program is distributed in the hope that it will be useful,
     11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     13# PARTICULAR PURPOSE.
     14
     15
     16SOURCES = $(tst_psFits_SOURCES) $(tst_psLookupTable_01_SOURCES)
     17
     18srcdir = .
     19top_srcdir = ../..
     20
     21pkgdatadir = $(datadir)/pslib
     22pkglibdir = $(libdir)/pslib
     23pkgincludedir = $(includedir)/pslib
     24top_builddir = ../..
     25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     26INSTALL = /usr/bin/install -c
     27install_sh_DATA = $(install_sh) -c -m 644
     28install_sh_PROGRAM = $(install_sh) -c
     29install_sh_SCRIPT = $(install_sh) -c
     30INSTALL_HEADER = $(INSTALL_DATA)
     31transform = $(program_transform_name)
     32NORMAL_INSTALL = :
     33PRE_INSTALL = :
     34POST_INSTALL = :
     35NORMAL_UNINSTALL = :
     36PRE_UNINSTALL = :
     37POST_UNINSTALL = :
     38build_triplet = x86_64-unknown-linux-gnu
     39host_triplet = x86_64-unknown-linux-gnu
     40check_PROGRAMS = tst_psLookupTable_01$(EXEEXT) tst_psFits$(EXEEXT)
     41subdir = test/fileUtils
     42DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
     43ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     44am__aclocal_m4_deps = $(top_srcdir)/configure.in
     45am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     46        $(ACLOCAL_M4)
     47mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     48CONFIG_HEADER = $(top_builddir)/src/config.h
     49CONFIG_CLEAN_FILES =
     50am_tst_psFits_OBJECTS = tst_psFits.$(OBJEXT)
     51tst_psFits_OBJECTS = $(am_tst_psFits_OBJECTS)
     52tst_psFits_LDADD = $(LDADD)
     53am_tst_psLookupTable_01_OBJECTS = tst_psLookupTable_01.$(OBJEXT)
     54tst_psLookupTable_01_OBJECTS = $(am_tst_psLookupTable_01_OBJECTS)
     55tst_psLookupTable_01_LDADD = $(LDADD)
     56DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
     57depcomp = $(SHELL) $(top_srcdir)/depcomp
     58am__depfiles_maybe = depfiles
     59COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
     60        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     61LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
     62        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
     63        $(AM_CFLAGS) $(CFLAGS)
     64CCLD = $(CC)
     65LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
     66        $(AM_LDFLAGS) $(LDFLAGS) -o $@
     67SOURCES = $(tst_psFits_SOURCES) $(tst_psLookupTable_01_SOURCES)
     68DIST_SOURCES = $(tst_psFits_SOURCES) $(tst_psLookupTable_01_SOURCES)
     69ETAGS = etags
     70CTAGS = ctags
     71DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     72ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
     73AMDEP_FALSE = #
     74AMDEP_TRUE =
     75AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
     76AR = ar
     77AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
     78AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
     79AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
     80AWK = gawk
     81CC = gcc
     82CCDEPMODE = depmode=gcc3
     83CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
     84CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
     85CPP = gcc -E
     86CPPFLAGS =
     87CXX = g++
     88CXXCPP = g++ -E
     89CXXDEPMODE = depmode=gcc3
     90CXXFLAGS = -g -O2
     91CYGPATH_W = echo
     92DEFS = -DHAVE_CONFIG_H
     93DEPDIR = .deps
     94ECHO = echo
     95ECHO_C =
     96ECHO_N = -n
     97ECHO_T =
     98EGREP = grep -E
     99EXEEXT =
     100F77 = g77
     101FFLAGS = -fno-second-underscore -O -fno-f2c
     102GSL_CONFIG = /usr/bin/gsl-config
     103INSTALL_DATA = ${INSTALL} -m 644
     104INSTALL_PROGRAM = ${INSTALL}
     105INSTALL_SCRIPT = ${INSTALL}
     106INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
     107LDFLAGS =
     108LIBOBJS =
     109LIBS =
     110LIBTOOL = $(SHELL) $(top_builddir)/libtool
     111LN_S = ln -s
     112LTLIBOBJS =
     113MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
     114OBJEXT = o
     115PACKAGE = pslib
     116PACKAGE_BUGREPORT =
     117PACKAGE_NAME =
     118PACKAGE_STRING =
     119PACKAGE_TARNAME =
     120PACKAGE_VERSION =
     121PATH_SEPARATOR = :
     122PERL = /usr/bin/perl
     123PSLIB_CFLAGS = -I${prefix}/include
     124PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
     125RANLIB = ranlib
     126SET_MAKE =
     127SHELL = /bin/sh
     128STRIP = strip
     129SWIG = /usr/bin/swig
     130VERSION = 1.5
     131XML_CONFIG = /usr/bin/xml2-config
     132ac_ct_AR = ar
     133ac_ct_CC = gcc
     134ac_ct_CXX = g++
     135ac_ct_F77 = g77
     136ac_ct_RANLIB = ranlib
     137ac_ct_STRIP = strip
     138am__fastdepCC_FALSE = #
     139am__fastdepCC_TRUE =
     140am__fastdepCXX_FALSE = #
     141am__fastdepCXX_TRUE =
     142am__include = include
     143am__leading_dot = .
     144am__quote =
     145am__tar = ${AMTAR} chof - "$$tardir"
     146am__untar = ${AMTAR} xf -
     147bindir = ${exec_prefix}/bin
     148build = x86_64-unknown-linux-gnu
     149build_alias =
     150build_cpu = x86_64
     151build_os = linux-gnu
     152build_vendor = unknown
     153datadir = ${prefix}/share
     154exec_prefix = ${prefix}
     155host = x86_64-unknown-linux-gnu
     156host_alias =
     157host_cpu = x86_64
     158host_os = linux-gnu
     159host_vendor = unknown
     160includedir = ${prefix}/include
     161infodir = ${prefix}/info
     162install_sh = /home/desonia/panstarrs/psLib/install-sh
     163libdir = ${exec_prefix}/lib
     164libexecdir = ${exec_prefix}/libexec
     165localstatedir = ${prefix}/var
     166mandir = ${prefix}/man
     167mkdir_p = mkdir -p --
     168oldincludedir = /usr/include
     169prefix = /home/desonia/panstarrs/psLib
     170program_transform_name = s,x,x,
     171sbindir = ${exec_prefix}/sbin
     172sharedstatedir = ${prefix}/com
     173sysconfdir = ${prefix}/etc
     174target_alias =
     175
     176#Makefile for astronomy functions of psLib
     177#
     178INCLUDES = \
     179        -I$(top_srcdir)/src \
     180        -I$(top_srcdir)/src/astronomy \
     181        -I$(top_srcdir)/src/collections \
     182        -I$(top_srcdir)/src/dataManip \
     183        -I$(top_srcdir)/src/fileUtils \
     184        -I$(top_srcdir)/src/image \
     185        -I$(top_srcdir)/src/sysUtils \
     186        $(all_includes)
     187
     188AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs`
     189TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest
     190TESTS = \
     191        tst_psLookupTable_01 \
    22192        tst_psFits
    23193
    24 OBJS = $(addprefix builddir/,$(addsuffix .o,$(TARGET)))
    25 
    26 all: $(TARGET)
    27 
    28 clean:
    29         @echo "    Deleting executable and binary files for 'test/fileUtils'"
    30         $(RM) $(OBJS)
    31 
    32 distclean: clean
    33         $(RM) $(TARGET)
    34 
    35 install: $(testbindir) $(testbindir)/verified $(TARGET)
    36         install $(TARGET) $(testbindir)
    37         install verified/*.stderr verified/*.stdout $(testbindir)/verified
    38 
    39 $(testbindir):
    40         mkdir -p $(testbindir)
    41 
    42 $(testbindir)/verified:
    43         mkdir -p $(testbindir)/verified
    44 
     194tst_psLookupTable_01_SOURCES = tst_psLookupTable_01.c
     195tst_psFits_SOURCES = tst_psFits.c
     196all: all-am
     197
     198.SUFFIXES:
     199.SUFFIXES: .c .lo .o .obj
     200$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     201        @for dep in $?; do \
     202          case '$(am__configure_deps)' in \
     203            *$$dep*) \
     204              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     205                && exit 0; \
     206              exit 1;; \
     207          esac; \
     208        done; \
     209        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  test/fileUtils/Makefile'; \
     210        cd $(top_srcdir) && \
     211          $(AUTOMAKE) --gnu  test/fileUtils/Makefile
     212.PRECIOUS: Makefile
     213Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     214        @case '$?' in \
     215          *config.status*) \
     216            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     217          *) \
     218            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     219            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     220        esac;
     221
     222$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     223        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     224
     225$(top_srcdir)/configure:  $(am__configure_deps)
     226        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     227$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     228        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     229
     230clean-checkPROGRAMS:
     231        @list='$(check_PROGRAMS)'; for p in $$list; do \
     232          f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     233          echo " rm -f $$p $$f"; \
     234          rm -f $$p $$f ; \
     235        done
     236tst_psFits$(EXEEXT): $(tst_psFits_OBJECTS) $(tst_psFits_DEPENDENCIES)
     237        @rm -f tst_psFits$(EXEEXT)
     238        $(LINK) $(tst_psFits_LDFLAGS) $(tst_psFits_OBJECTS) $(tst_psFits_LDADD) $(LIBS)
     239tst_psLookupTable_01$(EXEEXT): $(tst_psLookupTable_01_OBJECTS) $(tst_psLookupTable_01_DEPENDENCIES)
     240        @rm -f tst_psLookupTable_01$(EXEEXT)
     241        $(LINK) $(tst_psLookupTable_01_LDFLAGS) $(tst_psLookupTable_01_OBJECTS) $(tst_psLookupTable_01_LDADD) $(LIBS)
     242
     243mostlyclean-compile:
     244        -rm -f *.$(OBJEXT)
     245
     246distclean-compile:
     247        -rm -f *.tab.c
     248
     249include ./$(DEPDIR)/tst_psFits.Po
     250include ./$(DEPDIR)/tst_psLookupTable_01.Po
     251
     252.c.o:
     253        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     254        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     255#       source='$<' object='$@' libtool=no \
     256#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     257#       $(COMPILE) -c $<
     258
     259.c.obj:
     260        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     261        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     262#       source='$<' object='$@' libtool=no \
     263#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     264#       $(COMPILE) -c `$(CYGPATH_W) '$<'`
     265
     266.c.lo:
     267        if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     268        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     269#       source='$<' object='$@' libtool=yes \
     270#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     271#       $(LTCOMPILE) -c -o $@ $<
     272
     273mostlyclean-libtool:
     274        -rm -f *.lo
     275
     276clean-libtool:
     277        -rm -rf .libs _libs
     278
     279distclean-libtool:
     280        -rm -f libtool
     281uninstall-info-am:
     282
     283ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     284        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     285        unique=`for i in $$list; do \
     286            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     287          done | \
     288          $(AWK) '    { files[$$0] = 1; } \
     289               END { for (i in files) print i; }'`; \
     290        mkid -fID $$unique
     291tags: TAGS
     292
     293TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     294                $(TAGS_FILES) $(LISP)
     295        tags=; \
     296        here=`pwd`; \
     297        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     298        unique=`for i in $$list; do \
     299            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     300          done | \
     301          $(AWK) '    { files[$$0] = 1; } \
     302               END { for (i in files) print i; }'`; \
     303        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     304          test -n "$$unique" || unique=$$empty_fix; \
     305          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     306            $$tags $$unique; \
     307        fi
     308ctags: CTAGS
     309CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     310                $(TAGS_FILES) $(LISP)
     311        tags=; \
     312        here=`pwd`; \
     313        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     314        unique=`for i in $$list; do \
     315            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     316          done | \
     317          $(AWK) '    { files[$$0] = 1; } \
     318               END { for (i in files) print i; }'`; \
     319        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     320          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     321             $$tags $$unique
     322
     323GTAGS:
     324        here=`$(am__cd) $(top_builddir) && pwd` \
     325          && cd $(top_srcdir) \
     326          && gtags -i $(GTAGS_ARGS) $$here
     327
     328distclean-tags:
     329        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     330
     331check-TESTS: $(TESTS)
     332        @failed=0; all=0; xfail=0; xpass=0; skip=0; \
     333        srcdir=$(srcdir); export srcdir; \
     334        list='$(TESTS)'; \
     335        if test -n "$$list"; then \
     336          for tst in $$list; do \
     337            if test -f ./$$tst; then dir=./; \
     338            elif test -f $$tst; then dir=; \
     339            else dir="$(srcdir)/"; fi; \
     340            if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
     341              all=`expr $$all + 1`; \
     342              case " $(XFAIL_TESTS) " in \
     343              *" $$tst "*) \
     344                xpass=`expr $$xpass + 1`; \
     345                failed=`expr $$failed + 1`; \
     346                echo "XPASS: $$tst"; \
     347              ;; \
     348              *) \
     349                echo "PASS: $$tst"; \
     350              ;; \
     351              esac; \
     352            elif test $$? -ne 77; then \
     353              all=`expr $$all + 1`; \
     354              case " $(XFAIL_TESTS) " in \
     355              *" $$tst "*) \
     356                xfail=`expr $$xfail + 1`; \
     357                echo "XFAIL: $$tst"; \
     358              ;; \
     359              *) \
     360                failed=`expr $$failed + 1`; \
     361                echo "FAIL: $$tst"; \
     362              ;; \
     363              esac; \
     364            else \
     365              skip=`expr $$skip + 1`; \
     366              echo "SKIP: $$tst"; \
     367            fi; \
     368          done; \
     369          if test "$$failed" -eq 0; then \
     370            if test "$$xfail" -eq 0; then \
     371              banner="All $$all tests passed"; \
     372            else \
     373              banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
     374            fi; \
     375          else \
     376            if test "$$xpass" -eq 0; then \
     377              banner="$$failed of $$all tests failed"; \
     378            else \
     379              banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
     380            fi; \
     381          fi; \
     382          dashes="$$banner"; \
     383          skipped=""; \
     384          if test "$$skip" -ne 0; then \
     385            skipped="($$skip tests were not run)"; \
     386            test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
     387              dashes="$$skipped"; \
     388          fi; \
     389          report=""; \
     390          if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
     391            report="Please report to $(PACKAGE_BUGREPORT)"; \
     392            test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
     393              dashes="$$report"; \
     394          fi; \
     395          dashes=`echo "$$dashes" | sed s/./=/g`; \
     396          echo "$$dashes"; \
     397          echo "$$banner"; \
     398          test -z "$$skipped" || echo "$$skipped"; \
     399          test -z "$$report" || echo "$$report"; \
     400          echo "$$dashes"; \
     401          test "$$failed" -eq 0; \
     402        else :; fi
     403
     404distdir: $(DISTFILES)
     405        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
     406        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     407        list='$(DISTFILES)'; for file in $$list; do \
     408          case $$file in \
     409            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
     410            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
     411          esac; \
     412          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
     413          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
     414          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
     415            dir="/$$dir"; \
     416            $(mkdir_p) "$(distdir)$$dir"; \
     417          else \
     418            dir=''; \
     419          fi; \
     420          if test -d $$d/$$file; then \
     421            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
     422              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
     423            fi; \
     424            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
     425          else \
     426            test -f $(distdir)/$$file \
     427            || cp -p $$d/$$file $(distdir)/$$file \
     428            || exit 1; \
     429          fi; \
     430        done
     431check-am: all-am
     432        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
     433        $(MAKE) $(AM_MAKEFLAGS) check-TESTS
     434check: check-am
     435all-am: Makefile
     436installdirs:
     437install: install-am
     438install-exec: install-exec-am
     439install-data: install-data-am
     440uninstall: uninstall-am
     441
     442install-am: all-am
     443        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     444
     445installcheck: installcheck-am
     446install-strip:
     447        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     448          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     449          `test -z '$(STRIP)' || \
     450            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     451mostlyclean-generic:
     452
     453clean-generic:
     454
     455distclean-generic:
     456        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
     457
     458maintainer-clean-generic:
     459        @echo "This command is intended for maintainers to use"
     460        @echo "it deletes files that may require special tools to rebuild."
     461clean: clean-am
     462
     463clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
     464        mostlyclean-am
     465
     466distclean: distclean-am
     467        -rm -rf ./$(DEPDIR)
     468        -rm -f Makefile
     469distclean-am: clean-am distclean-compile distclean-generic \
     470        distclean-libtool distclean-tags
     471
     472dvi: dvi-am
     473
     474dvi-am:
     475
     476html: html-am
     477
     478info: info-am
     479
     480info-am:
     481
     482install-data-am:
     483
     484install-exec-am:
     485
     486install-info: install-info-am
     487
     488install-man:
     489
     490installcheck-am:
     491
     492maintainer-clean: maintainer-clean-am
     493        -rm -rf ./$(DEPDIR)
     494        -rm -f Makefile
     495maintainer-clean-am: distclean-am maintainer-clean-generic
     496
     497mostlyclean: mostlyclean-am
     498
     499mostlyclean-am: mostlyclean-compile mostlyclean-generic \
     500        mostlyclean-libtool
     501
     502pdf: pdf-am
     503
     504pdf-am:
     505
     506ps: ps-am
     507
     508ps-am:
     509
     510uninstall-am: uninstall-info-am
     511
     512.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
     513        clean-checkPROGRAMS clean-generic clean-libtool ctags \
     514        distclean distclean-compile distclean-generic \
     515        distclean-libtool distclean-tags distdir dvi dvi-am html \
     516        html-am info info-am install install-am install-data \
     517        install-data-am install-exec install-exec-am install-info \
     518        install-info-am install-man install-strip installcheck \
     519        installcheck-am installdirs maintainer-clean \
     520        maintainer-clean-generic mostlyclean mostlyclean-compile \
     521        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
     522        tags uninstall uninstall-am uninstall-info-am
     523
     524tests: $(TESTS)
     525# Tell versions [3.59,3.63) of GNU make to not export all variables.
     526# Otherwise a system limit (for SysV at least) may be exceeded.
     527.NOEXPORT:
  • trunk/psLib/test/fileUtils/tst_psFits.c

    r3037 r3115  
    66*  @author Robert DeSonia, MHPCC
    77*
    8 *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
    9 *  @date $Date: 2005-01-18 19:35:24 $
     8*  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
     9*  @date $Date: 2005-02-03 00:54:12 $
    1010*
    1111*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    1212*/
    13 
    14 #include "psTest.h"
    15 #include "pslib.h"
    1613
    1714#include <unistd.h>
     
    2017#include <sys/types.h>
    2118
     19#include "psTest.h"
     20#include "pslib.h"
    2221
    2322#define GENIMAGE(img,c,r,TYP, valueFcn) \
  • trunk/psLib/test/fileUtils/tst_psLookupTable_01.c

    r3056 r3115  
    1212*  @author  Ross Harman, MHPCC
    1313*
    14 *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
    15 *  @date  $Date: 2005-01-19 01:53:00 $
     14*  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
     15*  @date  $Date: 2005-02-03 00:54:12 $
    1616*
    1717*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1919*/
    2020
     21#include <string.h>
     22#include "config.h"
    2123#include "pslib.h"
    2224#include "psTest.h"
    23 #include <string.h>
    24 
    25 
    2625
    2726int main(int argc, char* argv[])
  • trunk/psLib/test/image/Makefile

    r2748 r3115  
    1 ################################################################################
    2 ##
    3 ##  Makefile:   test/collections
    4 ##
    5 ##  $Revision: 1.7 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-12-17 19:48:49 $
    7 ##
    8 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    9 ##
    10 ###############################################################################
    11 
    12 ifndef prefix
    13     export prefix=$(shell cd ../..;pwd)
    14 endif
    15 
    16 include ../../src/Makefile.Globals
    17 
    18 CFLAGS := -I../../include $(CFLAGS)
    19 LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS)
    20 
    21 TARGET = tst_psImage \
    22 tst_psImageFFT \
    23 tst_psImageManip \
    24 tst_psImageStats00 \
    25 tst_psImageStats01 \
    26 tst_psImageStats02 \
    27 tst_psImageStats03 \
    28 tst_psImageStats04 \
    29 tst_psImageExtraction \
    30 tst_psImageConvolve \
    31 tst_psImageIO \
    32 tst_psImageInterpolate
    33 
    34 OBJS = $(addsuffix .o,$(TARGET))
    35 
    36 all: $(TARGET)
    37 
    38 clean:
    39         @echo "    Deleting executable and binary files for 'test/collections'"
    40         $(RM) $(OBJS)
    41 
    42 distclean: clean
    43         $(RM) $(TARGET)
    44 
    45 install: $(testbindir) $(testbindir)/verified $(TARGET)
    46         install $(TARGET) $(testbindir)
    47         install verified/*.fits verified/*.stderr verified/*.stdout $(testbindir)/verified
    48 
    49 $(testbindir):
    50         mkdir -p $(testbindir)
    51 
    52 $(testbindir)/verified:
    53         mkdir -p $(testbindir)/verified
    54 
    55 
     1# Makefile.in generated by automake 1.9.1 from Makefile.am.
     2# test/image/Makefile.  Generated from Makefile.in by configure.
     3
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
     6# This Makefile.in is free software; the Free Software Foundation
     7# gives unlimited permission to copy and/or distribute it,
     8# with or without modifications, as long as this notice is preserved.
     9
     10# This program is distributed in the hope that it will be useful,
     11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     13# PARTICULAR PURPOSE.
     14
     15
     16SOURCES = $(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)
     17
     18srcdir = .
     19top_srcdir = ../..
     20
     21pkgdatadir = $(datadir)/pslib
     22pkglibdir = $(libdir)/pslib
     23pkgincludedir = $(includedir)/pslib
     24top_builddir = ../..
     25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     26INSTALL = /usr/bin/install -c
     27install_sh_DATA = $(install_sh) -c -m 644
     28install_sh_PROGRAM = $(install_sh) -c
     29install_sh_SCRIPT = $(install_sh) -c
     30INSTALL_HEADER = $(INSTALL_DATA)
     31transform = $(program_transform_name)
     32NORMAL_INSTALL = :
     33PRE_INSTALL = :
     34POST_INSTALL = :
     35NORMAL_UNINSTALL = :
     36PRE_UNINSTALL = :
     37POST_UNINSTALL = :
     38build_triplet = x86_64-unknown-linux-gnu
     39host_triplet = x86_64-unknown-linux-gnu
     40check_PROGRAMS = tst_psImage$(EXEEXT) tst_psImageFFT$(EXEEXT) \
     41        tst_psImageManip$(EXEEXT) tst_psImageStats00$(EXEEXT) \
     42        tst_psImageStats01$(EXEEXT) tst_psImageStats02$(EXEEXT) \
     43        tst_psImageStats03$(EXEEXT) tst_psImageStats04$(EXEEXT) \
     44        tst_psImageExtraction$(EXEEXT) tst_psImageConvolve$(EXEEXT) \
     45        tst_psImageIO$(EXEEXT) tst_psImageInterpolate$(EXEEXT)
     46subdir = test/image
     47DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
     48ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     49am__aclocal_m4_deps = $(top_srcdir)/configure.in
     50am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     51        $(ACLOCAL_M4)
     52mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     53CONFIG_HEADER = $(top_builddir)/src/config.h
     54CONFIG_CLEAN_FILES =
     55am_tst_psImage_OBJECTS = tst_psImage.$(OBJEXT)
     56tst_psImage_OBJECTS = $(am_tst_psImage_OBJECTS)
     57tst_psImage_LDADD = $(LDADD)
     58am_tst_psImageConvolve_OBJECTS = tst_psImageConvolve.$(OBJEXT)
     59tst_psImageConvolve_OBJECTS = $(am_tst_psImageConvolve_OBJECTS)
     60tst_psImageConvolve_LDADD = $(LDADD)
     61am_tst_psImageExtraction_OBJECTS = tst_psImageExtraction.$(OBJEXT)
     62tst_psImageExtraction_OBJECTS = $(am_tst_psImageExtraction_OBJECTS)
     63tst_psImageExtraction_LDADD = $(LDADD)
     64am_tst_psImageFFT_OBJECTS = tst_psImageFFT.$(OBJEXT)
     65tst_psImageFFT_OBJECTS = $(am_tst_psImageFFT_OBJECTS)
     66tst_psImageFFT_LDADD = $(LDADD)
     67am_tst_psImageIO_OBJECTS = tst_psImageIO.$(OBJEXT)
     68tst_psImageIO_OBJECTS = $(am_tst_psImageIO_OBJECTS)
     69tst_psImageIO_LDADD = $(LDADD)
     70am_tst_psImageInterpolate_OBJECTS = tst_psImageInterpolate.$(OBJEXT)
     71tst_psImageInterpolate_OBJECTS = $(am_tst_psImageInterpolate_OBJECTS)
     72tst_psImageInterpolate_LDADD = $(LDADD)
     73am_tst_psImageManip_OBJECTS = tst_psImageManip.$(OBJEXT)
     74tst_psImageManip_OBJECTS = $(am_tst_psImageManip_OBJECTS)
     75tst_psImageManip_LDADD = $(LDADD)
     76am_tst_psImageStats00_OBJECTS = tst_psImageStats00.$(OBJEXT)
     77tst_psImageStats00_OBJECTS = $(am_tst_psImageStats00_OBJECTS)
     78tst_psImageStats00_LDADD = $(LDADD)
     79am_tst_psImageStats01_OBJECTS = tst_psImageStats01.$(OBJEXT)
     80tst_psImageStats01_OBJECTS = $(am_tst_psImageStats01_OBJECTS)
     81tst_psImageStats01_LDADD = $(LDADD)
     82am_tst_psImageStats02_OBJECTS = tst_psImageStats02.$(OBJEXT)
     83tst_psImageStats02_OBJECTS = $(am_tst_psImageStats02_OBJECTS)
     84tst_psImageStats02_LDADD = $(LDADD)
     85am_tst_psImageStats03_OBJECTS = tst_psImageStats03.$(OBJEXT)
     86tst_psImageStats03_OBJECTS = $(am_tst_psImageStats03_OBJECTS)
     87tst_psImageStats03_LDADD = $(LDADD)
     88am_tst_psImageStats04_OBJECTS = tst_psImageStats04.$(OBJEXT)
     89tst_psImageStats04_OBJECTS = $(am_tst_psImageStats04_OBJECTS)
     90tst_psImageStats04_LDADD = $(LDADD)
     91DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
     92depcomp = $(SHELL) $(top_srcdir)/depcomp
     93am__depfiles_maybe = depfiles
     94COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
     95        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     96LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
     97        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
     98        $(AM_CFLAGS) $(CFLAGS)
     99CCLD = $(CC)
     100LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
     101        $(AM_LDFLAGS) $(LDFLAGS) -o $@
     102SOURCES = $(tst_psImage_SOURCES) $(tst_psImageConvolve_SOURCES) \
     103        $(tst_psImageExtraction_SOURCES) $(tst_psImageFFT_SOURCES) \
     104        $(tst_psImageIO_SOURCES) $(tst_psImageInterpolate_SOURCES) \
     105        $(tst_psImageManip_SOURCES) $(tst_psImageStats00_SOURCES) \
     106        $(tst_psImageStats01_SOURCES) $(tst_psImageStats02_SOURCES) \
     107        $(tst_psImageStats03_SOURCES) $(tst_psImageStats04_SOURCES)
     108DIST_SOURCES = $(tst_psImage_SOURCES) $(tst_psImageConvolve_SOURCES) \
     109        $(tst_psImageExtraction_SOURCES) $(tst_psImageFFT_SOURCES) \
     110        $(tst_psImageIO_SOURCES) $(tst_psImageInterpolate_SOURCES) \
     111        $(tst_psImageManip_SOURCES) $(tst_psImageStats00_SOURCES) \
     112        $(tst_psImageStats01_SOURCES) $(tst_psImageStats02_SOURCES) \
     113        $(tst_psImageStats03_SOURCES) $(tst_psImageStats04_SOURCES)
     114ETAGS = etags
     115CTAGS = ctags
     116DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     117ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
     118AMDEP_FALSE = #
     119AMDEP_TRUE =
     120AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
     121AR = ar
     122AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
     123AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
     124AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
     125AWK = gawk
     126CC = gcc
     127CCDEPMODE = depmode=gcc3
     128CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
     129CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
     130CPP = gcc -E
     131CPPFLAGS =
     132CXX = g++
     133CXXCPP = g++ -E
     134CXXDEPMODE = depmode=gcc3
     135CXXFLAGS = -g -O2
     136CYGPATH_W = echo
     137DEFS = -DHAVE_CONFIG_H
     138DEPDIR = .deps
     139ECHO = echo
     140ECHO_C =
     141ECHO_N = -n
     142ECHO_T =
     143EGREP = grep -E
     144EXEEXT =
     145F77 = g77
     146FFLAGS = -fno-second-underscore -O -fno-f2c
     147GSL_CONFIG = /usr/bin/gsl-config
     148INSTALL_DATA = ${INSTALL} -m 644
     149INSTALL_PROGRAM = ${INSTALL}
     150INSTALL_SCRIPT = ${INSTALL}
     151INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
     152LDFLAGS =
     153LIBOBJS =
     154LIBS =
     155LIBTOOL = $(SHELL) $(top_builddir)/libtool
     156LN_S = ln -s
     157LTLIBOBJS =
     158MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
     159OBJEXT = o
     160PACKAGE = pslib
     161PACKAGE_BUGREPORT =
     162PACKAGE_NAME =
     163PACKAGE_STRING =
     164PACKAGE_TARNAME =
     165PACKAGE_VERSION =
     166PATH_SEPARATOR = :
     167PERL = /usr/bin/perl
     168PSLIB_CFLAGS = -I${prefix}/include
     169PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
     170RANLIB = ranlib
     171SET_MAKE =
     172SHELL = /bin/sh
     173STRIP = strip
     174SWIG = /usr/bin/swig
     175VERSION = 1.5
     176XML_CONFIG = /usr/bin/xml2-config
     177ac_ct_AR = ar
     178ac_ct_CC = gcc
     179ac_ct_CXX = g++
     180ac_ct_F77 = g77
     181ac_ct_RANLIB = ranlib
     182ac_ct_STRIP = strip
     183am__fastdepCC_FALSE = #
     184am__fastdepCC_TRUE =
     185am__fastdepCXX_FALSE = #
     186am__fastdepCXX_TRUE =
     187am__include = include
     188am__leading_dot = .
     189am__quote =
     190am__tar = ${AMTAR} chof - "$$tardir"
     191am__untar = ${AMTAR} xf -
     192bindir = ${exec_prefix}/bin
     193build = x86_64-unknown-linux-gnu
     194build_alias =
     195build_cpu = x86_64
     196build_os = linux-gnu
     197build_vendor = unknown
     198datadir = ${prefix}/share
     199exec_prefix = ${prefix}
     200host = x86_64-unknown-linux-gnu
     201host_alias =
     202host_cpu = x86_64
     203host_os = linux-gnu
     204host_vendor = unknown
     205includedir = ${prefix}/include
     206infodir = ${prefix}/info
     207install_sh = /home/desonia/panstarrs/psLib/install-sh
     208libdir = ${exec_prefix}/lib
     209libexecdir = ${exec_prefix}/libexec
     210localstatedir = ${prefix}/var
     211mandir = ${prefix}/man
     212mkdir_p = mkdir -p --
     213oldincludedir = /usr/include
     214prefix = /home/desonia/panstarrs/psLib
     215program_transform_name = s,x,x,
     216sbindir = ${exec_prefix}/sbin
     217sharedstatedir = ${prefix}/com
     218sysconfdir = ${prefix}/etc
     219target_alias =
     220
     221#Makefile for astronomy functions of psLib
     222#
     223INCLUDES = \
     224        -I$(top_srcdir)/src \
     225        -I$(top_srcdir)/src/astronomy \
     226        -I$(top_srcdir)/src/collections \
     227        -I$(top_srcdir)/src/dataManip \
     228        -I$(top_srcdir)/src/fileUtils \
     229        -I$(top_srcdir)/src/image \
     230        -I$(top_srcdir)/src/sysUtils \
     231        $(all_includes)
     232
     233AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs`
     234TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest
     235TESTS = \
     236        tst_psImage \
     237        tst_psImageFFT \
     238        tst_psImageManip \
     239        tst_psImageStats00 \
     240        tst_psImageStats01 \
     241        tst_psImageStats02 \
     242        tst_psImageStats03 \
     243        tst_psImageStats04 \
     244        tst_psImageExtraction \
     245        tst_psImageConvolve \
     246        tst_psImageIO \
     247        tst_psImageInterpolate
     248
     249tst_psImage_SOURCES = tst_psImage.c
     250tst_psImageFFT_SOURCES = tst_psImageFFT.c
     251tst_psImageManip_SOURCES = tst_psImageManip.c
     252tst_psImageStats00_SOURCES = tst_psImageStats00.c
     253tst_psImageStats01_SOURCES = tst_psImageStats01.c
     254tst_psImageStats02_SOURCES = tst_psImageStats02.c
     255tst_psImageStats03_SOURCES = tst_psImageStats03.c
     256tst_psImageStats04_SOURCES = tst_psImageStats04.c
     257tst_psImageExtraction_SOURCES = tst_psImageExtraction.c
     258tst_psImageConvolve_SOURCES = tst_psImageConvolve.c
     259tst_psImageIO_SOURCES = tst_psImageIO.c
     260tst_psImageInterpolate_SOURCES = tst_psImageInterpolate.c
     261all: all-am
     262
     263.SUFFIXES:
     264.SUFFIXES: .c .lo .o .obj
     265$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     266        @for dep in $?; do \
     267          case '$(am__configure_deps)' in \
     268            *$$dep*) \
     269              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     270                && exit 0; \
     271              exit 1;; \
     272          esac; \
     273        done; \
     274        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  test/image/Makefile'; \
     275        cd $(top_srcdir) && \
     276          $(AUTOMAKE) --gnu  test/image/Makefile
     277.PRECIOUS: Makefile
     278Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     279        @case '$?' in \
     280          *config.status*) \
     281            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     282          *) \
     283            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     284            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     285        esac;
     286
     287$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     288        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     289
     290$(top_srcdir)/configure:  $(am__configure_deps)
     291        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     292$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     293        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     294
     295clean-checkPROGRAMS:
     296        @list='$(check_PROGRAMS)'; for p in $$list; do \
     297          f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     298          echo " rm -f $$p $$f"; \
     299          rm -f $$p $$f ; \
     300        done
     301tst_psImage$(EXEEXT): $(tst_psImage_OBJECTS) $(tst_psImage_DEPENDENCIES)
     302        @rm -f tst_psImage$(EXEEXT)
     303        $(LINK) $(tst_psImage_LDFLAGS) $(tst_psImage_OBJECTS) $(tst_psImage_LDADD) $(LIBS)
     304tst_psImageConvolve$(EXEEXT): $(tst_psImageConvolve_OBJECTS) $(tst_psImageConvolve_DEPENDENCIES)
     305        @rm -f tst_psImageConvolve$(EXEEXT)
     306        $(LINK) $(tst_psImageConvolve_LDFLAGS) $(tst_psImageConvolve_OBJECTS) $(tst_psImageConvolve_LDADD) $(LIBS)
     307tst_psImageExtraction$(EXEEXT): $(tst_psImageExtraction_OBJECTS) $(tst_psImageExtraction_DEPENDENCIES)
     308        @rm -f tst_psImageExtraction$(EXEEXT)
     309        $(LINK) $(tst_psImageExtraction_LDFLAGS) $(tst_psImageExtraction_OBJECTS) $(tst_psImageExtraction_LDADD) $(LIBS)
     310tst_psImageFFT$(EXEEXT): $(tst_psImageFFT_OBJECTS) $(tst_psImageFFT_DEPENDENCIES)
     311        @rm -f tst_psImageFFT$(EXEEXT)
     312        $(LINK) $(tst_psImageFFT_LDFLAGS) $(tst_psImageFFT_OBJECTS) $(tst_psImageFFT_LDADD) $(LIBS)
     313tst_psImageIO$(EXEEXT): $(tst_psImageIO_OBJECTS) $(tst_psImageIO_DEPENDENCIES)
     314        @rm -f tst_psImageIO$(EXEEXT)
     315        $(LINK) $(tst_psImageIO_LDFLAGS) $(tst_psImageIO_OBJECTS) $(tst_psImageIO_LDADD) $(LIBS)
     316tst_psImageInterpolate$(EXEEXT): $(tst_psImageInterpolate_OBJECTS) $(tst_psImageInterpolate_DEPENDENCIES)
     317        @rm -f tst_psImageInterpolate$(EXEEXT)
     318        $(LINK) $(tst_psImageInterpolate_LDFLAGS) $(tst_psImageInterpolate_OBJECTS) $(tst_psImageInterpolate_LDADD) $(LIBS)
     319tst_psImageManip$(EXEEXT): $(tst_psImageManip_OBJECTS) $(tst_psImageManip_DEPENDENCIES)
     320        @rm -f tst_psImageManip$(EXEEXT)
     321        $(LINK) $(tst_psImageManip_LDFLAGS) $(tst_psImageManip_OBJECTS) $(tst_psImageManip_LDADD) $(LIBS)
     322tst_psImageStats00$(EXEEXT): $(tst_psImageStats00_OBJECTS) $(tst_psImageStats00_DEPENDENCIES)
     323        @rm -f tst_psImageStats00$(EXEEXT)
     324        $(LINK) $(tst_psImageStats00_LDFLAGS) $(tst_psImageStats00_OBJECTS) $(tst_psImageStats00_LDADD) $(LIBS)
     325tst_psImageStats01$(EXEEXT): $(tst_psImageStats01_OBJECTS) $(tst_psImageStats01_DEPENDENCIES)
     326        @rm -f tst_psImageStats01$(EXEEXT)
     327        $(LINK) $(tst_psImageStats01_LDFLAGS) $(tst_psImageStats01_OBJECTS) $(tst_psImageStats01_LDADD) $(LIBS)
     328tst_psImageStats02$(EXEEXT): $(tst_psImageStats02_OBJECTS) $(tst_psImageStats02_DEPENDENCIES)
     329        @rm -f tst_psImageStats02$(EXEEXT)
     330        $(LINK) $(tst_psImageStats02_LDFLAGS) $(tst_psImageStats02_OBJECTS) $(tst_psImageStats02_LDADD) $(LIBS)
     331tst_psImageStats03$(EXEEXT): $(tst_psImageStats03_OBJECTS) $(tst_psImageStats03_DEPENDENCIES)
     332        @rm -f tst_psImageStats03$(EXEEXT)
     333        $(LINK) $(tst_psImageStats03_LDFLAGS) $(tst_psImageStats03_OBJECTS) $(tst_psImageStats03_LDADD) $(LIBS)
     334tst_psImageStats04$(EXEEXT): $(tst_psImageStats04_OBJECTS) $(tst_psImageStats04_DEPENDENCIES)
     335        @rm -f tst_psImageStats04$(EXEEXT)
     336        $(LINK) $(tst_psImageStats04_LDFLAGS) $(tst_psImageStats04_OBJECTS) $(tst_psImageStats04_LDADD) $(LIBS)
     337
     338mostlyclean-compile:
     339        -rm -f *.$(OBJEXT)
     340
     341distclean-compile:
     342        -rm -f *.tab.c
     343
     344include ./$(DEPDIR)/tst_psImage.Po
     345include ./$(DEPDIR)/tst_psImageConvolve.Po
     346include ./$(DEPDIR)/tst_psImageExtraction.Po
     347include ./$(DEPDIR)/tst_psImageFFT.Po
     348include ./$(DEPDIR)/tst_psImageIO.Po
     349include ./$(DEPDIR)/tst_psImageInterpolate.Po
     350include ./$(DEPDIR)/tst_psImageManip.Po
     351include ./$(DEPDIR)/tst_psImageStats00.Po
     352include ./$(DEPDIR)/tst_psImageStats01.Po
     353include ./$(DEPDIR)/tst_psImageStats02.Po
     354include ./$(DEPDIR)/tst_psImageStats03.Po
     355include ./$(DEPDIR)/tst_psImageStats04.Po
     356
     357.c.o:
     358        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     359        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     360#       source='$<' object='$@' libtool=no \
     361#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     362#       $(COMPILE) -c $<
     363
     364.c.obj:
     365        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     366        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     367#       source='$<' object='$@' libtool=no \
     368#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     369#       $(COMPILE) -c `$(CYGPATH_W) '$<'`
     370
     371.c.lo:
     372        if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     373        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     374#       source='$<' object='$@' libtool=yes \
     375#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     376#       $(LTCOMPILE) -c -o $@ $<
     377
     378mostlyclean-libtool:
     379        -rm -f *.lo
     380
     381clean-libtool:
     382        -rm -rf .libs _libs
     383
     384distclean-libtool:
     385        -rm -f libtool
     386uninstall-info-am:
     387
     388ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     389        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     390        unique=`for i in $$list; do \
     391            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     392          done | \
     393          $(AWK) '    { files[$$0] = 1; } \
     394               END { for (i in files) print i; }'`; \
     395        mkid -fID $$unique
     396tags: TAGS
     397
     398TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     399                $(TAGS_FILES) $(LISP)
     400        tags=; \
     401        here=`pwd`; \
     402        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     403        unique=`for i in $$list; do \
     404            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     405          done | \
     406          $(AWK) '    { files[$$0] = 1; } \
     407               END { for (i in files) print i; }'`; \
     408        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     409          test -n "$$unique" || unique=$$empty_fix; \
     410          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     411            $$tags $$unique; \
     412        fi
     413ctags: CTAGS
     414CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     415                $(TAGS_FILES) $(LISP)
     416        tags=; \
     417        here=`pwd`; \
     418        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     419        unique=`for i in $$list; do \
     420            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     421          done | \
     422          $(AWK) '    { files[$$0] = 1; } \
     423               END { for (i in files) print i; }'`; \
     424        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     425          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     426             $$tags $$unique
     427
     428GTAGS:
     429        here=`$(am__cd) $(top_builddir) && pwd` \
     430          && cd $(top_srcdir) \
     431          && gtags -i $(GTAGS_ARGS) $$here
     432
     433distclean-tags:
     434        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     435
     436check-TESTS: $(TESTS)
     437        @failed=0; all=0; xfail=0; xpass=0; skip=0; \
     438        srcdir=$(srcdir); export srcdir; \
     439        list='$(TESTS)'; \
     440        if test -n "$$list"; then \
     441          for tst in $$list; do \
     442            if test -f ./$$tst; then dir=./; \
     443            elif test -f $$tst; then dir=; \
     444            else dir="$(srcdir)/"; fi; \
     445            if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
     446              all=`expr $$all + 1`; \
     447              case " $(XFAIL_TESTS) " in \
     448              *" $$tst "*) \
     449                xpass=`expr $$xpass + 1`; \
     450                failed=`expr $$failed + 1`; \
     451                echo "XPASS: $$tst"; \
     452              ;; \
     453              *) \
     454                echo "PASS: $$tst"; \
     455              ;; \
     456              esac; \
     457            elif test $$? -ne 77; then \
     458              all=`expr $$all + 1`; \
     459              case " $(XFAIL_TESTS) " in \
     460              *" $$tst "*) \
     461                xfail=`expr $$xfail + 1`; \
     462                echo "XFAIL: $$tst"; \
     463              ;; \
     464              *) \
     465                failed=`expr $$failed + 1`; \
     466                echo "FAIL: $$tst"; \
     467              ;; \
     468              esac; \
     469            else \
     470              skip=`expr $$skip + 1`; \
     471              echo "SKIP: $$tst"; \
     472            fi; \
     473          done; \
     474          if test "$$failed" -eq 0; then \
     475            if test "$$xfail" -eq 0; then \
     476              banner="All $$all tests passed"; \
     477            else \
     478              banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
     479            fi; \
     480          else \
     481            if test "$$xpass" -eq 0; then \
     482              banner="$$failed of $$all tests failed"; \
     483            else \
     484              banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
     485            fi; \
     486          fi; \
     487          dashes="$$banner"; \
     488          skipped=""; \
     489          if test "$$skip" -ne 0; then \
     490            skipped="($$skip tests were not run)"; \
     491            test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
     492              dashes="$$skipped"; \
     493          fi; \
     494          report=""; \
     495          if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
     496            report="Please report to $(PACKAGE_BUGREPORT)"; \
     497            test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
     498              dashes="$$report"; \
     499          fi; \
     500          dashes=`echo "$$dashes" | sed s/./=/g`; \
     501          echo "$$dashes"; \
     502          echo "$$banner"; \
     503          test -z "$$skipped" || echo "$$skipped"; \
     504          test -z "$$report" || echo "$$report"; \
     505          echo "$$dashes"; \
     506          test "$$failed" -eq 0; \
     507        else :; fi
     508
     509distdir: $(DISTFILES)
     510        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
     511        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     512        list='$(DISTFILES)'; for file in $$list; do \
     513          case $$file in \
     514            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
     515            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
     516          esac; \
     517          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
     518          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
     519          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
     520            dir="/$$dir"; \
     521            $(mkdir_p) "$(distdir)$$dir"; \
     522          else \
     523            dir=''; \
     524          fi; \
     525          if test -d $$d/$$file; then \
     526            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
     527              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
     528            fi; \
     529            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
     530          else \
     531            test -f $(distdir)/$$file \
     532            || cp -p $$d/$$file $(distdir)/$$file \
     533            || exit 1; \
     534          fi; \
     535        done
     536check-am: all-am
     537        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
     538        $(MAKE) $(AM_MAKEFLAGS) check-TESTS
     539check: check-am
     540all-am: Makefile
     541installdirs:
     542install: install-am
     543install-exec: install-exec-am
     544install-data: install-data-am
     545uninstall: uninstall-am
     546
     547install-am: all-am
     548        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     549
     550installcheck: installcheck-am
     551install-strip:
     552        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     553          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     554          `test -z '$(STRIP)' || \
     555            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     556mostlyclean-generic:
     557
     558clean-generic:
     559
     560distclean-generic:
     561        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
     562
     563maintainer-clean-generic:
     564        @echo "This command is intended for maintainers to use"
     565        @echo "it deletes files that may require special tools to rebuild."
     566clean: clean-am
     567
     568clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
     569        mostlyclean-am
     570
     571distclean: distclean-am
     572        -rm -rf ./$(DEPDIR)
     573        -rm -f Makefile
     574distclean-am: clean-am distclean-compile distclean-generic \
     575        distclean-libtool distclean-tags
     576
     577dvi: dvi-am
     578
     579dvi-am:
     580
     581html: html-am
     582
     583info: info-am
     584
     585info-am:
     586
     587install-data-am:
     588
     589install-exec-am:
     590
     591install-info: install-info-am
     592
     593install-man:
     594
     595installcheck-am:
     596
     597maintainer-clean: maintainer-clean-am
     598        -rm -rf ./$(DEPDIR)
     599        -rm -f Makefile
     600maintainer-clean-am: distclean-am maintainer-clean-generic
     601
     602mostlyclean: mostlyclean-am
     603
     604mostlyclean-am: mostlyclean-compile mostlyclean-generic \
     605        mostlyclean-libtool
     606
     607pdf: pdf-am
     608
     609pdf-am:
     610
     611ps: ps-am
     612
     613ps-am:
     614
     615uninstall-am: uninstall-info-am
     616
     617.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
     618        clean-checkPROGRAMS clean-generic clean-libtool ctags \
     619        distclean distclean-compile distclean-generic \
     620        distclean-libtool distclean-tags distdir dvi dvi-am html \
     621        html-am info info-am install install-am install-data \
     622        install-data-am install-exec install-exec-am install-info \
     623        install-info-am install-man install-strip installcheck \
     624        installcheck-am installdirs maintainer-clean \
     625        maintainer-clean-generic mostlyclean mostlyclean-compile \
     626        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
     627        tags uninstall uninstall-am uninstall-info-am
     628
     629tests: $(TESTS)
     630# Tell versions [3.59,3.63) of GNU make to not export all variables.
     631# Otherwise a system limit (for SysV at least) may be exceeded.
     632.NOEXPORT:
  • trunk/psLib/test/runTest

    r2729 r3115  
    1818#                 0    Test run successfull and all tests passed
    1919#                 1    Verified directory did not exist
    20 #                 2    Verified STDOUT file did not exist
    21 #                 4    Verified STDERR file did not exist
    2220#                 8    STDOUT files did not compare
    2321#                16    STDERR files did not compare
     
    3028#
    3129#  $Revison:  $  $Name: not supported by cvs2svn $
    32 #  $Date: 2004-12-16 21:32:39 $
     30#  $Date: 2005-02-03 00:54:12 $
    3331#
    3432#  Copyright 2004 Maui High Performance Computering Center, University of Hawaii
     
    6260
    6361# Set up the PSLIB_ROOT environment variable if the user doesn't have it set
    64 if ( !$ENV{'PSLIB_ROOT'} ) {
    65 
    66     # Use the directory directly above test
    67     $PSLIB_ROOT = `cd ..;pwd`;
    68 
    69     # Remove newline for the end of path returned
    70     chomp($PSLIB_ROOT);
    71 
    72     # Set the environment variable
    73     $ENV{'PSLIB_ROOT'} = $PSLIB_ROOT;
    74 
    75     # Display message that PSLIB_ROOT not found and set to
    76     print("PSLIB_ROOT not found: set to $PSLIB_ROOT\n");
    77 }
    78 
    79 # Add PSLIB_ROOT/lib to LD_LIBRARY_PATH and DYLD_LIBRARY_PATH environment vars
    80 $ENV{'LD_LIBRARY_PATH'}   = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'LD_LIBRARY_PATH'}";
    81 $ENV{'DYLD_LIBRARY_PATH'} = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'DYLD_LIBRARY_PATH'}";
     62if ( $ENV{'PSLIB_ROOT'} ) {
     63
     64        # Add PSLIB_ROOT/lib to LD_LIBRARY_PATH and DYLD_LIBRARY_PATH environment vars
     65        $ENV{'LD_LIBRARY_PATH'}   = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'LD_LIBRARY_PATH'}";
     66        $ENV{'DYLD_LIBRARY_PATH'} = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'DYLD_LIBRARY_PATH'}";
     67}
    8268
    8369# Loop through the arguements passed to the script
     
    337323        # Display message to user that verified STDOUT file doesn't exist
    338324        print("        File $streamFile doesn't exist.\n");
    339 
    340         # Set exit value bit 1 to indicate proper failure
    341         if ( $streamFile =~ /out$/ ) {
    342             $returnVal |= 2;
    343         }
    344         elsif ( $streamFile =~ /err$/ ) {
    345             $returnVal |= 4;
    346         }
    347325    }
    348326    else {
  • trunk/psLib/test/sysUtils/Makefile

    r2865 r3115  
    1 ################################################################################
    2 ##
    3 ##  Makefile:   test/sysUtils
    4 ##
    5 ##  $Revision: 1.22 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2005-01-03 23:33:20 $
    7 ##
    8 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    9 ##
    10 ###############################################################################
    11 
    12 ifndef prefix
    13     export prefix=$(shell cd ../..;pwd)
    14 endif
    15 
    16 include ../../src/Makefile.Globals
    17 
    18 CFLAGS := -I../../include $(CFLAGS)
    19 LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS)
    20 
    21 TARGET = tst_psAbort      \
    22          tst_psMemory     \
    23          tst_psError      \
    24          tst_psLogMsg     \
    25          tst_psStringCopy \
    26          tst_psTrace      \
    27          tst_psConfigure
    28 
    29 OBJS = $(addsuffix .o,$(TARGET))
    30 
    31 all: $(TARGET)
    32 
    33 clean:
    34         @echo "    Deleting executable and binary files for 'test/collections'"
    35         $(RM) $(OBJS)
    36 
    37 distclean: clean
    38         $(RM) $(TARGET)
    39 
    40 install: $(testbindir) $(testbindir)/verified $(TARGET)
    41         install $(TARGET) $(testbindir)
    42         install verified/*.stderr verified/*.stdout $(testbindir)/verified
    43 
    44 $(testbindir):
    45         mkdir -p $(testbindir)
    46 
    47 $(testbindir)/verified:
    48         mkdir -p $(testbindir)/verified
    49 
    50 
     1# Makefile.in generated by automake 1.9.1 from Makefile.am.
     2# test/sysUtils/Makefile.  Generated from Makefile.in by configure.
     3
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
     6# This Makefile.in is free software; the Free Software Foundation
     7# gives unlimited permission to copy and/or distribute it,
     8# with or without modifications, as long as this notice is preserved.
     9
     10# This program is distributed in the hope that it will be useful,
     11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     13# PARTICULAR PURPOSE.
     14
     15
     16SOURCES = $(tst_psAbort_SOURCES) $(tst_psConfigure_SOURCES) $(tst_psError_SOURCES) $(tst_psLogMsg_SOURCES) $(tst_psMemory_SOURCES) $(tst_psStringCopy_SOURCES) $(tst_psTrace_SOURCES)
     17
     18srcdir = .
     19top_srcdir = ../..
     20
     21pkgdatadir = $(datadir)/pslib
     22pkglibdir = $(libdir)/pslib
     23pkgincludedir = $(includedir)/pslib
     24top_builddir = ../..
     25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     26INSTALL = /usr/bin/install -c
     27install_sh_DATA = $(install_sh) -c -m 644
     28install_sh_PROGRAM = $(install_sh) -c
     29install_sh_SCRIPT = $(install_sh) -c
     30INSTALL_HEADER = $(INSTALL_DATA)
     31transform = $(program_transform_name)
     32NORMAL_INSTALL = :
     33PRE_INSTALL = :
     34POST_INSTALL = :
     35NORMAL_UNINSTALL = :
     36PRE_UNINSTALL = :
     37POST_UNINSTALL = :
     38build_triplet = x86_64-unknown-linux-gnu
     39host_triplet = x86_64-unknown-linux-gnu
     40check_PROGRAMS = tst_psAbort$(EXEEXT) tst_psMemory$(EXEEXT) \
     41        tst_psError$(EXEEXT) tst_psLogMsg$(EXEEXT) \
     42        tst_psStringCopy$(EXEEXT) tst_psTrace$(EXEEXT) \
     43        tst_psConfigure$(EXEEXT)
     44subdir = test/sysUtils
     45DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
     46ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     47am__aclocal_m4_deps = $(top_srcdir)/configure.in
     48am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     49        $(ACLOCAL_M4)
     50mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     51CONFIG_HEADER = $(top_builddir)/src/config.h
     52CONFIG_CLEAN_FILES =
     53am_tst_psAbort_OBJECTS = tst_psAbort.$(OBJEXT)
     54tst_psAbort_OBJECTS = $(am_tst_psAbort_OBJECTS)
     55tst_psAbort_LDADD = $(LDADD)
     56am_tst_psConfigure_OBJECTS = tst_psConfigure.$(OBJEXT)
     57tst_psConfigure_OBJECTS = $(am_tst_psConfigure_OBJECTS)
     58tst_psConfigure_LDADD = $(LDADD)
     59am_tst_psError_OBJECTS = tst_psError.$(OBJEXT)
     60tst_psError_OBJECTS = $(am_tst_psError_OBJECTS)
     61tst_psError_LDADD = $(LDADD)
     62am_tst_psLogMsg_OBJECTS = tst_psLogMsg.$(OBJEXT)
     63tst_psLogMsg_OBJECTS = $(am_tst_psLogMsg_OBJECTS)
     64tst_psLogMsg_LDADD = $(LDADD)
     65am_tst_psMemory_OBJECTS = tst_psMemory.$(OBJEXT)
     66tst_psMemory_OBJECTS = $(am_tst_psMemory_OBJECTS)
     67tst_psMemory_LDADD = $(LDADD)
     68am_tst_psStringCopy_OBJECTS = tst_psStringCopy.$(OBJEXT)
     69tst_psStringCopy_OBJECTS = $(am_tst_psStringCopy_OBJECTS)
     70tst_psStringCopy_LDADD = $(LDADD)
     71am_tst_psTrace_OBJECTS = tst_psTrace.$(OBJEXT)
     72tst_psTrace_OBJECTS = $(am_tst_psTrace_OBJECTS)
     73tst_psTrace_LDADD = $(LDADD)
     74DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
     75depcomp = $(SHELL) $(top_srcdir)/depcomp
     76am__depfiles_maybe = depfiles
     77COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
     78        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     79LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
     80        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
     81        $(AM_CFLAGS) $(CFLAGS)
     82CCLD = $(CC)
     83LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
     84        $(AM_LDFLAGS) $(LDFLAGS) -o $@
     85SOURCES = $(tst_psAbort_SOURCES) $(tst_psConfigure_SOURCES) \
     86        $(tst_psError_SOURCES) $(tst_psLogMsg_SOURCES) \
     87        $(tst_psMemory_SOURCES) $(tst_psStringCopy_SOURCES) \
     88        $(tst_psTrace_SOURCES)
     89DIST_SOURCES = $(tst_psAbort_SOURCES) $(tst_psConfigure_SOURCES) \
     90        $(tst_psError_SOURCES) $(tst_psLogMsg_SOURCES) \
     91        $(tst_psMemory_SOURCES) $(tst_psStringCopy_SOURCES) \
     92        $(tst_psTrace_SOURCES)
     93ETAGS = etags
     94CTAGS = ctags
     95DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     96ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
     97AMDEP_FALSE = #
     98AMDEP_TRUE =
     99AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
     100AR = ar
     101AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
     102AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
     103AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
     104AWK = gawk
     105CC = gcc
     106CCDEPMODE = depmode=gcc3
     107CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
     108CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
     109CPP = gcc -E
     110CPPFLAGS =
     111CXX = g++
     112CXXCPP = g++ -E
     113CXXDEPMODE = depmode=gcc3
     114CXXFLAGS = -g -O2
     115CYGPATH_W = echo
     116DEFS = -DHAVE_CONFIG_H
     117DEPDIR = .deps
     118ECHO = echo
     119ECHO_C =
     120ECHO_N = -n
     121ECHO_T =
     122EGREP = grep -E
     123EXEEXT =
     124F77 = g77
     125FFLAGS = -fno-second-underscore -O -fno-f2c
     126GSL_CONFIG = /usr/bin/gsl-config
     127INSTALL_DATA = ${INSTALL} -m 644
     128INSTALL_PROGRAM = ${INSTALL}
     129INSTALL_SCRIPT = ${INSTALL}
     130INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
     131LDFLAGS =
     132LIBOBJS =
     133LIBS =
     134LIBTOOL = $(SHELL) $(top_builddir)/libtool
     135LN_S = ln -s
     136LTLIBOBJS =
     137MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
     138OBJEXT = o
     139PACKAGE = pslib
     140PACKAGE_BUGREPORT =
     141PACKAGE_NAME =
     142PACKAGE_STRING =
     143PACKAGE_TARNAME =
     144PACKAGE_VERSION =
     145PATH_SEPARATOR = :
     146PERL = /usr/bin/perl
     147PSLIB_CFLAGS = -I${prefix}/include
     148PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
     149RANLIB = ranlib
     150SET_MAKE =
     151SHELL = /bin/sh
     152STRIP = strip
     153SWIG = /usr/bin/swig
     154VERSION = 1.5
     155XML_CONFIG = /usr/bin/xml2-config
     156ac_ct_AR = ar
     157ac_ct_CC = gcc
     158ac_ct_CXX = g++
     159ac_ct_F77 = g77
     160ac_ct_RANLIB = ranlib
     161ac_ct_STRIP = strip
     162am__fastdepCC_FALSE = #
     163am__fastdepCC_TRUE =
     164am__fastdepCXX_FALSE = #
     165am__fastdepCXX_TRUE =
     166am__include = include
     167am__leading_dot = .
     168am__quote =
     169am__tar = ${AMTAR} chof - "$$tardir"
     170am__untar = ${AMTAR} xf -
     171bindir = ${exec_prefix}/bin
     172build = x86_64-unknown-linux-gnu
     173build_alias =
     174build_cpu = x86_64
     175build_os = linux-gnu
     176build_vendor = unknown
     177datadir = ${prefix}/share
     178exec_prefix = ${prefix}
     179host = x86_64-unknown-linux-gnu
     180host_alias =
     181host_cpu = x86_64
     182host_os = linux-gnu
     183host_vendor = unknown
     184includedir = ${prefix}/include
     185infodir = ${prefix}/info
     186install_sh = /home/desonia/panstarrs/psLib/install-sh
     187libdir = ${exec_prefix}/lib
     188libexecdir = ${exec_prefix}/libexec
     189localstatedir = ${prefix}/var
     190mandir = ${prefix}/man
     191mkdir_p = mkdir -p --
     192oldincludedir = /usr/include
     193prefix = /home/desonia/panstarrs/psLib
     194program_transform_name = s,x,x,
     195sbindir = ${exec_prefix}/sbin
     196sharedstatedir = ${prefix}/com
     197sysconfdir = ${prefix}/etc
     198target_alias =
     199
     200#Makefile for astronomy functions of psLib
     201#
     202INCLUDES = \
     203        -I$(top_srcdir)/src \
     204        -I$(top_srcdir)/src/astronomy \
     205        -I$(top_srcdir)/src/collections \
     206        -I$(top_srcdir)/src/dataManip \
     207        -I$(top_srcdir)/src/fileUtils \
     208        -I$(top_srcdir)/src/image \
     209        -I$(top_srcdir)/src/sysUtils \
     210        $(all_includes)
     211
     212AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs`
     213TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest
     214TESTS = \
     215        tst_psAbort      \
     216        tst_psMemory     \
     217        tst_psError      \
     218        tst_psLogMsg     \
     219        tst_psStringCopy \
     220        tst_psTrace      \
     221        tst_psConfigure
     222
     223tst_psAbort_SOURCES = tst_psAbort.c
     224tst_psMemory_SOURCES = tst_psMemory.c
     225tst_psError_SOURCES = tst_psError.c
     226tst_psLogMsg_SOURCES = tst_psLogMsg.c
     227tst_psStringCopy_SOURCES = tst_psStringCopy.c
     228tst_psTrace_SOURCES = tst_psTrace.c
     229tst_psConfigure_SOURCES = tst_psConfigure.c
     230all: all-am
     231
     232.SUFFIXES:
     233.SUFFIXES: .c .lo .o .obj
     234$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     235        @for dep in $?; do \
     236          case '$(am__configure_deps)' in \
     237            *$$dep*) \
     238              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     239                && exit 0; \
     240              exit 1;; \
     241          esac; \
     242        done; \
     243        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  test/sysUtils/Makefile'; \
     244        cd $(top_srcdir) && \
     245          $(AUTOMAKE) --gnu  test/sysUtils/Makefile
     246.PRECIOUS: Makefile
     247Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     248        @case '$?' in \
     249          *config.status*) \
     250            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     251          *) \
     252            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     253            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     254        esac;
     255
     256$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     257        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     258
     259$(top_srcdir)/configure:  $(am__configure_deps)
     260        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     261$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     262        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     263
     264clean-checkPROGRAMS:
     265        @list='$(check_PROGRAMS)'; for p in $$list; do \
     266          f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     267          echo " rm -f $$p $$f"; \
     268          rm -f $$p $$f ; \
     269        done
     270tst_psAbort$(EXEEXT): $(tst_psAbort_OBJECTS) $(tst_psAbort_DEPENDENCIES)
     271        @rm -f tst_psAbort$(EXEEXT)
     272        $(LINK) $(tst_psAbort_LDFLAGS) $(tst_psAbort_OBJECTS) $(tst_psAbort_LDADD) $(LIBS)
     273tst_psConfigure$(EXEEXT): $(tst_psConfigure_OBJECTS) $(tst_psConfigure_DEPENDENCIES)
     274        @rm -f tst_psConfigure$(EXEEXT)
     275        $(LINK) $(tst_psConfigure_LDFLAGS) $(tst_psConfigure_OBJECTS) $(tst_psConfigure_LDADD) $(LIBS)
     276tst_psError$(EXEEXT): $(tst_psError_OBJECTS) $(tst_psError_DEPENDENCIES)
     277        @rm -f tst_psError$(EXEEXT)
     278        $(LINK) $(tst_psError_LDFLAGS) $(tst_psError_OBJECTS) $(tst_psError_LDADD) $(LIBS)
     279tst_psLogMsg$(EXEEXT): $(tst_psLogMsg_OBJECTS) $(tst_psLogMsg_DEPENDENCIES)
     280        @rm -f tst_psLogMsg$(EXEEXT)
     281        $(LINK) $(tst_psLogMsg_LDFLAGS) $(tst_psLogMsg_OBJECTS) $(tst_psLogMsg_LDADD) $(LIBS)
     282tst_psMemory$(EXEEXT): $(tst_psMemory_OBJECTS) $(tst_psMemory_DEPENDENCIES)
     283        @rm -f tst_psMemory$(EXEEXT)
     284        $(LINK) $(tst_psMemory_LDFLAGS) $(tst_psMemory_OBJECTS) $(tst_psMemory_LDADD) $(LIBS)
     285tst_psStringCopy$(EXEEXT): $(tst_psStringCopy_OBJECTS) $(tst_psStringCopy_DEPENDENCIES)
     286        @rm -f tst_psStringCopy$(EXEEXT)
     287        $(LINK) $(tst_psStringCopy_LDFLAGS) $(tst_psStringCopy_OBJECTS) $(tst_psStringCopy_LDADD) $(LIBS)
     288tst_psTrace$(EXEEXT): $(tst_psTrace_OBJECTS) $(tst_psTrace_DEPENDENCIES)
     289        @rm -f tst_psTrace$(EXEEXT)
     290        $(LINK) $(tst_psTrace_LDFLAGS) $(tst_psTrace_OBJECTS) $(tst_psTrace_LDADD) $(LIBS)
     291
     292mostlyclean-compile:
     293        -rm -f *.$(OBJEXT)
     294
     295distclean-compile:
     296        -rm -f *.tab.c
     297
     298include ./$(DEPDIR)/tst_psAbort.Po
     299include ./$(DEPDIR)/tst_psConfigure.Po
     300include ./$(DEPDIR)/tst_psError.Po
     301include ./$(DEPDIR)/tst_psLogMsg.Po
     302include ./$(DEPDIR)/tst_psMemory.Po
     303include ./$(DEPDIR)/tst_psStringCopy.Po
     304include ./$(DEPDIR)/tst_psTrace.Po
     305
     306.c.o:
     307        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     308        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     309#       source='$<' object='$@' libtool=no \
     310#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     311#       $(COMPILE) -c $<
     312
     313.c.obj:
     314        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     315        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     316#       source='$<' object='$@' libtool=no \
     317#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     318#       $(COMPILE) -c `$(CYGPATH_W) '$<'`
     319
     320.c.lo:
     321        if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     322        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     323#       source='$<' object='$@' libtool=yes \
     324#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     325#       $(LTCOMPILE) -c -o $@ $<
     326
     327mostlyclean-libtool:
     328        -rm -f *.lo
     329
     330clean-libtool:
     331        -rm -rf .libs _libs
     332
     333distclean-libtool:
     334        -rm -f libtool
     335uninstall-info-am:
     336
     337ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     338        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     339        unique=`for i in $$list; do \
     340            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     341          done | \
     342          $(AWK) '    { files[$$0] = 1; } \
     343               END { for (i in files) print i; }'`; \
     344        mkid -fID $$unique
     345tags: TAGS
     346
     347TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     348                $(TAGS_FILES) $(LISP)
     349        tags=; \
     350        here=`pwd`; \
     351        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     352        unique=`for i in $$list; do \
     353            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     354          done | \
     355          $(AWK) '    { files[$$0] = 1; } \
     356               END { for (i in files) print i; }'`; \
     357        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     358          test -n "$$unique" || unique=$$empty_fix; \
     359          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     360            $$tags $$unique; \
     361        fi
     362ctags: CTAGS
     363CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     364                $(TAGS_FILES) $(LISP)
     365        tags=; \
     366        here=`pwd`; \
     367        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     368        unique=`for i in $$list; do \
     369            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     370          done | \
     371          $(AWK) '    { files[$$0] = 1; } \
     372               END { for (i in files) print i; }'`; \
     373        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     374          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     375             $$tags $$unique
     376
     377GTAGS:
     378        here=`$(am__cd) $(top_builddir) && pwd` \
     379          && cd $(top_srcdir) \
     380          && gtags -i $(GTAGS_ARGS) $$here
     381
     382distclean-tags:
     383        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     384
     385check-TESTS: $(TESTS)
     386        @failed=0; all=0; xfail=0; xpass=0; skip=0; \
     387        srcdir=$(srcdir); export srcdir; \
     388        list='$(TESTS)'; \
     389        if test -n "$$list"; then \
     390          for tst in $$list; do \
     391            if test -f ./$$tst; then dir=./; \
     392            elif test -f $$tst; then dir=; \
     393            else dir="$(srcdir)/"; fi; \
     394            if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
     395              all=`expr $$all + 1`; \
     396              case " $(XFAIL_TESTS) " in \
     397              *" $$tst "*) \
     398                xpass=`expr $$xpass + 1`; \
     399                failed=`expr $$failed + 1`; \
     400                echo "XPASS: $$tst"; \
     401              ;; \
     402              *) \
     403                echo "PASS: $$tst"; \
     404              ;; \
     405              esac; \
     406            elif test $$? -ne 77; then \
     407              all=`expr $$all + 1`; \
     408              case " $(XFAIL_TESTS) " in \
     409              *" $$tst "*) \
     410                xfail=`expr $$xfail + 1`; \
     411                echo "XFAIL: $$tst"; \
     412              ;; \
     413              *) \
     414                failed=`expr $$failed + 1`; \
     415                echo "FAIL: $$tst"; \
     416              ;; \
     417              esac; \
     418            else \
     419              skip=`expr $$skip + 1`; \
     420              echo "SKIP: $$tst"; \
     421            fi; \
     422          done; \
     423          if test "$$failed" -eq 0; then \
     424            if test "$$xfail" -eq 0; then \
     425              banner="All $$all tests passed"; \
     426            else \
     427              banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
     428            fi; \
     429          else \
     430            if test "$$xpass" -eq 0; then \
     431              banner="$$failed of $$all tests failed"; \
     432            else \
     433              banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
     434            fi; \
     435          fi; \
     436          dashes="$$banner"; \
     437          skipped=""; \
     438          if test "$$skip" -ne 0; then \
     439            skipped="($$skip tests were not run)"; \
     440            test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
     441              dashes="$$skipped"; \
     442          fi; \
     443          report=""; \
     444          if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
     445            report="Please report to $(PACKAGE_BUGREPORT)"; \
     446            test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
     447              dashes="$$report"; \
     448          fi; \
     449          dashes=`echo "$$dashes" | sed s/./=/g`; \
     450          echo "$$dashes"; \
     451          echo "$$banner"; \
     452          test -z "$$skipped" || echo "$$skipped"; \
     453          test -z "$$report" || echo "$$report"; \
     454          echo "$$dashes"; \
     455          test "$$failed" -eq 0; \
     456        else :; fi
     457
     458distdir: $(DISTFILES)
     459        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
     460        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     461        list='$(DISTFILES)'; for file in $$list; do \
     462          case $$file in \
     463            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
     464            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
     465          esac; \
     466          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
     467          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
     468          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
     469            dir="/$$dir"; \
     470            $(mkdir_p) "$(distdir)$$dir"; \
     471          else \
     472            dir=''; \
     473          fi; \
     474          if test -d $$d/$$file; then \
     475            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
     476              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
     477            fi; \
     478            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
     479          else \
     480            test -f $(distdir)/$$file \
     481            || cp -p $$d/$$file $(distdir)/$$file \
     482            || exit 1; \
     483          fi; \
     484        done
     485check-am: all-am
     486        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
     487        $(MAKE) $(AM_MAKEFLAGS) check-TESTS
     488check: check-am
     489all-am: Makefile
     490installdirs:
     491install: install-am
     492install-exec: install-exec-am
     493install-data: install-data-am
     494uninstall: uninstall-am
     495
     496install-am: all-am
     497        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     498
     499installcheck: installcheck-am
     500install-strip:
     501        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     502          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     503          `test -z '$(STRIP)' || \
     504            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     505mostlyclean-generic:
     506
     507clean-generic:
     508
     509distclean-generic:
     510        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
     511
     512maintainer-clean-generic:
     513        @echo "This command is intended for maintainers to use"
     514        @echo "it deletes files that may require special tools to rebuild."
     515clean: clean-am
     516
     517clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
     518        mostlyclean-am
     519
     520distclean: distclean-am
     521        -rm -rf ./$(DEPDIR)
     522        -rm -f Makefile
     523distclean-am: clean-am distclean-compile distclean-generic \
     524        distclean-libtool distclean-tags
     525
     526dvi: dvi-am
     527
     528dvi-am:
     529
     530html: html-am
     531
     532info: info-am
     533
     534info-am:
     535
     536install-data-am:
     537
     538install-exec-am:
     539
     540install-info: install-info-am
     541
     542install-man:
     543
     544installcheck-am:
     545
     546maintainer-clean: maintainer-clean-am
     547        -rm -rf ./$(DEPDIR)
     548        -rm -f Makefile
     549maintainer-clean-am: distclean-am maintainer-clean-generic
     550
     551mostlyclean: mostlyclean-am
     552
     553mostlyclean-am: mostlyclean-compile mostlyclean-generic \
     554        mostlyclean-libtool
     555
     556pdf: pdf-am
     557
     558pdf-am:
     559
     560ps: ps-am
     561
     562ps-am:
     563
     564uninstall-am: uninstall-info-am
     565
     566.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
     567        clean-checkPROGRAMS clean-generic clean-libtool ctags \
     568        distclean distclean-compile distclean-generic \
     569        distclean-libtool distclean-tags distdir dvi dvi-am html \
     570        html-am info info-am install install-am install-data \
     571        install-data-am install-exec install-exec-am install-info \
     572        install-info-am install-man install-strip installcheck \
     573        installcheck-am installdirs maintainer-clean \
     574        maintainer-clean-generic mostlyclean mostlyclean-compile \
     575        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
     576        tags uninstall uninstall-am uninstall-info-am
     577
     578tests: $(TESTS)
     579# Tell versions [3.59,3.63) of GNU make to not export all variables.
     580# Otherwise a system limit (for SysV at least) may be exceeded.
     581.NOEXPORT:
  • trunk/psLib/test/sysUtils/verified/tst_psConfigure.stderr

    r2866 r3115  
    66
    77<DATE><TIME>|<HOST>|I|psLibVersion00
    8     Current psLib version is: rel4
     8    Current psLib version is: pslib-v1.5
    99
    1010---> TESTPOINT PASSED (psConfigure{Return current psLib version} | tst_psConfigure.c)
Note: See TracChangeset for help on using the changeset viewer.