IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3115 for trunk/psLib/src


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

Added SWIG and autoconf.

Location:
trunk/psLib/src
Files:
14 added
64 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;
Note: See TracChangeset for help on using the changeset viewer.