Changeset 3115 for trunk/psLib/test
- Timestamp:
- Feb 2, 2005, 2:54:13 PM (21 years ago)
- Location:
- trunk/psLib/test
- Files:
-
- 8 added
- 40 edited
-
FullUnitTest (modified) (3 diffs)
-
Makefile (modified) (1 diff)
-
Makefile.am (added)
-
astronomy/Makefile (modified) (2 diffs)
-
astronomy/Makefile.am (added)
-
astronomy/test.psTime.config2 (modified) (1 diff)
-
astronomy/test.psTime.config3 (modified) (1 diff)
-
astronomy/tst_psMetadataIO.c (modified) (2 diffs)
-
astronomy/tst_psMetadata_01.c (modified) (2 diffs)
-
astronomy/tst_psMetadata_02.c (modified) (2 diffs)
-
astronomy/tst_psMetadata_03.c (modified) (2 diffs)
-
astronomy/tst_psMetadata_04.c (modified) (2 diffs)
-
astronomy/tst_psMetadata_05.c (modified) (2 diffs)
-
astronomy/tst_psMetadata_06.c (modified) (2 diffs)
-
astronomy/tst_psMetadata_07.c (modified) (2 diffs)
-
astronomy/tst_psTime_01.c (modified) (2 diffs)
-
astronomy/tst_psTime_04.c (modified) (2 diffs)
-
collections/Makefile (modified) (2 diffs)
-
collections/Makefile.am (added)
-
collections/tst_psMetadataIO.c (modified) (2 diffs)
-
collections/tst_psMetadata_01.c (modified) (2 diffs)
-
collections/tst_psMetadata_02.c (modified) (2 diffs)
-
collections/tst_psMetadata_03.c (modified) (2 diffs)
-
collections/tst_psMetadata_04.c (modified) (2 diffs)
-
collections/tst_psMetadata_05.c (modified) (2 diffs)
-
collections/tst_psMetadata_06.c (modified) (2 diffs)
-
collections/tst_psMetadata_07.c (modified) (2 diffs)
-
dataIO/Makefile (modified) (1 diff)
-
dataIO/Makefile.am (added)
-
dataIO/tst_psFits.c (modified) (2 diffs)
-
dataIO/tst_psLookupTable_01.c (modified) (2 diffs)
-
dataManip/Makefile (modified) (1 diff)
-
dataManip/Makefile.am (added)
-
dataManip/verified/tst_psFunc02.stdout (modified) (5 diffs)
-
dataManip/verified/tst_psMinimize04_F32.stderr (modified) (1 diff)
-
dataManip/verified/tst_psMinimize04_F32.stdout (modified) (4 diffs)
-
dataManip/verified/tst_psMinimize04b_F32.stderr (modified) (1 diff)
-
dataManip/verified/tst_psMinimize04b_F32.stdout (modified) (5 diffs)
-
fileUtils/Makefile (modified) (1 diff)
-
fileUtils/Makefile.am (added)
-
fileUtils/tst_psFits.c (modified) (2 diffs)
-
fileUtils/tst_psLookupTable_01.c (modified) (2 diffs)
-
image/Makefile (modified) (1 diff)
-
image/Makefile.am (added)
-
runTest (modified) (4 diffs)
-
sysUtils/Makefile (modified) (1 diff)
-
sysUtils/Makefile.am (added)
-
sysUtils/verified/tst_psConfigure.stderr (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/FullUnitTest
r2204 r3115 19 19 # RETURN : integer number of tests which failed 20 20 # 21 # $Revision: 1.1 5$ $Name: not supported by cvs2svn $22 # $Date: 200 4-10-27 00:57:31$21 # $Revision: 1.16 $ $Name: not supported by cvs2svn $ 22 # $Date: 2005-02-03 00:54:12 $ 23 23 # 24 24 # Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 239 239 `make clean`; 240 240 241 # Execute the make distclean242 `make distclean`;243 241 } 244 242 245 243 # Execute the make and save results 246 $_ = join( "\n|| ", split( "\n", "\n" . `make ` ) );244 $_ = join( "\n|| ", split( "\n", "\n" . `make tests` ) ); 247 245 248 246 # Check the output of make for return value != 0 or any of the … … 276 274 # Display the make was successful if silent option not set 277 275 print("\nMake successful.\n") if ( !$silent ); 278 if ($clean) {279 `make install`;280 }281 276 } 282 277 } -
trunk/psLib/test/Makefile
r2309 r3115 1 ############################################################################## 2 ## 3 ## Makefile: test 4 ## 5 ## $Revision: 1.10 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-11-09 01:10:38 $ 7 ## 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii 9 ############################################################################### 10 11 # Define variable prefix to the top level project - psLib 12 # This is necessary for definition is Makefile.Globals uses prefix 13 14 ifndef prefix 15 export prefix=$(shell cd ..;pwd) 16 endif 17 18 # Define the two targets to be built 19 20 TARGET_STATIC = libpstest.a 21 TARGET_DYNAMIC = libpstest.$(DLL) 22 23 # Include the make global definitions for the project 24 25 include ../src/Makefile.Globals 26 27 # Set CFLAGS used by the implicit rule to compile .c 28 29 CFLAGS := $(CFLAGS_RELOC) -I../include 30 31 # Define the source objects 32 33 SRC_OBJS = psTest.o 34 35 # Define PHONY target "all" which will make all the necessary items 36 37 all: $(TARGET_STATIC) $(TARGET_DYNAMIC) 38 39 # Rule to make static library 40 41 libpstest.a: $(SRC_OBJS) 42 # The ar option -r is to add/replace object and -s is to create 43 # a symbol table in the archive 44 $(AR) rcs $@ $(SRC_OBJS) 45 46 # Rule to make dynamic library 47 48 libpstest.$(DLL): $(SRC_OBJS) 49 $(CC) $(LDFLAGS_DLL) -L../lib -lpslib $(SRC_OBJS) -o $@ 50 51 # Define PHONY target "install" which will install necessary files 52 53 install: $(TARGET_STATIC) $(TARGET_DYNAMIC) $(includedir) $(libexecdir) $(testbindir) 54 install *.h $(includedir) 55 install $(TARGET_STATIC) $(libexecdir) 56 install $(TARGET_DYNAMIC) $(libexecdir) 57 install FullUnitTest runTest $(testbindir) 58 $(MAKE) --directory=collections install 59 $(MAKE) --directory=image install 60 $(MAKE) --directory=dataManip install 61 $(MAKE) --directory=sysUtils install 62 $(MAKE) --directory=astronomy install 63 $(MAKE) --directory=fileUtils install 64 65 # Define PHONY target "distclean" which will cleanup the distribution 66 67 distclean: clean 68 $(MAKE) --directory=collections distclean 69 $(MAKE) --directory=image distclean 70 $(MAKE) --directory=dataManip distclean 71 $(MAKE) --directory=sysUtils distclean 72 $(MAKE) --directory=astronomy distclean 73 $(MAKE) --directory=fileUtils distclean 74 $(RM) $(TARGET_STATIC) 75 $(RM) $(TARGET_DYNAMIC) 76 $(RM) $(libexecdir)/$(TARGET_STATIC) 77 $(RM) $(libexecdir)/$(TARGET_DYNAMIC) 78 79 # Define PHONY target "clean" which will cleanup the development area 80 81 clean: 82 $(MAKE) --directory=collections clean 83 $(MAKE) --directory=image clean 84 $(MAKE) --directory=dataManip clean 85 $(MAKE) --directory=sysUtils clean 86 $(MAKE) --directory=astronomy clean 87 $(MAKE) --directory=fileUtils clean 88 @echo " Deleting intermediate files for 'test'" 89 $(RM) $(SRC_OBJS) *.lint 90 91 %.lint: %.c 92 splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@ 93 94 # Rule to make include directory if needed 95 96 $(includedir): 97 mkdir -p $(includedir) 98 99 # Rule to make lib directory if needed 100 101 $(libexecdir): 102 mkdir -p $(libexecdir) 103 104 $(testbindir): 105 mkdir -p $(testbindir) 106 1 # Makefile.in generated by automake 1.9.1 from Makefile.am. 2 # test/Makefile. Generated from Makefile.in by configure. 3 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004 Free Software Foundation, Inc. 6 # This Makefile.in is free software; the Free Software Foundation 7 # gives unlimited permission to copy and/or distribute it, 8 # with or without modifications, as long as this notice is preserved. 9 10 # This program is distributed in the hope that it will be useful, 11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 # PARTICULAR PURPOSE. 14 15 16 srcdir = . 17 top_srcdir = .. 18 19 pkgdatadir = $(datadir)/pslib 20 pkglibdir = $(libdir)/pslib 21 pkgincludedir = $(includedir)/pslib 22 top_builddir = .. 23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 24 INSTALL = /usr/bin/install -c 25 install_sh_DATA = $(install_sh) -c -m 644 26 install_sh_PROGRAM = $(install_sh) -c 27 install_sh_SCRIPT = $(install_sh) -c 28 INSTALL_HEADER = $(INSTALL_DATA) 29 transform = $(program_transform_name) 30 NORMAL_INSTALL = : 31 PRE_INSTALL = : 32 POST_INSTALL = : 33 NORMAL_UNINSTALL = : 34 PRE_UNINSTALL = : 35 POST_UNINSTALL = : 36 build_triplet = x86_64-unknown-linux-gnu 37 host_triplet = x86_64-unknown-linux-gnu 38 subdir = test 39 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 40 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 41 am__aclocal_m4_deps = $(top_srcdir)/configure.in 42 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 43 $(ACLOCAL_M4) 44 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 45 CONFIG_HEADER = $(top_builddir)/src/config.h 46 CONFIG_CLEAN_FILES = 47 SOURCES = 48 DIST_SOURCES = 49 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ 50 html-recursive info-recursive install-data-recursive \ 51 install-exec-recursive install-info-recursive \ 52 install-recursive installcheck-recursive installdirs-recursive \ 53 pdf-recursive ps-recursive uninstall-info-recursive \ 54 uninstall-recursive 55 ETAGS = etags 56 CTAGS = ctags 57 DIST_SUBDIRS = $(SUBDIRS) 58 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 59 ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9 60 AMDEP_FALSE = # 61 AMDEP_TRUE = 62 AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar 63 AR = ar 64 AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf 65 AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader 66 AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9 67 AWK = gawk 68 CC = gcc 69 CCDEPMODE = depmode=gcc3 70 CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE -I/usr/include -I/usr/include/libxml2 71 CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config 72 CPP = gcc -E 73 CPPFLAGS = 74 CXX = g++ 75 CXXCPP = g++ -E 76 CXXDEPMODE = depmode=gcc3 77 CXXFLAGS = -g -O2 78 CYGPATH_W = echo 79 DEFS = -DHAVE_CONFIG_H 80 DEPDIR = .deps 81 ECHO = echo 82 ECHO_C = 83 ECHO_N = -n 84 ECHO_T = 85 EGREP = grep -E 86 EXEEXT = 87 F77 = g77 88 FFLAGS = -fno-second-underscore -O -fno-f2c 89 GSL_CONFIG = /usr/bin/gsl-config 90 INSTALL_DATA = ${INSTALL} -m 644 91 INSTALL_PROGRAM = ${INSTALL} 92 INSTALL_SCRIPT = ${INSTALL} 93 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s 94 LDFLAGS = 95 LIBOBJS = 96 LIBS = 97 LIBTOOL = $(SHELL) $(top_builddir)/libtool 98 LN_S = ln -s 99 LTLIBOBJS = 100 MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo 101 OBJEXT = o 102 PACKAGE = pslib 103 PACKAGE_BUGREPORT = 104 PACKAGE_NAME = 105 PACKAGE_STRING = 106 PACKAGE_TARNAME = 107 PACKAGE_VERSION = 108 PATH_SEPARATOR = : 109 PERL = /usr/bin/perl 110 PSLIB_CFLAGS = -I${prefix}/include 111 PSLIB_LIBS = -L${exec_prefix}/lib -lpslib -lcfitsio -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm 112 RANLIB = ranlib 113 SET_MAKE = 114 SHELL = /bin/sh 115 STRIP = strip 116 SWIG = /usr/bin/swig 117 VERSION = 1.5 118 XML_CONFIG = /usr/bin/xml2-config 119 ac_ct_AR = ar 120 ac_ct_CC = gcc 121 ac_ct_CXX = g++ 122 ac_ct_F77 = g77 123 ac_ct_RANLIB = ranlib 124 ac_ct_STRIP = strip 125 am__fastdepCC_FALSE = # 126 am__fastdepCC_TRUE = 127 am__fastdepCXX_FALSE = # 128 am__fastdepCXX_TRUE = 129 am__include = include 130 am__leading_dot = . 131 am__quote = 132 am__tar = ${AMTAR} chof - "$$tardir" 133 am__untar = ${AMTAR} xf - 134 bindir = ${exec_prefix}/bin 135 build = x86_64-unknown-linux-gnu 136 build_alias = 137 build_cpu = x86_64 138 build_os = linux-gnu 139 build_vendor = unknown 140 datadir = ${prefix}/share 141 exec_prefix = ${prefix} 142 host = x86_64-unknown-linux-gnu 143 host_alias = 144 host_cpu = x86_64 145 host_os = linux-gnu 146 host_vendor = unknown 147 includedir = ${prefix}/include 148 infodir = ${prefix}/info 149 install_sh = /home/desonia/panstarrs/psLib/install-sh 150 libdir = ${exec_prefix}/lib 151 libexecdir = ${exec_prefix}/libexec 152 localstatedir = ${prefix}/var 153 mandir = ${prefix}/man 154 mkdir_p = mkdir -p -- 155 oldincludedir = /usr/include 156 prefix = /home/desonia/panstarrs/psLib 157 program_transform_name = s,x,x, 158 sbindir = ${exec_prefix}/sbin 159 sharedstatedir = ${prefix}/com 160 sysconfdir = ${prefix}/etc 161 target_alias = 162 163 # not a GNU package. You can remove this line, if 164 # have all needed files, that a GNU package needs 165 AUTOMAKE_OPTIONS = foreign 1.4 166 SUBDIRS = astronomy collections dataManip fileUtils image sysUtils 167 EXTRA_DIST = runTest FullUnitTest 168 all: all-recursive 169 170 .SUFFIXES: 171 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 172 @for dep in $?; do \ 173 case '$(am__configure_deps)' in \ 174 *$$dep*) \ 175 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 176 && exit 0; \ 177 exit 1;; \ 178 esac; \ 179 done; \ 180 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test/Makefile'; \ 181 cd $(top_srcdir) && \ 182 $(AUTOMAKE) --foreign test/Makefile 183 .PRECIOUS: Makefile 184 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 185 @case '$?' in \ 186 *config.status*) \ 187 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 188 *) \ 189 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 190 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 191 esac; 192 193 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 194 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 195 196 $(top_srcdir)/configure: $(am__configure_deps) 197 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 198 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 199 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 200 201 mostlyclean-libtool: 202 -rm -f *.lo 203 204 clean-libtool: 205 -rm -rf .libs _libs 206 207 distclean-libtool: 208 -rm -f libtool 209 uninstall-info-am: 210 211 # This directory's subdirectories are mostly independent; you can cd 212 # into them and run `make' without going through this Makefile. 213 # To change the values of `make' variables: instead of editing Makefiles, 214 # (1) if the variable is set in `config.status', edit `config.status' 215 # (which will cause the Makefiles to be regenerated when you run `make'); 216 # (2) otherwise, pass the desired values on the `make' command line. 217 $(RECURSIVE_TARGETS): 218 @set fnord $$MAKEFLAGS; amf=$$2; \ 219 dot_seen=no; \ 220 target=`echo $@ | sed s/-recursive//`; \ 221 list='$(SUBDIRS)'; for subdir in $$list; do \ 222 echo "Making $$target in $$subdir"; \ 223 if test "$$subdir" = "."; then \ 224 dot_seen=yes; \ 225 local_target="$$target-am"; \ 226 else \ 227 local_target="$$target"; \ 228 fi; \ 229 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 230 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 231 done; \ 232 if test "$$dot_seen" = "no"; then \ 233 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ 234 fi; test -z "$$fail" 235 236 mostlyclean-recursive clean-recursive distclean-recursive \ 237 maintainer-clean-recursive: 238 @set fnord $$MAKEFLAGS; amf=$$2; \ 239 dot_seen=no; \ 240 case "$@" in \ 241 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ 242 *) list='$(SUBDIRS)' ;; \ 243 esac; \ 244 rev=''; for subdir in $$list; do \ 245 if test "$$subdir" = "."; then :; else \ 246 rev="$$subdir $$rev"; \ 247 fi; \ 248 done; \ 249 rev="$$rev ."; \ 250 target=`echo $@ | sed s/-recursive//`; \ 251 for subdir in $$rev; do \ 252 echo "Making $$target in $$subdir"; \ 253 if test "$$subdir" = "."; then \ 254 local_target="$$target-am"; \ 255 else \ 256 local_target="$$target"; \ 257 fi; \ 258 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 259 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 260 done && test -z "$$fail" 261 tags-recursive: 262 list='$(SUBDIRS)'; for subdir in $$list; do \ 263 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ 264 done 265 ctags-recursive: 266 list='$(SUBDIRS)'; for subdir in $$list; do \ 267 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ 268 done 269 270 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 271 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 272 unique=`for i in $$list; do \ 273 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 274 done | \ 275 $(AWK) ' { files[$$0] = 1; } \ 276 END { for (i in files) print i; }'`; \ 277 mkid -fID $$unique 278 tags: TAGS 279 280 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 281 $(TAGS_FILES) $(LISP) 282 tags=; \ 283 here=`pwd`; \ 284 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ 285 include_option=--etags-include; \ 286 empty_fix=.; \ 287 else \ 288 include_option=--include; \ 289 empty_fix=; \ 290 fi; \ 291 list='$(SUBDIRS)'; for subdir in $$list; do \ 292 if test "$$subdir" = .; then :; else \ 293 test ! -f $$subdir/TAGS || \ 294 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ 295 fi; \ 296 done; \ 297 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 298 unique=`for i in $$list; do \ 299 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 300 done | \ 301 $(AWK) ' { files[$$0] = 1; } \ 302 END { for (i in files) print i; }'`; \ 303 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 304 test -n "$$unique" || unique=$$empty_fix; \ 305 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 306 $$tags $$unique; \ 307 fi 308 ctags: CTAGS 309 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 310 $(TAGS_FILES) $(LISP) 311 tags=; \ 312 here=`pwd`; \ 313 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 314 unique=`for i in $$list; do \ 315 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 316 done | \ 317 $(AWK) ' { files[$$0] = 1; } \ 318 END { for (i in files) print i; }'`; \ 319 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 320 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 321 $$tags $$unique 322 323 GTAGS: 324 here=`$(am__cd) $(top_builddir) && pwd` \ 325 && cd $(top_srcdir) \ 326 && gtags -i $(GTAGS_ARGS) $$here 327 328 distclean-tags: 329 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 330 331 distdir: $(DISTFILES) 332 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 333 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 334 list='$(DISTFILES)'; for file in $$list; do \ 335 case $$file in \ 336 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 337 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 338 esac; \ 339 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 340 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 341 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 342 dir="/$$dir"; \ 343 $(mkdir_p) "$(distdir)$$dir"; \ 344 else \ 345 dir=''; \ 346 fi; \ 347 if test -d $$d/$$file; then \ 348 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 349 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 350 fi; \ 351 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 352 else \ 353 test -f $(distdir)/$$file \ 354 || cp -p $$d/$$file $(distdir)/$$file \ 355 || exit 1; \ 356 fi; \ 357 done 358 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ 359 if test "$$subdir" = .; then :; else \ 360 test -d "$(distdir)/$$subdir" \ 361 || $(mkdir_p) "$(distdir)/$$subdir" \ 362 || exit 1; \ 363 distdir=`$(am__cd) $(distdir) && pwd`; \ 364 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ 365 (cd $$subdir && \ 366 $(MAKE) $(AM_MAKEFLAGS) \ 367 top_distdir="$$top_distdir" \ 368 distdir="$$distdir/$$subdir" \ 369 distdir) \ 370 || exit 1; \ 371 fi; \ 372 done 373 check-am: all-am 374 check: check-recursive 375 all-am: Makefile 376 installdirs: installdirs-recursive 377 installdirs-am: 378 install: install-recursive 379 install-exec: install-exec-recursive 380 install-data: install-data-recursive 381 uninstall: uninstall-recursive 382 383 install-am: all-am 384 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 385 386 installcheck: installcheck-recursive 387 install-strip: 388 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 389 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 390 `test -z '$(STRIP)' || \ 391 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 392 mostlyclean-generic: 393 394 clean-generic: 395 396 distclean-generic: 397 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 398 399 maintainer-clean-generic: 400 @echo "This command is intended for maintainers to use" 401 @echo "it deletes files that may require special tools to rebuild." 402 clean: clean-recursive 403 404 clean-am: clean-generic clean-libtool mostlyclean-am 405 406 distclean: distclean-recursive 407 -rm -f Makefile 408 distclean-am: clean-am distclean-generic distclean-libtool \ 409 distclean-tags 410 411 dvi: dvi-recursive 412 413 dvi-am: 414 415 html: html-recursive 416 417 info: info-recursive 418 419 info-am: 420 421 install-data-am: 422 423 install-exec-am: 424 425 install-info: install-info-recursive 426 427 install-man: 428 429 installcheck-am: 430 431 maintainer-clean: maintainer-clean-recursive 432 -rm -f Makefile 433 maintainer-clean-am: distclean-am maintainer-clean-generic 434 435 mostlyclean: mostlyclean-recursive 436 437 mostlyclean-am: mostlyclean-generic mostlyclean-libtool 438 439 pdf: pdf-recursive 440 441 pdf-am: 442 443 ps: ps-recursive 444 445 ps-am: 446 447 uninstall-am: uninstall-info-am 448 449 uninstall-info: uninstall-info-recursive 450 451 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ 452 clean clean-generic clean-libtool clean-recursive ctags \ 453 ctags-recursive distclean distclean-generic distclean-libtool \ 454 distclean-recursive distclean-tags distdir dvi dvi-am html \ 455 html-am info info-am install install-am install-data \ 456 install-data-am install-exec install-exec-am install-info \ 457 install-info-am install-man install-strip installcheck \ 458 installcheck-am installdirs installdirs-am maintainer-clean \ 459 maintainer-clean-generic maintainer-clean-recursive \ 460 mostlyclean mostlyclean-generic mostlyclean-libtool \ 461 mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ 462 uninstall uninstall-am uninstall-info-am 463 464 465 tests: 466 # Tell versions [3.59,3.63) of GNU make to not export all variables. 467 # Otherwise a system limit (for SysV at least) may be exceeded. 468 .NOEXPORT: -
trunk/psLib/test/astronomy/Makefile
r3056 r3115 1 ################################################################################ 2 ## 3 ## Makefile: test/astronomy 4 ## 5 ## $Revision: 1.26 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2005-01-19 01:53:00 $ 7 ## 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii 9 ## 10 ############################################################################### 11 12 ifndef prefix 13 export prefix=$(shell cd ../..;pwd) 14 endif 15 16 include ../../src/Makefile.Globals 17 18 CFLAGS := -I../../include \ 19 -DTIME_XML_FILE="\"$(TIME_XML_FILE)\"" \ 20 -DTIME_CONFIG_FILE="\"$(TIME_CONFIG_FILE)\"" \ 21 $(CFLAGS) 22 23 LDFLAGS := -L../../lib -lpslib -lpstest -lxml2 $(LDFLAGS) 24 25 TARGET = tst_psTime_01 \ 1 # Makefile.in generated by automake 1.9.1 from Makefile.am. 2 # test/astronomy/Makefile. Generated from Makefile.in by configure. 3 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004 Free Software Foundation, Inc. 6 # This Makefile.in is free software; the Free Software Foundation 7 # gives unlimited permission to copy and/or distribute it, 8 # with or without modifications, as long as this notice is preserved. 9 10 # This program is distributed in the hope that it will be useful, 11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 # PARTICULAR PURPOSE. 14 15 16 SOURCES = $(tst_psAstrometry_SOURCES) $(tst_psAstrometry01_SOURCES) $(tst_psCoord_SOURCES) $(tst_psMetadataIO_SOURCES) $(tst_psMetadata_01_SOURCES) $(tst_psMetadata_02_SOURCES) $(tst_psMetadata_03_SOURCES) $(tst_psMetadata_04_SOURCES) $(tst_psMetadata_05_SOURCES) $(tst_psMetadata_06_SOURCES) $(tst_psMetadata_07_SOURCES) $(tst_psTime_01_SOURCES) $(tst_psTime_02_SOURCES) $(tst_psTime_03_SOURCES) $(tst_psTime_04_SOURCES) 17 18 srcdir = . 19 top_srcdir = ../.. 20 21 pkgdatadir = $(datadir)/pslib 22 pkglibdir = $(libdir)/pslib 23 pkgincludedir = $(includedir)/pslib 24 top_builddir = ../.. 25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 26 INSTALL = /usr/bin/install -c 27 install_sh_DATA = $(install_sh) -c -m 644 28 install_sh_PROGRAM = $(install_sh) -c 29 install_sh_SCRIPT = $(install_sh) -c 30 INSTALL_HEADER = $(INSTALL_DATA) 31 transform = $(program_transform_name) 32 NORMAL_INSTALL = : 33 PRE_INSTALL = : 34 POST_INSTALL = : 35 NORMAL_UNINSTALL = : 36 PRE_UNINSTALL = : 37 POST_UNINSTALL = : 38 build_triplet = x86_64-unknown-linux-gnu 39 host_triplet = x86_64-unknown-linux-gnu 40 check_PROGRAMS = tst_psTime_01$(EXEEXT) tst_psTime_02$(EXEEXT) \ 41 tst_psTime_03$(EXEEXT) tst_psTime_04$(EXEEXT) \ 42 tst_psMetadataIO$(EXEEXT) tst_psMetadata_01$(EXEEXT) \ 43 tst_psMetadata_02$(EXEEXT) tst_psMetadata_03$(EXEEXT) \ 44 tst_psMetadata_04$(EXEEXT) tst_psMetadata_05$(EXEEXT) \ 45 tst_psMetadata_06$(EXEEXT) tst_psMetadata_07$(EXEEXT) \ 46 tst_psAstrometry$(EXEEXT) tst_psCoord$(EXEEXT) \ 47 tst_psAstrometry01$(EXEEXT) 48 subdir = test/astronomy 49 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 50 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 51 am__aclocal_m4_deps = $(top_srcdir)/configure.in 52 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 53 $(ACLOCAL_M4) 54 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 55 CONFIG_HEADER = $(top_builddir)/src/config.h 56 CONFIG_CLEAN_FILES = 57 am_tst_psAstrometry_OBJECTS = tst_psAstrometry.$(OBJEXT) 58 tst_psAstrometry_OBJECTS = $(am_tst_psAstrometry_OBJECTS) 59 tst_psAstrometry_LDADD = $(LDADD) 60 am_tst_psAstrometry01_OBJECTS = tst_psAstrometry01.$(OBJEXT) 61 tst_psAstrometry01_OBJECTS = $(am_tst_psAstrometry01_OBJECTS) 62 tst_psAstrometry01_LDADD = $(LDADD) 63 am_tst_psCoord_OBJECTS = tst_psCoord.$(OBJEXT) 64 tst_psCoord_OBJECTS = $(am_tst_psCoord_OBJECTS) 65 tst_psCoord_LDADD = $(LDADD) 66 am_tst_psMetadataIO_OBJECTS = tst_psMetadataIO.$(OBJEXT) 67 tst_psMetadataIO_OBJECTS = $(am_tst_psMetadataIO_OBJECTS) 68 tst_psMetadataIO_LDADD = $(LDADD) 69 am_tst_psMetadata_01_OBJECTS = tst_psMetadata_01.$(OBJEXT) 70 tst_psMetadata_01_OBJECTS = $(am_tst_psMetadata_01_OBJECTS) 71 tst_psMetadata_01_LDADD = $(LDADD) 72 am_tst_psMetadata_02_OBJECTS = tst_psMetadata_02.$(OBJEXT) 73 tst_psMetadata_02_OBJECTS = $(am_tst_psMetadata_02_OBJECTS) 74 tst_psMetadata_02_LDADD = $(LDADD) 75 am_tst_psMetadata_03_OBJECTS = tst_psMetadata_03.$(OBJEXT) 76 tst_psMetadata_03_OBJECTS = $(am_tst_psMetadata_03_OBJECTS) 77 tst_psMetadata_03_LDADD = $(LDADD) 78 am_tst_psMetadata_04_OBJECTS = tst_psMetadata_04.$(OBJEXT) 79 tst_psMetadata_04_OBJECTS = $(am_tst_psMetadata_04_OBJECTS) 80 tst_psMetadata_04_LDADD = $(LDADD) 81 am_tst_psMetadata_05_OBJECTS = tst_psMetadata_05.$(OBJEXT) 82 tst_psMetadata_05_OBJECTS = $(am_tst_psMetadata_05_OBJECTS) 83 tst_psMetadata_05_LDADD = $(LDADD) 84 am_tst_psMetadata_06_OBJECTS = tst_psMetadata_06.$(OBJEXT) 85 tst_psMetadata_06_OBJECTS = $(am_tst_psMetadata_06_OBJECTS) 86 tst_psMetadata_06_LDADD = $(LDADD) 87 am_tst_psMetadata_07_OBJECTS = tst_psMetadata_07.$(OBJEXT) 88 tst_psMetadata_07_OBJECTS = $(am_tst_psMetadata_07_OBJECTS) 89 tst_psMetadata_07_LDADD = $(LDADD) 90 am_tst_psTime_01_OBJECTS = tst_psTime_01.$(OBJEXT) 91 tst_psTime_01_OBJECTS = $(am_tst_psTime_01_OBJECTS) 92 tst_psTime_01_LDADD = $(LDADD) 93 am_tst_psTime_02_OBJECTS = tst_psTime_02.$(OBJEXT) 94 tst_psTime_02_OBJECTS = $(am_tst_psTime_02_OBJECTS) 95 tst_psTime_02_LDADD = $(LDADD) 96 am_tst_psTime_03_OBJECTS = tst_psTime_03.$(OBJEXT) 97 tst_psTime_03_OBJECTS = $(am_tst_psTime_03_OBJECTS) 98 tst_psTime_03_LDADD = $(LDADD) 99 am_tst_psTime_04_OBJECTS = tst_psTime_04.$(OBJEXT) 100 tst_psTime_04_OBJECTS = $(am_tst_psTime_04_OBJECTS) 101 tst_psTime_04_LDADD = $(LDADD) 102 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src 103 depcomp = $(SHELL) $(top_srcdir)/depcomp 104 am__depfiles_maybe = depfiles 105 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 106 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 107 LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \ 108 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ 109 $(AM_CFLAGS) $(CFLAGS) 110 CCLD = $(CC) 111 LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 112 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 113 SOURCES = $(tst_psAstrometry_SOURCES) $(tst_psAstrometry01_SOURCES) \ 114 $(tst_psCoord_SOURCES) $(tst_psMetadataIO_SOURCES) \ 115 $(tst_psMetadata_01_SOURCES) $(tst_psMetadata_02_SOURCES) \ 116 $(tst_psMetadata_03_SOURCES) $(tst_psMetadata_04_SOURCES) \ 117 $(tst_psMetadata_05_SOURCES) $(tst_psMetadata_06_SOURCES) \ 118 $(tst_psMetadata_07_SOURCES) $(tst_psTime_01_SOURCES) \ 119 $(tst_psTime_02_SOURCES) $(tst_psTime_03_SOURCES) \ 120 $(tst_psTime_04_SOURCES) 121 DIST_SOURCES = $(tst_psAstrometry_SOURCES) \ 122 $(tst_psAstrometry01_SOURCES) $(tst_psCoord_SOURCES) \ 123 $(tst_psMetadataIO_SOURCES) $(tst_psMetadata_01_SOURCES) \ 124 $(tst_psMetadata_02_SOURCES) $(tst_psMetadata_03_SOURCES) \ 125 $(tst_psMetadata_04_SOURCES) $(tst_psMetadata_05_SOURCES) \ 126 $(tst_psMetadata_06_SOURCES) $(tst_psMetadata_07_SOURCES) \ 127 $(tst_psTime_01_SOURCES) $(tst_psTime_02_SOURCES) \ 128 $(tst_psTime_03_SOURCES) $(tst_psTime_04_SOURCES) 129 ETAGS = etags 130 CTAGS = ctags 131 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 132 ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9 133 AMDEP_FALSE = # 134 AMDEP_TRUE = 135 AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar 136 AR = ar 137 AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf 138 AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader 139 AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9 140 AWK = gawk 141 CC = gcc 142 CCDEPMODE = depmode=gcc3 143 CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE -I/usr/include -I/usr/include/libxml2 144 CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config 145 CPP = gcc -E 146 CPPFLAGS = 147 CXX = g++ 148 CXXCPP = g++ -E 149 CXXDEPMODE = depmode=gcc3 150 CXXFLAGS = -g -O2 151 CYGPATH_W = echo 152 DEFS = -DHAVE_CONFIG_H 153 DEPDIR = .deps 154 ECHO = echo 155 ECHO_C = 156 ECHO_N = -n 157 ECHO_T = 158 EGREP = grep -E 159 EXEEXT = 160 F77 = g77 161 FFLAGS = -fno-second-underscore -O -fno-f2c 162 GSL_CONFIG = /usr/bin/gsl-config 163 INSTALL_DATA = ${INSTALL} -m 644 164 INSTALL_PROGRAM = ${INSTALL} 165 INSTALL_SCRIPT = ${INSTALL} 166 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s 167 LDFLAGS = 168 LIBOBJS = 169 LIBS = 170 LIBTOOL = $(SHELL) $(top_builddir)/libtool 171 LN_S = ln -s 172 LTLIBOBJS = 173 MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo 174 OBJEXT = o 175 PACKAGE = pslib 176 PACKAGE_BUGREPORT = 177 PACKAGE_NAME = 178 PACKAGE_STRING = 179 PACKAGE_TARNAME = 180 PACKAGE_VERSION = 181 PATH_SEPARATOR = : 182 PERL = /usr/bin/perl 183 PSLIB_CFLAGS = -I${prefix}/include 184 PSLIB_LIBS = `sh $(top_srcdir)/pslib-config --libs` 185 RANLIB = ranlib 186 SET_MAKE = 187 SHELL = /bin/sh 188 STRIP = strip 189 SWIG = /usr/bin/swig 190 VERSION = 1.5 191 XML_CONFIG = /usr/bin/xml2-config 192 ac_ct_AR = ar 193 ac_ct_CC = gcc 194 ac_ct_CXX = g++ 195 ac_ct_F77 = g77 196 ac_ct_RANLIB = ranlib 197 ac_ct_STRIP = strip 198 am__fastdepCC_FALSE = # 199 am__fastdepCC_TRUE = 200 am__fastdepCXX_FALSE = # 201 am__fastdepCXX_TRUE = 202 am__include = include 203 am__leading_dot = . 204 am__quote = 205 am__tar = ${AMTAR} chof - "$$tardir" 206 am__untar = ${AMTAR} xf - 207 bindir = ${exec_prefix}/bin 208 build = x86_64-unknown-linux-gnu 209 build_alias = 210 build_cpu = x86_64 211 build_os = linux-gnu 212 build_vendor = unknown 213 datadir = ${prefix}/share 214 exec_prefix = ${prefix} 215 host = x86_64-unknown-linux-gnu 216 host_alias = 217 host_cpu = x86_64 218 host_os = linux-gnu 219 host_vendor = unknown 220 includedir = ${prefix}/include 221 infodir = ${prefix}/info 222 install_sh = /home/desonia/panstarrs/psLib/install-sh 223 libdir = ${exec_prefix}/lib 224 libexecdir = ${exec_prefix}/libexec 225 localstatedir = ${prefix}/var 226 mandir = ${prefix}/man 227 mkdir_p = mkdir -p -- 228 oldincludedir = /usr/include 229 prefix = /home/desonia/panstarrs/psLib 230 program_transform_name = s,x,x, 231 sbindir = ${exec_prefix}/sbin 232 sharedstatedir = ${prefix}/com 233 sysconfdir = ${prefix}/etc 234 target_alias = 235 236 #Makefile for astronomy functions of psLib 237 # 238 INCLUDES = \ 239 -I$(top_srcdir)/src \ 240 -I$(top_srcdir)/src/astronomy \ 241 -I$(top_srcdir)/src/collections \ 242 -I$(top_srcdir)/src/dataManip \ 243 -I$(top_srcdir)/src/fileUtils \ 244 -I$(top_srcdir)/src/image \ 245 -I$(top_srcdir)/src/sysUtils \ 246 $(all_includes) 247 248 AM_LDFLAGS = $(PSLIB_LIBS) -L$(top_srcdir)/src 249 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 250 TESTS = tst_psTime_01 \ 26 251 tst_psTime_02 \ 27 252 tst_psTime_03 \ … … 39 264 tst_psAstrometry01 40 265 41 OBJS = $(addprefix builddir/,$(addsuffix .o,$(TARGET))) 42 43 all: $(TARGET) 44 sed 's|PREFIX|$(prefix)|' test.psTime.config1.template > test.psTime.config1 45 sed 's|PREFIX|$(prefix)|' test.psTime.config2.template > test.psTime.config2 46 sed 's|PREFIX|$(prefix)|' test.psTime.config3.template > test.psTime.config3 47 sed 's|PREFIX|$(prefix)|' test.psTime.config4.template > test.psTime.config4 48 49 clean: 50 @echo " Deleting executable and binary files for 'test/collections'" 51 $(RM) $(OBJS) 52 53 distclean: clean 54 $(RM) $(TARGET) 55 56 install: $(testbindir) $(testbindir)/verified $(TARGET) 57 install test.config header_1.fits header_2.fits $(TARGET) $(testbindir) 58 install verified/*.stderr verified/*.stdout $(testbindir)/verified 59 install test.ser7.dat test.psTime.config1 test.psTime.config2 test.psTime.config3 test.psTime.config4 $(testbindir) 60 61 $(testbindir): 62 mkdir -p $(testbindir) 63 64 $(testbindir)/verified: 65 mkdir -p $(testbindir)/verified 66 266 tst_psTime_01_SOURCES = tst_psTime_01.c 267 tst_psTime_02_SOURCES = tst_psTime_02.c 268 tst_psTime_03_SOURCES = tst_psTime_03.c 269 tst_psTime_04_SOURCES = tst_psTime_04.c 270 tst_psMetadataIO_SOURCES = tst_psMetadataIO.c 271 tst_psMetadata_01_SOURCES = tst_psMetadata_01.c 272 tst_psMetadata_02_SOURCES = tst_psMetadata_02.c 273 tst_psMetadata_03_SOURCES = tst_psMetadata_03.c 274 tst_psMetadata_04_SOURCES = tst_psMetadata_04.c 275 tst_psMetadata_05_SOURCES = tst_psMetadata_05.c 276 tst_psMetadata_06_SOURCES = tst_psMetadata_06.c 277 tst_psMetadata_07_SOURCES = tst_psMetadata_07.c 278 tst_psAstrometry_SOURCES = tst_psAstrometry.c 279 tst_psCoord_SOURCES = tst_psCoord.c 280 tst_psAstrometry01_SOURCES = tst_psAstrometry01.c 281 BUILT_SOURCES = test.psTime.config1 test.psTime.config2 test.psTime.config3 test.psTime.config4 282 all: $(BUILT_SOURCES) 283 $(MAKE) $(AM_MAKEFLAGS) all-am 284 285 .SUFFIXES: 286 .SUFFIXES: .c .lo .o .obj 287 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 288 @for dep in $?; do \ 289 case '$(am__configure_deps)' in \ 290 *$$dep*) \ 291 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 292 && exit 0; \ 293 exit 1;; \ 294 esac; \ 295 done; \ 296 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/astronomy/Makefile'; \ 297 cd $(top_srcdir) && \ 298 $(AUTOMAKE) --gnu test/astronomy/Makefile 299 .PRECIOUS: Makefile 300 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 301 @case '$?' in \ 302 *config.status*) \ 303 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 304 *) \ 305 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 306 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 307 esac; 308 309 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 310 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 311 312 $(top_srcdir)/configure: $(am__configure_deps) 313 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 314 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 315 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 316 317 clean-checkPROGRAMS: 318 @list='$(check_PROGRAMS)'; for p in $$list; do \ 319 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ 320 echo " rm -f $$p $$f"; \ 321 rm -f $$p $$f ; \ 322 done 323 tst_psAstrometry$(EXEEXT): $(tst_psAstrometry_OBJECTS) $(tst_psAstrometry_DEPENDENCIES) 324 @rm -f tst_psAstrometry$(EXEEXT) 325 $(LINK) $(tst_psAstrometry_LDFLAGS) $(tst_psAstrometry_OBJECTS) $(tst_psAstrometry_LDADD) $(LIBS) 326 tst_psAstrometry01$(EXEEXT): $(tst_psAstrometry01_OBJECTS) $(tst_psAstrometry01_DEPENDENCIES) 327 @rm -f tst_psAstrometry01$(EXEEXT) 328 $(LINK) $(tst_psAstrometry01_LDFLAGS) $(tst_psAstrometry01_OBJECTS) $(tst_psAstrometry01_LDADD) $(LIBS) 329 tst_psCoord$(EXEEXT): $(tst_psCoord_OBJECTS) $(tst_psCoord_DEPENDENCIES) 330 @rm -f tst_psCoord$(EXEEXT) 331 $(LINK) $(tst_psCoord_LDFLAGS) $(tst_psCoord_OBJECTS) $(tst_psCoord_LDADD) $(LIBS) 332 tst_psMetadataIO$(EXEEXT): $(tst_psMetadataIO_OBJECTS) $(tst_psMetadataIO_DEPENDENCIES) 333 @rm -f tst_psMetadataIO$(EXEEXT) 334 $(LINK) $(tst_psMetadataIO_LDFLAGS) $(tst_psMetadataIO_OBJECTS) $(tst_psMetadataIO_LDADD) $(LIBS) 335 tst_psMetadata_01$(EXEEXT): $(tst_psMetadata_01_OBJECTS) $(tst_psMetadata_01_DEPENDENCIES) 336 @rm -f tst_psMetadata_01$(EXEEXT) 337 $(LINK) $(tst_psMetadata_01_LDFLAGS) $(tst_psMetadata_01_OBJECTS) $(tst_psMetadata_01_LDADD) $(LIBS) 338 tst_psMetadata_02$(EXEEXT): $(tst_psMetadata_02_OBJECTS) $(tst_psMetadata_02_DEPENDENCIES) 339 @rm -f tst_psMetadata_02$(EXEEXT) 340 $(LINK) $(tst_psMetadata_02_LDFLAGS) $(tst_psMetadata_02_OBJECTS) $(tst_psMetadata_02_LDADD) $(LIBS) 341 tst_psMetadata_03$(EXEEXT): $(tst_psMetadata_03_OBJECTS) $(tst_psMetadata_03_DEPENDENCIES) 342 @rm -f tst_psMetadata_03$(EXEEXT) 343 $(LINK) $(tst_psMetadata_03_LDFLAGS) $(tst_psMetadata_03_OBJECTS) $(tst_psMetadata_03_LDADD) $(LIBS) 344 tst_psMetadata_04$(EXEEXT): $(tst_psMetadata_04_OBJECTS) $(tst_psMetadata_04_DEPENDENCIES) 345 @rm -f tst_psMetadata_04$(EXEEXT) 346 $(LINK) $(tst_psMetadata_04_LDFLAGS) $(tst_psMetadata_04_OBJECTS) $(tst_psMetadata_04_LDADD) $(LIBS) 347 tst_psMetadata_05$(EXEEXT): $(tst_psMetadata_05_OBJECTS) $(tst_psMetadata_05_DEPENDENCIES) 348 @rm -f tst_psMetadata_05$(EXEEXT) 349 $(LINK) $(tst_psMetadata_05_LDFLAGS) $(tst_psMetadata_05_OBJECTS) $(tst_psMetadata_05_LDADD) $(LIBS) 350 tst_psMetadata_06$(EXEEXT): $(tst_psMetadata_06_OBJECTS) $(tst_psMetadata_06_DEPENDENCIES) 351 @rm -f tst_psMetadata_06$(EXEEXT) 352 $(LINK) $(tst_psMetadata_06_LDFLAGS) $(tst_psMetadata_06_OBJECTS) $(tst_psMetadata_06_LDADD) $(LIBS) 353 tst_psMetadata_07$(EXEEXT): $(tst_psMetadata_07_OBJECTS) $(tst_psMetadata_07_DEPENDENCIES) 354 @rm -f tst_psMetadata_07$(EXEEXT) 355 $(LINK) $(tst_psMetadata_07_LDFLAGS) $(tst_psMetadata_07_OBJECTS) $(tst_psMetadata_07_LDADD) $(LIBS) 356 tst_psTime_01$(EXEEXT): $(tst_psTime_01_OBJECTS) $(tst_psTime_01_DEPENDENCIES) 357 @rm -f tst_psTime_01$(EXEEXT) 358 $(LINK) $(tst_psTime_01_LDFLAGS) $(tst_psTime_01_OBJECTS) $(tst_psTime_01_LDADD) $(LIBS) 359 tst_psTime_02$(EXEEXT): $(tst_psTime_02_OBJECTS) $(tst_psTime_02_DEPENDENCIES) 360 @rm -f tst_psTime_02$(EXEEXT) 361 $(LINK) $(tst_psTime_02_LDFLAGS) $(tst_psTime_02_OBJECTS) $(tst_psTime_02_LDADD) $(LIBS) 362 tst_psTime_03$(EXEEXT): $(tst_psTime_03_OBJECTS) $(tst_psTime_03_DEPENDENCIES) 363 @rm -f tst_psTime_03$(EXEEXT) 364 $(LINK) $(tst_psTime_03_LDFLAGS) $(tst_psTime_03_OBJECTS) $(tst_psTime_03_LDADD) $(LIBS) 365 tst_psTime_04$(EXEEXT): $(tst_psTime_04_OBJECTS) $(tst_psTime_04_DEPENDENCIES) 366 @rm -f tst_psTime_04$(EXEEXT) 367 $(LINK) $(tst_psTime_04_LDFLAGS) $(tst_psTime_04_OBJECTS) $(tst_psTime_04_LDADD) $(LIBS) 368 369 mostlyclean-compile: 370 -rm -f *.$(OBJEXT) 371 372 distclean-compile: 373 -rm -f *.tab.c 374 375 include ./$(DEPDIR)/tst_psAstrometry.Po 376 include ./$(DEPDIR)/tst_psAstrometry01.Po 377 include ./$(DEPDIR)/tst_psCoord.Po 378 include ./$(DEPDIR)/tst_psMetadataIO.Po 379 include ./$(DEPDIR)/tst_psMetadata_01.Po 380 include ./$(DEPDIR)/tst_psMetadata_02.Po 381 include ./$(DEPDIR)/tst_psMetadata_03.Po 382 include ./$(DEPDIR)/tst_psMetadata_04.Po 383 include ./$(DEPDIR)/tst_psMetadata_05.Po 384 include ./$(DEPDIR)/tst_psMetadata_06.Po 385 include ./$(DEPDIR)/tst_psMetadata_07.Po 386 include ./$(DEPDIR)/tst_psTime_01.Po 387 include ./$(DEPDIR)/tst_psTime_02.Po 388 include ./$(DEPDIR)/tst_psTime_03.Po 389 include ./$(DEPDIR)/tst_psTime_04.Po 390 391 .c.o: 392 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 393 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 394 # source='$<' object='$@' libtool=no \ 395 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 396 # $(COMPILE) -c $< 397 398 .c.obj: 399 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 400 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 401 # source='$<' object='$@' libtool=no \ 402 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 403 # $(COMPILE) -c `$(CYGPATH_W) '$<'` 404 405 .c.lo: 406 if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 407 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 408 # source='$<' object='$@' libtool=yes \ 409 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 410 # $(LTCOMPILE) -c -o $@ $< 411 412 mostlyclean-libtool: 413 -rm -f *.lo 414 415 clean-libtool: 416 -rm -rf .libs _libs 417 418 distclean-libtool: 419 -rm -f libtool 420 uninstall-info-am: 421 422 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 423 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 424 unique=`for i in $$list; do \ 425 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 426 done | \ 427 $(AWK) ' { files[$$0] = 1; } \ 428 END { for (i in files) print i; }'`; \ 429 mkid -fID $$unique 430 tags: TAGS 431 432 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 433 $(TAGS_FILES) $(LISP) 434 tags=; \ 435 here=`pwd`; \ 436 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 437 unique=`for i in $$list; do \ 438 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 439 done | \ 440 $(AWK) ' { files[$$0] = 1; } \ 441 END { for (i in files) print i; }'`; \ 442 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 443 test -n "$$unique" || unique=$$empty_fix; \ 444 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 445 $$tags $$unique; \ 446 fi 447 ctags: CTAGS 448 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 449 $(TAGS_FILES) $(LISP) 450 tags=; \ 451 here=`pwd`; \ 452 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 453 unique=`for i in $$list; do \ 454 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 455 done | \ 456 $(AWK) ' { files[$$0] = 1; } \ 457 END { for (i in files) print i; }'`; \ 458 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 459 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 460 $$tags $$unique 461 462 GTAGS: 463 here=`$(am__cd) $(top_builddir) && pwd` \ 464 && cd $(top_srcdir) \ 465 && gtags -i $(GTAGS_ARGS) $$here 466 467 distclean-tags: 468 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 469 470 check-TESTS: $(TESTS) 471 @failed=0; all=0; xfail=0; xpass=0; skip=0; \ 472 srcdir=$(srcdir); export srcdir; \ 473 list='$(TESTS)'; \ 474 if test -n "$$list"; then \ 475 for tst in $$list; do \ 476 if test -f ./$$tst; then dir=./; \ 477 elif test -f $$tst; then dir=; \ 478 else dir="$(srcdir)/"; fi; \ 479 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ 480 all=`expr $$all + 1`; \ 481 case " $(XFAIL_TESTS) " in \ 482 *" $$tst "*) \ 483 xpass=`expr $$xpass + 1`; \ 484 failed=`expr $$failed + 1`; \ 485 echo "XPASS: $$tst"; \ 486 ;; \ 487 *) \ 488 echo "PASS: $$tst"; \ 489 ;; \ 490 esac; \ 491 elif test $$? -ne 77; then \ 492 all=`expr $$all + 1`; \ 493 case " $(XFAIL_TESTS) " in \ 494 *" $$tst "*) \ 495 xfail=`expr $$xfail + 1`; \ 496 echo "XFAIL: $$tst"; \ 497 ;; \ 498 *) \ 499 failed=`expr $$failed + 1`; \ 500 echo "FAIL: $$tst"; \ 501 ;; \ 502 esac; \ 503 else \ 504 skip=`expr $$skip + 1`; \ 505 echo "SKIP: $$tst"; \ 506 fi; \ 507 done; \ 508 if test "$$failed" -eq 0; then \ 509 if test "$$xfail" -eq 0; then \ 510 banner="All $$all tests passed"; \ 511 else \ 512 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ 513 fi; \ 514 else \ 515 if test "$$xpass" -eq 0; then \ 516 banner="$$failed of $$all tests failed"; \ 517 else \ 518 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ 519 fi; \ 520 fi; \ 521 dashes="$$banner"; \ 522 skipped=""; \ 523 if test "$$skip" -ne 0; then \ 524 skipped="($$skip tests were not run)"; \ 525 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ 526 dashes="$$skipped"; \ 527 fi; \ 528 report=""; \ 529 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ 530 report="Please report to $(PACKAGE_BUGREPORT)"; \ 531 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ 532 dashes="$$report"; \ 533 fi; \ 534 dashes=`echo "$$dashes" | sed s/./=/g`; \ 535 echo "$$dashes"; \ 536 echo "$$banner"; \ 537 test -z "$$skipped" || echo "$$skipped"; \ 538 test -z "$$report" || echo "$$report"; \ 539 echo "$$dashes"; \ 540 test "$$failed" -eq 0; \ 541 else :; fi 542 543 distdir: $(DISTFILES) 544 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 545 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 546 list='$(DISTFILES)'; for file in $$list; do \ 547 case $$file in \ 548 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 549 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 550 esac; \ 551 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 552 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 553 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 554 dir="/$$dir"; \ 555 $(mkdir_p) "$(distdir)$$dir"; \ 556 else \ 557 dir=''; \ 558 fi; \ 559 if test -d $$d/$$file; then \ 560 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 561 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 562 fi; \ 563 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 564 else \ 565 test -f $(distdir)/$$file \ 566 || cp -p $$d/$$file $(distdir)/$$file \ 567 || exit 1; \ 568 fi; \ 569 done 570 check-am: all-am 571 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) 572 $(MAKE) $(AM_MAKEFLAGS) check-TESTS 573 check: $(BUILT_SOURCES) 574 $(MAKE) $(AM_MAKEFLAGS) check-am 575 all-am: Makefile 576 installdirs: 577 install: $(BUILT_SOURCES) 578 $(MAKE) $(AM_MAKEFLAGS) install-am 579 install-exec: install-exec-am 580 install-data: install-data-am 581 uninstall: uninstall-am 582 583 install-am: all-am 584 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 585 586 installcheck: installcheck-am 587 install-strip: 588 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 589 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 590 `test -z '$(STRIP)' || \ 591 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 592 mostlyclean-generic: 593 594 clean-generic: 595 596 distclean-generic: 597 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 598 599 maintainer-clean-generic: 600 @echo "This command is intended for maintainers to use" 601 @echo "it deletes files that may require special tools to rebuild." 602 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) 603 clean: clean-am 604 605 clean-am: clean-checkPROGRAMS clean-generic clean-libtool \ 606 mostlyclean-am 607 608 distclean: distclean-am 609 -rm -rf ./$(DEPDIR) 610 -rm -f Makefile 611 distclean-am: clean-am distclean-compile distclean-generic \ 612 distclean-libtool distclean-tags 613 614 dvi: dvi-am 615 616 dvi-am: 617 618 html: html-am 619 620 info: info-am 621 622 info-am: 623 624 install-data-am: 625 626 install-exec-am: 627 628 install-info: install-info-am 629 630 install-man: 631 632 installcheck-am: 633 634 maintainer-clean: maintainer-clean-am 635 -rm -rf ./$(DEPDIR) 636 -rm -f Makefile 637 maintainer-clean-am: distclean-am maintainer-clean-generic 638 639 mostlyclean: mostlyclean-am 640 641 mostlyclean-am: mostlyclean-compile mostlyclean-generic \ 642 mostlyclean-libtool 643 644 pdf: pdf-am 645 646 pdf-am: 647 648 ps: ps-am 649 650 ps-am: 651 652 uninstall-am: uninstall-info-am 653 654 .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \ 655 clean-checkPROGRAMS clean-generic clean-libtool ctags \ 656 distclean distclean-compile distclean-generic \ 657 distclean-libtool distclean-tags distdir dvi dvi-am html \ 658 html-am info info-am install install-am install-data \ 659 install-data-am install-exec install-exec-am install-info \ 660 install-info-am install-man install-strip installcheck \ 661 installcheck-am installdirs maintainer-clean \ 662 maintainer-clean-generic mostlyclean mostlyclean-compile \ 663 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ 664 tags uninstall uninstall-am uninstall-info-am 665 666 tests: $(TESTS) 667 668 test.psTime.config1: test.psTime.config1.template 669 sed 's|PREFIX|$(prefix)|' $? > $@ 670 671 test.psTime.config2: test.psTime.config2.template 672 sed 's|PREFIX|$(prefix)|' $? > $@ 673 674 test.psTime.config3: test.psTime.config3.template 675 sed 's|PREFIX|$(prefix)|' $? > $@ 676 677 test.psTime.config4: test.psTime.config4.template 678 sed 's|PREFIX|$(prefix)|' $? > $@ 679 # Tell versions [3.59,3.63) of GNU make to not export all variables. 680 # Otherwise a system limit (for SysV at least) may be exceeded. 681 .NOEXPORT: -
trunk/psLib/test/astronomy/test.psTime.config2
r3056 r3115 1 1 # This configuration file specifies values required for time calculations by psLib. 2 psLib.time.tables.dir STR /home/desonia/p sLib/data # Directory for time tables2 psLib.time.tables.dir STR /home/desonia/panstarrs/psLib/data # Directory for time tables 3 3 psLib.time.tables.n S32 4 # Number of time tables 4 4 psLib.time.tables.files STR eopc01_1900_2004.dat finals_all.dat tai_utc.dat # These are the table file names -
trunk/psLib/test/astronomy/test.psTime.config3
r3056 r3115 1 1 # This configuration file specifies values required for time calculations by psLib. 2 psLib.time.tables.dir STR /home/desonia/p sLib/data # Directory for time tables2 psLib.time.tables.dir STR /home/desonia/panstarrs/psLib/data # Directory for time tables 3 3 psLib.time.tables.n S32 4 # Number of time tables 4 4 psLib.time.tables.files STR ser7.dat eopc01_1900_2004.dat finals_all.dat tai_utc.dat # These are the table file names -
trunk/psLib/test/astronomy/tst_psMetadataIO.c
r3107 r3115 13 13 * @author Ross Harman, MHPCC 14 14 * 15 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $16 * @date $Date: 2005-02-0 2 20:20:55$15 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2005-02-03 00:54:12 $ 17 17 * 18 18 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 20 20 */ 21 21 22 #include <string.h> 22 23 #include "pslib.h" 23 24 #include "psTest.h" 24 #include <string.h>25 25 26 26 static void printMetadataItem(psMetadataItem *metadataItem, char *spaces); -
trunk/psLib/test/astronomy/tst_psMetadata_01.c
r3107 r3115 18 18 * @author Ross Harman, MHPCC 19 19 * 20 * @version $Revision: 1.1 8$ $Name: not supported by cvs2svn $21 * @date $Date: 2005-02-0 2 20:20:55$20 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $ 21 * @date $Date: 2005-02-03 00:54:12 $ 22 22 * 23 23 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 25 25 */ 26 26 27 #include <string.h> 27 28 #include "pslib.h" 28 29 #include "psTest.h" 29 #include <string.h>30 30 31 31 static void printMetadataItem(psMetadataItem *metadataItem, char *spaces); -
trunk/psLib/test/astronomy/tst_psMetadata_02.c
r2607 r3115 14 14 * @author Ross Harman, MHPCC 15 15 * 16 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $17 * @date $Date: 200 4-12-03 23:19:07$16 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2005-02-03 00:54:12 $ 18 18 * 19 19 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 21 21 */ 22 22 23 #include <string.h> 23 24 #include "pslib.h" 24 25 #include "psTest.h" 25 #include <string.h>26 26 27 27 static void printMetadataItem(psMetadataItem *metadataItem) -
trunk/psLib/test/astronomy/tst_psMetadata_03.c
r2607 r3115 18 18 * @author Ross Harman, MHPCC 19 19 * 20 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $21 * @date $Date: 200 4-12-03 23:19:07$20 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 21 * @date $Date: 2005-02-03 00:54:12 $ 22 22 * 23 23 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 25 25 */ 26 26 27 #include <string.h> 27 28 #include "pslib.h" 28 29 #include "psTest.h" 29 #include <string.h>30 30 31 31 static void printMetadataItem(psMetadataItem *metadataItem) -
trunk/psLib/test/astronomy/tst_psMetadata_04.c
r2977 r3115 23 23 * @author Ross Harman, MHPCC 24 24 * 25 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $26 * @date $Date: 2005-0 1-13 21:19:31$25 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 26 * @date $Date: 2005-02-03 00:54:12 $ 27 27 * 28 28 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 30 30 */ 31 31 32 #include <string.h> 32 33 #include "pslib.h" 33 34 #include "psTest.h" 34 #include <string.h>35 35 36 36 static void printMetadataItem(psMetadataItem *metadataItem) -
trunk/psLib/test/astronomy/tst_psMetadata_05.c
r2986 r3115 22 22 * @author Ross Harman, MHPCC 23 23 * 24 * @version $Revision: 1.1 6$ $Name: not supported by cvs2svn $25 * @date $Date: 2005-0 1-13 23:34:56$24 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $ 25 * @date $Date: 2005-02-03 00:54:12 $ 26 26 * 27 27 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 29 29 */ 30 30 31 #include <string.h> 31 32 #include "pslib.h" 32 33 #include "psTest.h" 33 #include <string.h>34 34 35 35 static void printMetadataItem(psMetadataItem *metadataItem) -
trunk/psLib/test/astronomy/tst_psMetadata_06.c
r2607 r3115 13 13 * @author Ross Harman, MHPCC 14 14 * 15 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $16 * @date $Date: 200 4-12-03 23:19:07$15 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2005-02-03 00:54:12 $ 17 17 * 18 18 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 20 20 */ 21 21 22 #include <string.h> 22 23 #include "pslib.h" 23 24 #include "psTest.h" 24 #include <string.h>25 25 26 26 static void printMetadataItem(psMetadataItem *metadataItem) -
trunk/psLib/test/astronomy/tst_psMetadata_07.c
r3056 r3115 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 1-19 01:53:00$11 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-02-03 00:54:12 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 15 15 * 16 16 */ 17 #include "config.h" 17 18 #include "pslib.h" 18 19 #include "psTest.h" 19 20 #ifndef TIME_XML_FILE21 #define TIME_XML_FILE "../../config/psTime.xml"22 #pragma warning TIME_XML_FILE was not defined in the makefile.23 #endif24 25 20 26 21 int main(int argc, char* argv[]) … … 31 26 psU32 nFail = 0; 32 27 psMetadata *md = NULL; 33 md = psMetadataParseConfigXml(md, &nFail, TIME_XML_FILE, true);28 md = psMetadataParseConfigXml(md, &nFail, XML_CONFIG_FILE, true); 34 29 if (nFail != 0) { 35 30 printf("psMetadataParseConfigXml returned error %d\n", res); -
trunk/psLib/test/astronomy/tst_psTime_01.c
r2681 r3115 23 23 * @author Ross Harman, MHPCC 24 24 * 25 * @version $Revision: 1.1 7$ $Name: not supported by cvs2svn $26 * @date $Date: 200 4-12-10 02:50:15$25 * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $ 26 * @date $Date: 2005-02-03 00:54:12 $ 27 27 * 28 28 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 30 30 */ 31 31 32 #include <string.h> 32 33 #include "pslib.h" 33 34 #include "psTest.h" 34 #include <string.h>35 35 36 36 psS32 main(psS32 argc, char* argv[]) -
trunk/psLib/test/astronomy/tst_psTime_04.c
r3056 r3115 14 14 * @author Ross Harman, MHPCC 15 15 * 16 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $17 * @date $Date: 2005-0 1-19 01:53:00$16 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2005-02-03 00:54:12 $ 18 18 * 19 19 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 20 20 * 21 21 */ 22 #include "config.h" 22 23 23 24 #include "pslib.h" … … 29 30 // Test A - Initialize time 30 31 printPositiveTestHeader(stdout, "psTime", "Test A - Initialize time"); 31 psLibInit(true, TIME_CONFIG_FILE);32 psLibInit(true, CONFIG_FILE); 32 33 psLibFinalize(); 33 34 printFooter(stdout, "psTime", "Test A - Initialize time", true); -
trunk/psLib/test/collections/Makefile
r2859 r3115 1 ################################################################################ 2 ## 3 ## Makefile: test/collections 4 ## 5 ## $Revision: 1.27 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2005-01-03 20:28:07 $ 7 ## 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii 9 ## 10 ############################################################################### 11 12 ifndef prefix 13 export prefix=$(shell cd ../..;pwd) 14 endif 15 16 include ../../src/Makefile.Globals 17 18 CFLAGS := -I../../include $(CFLAGS) 19 LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS) 20 21 TARGET = tst_psVector \ 1 # Makefile.in generated by automake 1.9.1 from Makefile.am. 2 # test/collections/Makefile. Generated from Makefile.in by configure. 3 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004 Free Software Foundation, Inc. 6 # This Makefile.in is free software; the Free Software Foundation 7 # gives unlimited permission to copy and/or distribute it, 8 # with or without modifications, as long as this notice is preserved. 9 10 # This program is distributed in the hope that it will be useful, 11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 # PARTICULAR PURPOSE. 14 15 16 SOURCES = $(tst_psArray_SOURCES) $(tst_psArray01_SOURCES) $(tst_psArray02_SOURCES) $(tst_psBitSet_SOURCES) $(tst_psHash00_SOURCES) $(tst_psHash01_SOURCES) $(tst_psHash02_SOURCES) $(tst_psHash03_SOURCES) $(tst_psHash04_SOURCES) $(tst_psHash05_SOURCES) $(tst_psList_SOURCES) $(tst_psScalar_SOURCES) $(tst_psVector_SOURCES) $(tst_psVectorSort_01_SOURCES) $(tst_psVectorSort_02_SOURCES) $(tst_psVectorSort_03_SOURCES) $(tst_psVectorSort_04_SOURCES) 17 18 srcdir = . 19 top_srcdir = ../.. 20 21 pkgdatadir = $(datadir)/pslib 22 pkglibdir = $(libdir)/pslib 23 pkgincludedir = $(includedir)/pslib 24 top_builddir = ../.. 25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 26 INSTALL = /usr/bin/install -c 27 install_sh_DATA = $(install_sh) -c -m 644 28 install_sh_PROGRAM = $(install_sh) -c 29 install_sh_SCRIPT = $(install_sh) -c 30 INSTALL_HEADER = $(INSTALL_DATA) 31 transform = $(program_transform_name) 32 NORMAL_INSTALL = : 33 PRE_INSTALL = : 34 POST_INSTALL = : 35 NORMAL_UNINSTALL = : 36 PRE_UNINSTALL = : 37 POST_UNINSTALL = : 38 build_triplet = x86_64-unknown-linux-gnu 39 host_triplet = x86_64-unknown-linux-gnu 40 check_PROGRAMS = tst_psVector$(EXEEXT) tst_psArray$(EXEEXT) \ 41 tst_psArray01$(EXEEXT) tst_psArray02$(EXEEXT) \ 42 tst_psBitSet$(EXEEXT) tst_psVectorSort_01$(EXEEXT) \ 43 tst_psVectorSort_02$(EXEEXT) tst_psVectorSort_03$(EXEEXT) \ 44 tst_psVectorSort_04$(EXEEXT) tst_psList$(EXEEXT) \ 45 tst_psHash00$(EXEEXT) tst_psHash01$(EXEEXT) \ 46 tst_psHash02$(EXEEXT) tst_psHash03$(EXEEXT) \ 47 tst_psHash04$(EXEEXT) tst_psHash05$(EXEEXT) \ 48 tst_psScalar$(EXEEXT) 49 subdir = test/collections 50 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 51 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 52 am__aclocal_m4_deps = $(top_srcdir)/configure.in 53 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 54 $(ACLOCAL_M4) 55 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 56 CONFIG_HEADER = $(top_builddir)/src/config.h 57 CONFIG_CLEAN_FILES = 58 am_tst_psArray_OBJECTS = tst_psArray.$(OBJEXT) 59 tst_psArray_OBJECTS = $(am_tst_psArray_OBJECTS) 60 tst_psArray_LDADD = $(LDADD) 61 am_tst_psArray01_OBJECTS = tst_psArray01.$(OBJEXT) 62 tst_psArray01_OBJECTS = $(am_tst_psArray01_OBJECTS) 63 tst_psArray01_LDADD = $(LDADD) 64 am_tst_psArray02_OBJECTS = tst_psArray02.$(OBJEXT) 65 tst_psArray02_OBJECTS = $(am_tst_psArray02_OBJECTS) 66 tst_psArray02_LDADD = $(LDADD) 67 am_tst_psBitSet_OBJECTS = tst_psBitSet.$(OBJEXT) 68 tst_psBitSet_OBJECTS = $(am_tst_psBitSet_OBJECTS) 69 tst_psBitSet_LDADD = $(LDADD) 70 am_tst_psHash00_OBJECTS = tst_psHash00.$(OBJEXT) 71 tst_psHash00_OBJECTS = $(am_tst_psHash00_OBJECTS) 72 tst_psHash00_LDADD = $(LDADD) 73 am_tst_psHash01_OBJECTS = tst_psHash01.$(OBJEXT) 74 tst_psHash01_OBJECTS = $(am_tst_psHash01_OBJECTS) 75 tst_psHash01_LDADD = $(LDADD) 76 am_tst_psHash02_OBJECTS = tst_psHash02.$(OBJEXT) 77 tst_psHash02_OBJECTS = $(am_tst_psHash02_OBJECTS) 78 tst_psHash02_LDADD = $(LDADD) 79 am_tst_psHash03_OBJECTS = tst_psHash03.$(OBJEXT) 80 tst_psHash03_OBJECTS = $(am_tst_psHash03_OBJECTS) 81 tst_psHash03_LDADD = $(LDADD) 82 am_tst_psHash04_OBJECTS = tst_psHash04.$(OBJEXT) 83 tst_psHash04_OBJECTS = $(am_tst_psHash04_OBJECTS) 84 tst_psHash04_LDADD = $(LDADD) 85 am_tst_psHash05_OBJECTS = tst_psHash05.$(OBJEXT) 86 tst_psHash05_OBJECTS = $(am_tst_psHash05_OBJECTS) 87 tst_psHash05_LDADD = $(LDADD) 88 am_tst_psList_OBJECTS = tst_psList.$(OBJEXT) 89 tst_psList_OBJECTS = $(am_tst_psList_OBJECTS) 90 tst_psList_LDADD = $(LDADD) 91 am_tst_psScalar_OBJECTS = tst_psScalar.$(OBJEXT) 92 tst_psScalar_OBJECTS = $(am_tst_psScalar_OBJECTS) 93 tst_psScalar_LDADD = $(LDADD) 94 am_tst_psVector_OBJECTS = tst_psVector.$(OBJEXT) 95 tst_psVector_OBJECTS = $(am_tst_psVector_OBJECTS) 96 tst_psVector_LDADD = $(LDADD) 97 am_tst_psVectorSort_01_OBJECTS = tst_psVectorSort_01.$(OBJEXT) 98 tst_psVectorSort_01_OBJECTS = $(am_tst_psVectorSort_01_OBJECTS) 99 tst_psVectorSort_01_LDADD = $(LDADD) 100 am_tst_psVectorSort_02_OBJECTS = tst_psVectorSort_02.$(OBJEXT) 101 tst_psVectorSort_02_OBJECTS = $(am_tst_psVectorSort_02_OBJECTS) 102 tst_psVectorSort_02_LDADD = $(LDADD) 103 am_tst_psVectorSort_03_OBJECTS = tst_psVectorSort_03.$(OBJEXT) 104 tst_psVectorSort_03_OBJECTS = $(am_tst_psVectorSort_03_OBJECTS) 105 tst_psVectorSort_03_LDADD = $(LDADD) 106 am_tst_psVectorSort_04_OBJECTS = tst_psVectorSort_04.$(OBJEXT) 107 tst_psVectorSort_04_OBJECTS = $(am_tst_psVectorSort_04_OBJECTS) 108 tst_psVectorSort_04_LDADD = $(LDADD) 109 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src 110 depcomp = $(SHELL) $(top_srcdir)/depcomp 111 am__depfiles_maybe = depfiles 112 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 113 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 114 LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \ 115 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ 116 $(AM_CFLAGS) $(CFLAGS) 117 CCLD = $(CC) 118 LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 119 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 120 SOURCES = $(tst_psArray_SOURCES) $(tst_psArray01_SOURCES) \ 121 $(tst_psArray02_SOURCES) $(tst_psBitSet_SOURCES) \ 122 $(tst_psHash00_SOURCES) $(tst_psHash01_SOURCES) \ 123 $(tst_psHash02_SOURCES) $(tst_psHash03_SOURCES) \ 124 $(tst_psHash04_SOURCES) $(tst_psHash05_SOURCES) \ 125 $(tst_psList_SOURCES) $(tst_psScalar_SOURCES) \ 126 $(tst_psVector_SOURCES) $(tst_psVectorSort_01_SOURCES) \ 127 $(tst_psVectorSort_02_SOURCES) $(tst_psVectorSort_03_SOURCES) \ 128 $(tst_psVectorSort_04_SOURCES) 129 DIST_SOURCES = $(tst_psArray_SOURCES) $(tst_psArray01_SOURCES) \ 130 $(tst_psArray02_SOURCES) $(tst_psBitSet_SOURCES) \ 131 $(tst_psHash00_SOURCES) $(tst_psHash01_SOURCES) \ 132 $(tst_psHash02_SOURCES) $(tst_psHash03_SOURCES) \ 133 $(tst_psHash04_SOURCES) $(tst_psHash05_SOURCES) \ 134 $(tst_psList_SOURCES) $(tst_psScalar_SOURCES) \ 135 $(tst_psVector_SOURCES) $(tst_psVectorSort_01_SOURCES) \ 136 $(tst_psVectorSort_02_SOURCES) $(tst_psVectorSort_03_SOURCES) \ 137 $(tst_psVectorSort_04_SOURCES) 138 ETAGS = etags 139 CTAGS = ctags 140 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 141 ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9 142 AMDEP_FALSE = # 143 AMDEP_TRUE = 144 AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar 145 AR = ar 146 AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf 147 AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader 148 AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9 149 AWK = gawk 150 CC = gcc 151 CCDEPMODE = depmode=gcc3 152 CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE -I/usr/include -I/usr/include/libxml2 153 CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config 154 CPP = gcc -E 155 CPPFLAGS = 156 CXX = g++ 157 CXXCPP = g++ -E 158 CXXDEPMODE = depmode=gcc3 159 CXXFLAGS = -g -O2 160 CYGPATH_W = echo 161 DEFS = -DHAVE_CONFIG_H 162 DEPDIR = .deps 163 ECHO = echo 164 ECHO_C = 165 ECHO_N = -n 166 ECHO_T = 167 EGREP = grep -E 168 EXEEXT = 169 F77 = g77 170 FFLAGS = -fno-second-underscore -O -fno-f2c 171 GSL_CONFIG = /usr/bin/gsl-config 172 INSTALL_DATA = ${INSTALL} -m 644 173 INSTALL_PROGRAM = ${INSTALL} 174 INSTALL_SCRIPT = ${INSTALL} 175 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s 176 LDFLAGS = 177 LIBOBJS = 178 LIBS = 179 LIBTOOL = $(SHELL) $(top_builddir)/libtool 180 LN_S = ln -s 181 LTLIBOBJS = 182 MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo 183 OBJEXT = o 184 PACKAGE = pslib 185 PACKAGE_BUGREPORT = 186 PACKAGE_NAME = 187 PACKAGE_STRING = 188 PACKAGE_TARNAME = 189 PACKAGE_VERSION = 190 PATH_SEPARATOR = : 191 PERL = /usr/bin/perl 192 PSLIB_CFLAGS = -I${prefix}/include 193 PSLIB_LIBS = -L${exec_prefix}/lib -lpslib -lcfitsio -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm 194 RANLIB = ranlib 195 SET_MAKE = 196 SHELL = /bin/sh 197 STRIP = strip 198 SWIG = /usr/bin/swig 199 VERSION = 1.5 200 XML_CONFIG = /usr/bin/xml2-config 201 ac_ct_AR = ar 202 ac_ct_CC = gcc 203 ac_ct_CXX = g++ 204 ac_ct_F77 = g77 205 ac_ct_RANLIB = ranlib 206 ac_ct_STRIP = strip 207 am__fastdepCC_FALSE = # 208 am__fastdepCC_TRUE = 209 am__fastdepCXX_FALSE = # 210 am__fastdepCXX_TRUE = 211 am__include = include 212 am__leading_dot = . 213 am__quote = 214 am__tar = ${AMTAR} chof - "$$tardir" 215 am__untar = ${AMTAR} xf - 216 bindir = ${exec_prefix}/bin 217 build = x86_64-unknown-linux-gnu 218 build_alias = 219 build_cpu = x86_64 220 build_os = linux-gnu 221 build_vendor = unknown 222 datadir = ${prefix}/share 223 exec_prefix = ${prefix} 224 host = x86_64-unknown-linux-gnu 225 host_alias = 226 host_cpu = x86_64 227 host_os = linux-gnu 228 host_vendor = unknown 229 includedir = ${prefix}/include 230 infodir = ${prefix}/info 231 install_sh = /home/desonia/panstarrs/psLib/install-sh 232 libdir = ${exec_prefix}/lib 233 libexecdir = ${exec_prefix}/libexec 234 localstatedir = ${prefix}/var 235 mandir = ${prefix}/man 236 mkdir_p = mkdir -p -- 237 oldincludedir = /usr/include 238 prefix = /home/desonia/panstarrs/psLib 239 program_transform_name = s,x,x, 240 sbindir = ${exec_prefix}/sbin 241 sharedstatedir = ${prefix}/com 242 sysconfdir = ${prefix}/etc 243 target_alias = 244 245 #Makefile for astronomy functions of psLib 246 # 247 INCLUDES = \ 248 -I$(top_srcdir)/src \ 249 -I$(top_srcdir)/src/astronomy \ 250 -I$(top_srcdir)/src/collections \ 251 -I$(top_srcdir)/src/dataManip \ 252 -I$(top_srcdir)/src/fileUtils \ 253 -I$(top_srcdir)/src/image \ 254 -I$(top_srcdir)/src/sysUtils \ 255 $(all_includes) 256 257 AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs` 258 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 259 TESTS = \ 260 tst_psVector \ 22 261 tst_psArray \ 23 262 tst_psArray01 \ … … 37 276 tst_psScalar 38 277 39 OBJS = $(addsuffix .o,$(TARGET)) 40 41 all: $(TARGET) 42 43 clean: 44 @echo " Deleting executable and binary files for 'test/collections'" 45 $(RM) $(OBJS) 46 47 distclean: clean 48 $(RM) $(TARGET) 49 50 install: $(testbindir) $(testbindir)/verified $(TARGET) 51 install $(TARGET) $(testbindir) 52 install verified/*.stderr verified/*.stdout $(testbindir)/verified 53 54 $(testbindir): 55 mkdir -p $(testbindir) 56 57 $(testbindir)/verified: 58 mkdir -p $(testbindir)/verified 59 60 278 tst_psVector_SOURCES = tst_psVector.c 279 tst_psArray_SOURCES = tst_psArray.c 280 tst_psArray01_SOURCES = tst_psArray01.c 281 tst_psArray02_SOURCES = tst_psArray02.c 282 tst_psBitSet_SOURCES = tst_psBitSet.c 283 tst_psVectorSort_01_SOURCES = tst_psVectorSort_01.c 284 tst_psVectorSort_02_SOURCES = tst_psVectorSort_02.c 285 tst_psVectorSort_03_SOURCES = tst_psVectorSort_03.c 286 tst_psVectorSort_04_SOURCES = tst_psVectorSort_04.c 287 tst_psList_SOURCES = tst_psList.c 288 tst_psHash00_SOURCES = tst_psHash00.c 289 tst_psHash01_SOURCES = tst_psHash01.c 290 tst_psHash02_SOURCES = tst_psHash02.c 291 tst_psHash03_SOURCES = tst_psHash03.c 292 tst_psHash04_SOURCES = tst_psHash04.c 293 tst_psHash05_SOURCES = tst_psHash05.c 294 tst_psScalar_SOURCES = tst_psScalar.c 295 all: all-am 296 297 .SUFFIXES: 298 .SUFFIXES: .c .lo .o .obj 299 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 300 @for dep in $?; do \ 301 case '$(am__configure_deps)' in \ 302 *$$dep*) \ 303 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 304 && exit 0; \ 305 exit 1;; \ 306 esac; \ 307 done; \ 308 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/collections/Makefile'; \ 309 cd $(top_srcdir) && \ 310 $(AUTOMAKE) --gnu test/collections/Makefile 311 .PRECIOUS: Makefile 312 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 313 @case '$?' in \ 314 *config.status*) \ 315 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 316 *) \ 317 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 318 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 319 esac; 320 321 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 322 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 323 324 $(top_srcdir)/configure: $(am__configure_deps) 325 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 326 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 327 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 328 329 clean-checkPROGRAMS: 330 @list='$(check_PROGRAMS)'; for p in $$list; do \ 331 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ 332 echo " rm -f $$p $$f"; \ 333 rm -f $$p $$f ; \ 334 done 335 tst_psArray$(EXEEXT): $(tst_psArray_OBJECTS) $(tst_psArray_DEPENDENCIES) 336 @rm -f tst_psArray$(EXEEXT) 337 $(LINK) $(tst_psArray_LDFLAGS) $(tst_psArray_OBJECTS) $(tst_psArray_LDADD) $(LIBS) 338 tst_psArray01$(EXEEXT): $(tst_psArray01_OBJECTS) $(tst_psArray01_DEPENDENCIES) 339 @rm -f tst_psArray01$(EXEEXT) 340 $(LINK) $(tst_psArray01_LDFLAGS) $(tst_psArray01_OBJECTS) $(tst_psArray01_LDADD) $(LIBS) 341 tst_psArray02$(EXEEXT): $(tst_psArray02_OBJECTS) $(tst_psArray02_DEPENDENCIES) 342 @rm -f tst_psArray02$(EXEEXT) 343 $(LINK) $(tst_psArray02_LDFLAGS) $(tst_psArray02_OBJECTS) $(tst_psArray02_LDADD) $(LIBS) 344 tst_psBitSet$(EXEEXT): $(tst_psBitSet_OBJECTS) $(tst_psBitSet_DEPENDENCIES) 345 @rm -f tst_psBitSet$(EXEEXT) 346 $(LINK) $(tst_psBitSet_LDFLAGS) $(tst_psBitSet_OBJECTS) $(tst_psBitSet_LDADD) $(LIBS) 347 tst_psHash00$(EXEEXT): $(tst_psHash00_OBJECTS) $(tst_psHash00_DEPENDENCIES) 348 @rm -f tst_psHash00$(EXEEXT) 349 $(LINK) $(tst_psHash00_LDFLAGS) $(tst_psHash00_OBJECTS) $(tst_psHash00_LDADD) $(LIBS) 350 tst_psHash01$(EXEEXT): $(tst_psHash01_OBJECTS) $(tst_psHash01_DEPENDENCIES) 351 @rm -f tst_psHash01$(EXEEXT) 352 $(LINK) $(tst_psHash01_LDFLAGS) $(tst_psHash01_OBJECTS) $(tst_psHash01_LDADD) $(LIBS) 353 tst_psHash02$(EXEEXT): $(tst_psHash02_OBJECTS) $(tst_psHash02_DEPENDENCIES) 354 @rm -f tst_psHash02$(EXEEXT) 355 $(LINK) $(tst_psHash02_LDFLAGS) $(tst_psHash02_OBJECTS) $(tst_psHash02_LDADD) $(LIBS) 356 tst_psHash03$(EXEEXT): $(tst_psHash03_OBJECTS) $(tst_psHash03_DEPENDENCIES) 357 @rm -f tst_psHash03$(EXEEXT) 358 $(LINK) $(tst_psHash03_LDFLAGS) $(tst_psHash03_OBJECTS) $(tst_psHash03_LDADD) $(LIBS) 359 tst_psHash04$(EXEEXT): $(tst_psHash04_OBJECTS) $(tst_psHash04_DEPENDENCIES) 360 @rm -f tst_psHash04$(EXEEXT) 361 $(LINK) $(tst_psHash04_LDFLAGS) $(tst_psHash04_OBJECTS) $(tst_psHash04_LDADD) $(LIBS) 362 tst_psHash05$(EXEEXT): $(tst_psHash05_OBJECTS) $(tst_psHash05_DEPENDENCIES) 363 @rm -f tst_psHash05$(EXEEXT) 364 $(LINK) $(tst_psHash05_LDFLAGS) $(tst_psHash05_OBJECTS) $(tst_psHash05_LDADD) $(LIBS) 365 tst_psList$(EXEEXT): $(tst_psList_OBJECTS) $(tst_psList_DEPENDENCIES) 366 @rm -f tst_psList$(EXEEXT) 367 $(LINK) $(tst_psList_LDFLAGS) $(tst_psList_OBJECTS) $(tst_psList_LDADD) $(LIBS) 368 tst_psScalar$(EXEEXT): $(tst_psScalar_OBJECTS) $(tst_psScalar_DEPENDENCIES) 369 @rm -f tst_psScalar$(EXEEXT) 370 $(LINK) $(tst_psScalar_LDFLAGS) $(tst_psScalar_OBJECTS) $(tst_psScalar_LDADD) $(LIBS) 371 tst_psVector$(EXEEXT): $(tst_psVector_OBJECTS) $(tst_psVector_DEPENDENCIES) 372 @rm -f tst_psVector$(EXEEXT) 373 $(LINK) $(tst_psVector_LDFLAGS) $(tst_psVector_OBJECTS) $(tst_psVector_LDADD) $(LIBS) 374 tst_psVectorSort_01$(EXEEXT): $(tst_psVectorSort_01_OBJECTS) $(tst_psVectorSort_01_DEPENDENCIES) 375 @rm -f tst_psVectorSort_01$(EXEEXT) 376 $(LINK) $(tst_psVectorSort_01_LDFLAGS) $(tst_psVectorSort_01_OBJECTS) $(tst_psVectorSort_01_LDADD) $(LIBS) 377 tst_psVectorSort_02$(EXEEXT): $(tst_psVectorSort_02_OBJECTS) $(tst_psVectorSort_02_DEPENDENCIES) 378 @rm -f tst_psVectorSort_02$(EXEEXT) 379 $(LINK) $(tst_psVectorSort_02_LDFLAGS) $(tst_psVectorSort_02_OBJECTS) $(tst_psVectorSort_02_LDADD) $(LIBS) 380 tst_psVectorSort_03$(EXEEXT): $(tst_psVectorSort_03_OBJECTS) $(tst_psVectorSort_03_DEPENDENCIES) 381 @rm -f tst_psVectorSort_03$(EXEEXT) 382 $(LINK) $(tst_psVectorSort_03_LDFLAGS) $(tst_psVectorSort_03_OBJECTS) $(tst_psVectorSort_03_LDADD) $(LIBS) 383 tst_psVectorSort_04$(EXEEXT): $(tst_psVectorSort_04_OBJECTS) $(tst_psVectorSort_04_DEPENDENCIES) 384 @rm -f tst_psVectorSort_04$(EXEEXT) 385 $(LINK) $(tst_psVectorSort_04_LDFLAGS) $(tst_psVectorSort_04_OBJECTS) $(tst_psVectorSort_04_LDADD) $(LIBS) 386 387 mostlyclean-compile: 388 -rm -f *.$(OBJEXT) 389 390 distclean-compile: 391 -rm -f *.tab.c 392 393 include ./$(DEPDIR)/tst_psArray.Po 394 include ./$(DEPDIR)/tst_psArray01.Po 395 include ./$(DEPDIR)/tst_psArray02.Po 396 include ./$(DEPDIR)/tst_psBitSet.Po 397 include ./$(DEPDIR)/tst_psHash00.Po 398 include ./$(DEPDIR)/tst_psHash01.Po 399 include ./$(DEPDIR)/tst_psHash02.Po 400 include ./$(DEPDIR)/tst_psHash03.Po 401 include ./$(DEPDIR)/tst_psHash04.Po 402 include ./$(DEPDIR)/tst_psHash05.Po 403 include ./$(DEPDIR)/tst_psList.Po 404 include ./$(DEPDIR)/tst_psScalar.Po 405 include ./$(DEPDIR)/tst_psVector.Po 406 include ./$(DEPDIR)/tst_psVectorSort_01.Po 407 include ./$(DEPDIR)/tst_psVectorSort_02.Po 408 include ./$(DEPDIR)/tst_psVectorSort_03.Po 409 include ./$(DEPDIR)/tst_psVectorSort_04.Po 410 411 .c.o: 412 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 413 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 414 # source='$<' object='$@' libtool=no \ 415 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 416 # $(COMPILE) -c $< 417 418 .c.obj: 419 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 420 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 421 # source='$<' object='$@' libtool=no \ 422 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 423 # $(COMPILE) -c `$(CYGPATH_W) '$<'` 424 425 .c.lo: 426 if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 427 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 428 # source='$<' object='$@' libtool=yes \ 429 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 430 # $(LTCOMPILE) -c -o $@ $< 431 432 mostlyclean-libtool: 433 -rm -f *.lo 434 435 clean-libtool: 436 -rm -rf .libs _libs 437 438 distclean-libtool: 439 -rm -f libtool 440 uninstall-info-am: 441 442 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 443 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 444 unique=`for i in $$list; do \ 445 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 446 done | \ 447 $(AWK) ' { files[$$0] = 1; } \ 448 END { for (i in files) print i; }'`; \ 449 mkid -fID $$unique 450 tags: TAGS 451 452 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 453 $(TAGS_FILES) $(LISP) 454 tags=; \ 455 here=`pwd`; \ 456 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 457 unique=`for i in $$list; do \ 458 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 459 done | \ 460 $(AWK) ' { files[$$0] = 1; } \ 461 END { for (i in files) print i; }'`; \ 462 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 463 test -n "$$unique" || unique=$$empty_fix; \ 464 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 465 $$tags $$unique; \ 466 fi 467 ctags: CTAGS 468 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 469 $(TAGS_FILES) $(LISP) 470 tags=; \ 471 here=`pwd`; \ 472 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 473 unique=`for i in $$list; do \ 474 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 475 done | \ 476 $(AWK) ' { files[$$0] = 1; } \ 477 END { for (i in files) print i; }'`; \ 478 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 479 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 480 $$tags $$unique 481 482 GTAGS: 483 here=`$(am__cd) $(top_builddir) && pwd` \ 484 && cd $(top_srcdir) \ 485 && gtags -i $(GTAGS_ARGS) $$here 486 487 distclean-tags: 488 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 489 490 check-TESTS: $(TESTS) 491 @failed=0; all=0; xfail=0; xpass=0; skip=0; \ 492 srcdir=$(srcdir); export srcdir; \ 493 list='$(TESTS)'; \ 494 if test -n "$$list"; then \ 495 for tst in $$list; do \ 496 if test -f ./$$tst; then dir=./; \ 497 elif test -f $$tst; then dir=; \ 498 else dir="$(srcdir)/"; fi; \ 499 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ 500 all=`expr $$all + 1`; \ 501 case " $(XFAIL_TESTS) " in \ 502 *" $$tst "*) \ 503 xpass=`expr $$xpass + 1`; \ 504 failed=`expr $$failed + 1`; \ 505 echo "XPASS: $$tst"; \ 506 ;; \ 507 *) \ 508 echo "PASS: $$tst"; \ 509 ;; \ 510 esac; \ 511 elif test $$? -ne 77; then \ 512 all=`expr $$all + 1`; \ 513 case " $(XFAIL_TESTS) " in \ 514 *" $$tst "*) \ 515 xfail=`expr $$xfail + 1`; \ 516 echo "XFAIL: $$tst"; \ 517 ;; \ 518 *) \ 519 failed=`expr $$failed + 1`; \ 520 echo "FAIL: $$tst"; \ 521 ;; \ 522 esac; \ 523 else \ 524 skip=`expr $$skip + 1`; \ 525 echo "SKIP: $$tst"; \ 526 fi; \ 527 done; \ 528 if test "$$failed" -eq 0; then \ 529 if test "$$xfail" -eq 0; then \ 530 banner="All $$all tests passed"; \ 531 else \ 532 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ 533 fi; \ 534 else \ 535 if test "$$xpass" -eq 0; then \ 536 banner="$$failed of $$all tests failed"; \ 537 else \ 538 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ 539 fi; \ 540 fi; \ 541 dashes="$$banner"; \ 542 skipped=""; \ 543 if test "$$skip" -ne 0; then \ 544 skipped="($$skip tests were not run)"; \ 545 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ 546 dashes="$$skipped"; \ 547 fi; \ 548 report=""; \ 549 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ 550 report="Please report to $(PACKAGE_BUGREPORT)"; \ 551 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ 552 dashes="$$report"; \ 553 fi; \ 554 dashes=`echo "$$dashes" | sed s/./=/g`; \ 555 echo "$$dashes"; \ 556 echo "$$banner"; \ 557 test -z "$$skipped" || echo "$$skipped"; \ 558 test -z "$$report" || echo "$$report"; \ 559 echo "$$dashes"; \ 560 test "$$failed" -eq 0; \ 561 else :; fi 562 563 distdir: $(DISTFILES) 564 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 565 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 566 list='$(DISTFILES)'; for file in $$list; do \ 567 case $$file in \ 568 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 569 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 570 esac; \ 571 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 572 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 573 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 574 dir="/$$dir"; \ 575 $(mkdir_p) "$(distdir)$$dir"; \ 576 else \ 577 dir=''; \ 578 fi; \ 579 if test -d $$d/$$file; then \ 580 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 581 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 582 fi; \ 583 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 584 else \ 585 test -f $(distdir)/$$file \ 586 || cp -p $$d/$$file $(distdir)/$$file \ 587 || exit 1; \ 588 fi; \ 589 done 590 check-am: all-am 591 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) 592 $(MAKE) $(AM_MAKEFLAGS) check-TESTS 593 check: check-am 594 all-am: Makefile 595 installdirs: 596 install: install-am 597 install-exec: install-exec-am 598 install-data: install-data-am 599 uninstall: uninstall-am 600 601 install-am: all-am 602 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 603 604 installcheck: installcheck-am 605 install-strip: 606 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 607 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 608 `test -z '$(STRIP)' || \ 609 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 610 mostlyclean-generic: 611 612 clean-generic: 613 614 distclean-generic: 615 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 616 617 maintainer-clean-generic: 618 @echo "This command is intended for maintainers to use" 619 @echo "it deletes files that may require special tools to rebuild." 620 clean: clean-am 621 622 clean-am: clean-checkPROGRAMS clean-generic clean-libtool \ 623 mostlyclean-am 624 625 distclean: distclean-am 626 -rm -rf ./$(DEPDIR) 627 -rm -f Makefile 628 distclean-am: clean-am distclean-compile distclean-generic \ 629 distclean-libtool distclean-tags 630 631 dvi: dvi-am 632 633 dvi-am: 634 635 html: html-am 636 637 info: info-am 638 639 info-am: 640 641 install-data-am: 642 643 install-exec-am: 644 645 install-info: install-info-am 646 647 install-man: 648 649 installcheck-am: 650 651 maintainer-clean: maintainer-clean-am 652 -rm -rf ./$(DEPDIR) 653 -rm -f Makefile 654 maintainer-clean-am: distclean-am maintainer-clean-generic 655 656 mostlyclean: mostlyclean-am 657 658 mostlyclean-am: mostlyclean-compile mostlyclean-generic \ 659 mostlyclean-libtool 660 661 pdf: pdf-am 662 663 pdf-am: 664 665 ps: ps-am 666 667 ps-am: 668 669 uninstall-am: uninstall-info-am 670 671 .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \ 672 clean-checkPROGRAMS clean-generic clean-libtool ctags \ 673 distclean distclean-compile distclean-generic \ 674 distclean-libtool distclean-tags distdir dvi dvi-am html \ 675 html-am info info-am install install-am install-data \ 676 install-data-am install-exec install-exec-am install-info \ 677 install-info-am install-man install-strip installcheck \ 678 installcheck-am installdirs maintainer-clean \ 679 maintainer-clean-generic mostlyclean mostlyclean-compile \ 680 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ 681 tags uninstall uninstall-am uninstall-info-am 682 683 tests: $(TESTS) 684 # Tell versions [3.59,3.63) of GNU make to not export all variables. 685 # Otherwise a system limit (for SysV at least) may be exceeded. 686 .NOEXPORT: -
trunk/psLib/test/collections/tst_psMetadataIO.c
r3107 r3115 13 13 * @author Ross Harman, MHPCC 14 14 * 15 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $16 * @date $Date: 2005-02-0 2 20:20:55$15 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2005-02-03 00:54:12 $ 17 17 * 18 18 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 20 20 */ 21 21 22 #include <string.h> 22 23 #include "pslib.h" 23 24 #include "psTest.h" 24 #include <string.h>25 25 26 26 static void printMetadataItem(psMetadataItem *metadataItem, char *spaces); -
trunk/psLib/test/collections/tst_psMetadata_01.c
r3107 r3115 18 18 * @author Ross Harman, MHPCC 19 19 * 20 * @version $Revision: 1.1 8$ $Name: not supported by cvs2svn $21 * @date $Date: 2005-02-0 2 20:20:55$20 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $ 21 * @date $Date: 2005-02-03 00:54:12 $ 22 22 * 23 23 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 25 25 */ 26 26 27 #include <string.h> 27 28 #include "pslib.h" 28 29 #include "psTest.h" 29 #include <string.h>30 30 31 31 static void printMetadataItem(psMetadataItem *metadataItem, char *spaces); -
trunk/psLib/test/collections/tst_psMetadata_02.c
r2607 r3115 14 14 * @author Ross Harman, MHPCC 15 15 * 16 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $17 * @date $Date: 200 4-12-03 23:19:07$16 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2005-02-03 00:54:12 $ 18 18 * 19 19 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 21 21 */ 22 22 23 #include <string.h> 23 24 #include "pslib.h" 24 25 #include "psTest.h" 25 #include <string.h>26 26 27 27 static void printMetadataItem(psMetadataItem *metadataItem) -
trunk/psLib/test/collections/tst_psMetadata_03.c
r2607 r3115 18 18 * @author Ross Harman, MHPCC 19 19 * 20 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $21 * @date $Date: 200 4-12-03 23:19:07$20 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 21 * @date $Date: 2005-02-03 00:54:12 $ 22 22 * 23 23 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 25 25 */ 26 26 27 #include <string.h> 27 28 #include "pslib.h" 28 29 #include "psTest.h" 29 #include <string.h>30 30 31 31 static void printMetadataItem(psMetadataItem *metadataItem) -
trunk/psLib/test/collections/tst_psMetadata_04.c
r2977 r3115 23 23 * @author Ross Harman, MHPCC 24 24 * 25 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $26 * @date $Date: 2005-0 1-13 21:19:31$25 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 26 * @date $Date: 2005-02-03 00:54:12 $ 27 27 * 28 28 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 30 30 */ 31 31 32 #include <string.h> 32 33 #include "pslib.h" 33 34 #include "psTest.h" 34 #include <string.h>35 35 36 36 static void printMetadataItem(psMetadataItem *metadataItem) -
trunk/psLib/test/collections/tst_psMetadata_05.c
r2986 r3115 22 22 * @author Ross Harman, MHPCC 23 23 * 24 * @version $Revision: 1.1 6$ $Name: not supported by cvs2svn $25 * @date $Date: 2005-0 1-13 23:34:56$24 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $ 25 * @date $Date: 2005-02-03 00:54:12 $ 26 26 * 27 27 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 29 29 */ 30 30 31 #include <string.h> 31 32 #include "pslib.h" 32 33 #include "psTest.h" 33 #include <string.h>34 34 35 35 static void printMetadataItem(psMetadataItem *metadataItem) -
trunk/psLib/test/collections/tst_psMetadata_06.c
r2607 r3115 13 13 * @author Ross Harman, MHPCC 14 14 * 15 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $16 * @date $Date: 200 4-12-03 23:19:07$15 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2005-02-03 00:54:12 $ 17 17 * 18 18 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 20 20 */ 21 21 22 #include <string.h> 22 23 #include "pslib.h" 23 24 #include "psTest.h" 24 #include <string.h>25 25 26 26 static void printMetadataItem(psMetadataItem *metadataItem) -
trunk/psLib/test/collections/tst_psMetadata_07.c
r3056 r3115 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 1-19 01:53:00$11 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-02-03 00:54:12 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 15 15 * 16 16 */ 17 #include "config.h" 17 18 #include "pslib.h" 18 19 #include "psTest.h" 19 20 #ifndef TIME_XML_FILE21 #define TIME_XML_FILE "../../config/psTime.xml"22 #pragma warning TIME_XML_FILE was not defined in the makefile.23 #endif24 25 20 26 21 int main(int argc, char* argv[]) … … 31 26 psU32 nFail = 0; 32 27 psMetadata *md = NULL; 33 md = psMetadataParseConfigXml(md, &nFail, TIME_XML_FILE, true);28 md = psMetadataParseConfigXml(md, &nFail, XML_CONFIG_FILE, true); 34 29 if (nFail != 0) { 35 30 printf("psMetadataParseConfigXml returned error %d\n", res); -
trunk/psLib/test/dataIO/Makefile
r3056 r3115 1 ################################################################################ 2 ## 3 ## Makefile: test/fileUtils 4 ## 5 ## $Revision: 1.3 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2005-01-19 01:53:00 $ 7 ## 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii 9 ## 10 ############################################################################### 11 12 ifndef prefix 13 export prefix=$(shell cd ../..;pwd) 14 endif 15 16 include ../../src/Makefile.Globals 17 18 CFLAGS := -I../../include -DUTC_DAT_FILE="\"$(prefix)/data/tai_utc.dat\"" $(CFLAGS) 19 LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS) 20 21 TARGET = tst_psLookupTable_01 \ 1 # Makefile.in generated by automake 1.9.1 from Makefile.am. 2 # test/fileUtils/Makefile. Generated from Makefile.in by configure. 3 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004 Free Software Foundation, Inc. 6 # This Makefile.in is free software; the Free Software Foundation 7 # gives unlimited permission to copy and/or distribute it, 8 # with or without modifications, as long as this notice is preserved. 9 10 # This program is distributed in the hope that it will be useful, 11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 # PARTICULAR PURPOSE. 14 15 16 SOURCES = $(tst_psFits_SOURCES) $(tst_psLookupTable_01_SOURCES) 17 18 srcdir = . 19 top_srcdir = ../.. 20 21 pkgdatadir = $(datadir)/pslib 22 pkglibdir = $(libdir)/pslib 23 pkgincludedir = $(includedir)/pslib 24 top_builddir = ../.. 25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 26 INSTALL = /usr/bin/install -c 27 install_sh_DATA = $(install_sh) -c -m 644 28 install_sh_PROGRAM = $(install_sh) -c 29 install_sh_SCRIPT = $(install_sh) -c 30 INSTALL_HEADER = $(INSTALL_DATA) 31 transform = $(program_transform_name) 32 NORMAL_INSTALL = : 33 PRE_INSTALL = : 34 POST_INSTALL = : 35 NORMAL_UNINSTALL = : 36 PRE_UNINSTALL = : 37 POST_UNINSTALL = : 38 build_triplet = x86_64-unknown-linux-gnu 39 host_triplet = x86_64-unknown-linux-gnu 40 check_PROGRAMS = tst_psLookupTable_01$(EXEEXT) tst_psFits$(EXEEXT) 41 subdir = test/fileUtils 42 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 43 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 44 am__aclocal_m4_deps = $(top_srcdir)/configure.in 45 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 46 $(ACLOCAL_M4) 47 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 48 CONFIG_HEADER = $(top_builddir)/src/config.h 49 CONFIG_CLEAN_FILES = 50 am_tst_psFits_OBJECTS = tst_psFits.$(OBJEXT) 51 tst_psFits_OBJECTS = $(am_tst_psFits_OBJECTS) 52 tst_psFits_LDADD = $(LDADD) 53 am_tst_psLookupTable_01_OBJECTS = tst_psLookupTable_01.$(OBJEXT) 54 tst_psLookupTable_01_OBJECTS = $(am_tst_psLookupTable_01_OBJECTS) 55 tst_psLookupTable_01_LDADD = $(LDADD) 56 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src 57 depcomp = $(SHELL) $(top_srcdir)/depcomp 58 am__depfiles_maybe = depfiles 59 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 60 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 61 LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \ 62 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ 63 $(AM_CFLAGS) $(CFLAGS) 64 CCLD = $(CC) 65 LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 66 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 67 SOURCES = $(tst_psFits_SOURCES) $(tst_psLookupTable_01_SOURCES) 68 DIST_SOURCES = $(tst_psFits_SOURCES) $(tst_psLookupTable_01_SOURCES) 69 ETAGS = etags 70 CTAGS = ctags 71 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 72 ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9 73 AMDEP_FALSE = # 74 AMDEP_TRUE = 75 AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar 76 AR = ar 77 AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf 78 AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader 79 AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9 80 AWK = gawk 81 CC = gcc 82 CCDEPMODE = depmode=gcc3 83 CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE -I/usr/include -I/usr/include/libxml2 84 CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config 85 CPP = gcc -E 86 CPPFLAGS = 87 CXX = g++ 88 CXXCPP = g++ -E 89 CXXDEPMODE = depmode=gcc3 90 CXXFLAGS = -g -O2 91 CYGPATH_W = echo 92 DEFS = -DHAVE_CONFIG_H 93 DEPDIR = .deps 94 ECHO = echo 95 ECHO_C = 96 ECHO_N = -n 97 ECHO_T = 98 EGREP = grep -E 99 EXEEXT = 100 F77 = g77 101 FFLAGS = -fno-second-underscore -O -fno-f2c 102 GSL_CONFIG = /usr/bin/gsl-config 103 INSTALL_DATA = ${INSTALL} -m 644 104 INSTALL_PROGRAM = ${INSTALL} 105 INSTALL_SCRIPT = ${INSTALL} 106 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s 107 LDFLAGS = 108 LIBOBJS = 109 LIBS = 110 LIBTOOL = $(SHELL) $(top_builddir)/libtool 111 LN_S = ln -s 112 LTLIBOBJS = 113 MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo 114 OBJEXT = o 115 PACKAGE = pslib 116 PACKAGE_BUGREPORT = 117 PACKAGE_NAME = 118 PACKAGE_STRING = 119 PACKAGE_TARNAME = 120 PACKAGE_VERSION = 121 PATH_SEPARATOR = : 122 PERL = /usr/bin/perl 123 PSLIB_CFLAGS = -I${prefix}/include 124 PSLIB_LIBS = -L${exec_prefix}/lib -lpslib -lcfitsio -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm 125 RANLIB = ranlib 126 SET_MAKE = 127 SHELL = /bin/sh 128 STRIP = strip 129 SWIG = /usr/bin/swig 130 VERSION = 1.5 131 XML_CONFIG = /usr/bin/xml2-config 132 ac_ct_AR = ar 133 ac_ct_CC = gcc 134 ac_ct_CXX = g++ 135 ac_ct_F77 = g77 136 ac_ct_RANLIB = ranlib 137 ac_ct_STRIP = strip 138 am__fastdepCC_FALSE = # 139 am__fastdepCC_TRUE = 140 am__fastdepCXX_FALSE = # 141 am__fastdepCXX_TRUE = 142 am__include = include 143 am__leading_dot = . 144 am__quote = 145 am__tar = ${AMTAR} chof - "$$tardir" 146 am__untar = ${AMTAR} xf - 147 bindir = ${exec_prefix}/bin 148 build = x86_64-unknown-linux-gnu 149 build_alias = 150 build_cpu = x86_64 151 build_os = linux-gnu 152 build_vendor = unknown 153 datadir = ${prefix}/share 154 exec_prefix = ${prefix} 155 host = x86_64-unknown-linux-gnu 156 host_alias = 157 host_cpu = x86_64 158 host_os = linux-gnu 159 host_vendor = unknown 160 includedir = ${prefix}/include 161 infodir = ${prefix}/info 162 install_sh = /home/desonia/panstarrs/psLib/install-sh 163 libdir = ${exec_prefix}/lib 164 libexecdir = ${exec_prefix}/libexec 165 localstatedir = ${prefix}/var 166 mandir = ${prefix}/man 167 mkdir_p = mkdir -p -- 168 oldincludedir = /usr/include 169 prefix = /home/desonia/panstarrs/psLib 170 program_transform_name = s,x,x, 171 sbindir = ${exec_prefix}/sbin 172 sharedstatedir = ${prefix}/com 173 sysconfdir = ${prefix}/etc 174 target_alias = 175 176 #Makefile for astronomy functions of psLib 177 # 178 INCLUDES = \ 179 -I$(top_srcdir)/src \ 180 -I$(top_srcdir)/src/astronomy \ 181 -I$(top_srcdir)/src/collections \ 182 -I$(top_srcdir)/src/dataManip \ 183 -I$(top_srcdir)/src/fileUtils \ 184 -I$(top_srcdir)/src/image \ 185 -I$(top_srcdir)/src/sysUtils \ 186 $(all_includes) 187 188 AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs` 189 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 190 TESTS = \ 191 tst_psLookupTable_01 \ 22 192 tst_psFits 23 193 24 OBJS = $(addprefix builddir/,$(addsuffix .o,$(TARGET))) 25 26 all: $(TARGET) 27 28 clean: 29 @echo " Deleting executable and binary files for 'test/fileUtils'" 30 $(RM) $(OBJS) 31 32 distclean: clean 33 $(RM) $(TARGET) 34 35 install: $(testbindir) $(testbindir)/verified $(TARGET) 36 install $(TARGET) $(testbindir) 37 install verified/*.stderr verified/*.stdout $(testbindir)/verified 38 39 $(testbindir): 40 mkdir -p $(testbindir) 41 42 $(testbindir)/verified: 43 mkdir -p $(testbindir)/verified 44 194 tst_psLookupTable_01_SOURCES = tst_psLookupTable_01.c 195 tst_psFits_SOURCES = tst_psFits.c 196 all: all-am 197 198 .SUFFIXES: 199 .SUFFIXES: .c .lo .o .obj 200 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 201 @for dep in $?; do \ 202 case '$(am__configure_deps)' in \ 203 *$$dep*) \ 204 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 205 && exit 0; \ 206 exit 1;; \ 207 esac; \ 208 done; \ 209 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/fileUtils/Makefile'; \ 210 cd $(top_srcdir) && \ 211 $(AUTOMAKE) --gnu test/fileUtils/Makefile 212 .PRECIOUS: Makefile 213 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 214 @case '$?' in \ 215 *config.status*) \ 216 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 217 *) \ 218 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 219 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 220 esac; 221 222 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 223 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 224 225 $(top_srcdir)/configure: $(am__configure_deps) 226 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 227 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 228 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 229 230 clean-checkPROGRAMS: 231 @list='$(check_PROGRAMS)'; for p in $$list; do \ 232 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ 233 echo " rm -f $$p $$f"; \ 234 rm -f $$p $$f ; \ 235 done 236 tst_psFits$(EXEEXT): $(tst_psFits_OBJECTS) $(tst_psFits_DEPENDENCIES) 237 @rm -f tst_psFits$(EXEEXT) 238 $(LINK) $(tst_psFits_LDFLAGS) $(tst_psFits_OBJECTS) $(tst_psFits_LDADD) $(LIBS) 239 tst_psLookupTable_01$(EXEEXT): $(tst_psLookupTable_01_OBJECTS) $(tst_psLookupTable_01_DEPENDENCIES) 240 @rm -f tst_psLookupTable_01$(EXEEXT) 241 $(LINK) $(tst_psLookupTable_01_LDFLAGS) $(tst_psLookupTable_01_OBJECTS) $(tst_psLookupTable_01_LDADD) $(LIBS) 242 243 mostlyclean-compile: 244 -rm -f *.$(OBJEXT) 245 246 distclean-compile: 247 -rm -f *.tab.c 248 249 include ./$(DEPDIR)/tst_psFits.Po 250 include ./$(DEPDIR)/tst_psLookupTable_01.Po 251 252 .c.o: 253 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 254 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 255 # source='$<' object='$@' libtool=no \ 256 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 257 # $(COMPILE) -c $< 258 259 .c.obj: 260 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 261 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 262 # source='$<' object='$@' libtool=no \ 263 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 264 # $(COMPILE) -c `$(CYGPATH_W) '$<'` 265 266 .c.lo: 267 if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 268 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 269 # source='$<' object='$@' libtool=yes \ 270 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 271 # $(LTCOMPILE) -c -o $@ $< 272 273 mostlyclean-libtool: 274 -rm -f *.lo 275 276 clean-libtool: 277 -rm -rf .libs _libs 278 279 distclean-libtool: 280 -rm -f libtool 281 uninstall-info-am: 282 283 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 284 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 285 unique=`for i in $$list; do \ 286 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 287 done | \ 288 $(AWK) ' { files[$$0] = 1; } \ 289 END { for (i in files) print i; }'`; \ 290 mkid -fID $$unique 291 tags: TAGS 292 293 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 294 $(TAGS_FILES) $(LISP) 295 tags=; \ 296 here=`pwd`; \ 297 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 298 unique=`for i in $$list; do \ 299 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 300 done | \ 301 $(AWK) ' { files[$$0] = 1; } \ 302 END { for (i in files) print i; }'`; \ 303 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 304 test -n "$$unique" || unique=$$empty_fix; \ 305 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 306 $$tags $$unique; \ 307 fi 308 ctags: CTAGS 309 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 310 $(TAGS_FILES) $(LISP) 311 tags=; \ 312 here=`pwd`; \ 313 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 314 unique=`for i in $$list; do \ 315 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 316 done | \ 317 $(AWK) ' { files[$$0] = 1; } \ 318 END { for (i in files) print i; }'`; \ 319 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 320 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 321 $$tags $$unique 322 323 GTAGS: 324 here=`$(am__cd) $(top_builddir) && pwd` \ 325 && cd $(top_srcdir) \ 326 && gtags -i $(GTAGS_ARGS) $$here 327 328 distclean-tags: 329 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 330 331 check-TESTS: $(TESTS) 332 @failed=0; all=0; xfail=0; xpass=0; skip=0; \ 333 srcdir=$(srcdir); export srcdir; \ 334 list='$(TESTS)'; \ 335 if test -n "$$list"; then \ 336 for tst in $$list; do \ 337 if test -f ./$$tst; then dir=./; \ 338 elif test -f $$tst; then dir=; \ 339 else dir="$(srcdir)/"; fi; \ 340 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ 341 all=`expr $$all + 1`; \ 342 case " $(XFAIL_TESTS) " in \ 343 *" $$tst "*) \ 344 xpass=`expr $$xpass + 1`; \ 345 failed=`expr $$failed + 1`; \ 346 echo "XPASS: $$tst"; \ 347 ;; \ 348 *) \ 349 echo "PASS: $$tst"; \ 350 ;; \ 351 esac; \ 352 elif test $$? -ne 77; then \ 353 all=`expr $$all + 1`; \ 354 case " $(XFAIL_TESTS) " in \ 355 *" $$tst "*) \ 356 xfail=`expr $$xfail + 1`; \ 357 echo "XFAIL: $$tst"; \ 358 ;; \ 359 *) \ 360 failed=`expr $$failed + 1`; \ 361 echo "FAIL: $$tst"; \ 362 ;; \ 363 esac; \ 364 else \ 365 skip=`expr $$skip + 1`; \ 366 echo "SKIP: $$tst"; \ 367 fi; \ 368 done; \ 369 if test "$$failed" -eq 0; then \ 370 if test "$$xfail" -eq 0; then \ 371 banner="All $$all tests passed"; \ 372 else \ 373 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ 374 fi; \ 375 else \ 376 if test "$$xpass" -eq 0; then \ 377 banner="$$failed of $$all tests failed"; \ 378 else \ 379 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ 380 fi; \ 381 fi; \ 382 dashes="$$banner"; \ 383 skipped=""; \ 384 if test "$$skip" -ne 0; then \ 385 skipped="($$skip tests were not run)"; \ 386 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ 387 dashes="$$skipped"; \ 388 fi; \ 389 report=""; \ 390 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ 391 report="Please report to $(PACKAGE_BUGREPORT)"; \ 392 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ 393 dashes="$$report"; \ 394 fi; \ 395 dashes=`echo "$$dashes" | sed s/./=/g`; \ 396 echo "$$dashes"; \ 397 echo "$$banner"; \ 398 test -z "$$skipped" || echo "$$skipped"; \ 399 test -z "$$report" || echo "$$report"; \ 400 echo "$$dashes"; \ 401 test "$$failed" -eq 0; \ 402 else :; fi 403 404 distdir: $(DISTFILES) 405 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 406 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 407 list='$(DISTFILES)'; for file in $$list; do \ 408 case $$file in \ 409 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 410 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 411 esac; \ 412 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 413 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 414 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 415 dir="/$$dir"; \ 416 $(mkdir_p) "$(distdir)$$dir"; \ 417 else \ 418 dir=''; \ 419 fi; \ 420 if test -d $$d/$$file; then \ 421 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 422 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 423 fi; \ 424 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 425 else \ 426 test -f $(distdir)/$$file \ 427 || cp -p $$d/$$file $(distdir)/$$file \ 428 || exit 1; \ 429 fi; \ 430 done 431 check-am: all-am 432 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) 433 $(MAKE) $(AM_MAKEFLAGS) check-TESTS 434 check: check-am 435 all-am: Makefile 436 installdirs: 437 install: install-am 438 install-exec: install-exec-am 439 install-data: install-data-am 440 uninstall: uninstall-am 441 442 install-am: all-am 443 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 444 445 installcheck: installcheck-am 446 install-strip: 447 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 448 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 449 `test -z '$(STRIP)' || \ 450 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 451 mostlyclean-generic: 452 453 clean-generic: 454 455 distclean-generic: 456 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 457 458 maintainer-clean-generic: 459 @echo "This command is intended for maintainers to use" 460 @echo "it deletes files that may require special tools to rebuild." 461 clean: clean-am 462 463 clean-am: clean-checkPROGRAMS clean-generic clean-libtool \ 464 mostlyclean-am 465 466 distclean: distclean-am 467 -rm -rf ./$(DEPDIR) 468 -rm -f Makefile 469 distclean-am: clean-am distclean-compile distclean-generic \ 470 distclean-libtool distclean-tags 471 472 dvi: dvi-am 473 474 dvi-am: 475 476 html: html-am 477 478 info: info-am 479 480 info-am: 481 482 install-data-am: 483 484 install-exec-am: 485 486 install-info: install-info-am 487 488 install-man: 489 490 installcheck-am: 491 492 maintainer-clean: maintainer-clean-am 493 -rm -rf ./$(DEPDIR) 494 -rm -f Makefile 495 maintainer-clean-am: distclean-am maintainer-clean-generic 496 497 mostlyclean: mostlyclean-am 498 499 mostlyclean-am: mostlyclean-compile mostlyclean-generic \ 500 mostlyclean-libtool 501 502 pdf: pdf-am 503 504 pdf-am: 505 506 ps: ps-am 507 508 ps-am: 509 510 uninstall-am: uninstall-info-am 511 512 .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \ 513 clean-checkPROGRAMS clean-generic clean-libtool ctags \ 514 distclean distclean-compile distclean-generic \ 515 distclean-libtool distclean-tags distdir dvi dvi-am html \ 516 html-am info info-am install install-am install-data \ 517 install-data-am install-exec install-exec-am install-info \ 518 install-info-am install-man install-strip installcheck \ 519 installcheck-am installdirs maintainer-clean \ 520 maintainer-clean-generic mostlyclean mostlyclean-compile \ 521 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ 522 tags uninstall uninstall-am uninstall-info-am 523 524 tests: $(TESTS) 525 # Tell versions [3.59,3.63) of GNU make to not export all variables. 526 # Otherwise a system limit (for SysV at least) may be exceeded. 527 .NOEXPORT: -
trunk/psLib/test/dataIO/tst_psFits.c
r3037 r3115 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.1 4$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 1-18 19:35:24$8 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-02-03 00:54:12 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 12 12 */ 13 14 #include "psTest.h"15 #include "pslib.h"16 13 17 14 #include <unistd.h> … … 20 17 #include <sys/types.h> 21 18 19 #include "psTest.h" 20 #include "pslib.h" 22 21 23 22 #define GENIMAGE(img,c,r,TYP, valueFcn) \ -
trunk/psLib/test/dataIO/tst_psLookupTable_01.c
r3056 r3115 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-0 1-19 01:53:00$14 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-02-03 00:54:12 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 19 19 */ 20 20 21 #include <string.h> 22 #include "config.h" 21 23 #include "pslib.h" 22 24 #include "psTest.h" 23 #include <string.h>24 25 26 25 27 26 int main(int argc, char* argv[]) -
trunk/psLib/test/dataManip/Makefile
r2780 r3115 1 ################################################################################ 2 ## 3 ## Makefile: test/sysUtils 4 ## 5 ## $Revision: 1.54 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-12-21 23:24:49 $ 7 ## 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii 9 ## 10 ############################################################################### 11 12 ifndef prefix 13 export prefix=$(shell cd ../..;pwd) 14 endif 15 16 include ../../src/Makefile.Globals 17 18 CFLAGS := -I../../include $(CFLAGS) 19 LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS) 20 TARGET = \ 21 tst_psFunc00 \ 22 tst_psFunc01 \ 23 tst_psFunc02 \ 24 tst_psFunc03 \ 25 tst_psFunc04 \ 26 tst_psFunc05 \ 27 tst_psFunc07 \ 28 tst_psHist00 \ 29 tst_psHist01 \ 30 tst_psHist02 \ 31 tst_psHist03 \ 32 tst_psMatrix01 \ 33 tst_psMatrix02 \ 34 tst_psMatrix03 \ 35 tst_psMatrix04 \ 36 tst_psMatrix05 \ 37 tst_psMatrix06 \ 38 tst_psMatrix07 \ 39 tst_psMatrixVectorArithmetic01 \ 40 tst_psMatrixVectorArithmetic02 \ 41 tst_psMatrixVectorArithmetic03 \ 42 tst_psMatrixVectorArithmetic04 \ 43 tst_psMinimize04 \ 44 tst_psMinimize04_F32 \ 45 tst_psMinimize04b \ 46 tst_psMinimize04b_F32 \ 47 tst_psMinimize05 \ 48 tst_psMinimize06 \ 49 tst_psMinimize07 \ 50 tst_psStats00 \ 51 tst_psStats01 \ 52 tst_psStats02 \ 53 tst_psStats03 \ 54 tst_psStats05 \ 55 tst_psStats06 \ 56 tst_psStats07 \ 57 tst_psStats08 \ 58 tst_psStats09 \ 59 tst_psRandom \ 60 tst_psVectorFFT 61 # tst_psFunc06 \ 62 # tst_psMinimize04b \ 63 64 OBJS = $(addsuffix .o,$(TARGET)) 65 66 all: $(TARGET) 67 68 # include $(DEPENDENCIES) 69 70 clean: 71 @echo " Deleting executable and binary files for 'test/collections'" 72 $(RM) $(OBJS) 73 74 distclean: clean 75 $(RM) $(TARGET) 76 77 install: $(testbindir) $(testbindir)/verified $(TARGET) 78 install $(TARGET) $(testbindir) 79 install verified/*.stderr verified/*.stdout $(testbindir)/verified 80 81 $(testbindir): 82 mkdir -p $(testbindir) 83 84 $(testbindir)/verified: 85 mkdir -p $(testbindir)/verified 86 87 1 # Makefile.in generated by automake 1.9.1 from Makefile.am. 2 # test/dataManip/Makefile. Generated from Makefile.in by configure. 3 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004 Free Software Foundation, Inc. 6 # This Makefile.in is free software; the Free Software Foundation 7 # gives unlimited permission to copy and/or distribute it, 8 # with or without modifications, as long as this notice is preserved. 9 10 # This program is distributed in the hope that it will be useful, 11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 # PARTICULAR PURPOSE. 14 15 16 SOURCES = $(tst_psFunc00_SOURCES) $(tst_psFunc01_SOURCES) $(tst_psFunc02_SOURCES) $(tst_psFunc03_SOURCES) $(tst_psFunc04_SOURCES) $(tst_psFunc05_SOURCES) $(tst_psFunc07_SOURCES) $(tst_psHist00_SOURCES) $(tst_psHist01_SOURCES) $(tst_psHist02_SOURCES) $(tst_psHist03_SOURCES) $(tst_psMatrix01_SOURCES) $(tst_psMatrix02_SOURCES) $(tst_psMatrix03_SOURCES) $(tst_psMatrix04_SOURCES) $(tst_psMatrix05_SOURCES) $(tst_psMatrix06_SOURCES) $(tst_psMatrix07_SOURCES) $(tst_psMatrixVectorArithmetic01_SOURCES) $(tst_psMatrixVectorArithmetic02_SOURCES) $(tst_psMatrixVectorArithmetic03_SOURCES) $(tst_psMatrixVectorArithmetic04_SOURCES) $(tst_psMinimize04_SOURCES) $(tst_psMinimize04_F32_SOURCES) $(tst_psMinimize04b_SOURCES) $(tst_psMinimize04b_F32_SOURCES) $(tst_psMinimize05_SOURCES) $(tst_psMinimize06_SOURCES) $(tst_psMinimize07_SOURCES) $(tst_psRandom_SOURCES) $(tst_psStats00_SOURCES) $(tst_psStats01_SOURCES) $(tst_psStats02_SOURCES) $(tst_psStats03_SOURCES) $(tst_psStats05_SOURCES) $(tst_psStats06_SOURCES) $(tst_psStats07_SOURCES) $(tst_psStats08_SOURCES) $(tst_psStats09_SOURCES) $(tst_psVectorFFT_SOURCES) 17 18 srcdir = . 19 top_srcdir = ../.. 20 21 pkgdatadir = $(datadir)/pslib 22 pkglibdir = $(libdir)/pslib 23 pkgincludedir = $(includedir)/pslib 24 top_builddir = ../.. 25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 26 INSTALL = /usr/bin/install -c 27 install_sh_DATA = $(install_sh) -c -m 644 28 install_sh_PROGRAM = $(install_sh) -c 29 install_sh_SCRIPT = $(install_sh) -c 30 INSTALL_HEADER = $(INSTALL_DATA) 31 transform = $(program_transform_name) 32 NORMAL_INSTALL = : 33 PRE_INSTALL = : 34 POST_INSTALL = : 35 NORMAL_UNINSTALL = : 36 PRE_UNINSTALL = : 37 POST_UNINSTALL = : 38 build_triplet = x86_64-unknown-linux-gnu 39 host_triplet = x86_64-unknown-linux-gnu 40 check_PROGRAMS = tst_psFunc00$(EXEEXT) tst_psFunc01$(EXEEXT) \ 41 tst_psFunc02$(EXEEXT) tst_psFunc03$(EXEEXT) \ 42 tst_psFunc04$(EXEEXT) tst_psFunc05$(EXEEXT) \ 43 tst_psFunc07$(EXEEXT) tst_psHist00$(EXEEXT) \ 44 tst_psHist01$(EXEEXT) tst_psHist02$(EXEEXT) \ 45 tst_psHist03$(EXEEXT) tst_psMatrix01$(EXEEXT) \ 46 tst_psMatrix02$(EXEEXT) tst_psMatrix03$(EXEEXT) \ 47 tst_psMatrix04$(EXEEXT) tst_psMatrix05$(EXEEXT) \ 48 tst_psMatrix06$(EXEEXT) tst_psMatrix07$(EXEEXT) \ 49 tst_psMatrixVectorArithmetic01$(EXEEXT) \ 50 tst_psMatrixVectorArithmetic02$(EXEEXT) \ 51 tst_psMatrixVectorArithmetic03$(EXEEXT) \ 52 tst_psMatrixVectorArithmetic04$(EXEEXT) \ 53 tst_psMinimize04$(EXEEXT) tst_psMinimize04_F32$(EXEEXT) \ 54 tst_psMinimize04b$(EXEEXT) tst_psMinimize04b_F32$(EXEEXT) \ 55 tst_psMinimize05$(EXEEXT) tst_psMinimize06$(EXEEXT) \ 56 tst_psMinimize07$(EXEEXT) tst_psStats00$(EXEEXT) \ 57 tst_psStats01$(EXEEXT) tst_psStats02$(EXEEXT) \ 58 tst_psStats03$(EXEEXT) tst_psStats05$(EXEEXT) \ 59 tst_psStats06$(EXEEXT) tst_psStats07$(EXEEXT) \ 60 tst_psStats08$(EXEEXT) tst_psStats09$(EXEEXT) \ 61 tst_psRandom$(EXEEXT) tst_psVectorFFT$(EXEEXT) 62 subdir = test/dataManip 63 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 64 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 65 am__aclocal_m4_deps = $(top_srcdir)/configure.in 66 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 67 $(ACLOCAL_M4) 68 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 69 CONFIG_HEADER = $(top_builddir)/src/config.h 70 CONFIG_CLEAN_FILES = 71 am_tst_psFunc00_OBJECTS = tst_psFunc00.$(OBJEXT) 72 tst_psFunc00_OBJECTS = $(am_tst_psFunc00_OBJECTS) 73 tst_psFunc00_LDADD = $(LDADD) 74 am_tst_psFunc01_OBJECTS = tst_psFunc01.$(OBJEXT) 75 tst_psFunc01_OBJECTS = $(am_tst_psFunc01_OBJECTS) 76 tst_psFunc01_LDADD = $(LDADD) 77 am_tst_psFunc02_OBJECTS = tst_psFunc02.$(OBJEXT) 78 tst_psFunc02_OBJECTS = $(am_tst_psFunc02_OBJECTS) 79 tst_psFunc02_LDADD = $(LDADD) 80 am_tst_psFunc03_OBJECTS = tst_psFunc03.$(OBJEXT) 81 tst_psFunc03_OBJECTS = $(am_tst_psFunc03_OBJECTS) 82 tst_psFunc03_LDADD = $(LDADD) 83 am_tst_psFunc04_OBJECTS = tst_psFunc04.$(OBJEXT) 84 tst_psFunc04_OBJECTS = $(am_tst_psFunc04_OBJECTS) 85 tst_psFunc04_LDADD = $(LDADD) 86 am_tst_psFunc05_OBJECTS = tst_psFunc05.$(OBJEXT) 87 tst_psFunc05_OBJECTS = $(am_tst_psFunc05_OBJECTS) 88 tst_psFunc05_LDADD = $(LDADD) 89 am_tst_psFunc07_OBJECTS = tst_psFunc07.$(OBJEXT) 90 tst_psFunc07_OBJECTS = $(am_tst_psFunc07_OBJECTS) 91 tst_psFunc07_LDADD = $(LDADD) 92 am_tst_psHist00_OBJECTS = tst_psHist00.$(OBJEXT) 93 tst_psHist00_OBJECTS = $(am_tst_psHist00_OBJECTS) 94 tst_psHist00_LDADD = $(LDADD) 95 am_tst_psHist01_OBJECTS = tst_psHist01.$(OBJEXT) 96 tst_psHist01_OBJECTS = $(am_tst_psHist01_OBJECTS) 97 tst_psHist01_LDADD = $(LDADD) 98 am_tst_psHist02_OBJECTS = tst_psHist02.$(OBJEXT) 99 tst_psHist02_OBJECTS = $(am_tst_psHist02_OBJECTS) 100 tst_psHist02_LDADD = $(LDADD) 101 am_tst_psHist03_OBJECTS = tst_psHist03.$(OBJEXT) 102 tst_psHist03_OBJECTS = $(am_tst_psHist03_OBJECTS) 103 tst_psHist03_LDADD = $(LDADD) 104 am_tst_psMatrix01_OBJECTS = tst_psMatrix01.$(OBJEXT) 105 tst_psMatrix01_OBJECTS = $(am_tst_psMatrix01_OBJECTS) 106 tst_psMatrix01_LDADD = $(LDADD) 107 am_tst_psMatrix02_OBJECTS = tst_psMatrix02.$(OBJEXT) 108 tst_psMatrix02_OBJECTS = $(am_tst_psMatrix02_OBJECTS) 109 tst_psMatrix02_LDADD = $(LDADD) 110 am_tst_psMatrix03_OBJECTS = tst_psMatrix03.$(OBJEXT) 111 tst_psMatrix03_OBJECTS = $(am_tst_psMatrix03_OBJECTS) 112 tst_psMatrix03_LDADD = $(LDADD) 113 am_tst_psMatrix04_OBJECTS = tst_psMatrix04.$(OBJEXT) 114 tst_psMatrix04_OBJECTS = $(am_tst_psMatrix04_OBJECTS) 115 tst_psMatrix04_LDADD = $(LDADD) 116 am_tst_psMatrix05_OBJECTS = tst_psMatrix05.$(OBJEXT) 117 tst_psMatrix05_OBJECTS = $(am_tst_psMatrix05_OBJECTS) 118 tst_psMatrix05_LDADD = $(LDADD) 119 am_tst_psMatrix06_OBJECTS = tst_psMatrix06.$(OBJEXT) 120 tst_psMatrix06_OBJECTS = $(am_tst_psMatrix06_OBJECTS) 121 tst_psMatrix06_LDADD = $(LDADD) 122 am_tst_psMatrix07_OBJECTS = tst_psMatrix07.$(OBJEXT) 123 tst_psMatrix07_OBJECTS = $(am_tst_psMatrix07_OBJECTS) 124 tst_psMatrix07_LDADD = $(LDADD) 125 am_tst_psMatrixVectorArithmetic01_OBJECTS = \ 126 tst_psMatrixVectorArithmetic01.$(OBJEXT) 127 tst_psMatrixVectorArithmetic01_OBJECTS = \ 128 $(am_tst_psMatrixVectorArithmetic01_OBJECTS) 129 tst_psMatrixVectorArithmetic01_LDADD = $(LDADD) 130 am_tst_psMatrixVectorArithmetic02_OBJECTS = \ 131 tst_psMatrixVectorArithmetic02.$(OBJEXT) 132 tst_psMatrixVectorArithmetic02_OBJECTS = \ 133 $(am_tst_psMatrixVectorArithmetic02_OBJECTS) 134 tst_psMatrixVectorArithmetic02_LDADD = $(LDADD) 135 am_tst_psMatrixVectorArithmetic03_OBJECTS = \ 136 tst_psMatrixVectorArithmetic03.$(OBJEXT) 137 tst_psMatrixVectorArithmetic03_OBJECTS = \ 138 $(am_tst_psMatrixVectorArithmetic03_OBJECTS) 139 tst_psMatrixVectorArithmetic03_LDADD = $(LDADD) 140 am_tst_psMatrixVectorArithmetic04_OBJECTS = \ 141 tst_psMatrixVectorArithmetic04.$(OBJEXT) 142 tst_psMatrixVectorArithmetic04_OBJECTS = \ 143 $(am_tst_psMatrixVectorArithmetic04_OBJECTS) 144 tst_psMatrixVectorArithmetic04_LDADD = $(LDADD) 145 am_tst_psMinimize04_OBJECTS = tst_psMinimize04.$(OBJEXT) 146 tst_psMinimize04_OBJECTS = $(am_tst_psMinimize04_OBJECTS) 147 tst_psMinimize04_LDADD = $(LDADD) 148 am_tst_psMinimize04_F32_OBJECTS = tst_psMinimize04.$(OBJEXT) 149 tst_psMinimize04_F32_OBJECTS = $(am_tst_psMinimize04_F32_OBJECTS) 150 tst_psMinimize04_F32_LDADD = $(LDADD) 151 am_tst_psMinimize04b_OBJECTS = tst_psMinimize04b.$(OBJEXT) 152 tst_psMinimize04b_OBJECTS = $(am_tst_psMinimize04b_OBJECTS) 153 tst_psMinimize04b_LDADD = $(LDADD) 154 am_tst_psMinimize04b_F32_OBJECTS = tst_psMinimize04b.$(OBJEXT) 155 tst_psMinimize04b_F32_OBJECTS = $(am_tst_psMinimize04b_F32_OBJECTS) 156 tst_psMinimize04b_F32_LDADD = $(LDADD) 157 am_tst_psMinimize05_OBJECTS = tst_psMinimize05.$(OBJEXT) 158 tst_psMinimize05_OBJECTS = $(am_tst_psMinimize05_OBJECTS) 159 tst_psMinimize05_LDADD = $(LDADD) 160 am_tst_psMinimize06_OBJECTS = tst_psMinimize06.$(OBJEXT) 161 tst_psMinimize06_OBJECTS = $(am_tst_psMinimize06_OBJECTS) 162 tst_psMinimize06_LDADD = $(LDADD) 163 am_tst_psMinimize07_OBJECTS = tst_psMinimize07.$(OBJEXT) 164 tst_psMinimize07_OBJECTS = $(am_tst_psMinimize07_OBJECTS) 165 tst_psMinimize07_LDADD = $(LDADD) 166 am_tst_psRandom_OBJECTS = tst_psRandom.$(OBJEXT) 167 tst_psRandom_OBJECTS = $(am_tst_psRandom_OBJECTS) 168 tst_psRandom_LDADD = $(LDADD) 169 am_tst_psStats00_OBJECTS = tst_psStats00.$(OBJEXT) 170 tst_psStats00_OBJECTS = $(am_tst_psStats00_OBJECTS) 171 tst_psStats00_LDADD = $(LDADD) 172 am_tst_psStats01_OBJECTS = tst_psStats01.$(OBJEXT) 173 tst_psStats01_OBJECTS = $(am_tst_psStats01_OBJECTS) 174 tst_psStats01_LDADD = $(LDADD) 175 am_tst_psStats02_OBJECTS = tst_psStats02.$(OBJEXT) 176 tst_psStats02_OBJECTS = $(am_tst_psStats02_OBJECTS) 177 tst_psStats02_LDADD = $(LDADD) 178 am_tst_psStats03_OBJECTS = tst_psStats03.$(OBJEXT) 179 tst_psStats03_OBJECTS = $(am_tst_psStats03_OBJECTS) 180 tst_psStats03_LDADD = $(LDADD) 181 am_tst_psStats05_OBJECTS = tst_psStats05.$(OBJEXT) 182 tst_psStats05_OBJECTS = $(am_tst_psStats05_OBJECTS) 183 tst_psStats05_LDADD = $(LDADD) 184 am_tst_psStats06_OBJECTS = tst_psStats06.$(OBJEXT) 185 tst_psStats06_OBJECTS = $(am_tst_psStats06_OBJECTS) 186 tst_psStats06_LDADD = $(LDADD) 187 am_tst_psStats07_OBJECTS = tst_psStats07.$(OBJEXT) 188 tst_psStats07_OBJECTS = $(am_tst_psStats07_OBJECTS) 189 tst_psStats07_LDADD = $(LDADD) 190 am_tst_psStats08_OBJECTS = tst_psStats08.$(OBJEXT) 191 tst_psStats08_OBJECTS = $(am_tst_psStats08_OBJECTS) 192 tst_psStats08_LDADD = $(LDADD) 193 am_tst_psStats09_OBJECTS = tst_psStats09.$(OBJEXT) 194 tst_psStats09_OBJECTS = $(am_tst_psStats09_OBJECTS) 195 tst_psStats09_LDADD = $(LDADD) 196 am_tst_psVectorFFT_OBJECTS = tst_psVectorFFT.$(OBJEXT) 197 tst_psVectorFFT_OBJECTS = $(am_tst_psVectorFFT_OBJECTS) 198 tst_psVectorFFT_LDADD = $(LDADD) 199 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src 200 depcomp = $(SHELL) $(top_srcdir)/depcomp 201 am__depfiles_maybe = depfiles 202 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 203 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 204 LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \ 205 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ 206 $(AM_CFLAGS) $(CFLAGS) 207 CCLD = $(CC) 208 LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 209 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 210 SOURCES = $(tst_psFunc00_SOURCES) $(tst_psFunc01_SOURCES) \ 211 $(tst_psFunc02_SOURCES) $(tst_psFunc03_SOURCES) \ 212 $(tst_psFunc04_SOURCES) $(tst_psFunc05_SOURCES) \ 213 $(tst_psFunc07_SOURCES) $(tst_psHist00_SOURCES) \ 214 $(tst_psHist01_SOURCES) $(tst_psHist02_SOURCES) \ 215 $(tst_psHist03_SOURCES) $(tst_psMatrix01_SOURCES) \ 216 $(tst_psMatrix02_SOURCES) $(tst_psMatrix03_SOURCES) \ 217 $(tst_psMatrix04_SOURCES) $(tst_psMatrix05_SOURCES) \ 218 $(tst_psMatrix06_SOURCES) $(tst_psMatrix07_SOURCES) \ 219 $(tst_psMatrixVectorArithmetic01_SOURCES) \ 220 $(tst_psMatrixVectorArithmetic02_SOURCES) \ 221 $(tst_psMatrixVectorArithmetic03_SOURCES) \ 222 $(tst_psMatrixVectorArithmetic04_SOURCES) \ 223 $(tst_psMinimize04_SOURCES) $(tst_psMinimize04_F32_SOURCES) \ 224 $(tst_psMinimize04b_SOURCES) $(tst_psMinimize04b_F32_SOURCES) \ 225 $(tst_psMinimize05_SOURCES) $(tst_psMinimize06_SOURCES) \ 226 $(tst_psMinimize07_SOURCES) $(tst_psRandom_SOURCES) \ 227 $(tst_psStats00_SOURCES) $(tst_psStats01_SOURCES) \ 228 $(tst_psStats02_SOURCES) $(tst_psStats03_SOURCES) \ 229 $(tst_psStats05_SOURCES) $(tst_psStats06_SOURCES) \ 230 $(tst_psStats07_SOURCES) $(tst_psStats08_SOURCES) \ 231 $(tst_psStats09_SOURCES) $(tst_psVectorFFT_SOURCES) 232 DIST_SOURCES = $(tst_psFunc00_SOURCES) $(tst_psFunc01_SOURCES) \ 233 $(tst_psFunc02_SOURCES) $(tst_psFunc03_SOURCES) \ 234 $(tst_psFunc04_SOURCES) $(tst_psFunc05_SOURCES) \ 235 $(tst_psFunc07_SOURCES) $(tst_psHist00_SOURCES) \ 236 $(tst_psHist01_SOURCES) $(tst_psHist02_SOURCES) \ 237 $(tst_psHist03_SOURCES) $(tst_psMatrix01_SOURCES) \ 238 $(tst_psMatrix02_SOURCES) $(tst_psMatrix03_SOURCES) \ 239 $(tst_psMatrix04_SOURCES) $(tst_psMatrix05_SOURCES) \ 240 $(tst_psMatrix06_SOURCES) $(tst_psMatrix07_SOURCES) \ 241 $(tst_psMatrixVectorArithmetic01_SOURCES) \ 242 $(tst_psMatrixVectorArithmetic02_SOURCES) \ 243 $(tst_psMatrixVectorArithmetic03_SOURCES) \ 244 $(tst_psMatrixVectorArithmetic04_SOURCES) \ 245 $(tst_psMinimize04_SOURCES) $(tst_psMinimize04_F32_SOURCES) \ 246 $(tst_psMinimize04b_SOURCES) $(tst_psMinimize04b_F32_SOURCES) \ 247 $(tst_psMinimize05_SOURCES) $(tst_psMinimize06_SOURCES) \ 248 $(tst_psMinimize07_SOURCES) $(tst_psRandom_SOURCES) \ 249 $(tst_psStats00_SOURCES) $(tst_psStats01_SOURCES) \ 250 $(tst_psStats02_SOURCES) $(tst_psStats03_SOURCES) \ 251 $(tst_psStats05_SOURCES) $(tst_psStats06_SOURCES) \ 252 $(tst_psStats07_SOURCES) $(tst_psStats08_SOURCES) \ 253 $(tst_psStats09_SOURCES) $(tst_psVectorFFT_SOURCES) 254 ETAGS = etags 255 CTAGS = ctags 256 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 257 ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9 258 AMDEP_FALSE = # 259 AMDEP_TRUE = 260 AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar 261 AR = ar 262 AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf 263 AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader 264 AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9 265 AWK = gawk 266 CC = gcc 267 CCDEPMODE = depmode=gcc3 268 CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE -I/usr/include -I/usr/include/libxml2 269 CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config 270 CPP = gcc -E 271 CPPFLAGS = 272 CXX = g++ 273 CXXCPP = g++ -E 274 CXXDEPMODE = depmode=gcc3 275 CXXFLAGS = -g -O2 276 CYGPATH_W = echo 277 DEFS = -DHAVE_CONFIG_H 278 DEPDIR = .deps 279 ECHO = echo 280 ECHO_C = 281 ECHO_N = -n 282 ECHO_T = 283 EGREP = grep -E 284 EXEEXT = 285 F77 = g77 286 FFLAGS = -fno-second-underscore -O -fno-f2c 287 GSL_CONFIG = /usr/bin/gsl-config 288 INSTALL_DATA = ${INSTALL} -m 644 289 INSTALL_PROGRAM = ${INSTALL} 290 INSTALL_SCRIPT = ${INSTALL} 291 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s 292 LDFLAGS = 293 LIBOBJS = 294 LIBS = 295 LIBTOOL = $(SHELL) $(top_builddir)/libtool 296 LN_S = ln -s 297 LTLIBOBJS = 298 MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo 299 OBJEXT = o 300 PACKAGE = pslib 301 PACKAGE_BUGREPORT = 302 PACKAGE_NAME = 303 PACKAGE_STRING = 304 PACKAGE_TARNAME = 305 PACKAGE_VERSION = 306 PATH_SEPARATOR = : 307 PERL = /usr/bin/perl 308 PSLIB_CFLAGS = -I${prefix}/include 309 PSLIB_LIBS = -L${exec_prefix}/lib -lpslib -lcfitsio -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm 310 RANLIB = ranlib 311 SET_MAKE = 312 SHELL = /bin/sh 313 STRIP = strip 314 SWIG = /usr/bin/swig 315 VERSION = 1.5 316 XML_CONFIG = /usr/bin/xml2-config 317 ac_ct_AR = ar 318 ac_ct_CC = gcc 319 ac_ct_CXX = g++ 320 ac_ct_F77 = g77 321 ac_ct_RANLIB = ranlib 322 ac_ct_STRIP = strip 323 am__fastdepCC_FALSE = # 324 am__fastdepCC_TRUE = 325 am__fastdepCXX_FALSE = # 326 am__fastdepCXX_TRUE = 327 am__include = include 328 am__leading_dot = . 329 am__quote = 330 am__tar = ${AMTAR} chof - "$$tardir" 331 am__untar = ${AMTAR} xf - 332 bindir = ${exec_prefix}/bin 333 build = x86_64-unknown-linux-gnu 334 build_alias = 335 build_cpu = x86_64 336 build_os = linux-gnu 337 build_vendor = unknown 338 datadir = ${prefix}/share 339 exec_prefix = ${prefix} 340 host = x86_64-unknown-linux-gnu 341 host_alias = 342 host_cpu = x86_64 343 host_os = linux-gnu 344 host_vendor = unknown 345 includedir = ${prefix}/include 346 infodir = ${prefix}/info 347 install_sh = /home/desonia/panstarrs/psLib/install-sh 348 libdir = ${exec_prefix}/lib 349 libexecdir = ${exec_prefix}/libexec 350 localstatedir = ${prefix}/var 351 mandir = ${prefix}/man 352 mkdir_p = mkdir -p -- 353 oldincludedir = /usr/include 354 prefix = /home/desonia/panstarrs/psLib 355 program_transform_name = s,x,x, 356 sbindir = ${exec_prefix}/sbin 357 sharedstatedir = ${prefix}/com 358 sysconfdir = ${prefix}/etc 359 target_alias = 360 361 #Makefile for astronomy functions of psLib 362 # 363 INCLUDES = \ 364 -I$(top_srcdir)/src \ 365 -I$(top_srcdir)/src/astronomy \ 366 -I$(top_srcdir)/src/collections \ 367 -I$(top_srcdir)/src/dataManip \ 368 -I$(top_srcdir)/src/fileUtils \ 369 -I$(top_srcdir)/src/image \ 370 -I$(top_srcdir)/src/sysUtils \ 371 $(all_includes) 372 373 AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs` 374 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 375 TESTS = \ 376 tst_psFunc00 \ 377 tst_psFunc01 \ 378 tst_psFunc02 \ 379 tst_psFunc03 \ 380 tst_psFunc04 \ 381 tst_psFunc05 \ 382 tst_psFunc07 \ 383 tst_psHist00 \ 384 tst_psHist01 \ 385 tst_psHist02 \ 386 tst_psHist03 \ 387 tst_psMatrix01 \ 388 tst_psMatrix02 \ 389 tst_psMatrix03 \ 390 tst_psMatrix04 \ 391 tst_psMatrix05 \ 392 tst_psMatrix06 \ 393 tst_psMatrix07 \ 394 tst_psMatrixVectorArithmetic01 \ 395 tst_psMatrixVectorArithmetic02 \ 396 tst_psMatrixVectorArithmetic03 \ 397 tst_psMatrixVectorArithmetic04 \ 398 tst_psMinimize04 \ 399 tst_psMinimize04_F32 \ 400 tst_psMinimize04b \ 401 tst_psMinimize04b_F32 \ 402 tst_psMinimize05 \ 403 tst_psMinimize06 \ 404 tst_psMinimize07 \ 405 tst_psStats00 \ 406 tst_psStats01 \ 407 tst_psStats02 \ 408 tst_psStats03 \ 409 tst_psStats05 \ 410 tst_psStats06 \ 411 tst_psStats07 \ 412 tst_psStats08 \ 413 tst_psStats09 \ 414 tst_psRandom \ 415 tst_psVectorFFT 416 417 tst_psFunc00_SOURCES = tst_psFunc00.c 418 tst_psFunc01_SOURCES = tst_psFunc01.c 419 tst_psFunc02_SOURCES = tst_psFunc02.c 420 tst_psFunc03_SOURCES = tst_psFunc03.c 421 tst_psFunc04_SOURCES = tst_psFunc04.c 422 tst_psFunc05_SOURCES = tst_psFunc05.c 423 tst_psFunc07_SOURCES = tst_psFunc07.c 424 tst_psHist00_SOURCES = tst_psHist00.c 425 tst_psHist01_SOURCES = tst_psHist01.c 426 tst_psHist02_SOURCES = tst_psHist02.c 427 tst_psHist03_SOURCES = tst_psHist03.c 428 tst_psMatrix01_SOURCES = tst_psMatrix01.c 429 tst_psMatrix02_SOURCES = tst_psMatrix02.c 430 tst_psMatrix03_SOURCES = tst_psMatrix03.c 431 tst_psMatrix04_SOURCES = tst_psMatrix04.c 432 tst_psMatrix05_SOURCES = tst_psMatrix05.c 433 tst_psMatrix06_SOURCES = tst_psMatrix06.c 434 tst_psMatrix07_SOURCES = tst_psMatrix07.c 435 tst_psMatrixVectorArithmetic01_SOURCES = tst_psMatrixVectorArithmetic01.c 436 tst_psMatrixVectorArithmetic02_SOURCES = tst_psMatrixVectorArithmetic02.c 437 tst_psMatrixVectorArithmetic03_SOURCES = tst_psMatrixVectorArithmetic03.c 438 tst_psMatrixVectorArithmetic04_SOURCES = tst_psMatrixVectorArithmetic04.c 439 tst_psMinimize04_SOURCES = tst_psMinimize04.c 440 tst_psMinimize04_F32_SOURCES = tst_psMinimize04.c 441 tst_psMinimize04b_SOURCES = tst_psMinimize04b.c 442 tst_psMinimize04b_F32_SOURCES = tst_psMinimize04b.c 443 tst_psMinimize05_SOURCES = tst_psMinimize05.c 444 tst_psMinimize06_SOURCES = tst_psMinimize06.c 445 tst_psMinimize07_SOURCES = tst_psMinimize07.c 446 tst_psStats00_SOURCES = tst_psStats00.c 447 tst_psStats01_SOURCES = tst_psStats01.c 448 tst_psStats02_SOURCES = tst_psStats02.c 449 tst_psStats03_SOURCES = tst_psStats03.c 450 tst_psStats05_SOURCES = tst_psStats05.c 451 tst_psStats06_SOURCES = tst_psStats06.c 452 tst_psStats07_SOURCES = tst_psStats07.c 453 tst_psStats08_SOURCES = tst_psStats08.c 454 tst_psStats09_SOURCES = tst_psStats09.c 455 tst_psRandom_SOURCES = tst_psRandom.c 456 tst_psVectorFFT_SOURCES = tst_psVectorFFT.c 457 all: all-am 458 459 .SUFFIXES: 460 .SUFFIXES: .c .lo .o .obj 461 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 462 @for dep in $?; do \ 463 case '$(am__configure_deps)' in \ 464 *$$dep*) \ 465 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 466 && exit 0; \ 467 exit 1;; \ 468 esac; \ 469 done; \ 470 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/dataManip/Makefile'; \ 471 cd $(top_srcdir) && \ 472 $(AUTOMAKE) --gnu test/dataManip/Makefile 473 .PRECIOUS: Makefile 474 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 475 @case '$?' in \ 476 *config.status*) \ 477 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 478 *) \ 479 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 480 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 481 esac; 482 483 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 484 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 485 486 $(top_srcdir)/configure: $(am__configure_deps) 487 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 488 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 489 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 490 491 clean-checkPROGRAMS: 492 @list='$(check_PROGRAMS)'; for p in $$list; do \ 493 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ 494 echo " rm -f $$p $$f"; \ 495 rm -f $$p $$f ; \ 496 done 497 tst_psFunc00$(EXEEXT): $(tst_psFunc00_OBJECTS) $(tst_psFunc00_DEPENDENCIES) 498 @rm -f tst_psFunc00$(EXEEXT) 499 $(LINK) $(tst_psFunc00_LDFLAGS) $(tst_psFunc00_OBJECTS) $(tst_psFunc00_LDADD) $(LIBS) 500 tst_psFunc01$(EXEEXT): $(tst_psFunc01_OBJECTS) $(tst_psFunc01_DEPENDENCIES) 501 @rm -f tst_psFunc01$(EXEEXT) 502 $(LINK) $(tst_psFunc01_LDFLAGS) $(tst_psFunc01_OBJECTS) $(tst_psFunc01_LDADD) $(LIBS) 503 tst_psFunc02$(EXEEXT): $(tst_psFunc02_OBJECTS) $(tst_psFunc02_DEPENDENCIES) 504 @rm -f tst_psFunc02$(EXEEXT) 505 $(LINK) $(tst_psFunc02_LDFLAGS) $(tst_psFunc02_OBJECTS) $(tst_psFunc02_LDADD) $(LIBS) 506 tst_psFunc03$(EXEEXT): $(tst_psFunc03_OBJECTS) $(tst_psFunc03_DEPENDENCIES) 507 @rm -f tst_psFunc03$(EXEEXT) 508 $(LINK) $(tst_psFunc03_LDFLAGS) $(tst_psFunc03_OBJECTS) $(tst_psFunc03_LDADD) $(LIBS) 509 tst_psFunc04$(EXEEXT): $(tst_psFunc04_OBJECTS) $(tst_psFunc04_DEPENDENCIES) 510 @rm -f tst_psFunc04$(EXEEXT) 511 $(LINK) $(tst_psFunc04_LDFLAGS) $(tst_psFunc04_OBJECTS) $(tst_psFunc04_LDADD) $(LIBS) 512 tst_psFunc05$(EXEEXT): $(tst_psFunc05_OBJECTS) $(tst_psFunc05_DEPENDENCIES) 513 @rm -f tst_psFunc05$(EXEEXT) 514 $(LINK) $(tst_psFunc05_LDFLAGS) $(tst_psFunc05_OBJECTS) $(tst_psFunc05_LDADD) $(LIBS) 515 tst_psFunc07$(EXEEXT): $(tst_psFunc07_OBJECTS) $(tst_psFunc07_DEPENDENCIES) 516 @rm -f tst_psFunc07$(EXEEXT) 517 $(LINK) $(tst_psFunc07_LDFLAGS) $(tst_psFunc07_OBJECTS) $(tst_psFunc07_LDADD) $(LIBS) 518 tst_psHist00$(EXEEXT): $(tst_psHist00_OBJECTS) $(tst_psHist00_DEPENDENCIES) 519 @rm -f tst_psHist00$(EXEEXT) 520 $(LINK) $(tst_psHist00_LDFLAGS) $(tst_psHist00_OBJECTS) $(tst_psHist00_LDADD) $(LIBS) 521 tst_psHist01$(EXEEXT): $(tst_psHist01_OBJECTS) $(tst_psHist01_DEPENDENCIES) 522 @rm -f tst_psHist01$(EXEEXT) 523 $(LINK) $(tst_psHist01_LDFLAGS) $(tst_psHist01_OBJECTS) $(tst_psHist01_LDADD) $(LIBS) 524 tst_psHist02$(EXEEXT): $(tst_psHist02_OBJECTS) $(tst_psHist02_DEPENDENCIES) 525 @rm -f tst_psHist02$(EXEEXT) 526 $(LINK) $(tst_psHist02_LDFLAGS) $(tst_psHist02_OBJECTS) $(tst_psHist02_LDADD) $(LIBS) 527 tst_psHist03$(EXEEXT): $(tst_psHist03_OBJECTS) $(tst_psHist03_DEPENDENCIES) 528 @rm -f tst_psHist03$(EXEEXT) 529 $(LINK) $(tst_psHist03_LDFLAGS) $(tst_psHist03_OBJECTS) $(tst_psHist03_LDADD) $(LIBS) 530 tst_psMatrix01$(EXEEXT): $(tst_psMatrix01_OBJECTS) $(tst_psMatrix01_DEPENDENCIES) 531 @rm -f tst_psMatrix01$(EXEEXT) 532 $(LINK) $(tst_psMatrix01_LDFLAGS) $(tst_psMatrix01_OBJECTS) $(tst_psMatrix01_LDADD) $(LIBS) 533 tst_psMatrix02$(EXEEXT): $(tst_psMatrix02_OBJECTS) $(tst_psMatrix02_DEPENDENCIES) 534 @rm -f tst_psMatrix02$(EXEEXT) 535 $(LINK) $(tst_psMatrix02_LDFLAGS) $(tst_psMatrix02_OBJECTS) $(tst_psMatrix02_LDADD) $(LIBS) 536 tst_psMatrix03$(EXEEXT): $(tst_psMatrix03_OBJECTS) $(tst_psMatrix03_DEPENDENCIES) 537 @rm -f tst_psMatrix03$(EXEEXT) 538 $(LINK) $(tst_psMatrix03_LDFLAGS) $(tst_psMatrix03_OBJECTS) $(tst_psMatrix03_LDADD) $(LIBS) 539 tst_psMatrix04$(EXEEXT): $(tst_psMatrix04_OBJECTS) $(tst_psMatrix04_DEPENDENCIES) 540 @rm -f tst_psMatrix04$(EXEEXT) 541 $(LINK) $(tst_psMatrix04_LDFLAGS) $(tst_psMatrix04_OBJECTS) $(tst_psMatrix04_LDADD) $(LIBS) 542 tst_psMatrix05$(EXEEXT): $(tst_psMatrix05_OBJECTS) $(tst_psMatrix05_DEPENDENCIES) 543 @rm -f tst_psMatrix05$(EXEEXT) 544 $(LINK) $(tst_psMatrix05_LDFLAGS) $(tst_psMatrix05_OBJECTS) $(tst_psMatrix05_LDADD) $(LIBS) 545 tst_psMatrix06$(EXEEXT): $(tst_psMatrix06_OBJECTS) $(tst_psMatrix06_DEPENDENCIES) 546 @rm -f tst_psMatrix06$(EXEEXT) 547 $(LINK) $(tst_psMatrix06_LDFLAGS) $(tst_psMatrix06_OBJECTS) $(tst_psMatrix06_LDADD) $(LIBS) 548 tst_psMatrix07$(EXEEXT): $(tst_psMatrix07_OBJECTS) $(tst_psMatrix07_DEPENDENCIES) 549 @rm -f tst_psMatrix07$(EXEEXT) 550 $(LINK) $(tst_psMatrix07_LDFLAGS) $(tst_psMatrix07_OBJECTS) $(tst_psMatrix07_LDADD) $(LIBS) 551 tst_psMatrixVectorArithmetic01$(EXEEXT): $(tst_psMatrixVectorArithmetic01_OBJECTS) $(tst_psMatrixVectorArithmetic01_DEPENDENCIES) 552 @rm -f tst_psMatrixVectorArithmetic01$(EXEEXT) 553 $(LINK) $(tst_psMatrixVectorArithmetic01_LDFLAGS) $(tst_psMatrixVectorArithmetic01_OBJECTS) $(tst_psMatrixVectorArithmetic01_LDADD) $(LIBS) 554 tst_psMatrixVectorArithmetic02$(EXEEXT): $(tst_psMatrixVectorArithmetic02_OBJECTS) $(tst_psMatrixVectorArithmetic02_DEPENDENCIES) 555 @rm -f tst_psMatrixVectorArithmetic02$(EXEEXT) 556 $(LINK) $(tst_psMatrixVectorArithmetic02_LDFLAGS) $(tst_psMatrixVectorArithmetic02_OBJECTS) $(tst_psMatrixVectorArithmetic02_LDADD) $(LIBS) 557 tst_psMatrixVectorArithmetic03$(EXEEXT): $(tst_psMatrixVectorArithmetic03_OBJECTS) $(tst_psMatrixVectorArithmetic03_DEPENDENCIES) 558 @rm -f tst_psMatrixVectorArithmetic03$(EXEEXT) 559 $(LINK) $(tst_psMatrixVectorArithmetic03_LDFLAGS) $(tst_psMatrixVectorArithmetic03_OBJECTS) $(tst_psMatrixVectorArithmetic03_LDADD) $(LIBS) 560 tst_psMatrixVectorArithmetic04$(EXEEXT): $(tst_psMatrixVectorArithmetic04_OBJECTS) $(tst_psMatrixVectorArithmetic04_DEPENDENCIES) 561 @rm -f tst_psMatrixVectorArithmetic04$(EXEEXT) 562 $(LINK) $(tst_psMatrixVectorArithmetic04_LDFLAGS) $(tst_psMatrixVectorArithmetic04_OBJECTS) $(tst_psMatrixVectorArithmetic04_LDADD) $(LIBS) 563 tst_psMinimize04$(EXEEXT): $(tst_psMinimize04_OBJECTS) $(tst_psMinimize04_DEPENDENCIES) 564 @rm -f tst_psMinimize04$(EXEEXT) 565 $(LINK) $(tst_psMinimize04_LDFLAGS) $(tst_psMinimize04_OBJECTS) $(tst_psMinimize04_LDADD) $(LIBS) 566 tst_psMinimize04_F32$(EXEEXT): $(tst_psMinimize04_F32_OBJECTS) $(tst_psMinimize04_F32_DEPENDENCIES) 567 @rm -f tst_psMinimize04_F32$(EXEEXT) 568 $(LINK) $(tst_psMinimize04_F32_LDFLAGS) $(tst_psMinimize04_F32_OBJECTS) $(tst_psMinimize04_F32_LDADD) $(LIBS) 569 tst_psMinimize04b$(EXEEXT): $(tst_psMinimize04b_OBJECTS) $(tst_psMinimize04b_DEPENDENCIES) 570 @rm -f tst_psMinimize04b$(EXEEXT) 571 $(LINK) $(tst_psMinimize04b_LDFLAGS) $(tst_psMinimize04b_OBJECTS) $(tst_psMinimize04b_LDADD) $(LIBS) 572 tst_psMinimize04b_F32$(EXEEXT): $(tst_psMinimize04b_F32_OBJECTS) $(tst_psMinimize04b_F32_DEPENDENCIES) 573 @rm -f tst_psMinimize04b_F32$(EXEEXT) 574 $(LINK) $(tst_psMinimize04b_F32_LDFLAGS) $(tst_psMinimize04b_F32_OBJECTS) $(tst_psMinimize04b_F32_LDADD) $(LIBS) 575 tst_psMinimize05$(EXEEXT): $(tst_psMinimize05_OBJECTS) $(tst_psMinimize05_DEPENDENCIES) 576 @rm -f tst_psMinimize05$(EXEEXT) 577 $(LINK) $(tst_psMinimize05_LDFLAGS) $(tst_psMinimize05_OBJECTS) $(tst_psMinimize05_LDADD) $(LIBS) 578 tst_psMinimize06$(EXEEXT): $(tst_psMinimize06_OBJECTS) $(tst_psMinimize06_DEPENDENCIES) 579 @rm -f tst_psMinimize06$(EXEEXT) 580 $(LINK) $(tst_psMinimize06_LDFLAGS) $(tst_psMinimize06_OBJECTS) $(tst_psMinimize06_LDADD) $(LIBS) 581 tst_psMinimize07$(EXEEXT): $(tst_psMinimize07_OBJECTS) $(tst_psMinimize07_DEPENDENCIES) 582 @rm -f tst_psMinimize07$(EXEEXT) 583 $(LINK) $(tst_psMinimize07_LDFLAGS) $(tst_psMinimize07_OBJECTS) $(tst_psMinimize07_LDADD) $(LIBS) 584 tst_psRandom$(EXEEXT): $(tst_psRandom_OBJECTS) $(tst_psRandom_DEPENDENCIES) 585 @rm -f tst_psRandom$(EXEEXT) 586 $(LINK) $(tst_psRandom_LDFLAGS) $(tst_psRandom_OBJECTS) $(tst_psRandom_LDADD) $(LIBS) 587 tst_psStats00$(EXEEXT): $(tst_psStats00_OBJECTS) $(tst_psStats00_DEPENDENCIES) 588 @rm -f tst_psStats00$(EXEEXT) 589 $(LINK) $(tst_psStats00_LDFLAGS) $(tst_psStats00_OBJECTS) $(tst_psStats00_LDADD) $(LIBS) 590 tst_psStats01$(EXEEXT): $(tst_psStats01_OBJECTS) $(tst_psStats01_DEPENDENCIES) 591 @rm -f tst_psStats01$(EXEEXT) 592 $(LINK) $(tst_psStats01_LDFLAGS) $(tst_psStats01_OBJECTS) $(tst_psStats01_LDADD) $(LIBS) 593 tst_psStats02$(EXEEXT): $(tst_psStats02_OBJECTS) $(tst_psStats02_DEPENDENCIES) 594 @rm -f tst_psStats02$(EXEEXT) 595 $(LINK) $(tst_psStats02_LDFLAGS) $(tst_psStats02_OBJECTS) $(tst_psStats02_LDADD) $(LIBS) 596 tst_psStats03$(EXEEXT): $(tst_psStats03_OBJECTS) $(tst_psStats03_DEPENDENCIES) 597 @rm -f tst_psStats03$(EXEEXT) 598 $(LINK) $(tst_psStats03_LDFLAGS) $(tst_psStats03_OBJECTS) $(tst_psStats03_LDADD) $(LIBS) 599 tst_psStats05$(EXEEXT): $(tst_psStats05_OBJECTS) $(tst_psStats05_DEPENDENCIES) 600 @rm -f tst_psStats05$(EXEEXT) 601 $(LINK) $(tst_psStats05_LDFLAGS) $(tst_psStats05_OBJECTS) $(tst_psStats05_LDADD) $(LIBS) 602 tst_psStats06$(EXEEXT): $(tst_psStats06_OBJECTS) $(tst_psStats06_DEPENDENCIES) 603 @rm -f tst_psStats06$(EXEEXT) 604 $(LINK) $(tst_psStats06_LDFLAGS) $(tst_psStats06_OBJECTS) $(tst_psStats06_LDADD) $(LIBS) 605 tst_psStats07$(EXEEXT): $(tst_psStats07_OBJECTS) $(tst_psStats07_DEPENDENCIES) 606 @rm -f tst_psStats07$(EXEEXT) 607 $(LINK) $(tst_psStats07_LDFLAGS) $(tst_psStats07_OBJECTS) $(tst_psStats07_LDADD) $(LIBS) 608 tst_psStats08$(EXEEXT): $(tst_psStats08_OBJECTS) $(tst_psStats08_DEPENDENCIES) 609 @rm -f tst_psStats08$(EXEEXT) 610 $(LINK) $(tst_psStats08_LDFLAGS) $(tst_psStats08_OBJECTS) $(tst_psStats08_LDADD) $(LIBS) 611 tst_psStats09$(EXEEXT): $(tst_psStats09_OBJECTS) $(tst_psStats09_DEPENDENCIES) 612 @rm -f tst_psStats09$(EXEEXT) 613 $(LINK) $(tst_psStats09_LDFLAGS) $(tst_psStats09_OBJECTS) $(tst_psStats09_LDADD) $(LIBS) 614 tst_psVectorFFT$(EXEEXT): $(tst_psVectorFFT_OBJECTS) $(tst_psVectorFFT_DEPENDENCIES) 615 @rm -f tst_psVectorFFT$(EXEEXT) 616 $(LINK) $(tst_psVectorFFT_LDFLAGS) $(tst_psVectorFFT_OBJECTS) $(tst_psVectorFFT_LDADD) $(LIBS) 617 618 mostlyclean-compile: 619 -rm -f *.$(OBJEXT) 620 621 distclean-compile: 622 -rm -f *.tab.c 623 624 include ./$(DEPDIR)/tst_psFunc00.Po 625 include ./$(DEPDIR)/tst_psFunc01.Po 626 include ./$(DEPDIR)/tst_psFunc02.Po 627 include ./$(DEPDIR)/tst_psFunc03.Po 628 include ./$(DEPDIR)/tst_psFunc04.Po 629 include ./$(DEPDIR)/tst_psFunc05.Po 630 include ./$(DEPDIR)/tst_psFunc07.Po 631 include ./$(DEPDIR)/tst_psHist00.Po 632 include ./$(DEPDIR)/tst_psHist01.Po 633 include ./$(DEPDIR)/tst_psHist02.Po 634 include ./$(DEPDIR)/tst_psHist03.Po 635 include ./$(DEPDIR)/tst_psMatrix01.Po 636 include ./$(DEPDIR)/tst_psMatrix02.Po 637 include ./$(DEPDIR)/tst_psMatrix03.Po 638 include ./$(DEPDIR)/tst_psMatrix04.Po 639 include ./$(DEPDIR)/tst_psMatrix05.Po 640 include ./$(DEPDIR)/tst_psMatrix06.Po 641 include ./$(DEPDIR)/tst_psMatrix07.Po 642 include ./$(DEPDIR)/tst_psMatrixVectorArithmetic01.Po 643 include ./$(DEPDIR)/tst_psMatrixVectorArithmetic02.Po 644 include ./$(DEPDIR)/tst_psMatrixVectorArithmetic03.Po 645 include ./$(DEPDIR)/tst_psMatrixVectorArithmetic04.Po 646 include ./$(DEPDIR)/tst_psMinimize04.Po 647 include ./$(DEPDIR)/tst_psMinimize04b.Po 648 include ./$(DEPDIR)/tst_psMinimize05.Po 649 include ./$(DEPDIR)/tst_psMinimize06.Po 650 include ./$(DEPDIR)/tst_psMinimize07.Po 651 include ./$(DEPDIR)/tst_psRandom.Po 652 include ./$(DEPDIR)/tst_psStats00.Po 653 include ./$(DEPDIR)/tst_psStats01.Po 654 include ./$(DEPDIR)/tst_psStats02.Po 655 include ./$(DEPDIR)/tst_psStats03.Po 656 include ./$(DEPDIR)/tst_psStats05.Po 657 include ./$(DEPDIR)/tst_psStats06.Po 658 include ./$(DEPDIR)/tst_psStats07.Po 659 include ./$(DEPDIR)/tst_psStats08.Po 660 include ./$(DEPDIR)/tst_psStats09.Po 661 include ./$(DEPDIR)/tst_psVectorFFT.Po 662 663 .c.o: 664 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 665 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 666 # source='$<' object='$@' libtool=no \ 667 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 668 # $(COMPILE) -c $< 669 670 .c.obj: 671 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 672 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 673 # source='$<' object='$@' libtool=no \ 674 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 675 # $(COMPILE) -c `$(CYGPATH_W) '$<'` 676 677 .c.lo: 678 if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 679 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 680 # source='$<' object='$@' libtool=yes \ 681 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 682 # $(LTCOMPILE) -c -o $@ $< 683 684 mostlyclean-libtool: 685 -rm -f *.lo 686 687 clean-libtool: 688 -rm -rf .libs _libs 689 690 distclean-libtool: 691 -rm -f libtool 692 uninstall-info-am: 693 694 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 695 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 696 unique=`for i in $$list; do \ 697 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 698 done | \ 699 $(AWK) ' { files[$$0] = 1; } \ 700 END { for (i in files) print i; }'`; \ 701 mkid -fID $$unique 702 tags: TAGS 703 704 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 705 $(TAGS_FILES) $(LISP) 706 tags=; \ 707 here=`pwd`; \ 708 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 709 unique=`for i in $$list; do \ 710 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 711 done | \ 712 $(AWK) ' { files[$$0] = 1; } \ 713 END { for (i in files) print i; }'`; \ 714 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 715 test -n "$$unique" || unique=$$empty_fix; \ 716 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 717 $$tags $$unique; \ 718 fi 719 ctags: CTAGS 720 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 721 $(TAGS_FILES) $(LISP) 722 tags=; \ 723 here=`pwd`; \ 724 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 725 unique=`for i in $$list; do \ 726 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 727 done | \ 728 $(AWK) ' { files[$$0] = 1; } \ 729 END { for (i in files) print i; }'`; \ 730 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 731 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 732 $$tags $$unique 733 734 GTAGS: 735 here=`$(am__cd) $(top_builddir) && pwd` \ 736 && cd $(top_srcdir) \ 737 && gtags -i $(GTAGS_ARGS) $$here 738 739 distclean-tags: 740 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 741 742 check-TESTS: $(TESTS) 743 @failed=0; all=0; xfail=0; xpass=0; skip=0; \ 744 srcdir=$(srcdir); export srcdir; \ 745 list='$(TESTS)'; \ 746 if test -n "$$list"; then \ 747 for tst in $$list; do \ 748 if test -f ./$$tst; then dir=./; \ 749 elif test -f $$tst; then dir=; \ 750 else dir="$(srcdir)/"; fi; \ 751 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ 752 all=`expr $$all + 1`; \ 753 case " $(XFAIL_TESTS) " in \ 754 *" $$tst "*) \ 755 xpass=`expr $$xpass + 1`; \ 756 failed=`expr $$failed + 1`; \ 757 echo "XPASS: $$tst"; \ 758 ;; \ 759 *) \ 760 echo "PASS: $$tst"; \ 761 ;; \ 762 esac; \ 763 elif test $$? -ne 77; then \ 764 all=`expr $$all + 1`; \ 765 case " $(XFAIL_TESTS) " in \ 766 *" $$tst "*) \ 767 xfail=`expr $$xfail + 1`; \ 768 echo "XFAIL: $$tst"; \ 769 ;; \ 770 *) \ 771 failed=`expr $$failed + 1`; \ 772 echo "FAIL: $$tst"; \ 773 ;; \ 774 esac; \ 775 else \ 776 skip=`expr $$skip + 1`; \ 777 echo "SKIP: $$tst"; \ 778 fi; \ 779 done; \ 780 if test "$$failed" -eq 0; then \ 781 if test "$$xfail" -eq 0; then \ 782 banner="All $$all tests passed"; \ 783 else \ 784 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ 785 fi; \ 786 else \ 787 if test "$$xpass" -eq 0; then \ 788 banner="$$failed of $$all tests failed"; \ 789 else \ 790 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ 791 fi; \ 792 fi; \ 793 dashes="$$banner"; \ 794 skipped=""; \ 795 if test "$$skip" -ne 0; then \ 796 skipped="($$skip tests were not run)"; \ 797 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ 798 dashes="$$skipped"; \ 799 fi; \ 800 report=""; \ 801 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ 802 report="Please report to $(PACKAGE_BUGREPORT)"; \ 803 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ 804 dashes="$$report"; \ 805 fi; \ 806 dashes=`echo "$$dashes" | sed s/./=/g`; \ 807 echo "$$dashes"; \ 808 echo "$$banner"; \ 809 test -z "$$skipped" || echo "$$skipped"; \ 810 test -z "$$report" || echo "$$report"; \ 811 echo "$$dashes"; \ 812 test "$$failed" -eq 0; \ 813 else :; fi 814 815 distdir: $(DISTFILES) 816 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 817 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 818 list='$(DISTFILES)'; for file in $$list; do \ 819 case $$file in \ 820 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 821 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 822 esac; \ 823 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 824 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 825 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 826 dir="/$$dir"; \ 827 $(mkdir_p) "$(distdir)$$dir"; \ 828 else \ 829 dir=''; \ 830 fi; \ 831 if test -d $$d/$$file; then \ 832 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 833 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 834 fi; \ 835 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 836 else \ 837 test -f $(distdir)/$$file \ 838 || cp -p $$d/$$file $(distdir)/$$file \ 839 || exit 1; \ 840 fi; \ 841 done 842 check-am: all-am 843 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) 844 $(MAKE) $(AM_MAKEFLAGS) check-TESTS 845 check: check-am 846 all-am: Makefile 847 installdirs: 848 install: install-am 849 install-exec: install-exec-am 850 install-data: install-data-am 851 uninstall: uninstall-am 852 853 install-am: all-am 854 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 855 856 installcheck: installcheck-am 857 install-strip: 858 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 859 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 860 `test -z '$(STRIP)' || \ 861 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 862 mostlyclean-generic: 863 864 clean-generic: 865 866 distclean-generic: 867 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 868 869 maintainer-clean-generic: 870 @echo "This command is intended for maintainers to use" 871 @echo "it deletes files that may require special tools to rebuild." 872 clean: clean-am 873 874 clean-am: clean-checkPROGRAMS clean-generic clean-libtool \ 875 mostlyclean-am 876 877 distclean: distclean-am 878 -rm -rf ./$(DEPDIR) 879 -rm -f Makefile 880 distclean-am: clean-am distclean-compile distclean-generic \ 881 distclean-libtool distclean-tags 882 883 dvi: dvi-am 884 885 dvi-am: 886 887 html: html-am 888 889 info: info-am 890 891 info-am: 892 893 install-data-am: 894 895 install-exec-am: 896 897 install-info: install-info-am 898 899 install-man: 900 901 installcheck-am: 902 903 maintainer-clean: maintainer-clean-am 904 -rm -rf ./$(DEPDIR) 905 -rm -f Makefile 906 maintainer-clean-am: distclean-am maintainer-clean-generic 907 908 mostlyclean: mostlyclean-am 909 910 mostlyclean-am: mostlyclean-compile mostlyclean-generic \ 911 mostlyclean-libtool 912 913 pdf: pdf-am 914 915 pdf-am: 916 917 ps: ps-am 918 919 ps-am: 920 921 uninstall-am: uninstall-info-am 922 923 .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \ 924 clean-checkPROGRAMS clean-generic clean-libtool ctags \ 925 distclean distclean-compile distclean-generic \ 926 distclean-libtool distclean-tags distdir dvi dvi-am html \ 927 html-am info info-am install install-am install-data \ 928 install-data-am install-exec install-exec-am install-info \ 929 install-info-am install-man install-strip installcheck \ 930 installcheck-am installdirs maintainer-clean \ 931 maintainer-clean-generic mostlyclean mostlyclean-compile \ 932 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ 933 tags uninstall uninstall-am uninstall-info-am 934 935 tests: $(TESTS) 936 # Tell versions [3.59,3.63) of GNU make to not export all variables. 937 # Otherwise a system limit (for SysV at least) may be exceeded. 938 .NOEXPORT: -
trunk/psLib/test/dataManip/verified/tst_psFunc02.stdout
r2717 r3115 5 5 \**********************************************************************************/ 6 6 7 psSpline1D-> domains[0] is 1.0000008 psSpline1D-> domains[1] is 3.2500009 psSpline1D-> domains[2] is 5.50000010 psSpline1D-> domains[3] is 7.75000011 psSpline1D-> domains[4] is 10.0000007 psSpline1D->knots->data.F32[0] is 1.000000 8 psSpline1D->knots->data.F32[1] is 3.250000 9 psSpline1D->knots->data.F32[2] is 5.500000 10 psSpline1D->knots->data.F32[3] is 7.750000 11 psSpline1D->knots->data.F32[4] is 10.000000 12 12 13 13 ---> TESTPOINT PASSED (psFunctions functions{psSpline1DAlloc(): linear, normal} | tst_psFunc02.c) … … 28 28 \**********************************************************************************/ 29 29 30 psSpline1D-> domains[0] is 1.00000031 psSpline1D-> domains[1] is 0.50000032 psSpline1D-> domains[2] is 0.00000033 psSpline1D-> domains[3] is -0.50000034 psSpline1D-> domains[4] is -1.00000030 psSpline1D->knots->data.F32[0] is 1.000000 31 psSpline1D->knots->data.F32[1] is 0.500000 32 psSpline1D->knots->data.F32[2] is 0.000000 33 psSpline1D->knots->data.F32[3] is -0.500000 34 psSpline1D->knots->data.F32[4] is -1.000000 35 35 36 36 ---> TESTPOINT PASSED (psFunctions functions{psSpline1DAlloc(): linear, min > max.} | tst_psFunc02.c) … … 42 42 \**********************************************************************************/ 43 43 44 psSpline1D->d omains[0] is 1.00000045 psSpline1D->d omains[1] is 3.25000046 psSpline1D->d omains[2] is 5.50000047 psSpline1D->d omains[3] is 7.75000048 psSpline1D->d omains[4] is 10.00000044 psSpline1D->data.F32[0] is 1.000000 45 psSpline1D->data.F32[1] is 3.250000 46 psSpline1D->data.F32[2] is 5.500000 47 psSpline1D->data.F32[3] is 7.750000 48 psSpline1D->data.F32[4] is 10.000000 49 49 50 50 ---> TESTPOINT PASSED (psFunctions functions{psSpline1DAlloc(): cubic, normal} | tst_psFunc02.c) … … 65 65 \**********************************************************************************/ 66 66 67 psSpline1D-> domains[0] is 1.00000068 psSpline1D-> domains[1] is 0.50000069 psSpline1D-> domains[2] is 0.00000070 psSpline1D-> domains[3] is -0.50000071 psSpline1D-> domains[4] is -1.00000067 psSpline1D->knots->data.F32[0] is 1.000000 68 psSpline1D->knots->data.F32[1] is 0.500000 69 psSpline1D->knots->data.F32[2] is 0.000000 70 psSpline1D->knots->data.F32[3] is -0.500000 71 psSpline1D->knots->data.F32[4] is -1.000000 72 72 73 73 ---> TESTPOINT PASSED (psFunctions functions{psSpline1DAlloc(): cubic, min > max.} | tst_psFunc02.c) … … 79 79 \**********************************************************************************/ 80 80 81 psSpline1D-> domains[0] is 2.00000082 psSpline1D-> domains[1] is 4.00000083 psSpline1D-> domains[2] is 6.00000084 psSpline1D-> domains[3] is 8.00000085 psSpline1D-> domains[4] is 10.00000081 psSpline1D->knots->data.F32[0] is 2.000000 82 psSpline1D->knots->data.F32[1] is 4.000000 83 psSpline1D->knots->data.F32[2] is 6.000000 84 psSpline1D->knots->data.F32[3] is 8.000000 85 psSpline1D->knots->data.F32[4] is 10.000000 86 86 87 87 ---> TESTPOINT PASSED (psFunctions functions{psSpline1DAllocGeneric(): linear, normal} | tst_psFunc02.c) -
trunk/psLib/test/dataManip/verified/tst_psMinimize04_F32.stderr
r2288 r3115 1 1 <DATE><TIME>|<HOST>|I|t03 2 Following should generate error for null arguments.2 Following should generate an error for null input polynomial. 3 3 <DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D (psMinimize.c:<LINENO>) 4 4 Unallowable operation: polynomial myPoly or its coeffs is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMinimize04_F32.stdout
r2091 r3115 1 1 /***************************** TESTPOINT ******************************************\ 2 * TestFile: tst_psMinimize04 _F32.c*3 * TestPoint: psMinimize functions{psVectorFitPolynomial1D(): equal errors in yErr}*2 * TestFile: tst_psMinimize04.c * 3 * TestPoint: psMinimize functions{psVectorFitPolynomial1D(): equal difference in variable yE * 4 4 * TestType: Positive * 5 5 \**********************************************************************************/ 6 6 7 7 8 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): equal errors in yErr} | tst_psMinimize04_F32.c)8 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): equal differences in variable yErr} | tst_psMinimize04.c) 9 9 10 10 /***************************** TESTPOINT ******************************************\ 11 * TestFile: tst_psMinimize04 _F32.c*11 * TestFile: tst_psMinimize04.c * 12 12 * TestPoint: psMinimize functions{psVectorFitPolynomial1D(): yErr is NULL} * 13 13 * TestType: Positive * … … 15 15 16 16 17 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): yErr is NULL} | tst_psMinimize04 _F32.c)17 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): yErr is NULL} | tst_psMinimize04.c) 18 18 19 19 /***************************** TESTPOINT ******************************************\ 20 * TestFile: tst_psMinimize04 _F32.c*20 * TestFile: tst_psMinimize04.c * 21 21 * TestPoint: psMinimize functions{psVectorFitPolynomial1D(): x, yErr is NULL} * 22 22 * TestType: Positive * … … 24 24 25 25 26 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): x, yErr is NULL} | tst_psMinimize04 _F32.c)26 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): x, yErr is NULL} | tst_psMinimize04.c) 27 27 28 28 /***************************** TESTPOINT ******************************************\ 29 * TestFile: tst_psMinimize04 _F32.c*29 * TestFile: tst_psMinimize04.c * 30 30 * TestPoint: psMinimize functions{psVectorFitPolynomial1D(): all inputs are NULL} * 31 31 * TestType: Positive * … … 33 33 34 34 35 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): all inputs are NULL} | tst_psMinimize04 _F32.c)35 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): all inputs are NULL} | tst_psMinimize04.c) 36 36 -
trunk/psLib/test/dataManip/verified/tst_psMinimize04b_F32.stderr
r2740 r3115 1 1 <DATE><TIME>|<HOST>|I|t03 2 Following should generate error for null arguments.2 Following should generate an error for null arguments. 3 3 <DATE><TIME>|<HOST>|E|psVectorFitPolynomial1D (psMinimize.c:<LINENO>) 4 4 Unallowable operation: polynomial myPoly or its coeffs is NULL. -
trunk/psLib/test/dataManip/verified/tst_psMinimize04b_F32.stdout
r2086 r3115 1 1 /***************************** TESTPOINT ******************************************\ 2 * TestFile: tst_psMinimize04b _F32.c*2 * TestFile: tst_psMinimize04b.c * 3 3 * TestPoint: psMinimize functions{psVectorFitPolynomial1D(): CHEB, equal errors in yErr} * 4 4 * TestType: Positive * … … 6 6 7 7 8 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, equal errors in yErr} | tst_psMinimize04b _F32.c)8 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, equal errors in yErr} | tst_psMinimize04b.c) 9 9 10 10 /***************************** TESTPOINT ******************************************\ 11 * TestFile: tst_psMinimize04b _F32.c*11 * TestFile: tst_psMinimize04b.c * 12 12 * TestPoint: psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} * 13 13 * TestType: Positive * … … 15 15 16 16 17 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} | tst_psMinimize04b _F32.c)17 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} | tst_psMinimize04b.c) 18 18 19 19 /***************************** TESTPOINT ******************************************\ 20 * TestFile: tst_psMinimize04b _F32.c*20 * TestFile: tst_psMinimize04b.c * 21 21 * TestPoint: psMinimize functions{psVectorFitPolynomial1D(): CHEB, x, yErr is NULL} * 22 22 * TestType: Positive * … … 24 24 25 25 26 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, x, yErr is NULL} | tst_psMinimize04b _F32.c)26 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, x, yErr is NULL} | tst_psMinimize04b.c) 27 27 28 28 /***************************** TESTPOINT ******************************************\ 29 * TestFile: tst_psMinimize04b _F32.c*29 * TestFile: tst_psMinimize04b.c * 30 30 * TestPoint: psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} * 31 31 * TestType: Positive * … … 33 33 34 34 35 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} | tst_psMinimize04b _F32.c)35 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} | tst_psMinimize04b.c) 36 36 -
trunk/psLib/test/fileUtils/Makefile
r3056 r3115 1 ################################################################################ 2 ## 3 ## Makefile: test/fileUtils 4 ## 5 ## $Revision: 1.3 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2005-01-19 01:53:00 $ 7 ## 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii 9 ## 10 ############################################################################### 11 12 ifndef prefix 13 export prefix=$(shell cd ../..;pwd) 14 endif 15 16 include ../../src/Makefile.Globals 17 18 CFLAGS := -I../../include -DUTC_DAT_FILE="\"$(prefix)/data/tai_utc.dat\"" $(CFLAGS) 19 LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS) 20 21 TARGET = tst_psLookupTable_01 \ 1 # Makefile.in generated by automake 1.9.1 from Makefile.am. 2 # test/fileUtils/Makefile. Generated from Makefile.in by configure. 3 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004 Free Software Foundation, Inc. 6 # This Makefile.in is free software; the Free Software Foundation 7 # gives unlimited permission to copy and/or distribute it, 8 # with or without modifications, as long as this notice is preserved. 9 10 # This program is distributed in the hope that it will be useful, 11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 # PARTICULAR PURPOSE. 14 15 16 SOURCES = $(tst_psFits_SOURCES) $(tst_psLookupTable_01_SOURCES) 17 18 srcdir = . 19 top_srcdir = ../.. 20 21 pkgdatadir = $(datadir)/pslib 22 pkglibdir = $(libdir)/pslib 23 pkgincludedir = $(includedir)/pslib 24 top_builddir = ../.. 25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 26 INSTALL = /usr/bin/install -c 27 install_sh_DATA = $(install_sh) -c -m 644 28 install_sh_PROGRAM = $(install_sh) -c 29 install_sh_SCRIPT = $(install_sh) -c 30 INSTALL_HEADER = $(INSTALL_DATA) 31 transform = $(program_transform_name) 32 NORMAL_INSTALL = : 33 PRE_INSTALL = : 34 POST_INSTALL = : 35 NORMAL_UNINSTALL = : 36 PRE_UNINSTALL = : 37 POST_UNINSTALL = : 38 build_triplet = x86_64-unknown-linux-gnu 39 host_triplet = x86_64-unknown-linux-gnu 40 check_PROGRAMS = tst_psLookupTable_01$(EXEEXT) tst_psFits$(EXEEXT) 41 subdir = test/fileUtils 42 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 43 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 44 am__aclocal_m4_deps = $(top_srcdir)/configure.in 45 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 46 $(ACLOCAL_M4) 47 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 48 CONFIG_HEADER = $(top_builddir)/src/config.h 49 CONFIG_CLEAN_FILES = 50 am_tst_psFits_OBJECTS = tst_psFits.$(OBJEXT) 51 tst_psFits_OBJECTS = $(am_tst_psFits_OBJECTS) 52 tst_psFits_LDADD = $(LDADD) 53 am_tst_psLookupTable_01_OBJECTS = tst_psLookupTable_01.$(OBJEXT) 54 tst_psLookupTable_01_OBJECTS = $(am_tst_psLookupTable_01_OBJECTS) 55 tst_psLookupTable_01_LDADD = $(LDADD) 56 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src 57 depcomp = $(SHELL) $(top_srcdir)/depcomp 58 am__depfiles_maybe = depfiles 59 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 60 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 61 LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \ 62 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ 63 $(AM_CFLAGS) $(CFLAGS) 64 CCLD = $(CC) 65 LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 66 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 67 SOURCES = $(tst_psFits_SOURCES) $(tst_psLookupTable_01_SOURCES) 68 DIST_SOURCES = $(tst_psFits_SOURCES) $(tst_psLookupTable_01_SOURCES) 69 ETAGS = etags 70 CTAGS = ctags 71 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 72 ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9 73 AMDEP_FALSE = # 74 AMDEP_TRUE = 75 AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar 76 AR = ar 77 AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf 78 AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader 79 AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9 80 AWK = gawk 81 CC = gcc 82 CCDEPMODE = depmode=gcc3 83 CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE -I/usr/include -I/usr/include/libxml2 84 CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config 85 CPP = gcc -E 86 CPPFLAGS = 87 CXX = g++ 88 CXXCPP = g++ -E 89 CXXDEPMODE = depmode=gcc3 90 CXXFLAGS = -g -O2 91 CYGPATH_W = echo 92 DEFS = -DHAVE_CONFIG_H 93 DEPDIR = .deps 94 ECHO = echo 95 ECHO_C = 96 ECHO_N = -n 97 ECHO_T = 98 EGREP = grep -E 99 EXEEXT = 100 F77 = g77 101 FFLAGS = -fno-second-underscore -O -fno-f2c 102 GSL_CONFIG = /usr/bin/gsl-config 103 INSTALL_DATA = ${INSTALL} -m 644 104 INSTALL_PROGRAM = ${INSTALL} 105 INSTALL_SCRIPT = ${INSTALL} 106 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s 107 LDFLAGS = 108 LIBOBJS = 109 LIBS = 110 LIBTOOL = $(SHELL) $(top_builddir)/libtool 111 LN_S = ln -s 112 LTLIBOBJS = 113 MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo 114 OBJEXT = o 115 PACKAGE = pslib 116 PACKAGE_BUGREPORT = 117 PACKAGE_NAME = 118 PACKAGE_STRING = 119 PACKAGE_TARNAME = 120 PACKAGE_VERSION = 121 PATH_SEPARATOR = : 122 PERL = /usr/bin/perl 123 PSLIB_CFLAGS = -I${prefix}/include 124 PSLIB_LIBS = -L${exec_prefix}/lib -lpslib -lcfitsio -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm 125 RANLIB = ranlib 126 SET_MAKE = 127 SHELL = /bin/sh 128 STRIP = strip 129 SWIG = /usr/bin/swig 130 VERSION = 1.5 131 XML_CONFIG = /usr/bin/xml2-config 132 ac_ct_AR = ar 133 ac_ct_CC = gcc 134 ac_ct_CXX = g++ 135 ac_ct_F77 = g77 136 ac_ct_RANLIB = ranlib 137 ac_ct_STRIP = strip 138 am__fastdepCC_FALSE = # 139 am__fastdepCC_TRUE = 140 am__fastdepCXX_FALSE = # 141 am__fastdepCXX_TRUE = 142 am__include = include 143 am__leading_dot = . 144 am__quote = 145 am__tar = ${AMTAR} chof - "$$tardir" 146 am__untar = ${AMTAR} xf - 147 bindir = ${exec_prefix}/bin 148 build = x86_64-unknown-linux-gnu 149 build_alias = 150 build_cpu = x86_64 151 build_os = linux-gnu 152 build_vendor = unknown 153 datadir = ${prefix}/share 154 exec_prefix = ${prefix} 155 host = x86_64-unknown-linux-gnu 156 host_alias = 157 host_cpu = x86_64 158 host_os = linux-gnu 159 host_vendor = unknown 160 includedir = ${prefix}/include 161 infodir = ${prefix}/info 162 install_sh = /home/desonia/panstarrs/psLib/install-sh 163 libdir = ${exec_prefix}/lib 164 libexecdir = ${exec_prefix}/libexec 165 localstatedir = ${prefix}/var 166 mandir = ${prefix}/man 167 mkdir_p = mkdir -p -- 168 oldincludedir = /usr/include 169 prefix = /home/desonia/panstarrs/psLib 170 program_transform_name = s,x,x, 171 sbindir = ${exec_prefix}/sbin 172 sharedstatedir = ${prefix}/com 173 sysconfdir = ${prefix}/etc 174 target_alias = 175 176 #Makefile for astronomy functions of psLib 177 # 178 INCLUDES = \ 179 -I$(top_srcdir)/src \ 180 -I$(top_srcdir)/src/astronomy \ 181 -I$(top_srcdir)/src/collections \ 182 -I$(top_srcdir)/src/dataManip \ 183 -I$(top_srcdir)/src/fileUtils \ 184 -I$(top_srcdir)/src/image \ 185 -I$(top_srcdir)/src/sysUtils \ 186 $(all_includes) 187 188 AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs` 189 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 190 TESTS = \ 191 tst_psLookupTable_01 \ 22 192 tst_psFits 23 193 24 OBJS = $(addprefix builddir/,$(addsuffix .o,$(TARGET))) 25 26 all: $(TARGET) 27 28 clean: 29 @echo " Deleting executable and binary files for 'test/fileUtils'" 30 $(RM) $(OBJS) 31 32 distclean: clean 33 $(RM) $(TARGET) 34 35 install: $(testbindir) $(testbindir)/verified $(TARGET) 36 install $(TARGET) $(testbindir) 37 install verified/*.stderr verified/*.stdout $(testbindir)/verified 38 39 $(testbindir): 40 mkdir -p $(testbindir) 41 42 $(testbindir)/verified: 43 mkdir -p $(testbindir)/verified 44 194 tst_psLookupTable_01_SOURCES = tst_psLookupTable_01.c 195 tst_psFits_SOURCES = tst_psFits.c 196 all: all-am 197 198 .SUFFIXES: 199 .SUFFIXES: .c .lo .o .obj 200 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 201 @for dep in $?; do \ 202 case '$(am__configure_deps)' in \ 203 *$$dep*) \ 204 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 205 && exit 0; \ 206 exit 1;; \ 207 esac; \ 208 done; \ 209 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/fileUtils/Makefile'; \ 210 cd $(top_srcdir) && \ 211 $(AUTOMAKE) --gnu test/fileUtils/Makefile 212 .PRECIOUS: Makefile 213 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 214 @case '$?' in \ 215 *config.status*) \ 216 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 217 *) \ 218 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 219 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 220 esac; 221 222 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 223 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 224 225 $(top_srcdir)/configure: $(am__configure_deps) 226 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 227 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 228 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 229 230 clean-checkPROGRAMS: 231 @list='$(check_PROGRAMS)'; for p in $$list; do \ 232 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ 233 echo " rm -f $$p $$f"; \ 234 rm -f $$p $$f ; \ 235 done 236 tst_psFits$(EXEEXT): $(tst_psFits_OBJECTS) $(tst_psFits_DEPENDENCIES) 237 @rm -f tst_psFits$(EXEEXT) 238 $(LINK) $(tst_psFits_LDFLAGS) $(tst_psFits_OBJECTS) $(tst_psFits_LDADD) $(LIBS) 239 tst_psLookupTable_01$(EXEEXT): $(tst_psLookupTable_01_OBJECTS) $(tst_psLookupTable_01_DEPENDENCIES) 240 @rm -f tst_psLookupTable_01$(EXEEXT) 241 $(LINK) $(tst_psLookupTable_01_LDFLAGS) $(tst_psLookupTable_01_OBJECTS) $(tst_psLookupTable_01_LDADD) $(LIBS) 242 243 mostlyclean-compile: 244 -rm -f *.$(OBJEXT) 245 246 distclean-compile: 247 -rm -f *.tab.c 248 249 include ./$(DEPDIR)/tst_psFits.Po 250 include ./$(DEPDIR)/tst_psLookupTable_01.Po 251 252 .c.o: 253 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 254 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 255 # source='$<' object='$@' libtool=no \ 256 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 257 # $(COMPILE) -c $< 258 259 .c.obj: 260 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 261 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 262 # source='$<' object='$@' libtool=no \ 263 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 264 # $(COMPILE) -c `$(CYGPATH_W) '$<'` 265 266 .c.lo: 267 if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 268 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 269 # source='$<' object='$@' libtool=yes \ 270 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 271 # $(LTCOMPILE) -c -o $@ $< 272 273 mostlyclean-libtool: 274 -rm -f *.lo 275 276 clean-libtool: 277 -rm -rf .libs _libs 278 279 distclean-libtool: 280 -rm -f libtool 281 uninstall-info-am: 282 283 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 284 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 285 unique=`for i in $$list; do \ 286 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 287 done | \ 288 $(AWK) ' { files[$$0] = 1; } \ 289 END { for (i in files) print i; }'`; \ 290 mkid -fID $$unique 291 tags: TAGS 292 293 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 294 $(TAGS_FILES) $(LISP) 295 tags=; \ 296 here=`pwd`; \ 297 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 298 unique=`for i in $$list; do \ 299 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 300 done | \ 301 $(AWK) ' { files[$$0] = 1; } \ 302 END { for (i in files) print i; }'`; \ 303 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 304 test -n "$$unique" || unique=$$empty_fix; \ 305 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 306 $$tags $$unique; \ 307 fi 308 ctags: CTAGS 309 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 310 $(TAGS_FILES) $(LISP) 311 tags=; \ 312 here=`pwd`; \ 313 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 314 unique=`for i in $$list; do \ 315 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 316 done | \ 317 $(AWK) ' { files[$$0] = 1; } \ 318 END { for (i in files) print i; }'`; \ 319 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 320 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 321 $$tags $$unique 322 323 GTAGS: 324 here=`$(am__cd) $(top_builddir) && pwd` \ 325 && cd $(top_srcdir) \ 326 && gtags -i $(GTAGS_ARGS) $$here 327 328 distclean-tags: 329 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 330 331 check-TESTS: $(TESTS) 332 @failed=0; all=0; xfail=0; xpass=0; skip=0; \ 333 srcdir=$(srcdir); export srcdir; \ 334 list='$(TESTS)'; \ 335 if test -n "$$list"; then \ 336 for tst in $$list; do \ 337 if test -f ./$$tst; then dir=./; \ 338 elif test -f $$tst; then dir=; \ 339 else dir="$(srcdir)/"; fi; \ 340 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ 341 all=`expr $$all + 1`; \ 342 case " $(XFAIL_TESTS) " in \ 343 *" $$tst "*) \ 344 xpass=`expr $$xpass + 1`; \ 345 failed=`expr $$failed + 1`; \ 346 echo "XPASS: $$tst"; \ 347 ;; \ 348 *) \ 349 echo "PASS: $$tst"; \ 350 ;; \ 351 esac; \ 352 elif test $$? -ne 77; then \ 353 all=`expr $$all + 1`; \ 354 case " $(XFAIL_TESTS) " in \ 355 *" $$tst "*) \ 356 xfail=`expr $$xfail + 1`; \ 357 echo "XFAIL: $$tst"; \ 358 ;; \ 359 *) \ 360 failed=`expr $$failed + 1`; \ 361 echo "FAIL: $$tst"; \ 362 ;; \ 363 esac; \ 364 else \ 365 skip=`expr $$skip + 1`; \ 366 echo "SKIP: $$tst"; \ 367 fi; \ 368 done; \ 369 if test "$$failed" -eq 0; then \ 370 if test "$$xfail" -eq 0; then \ 371 banner="All $$all tests passed"; \ 372 else \ 373 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ 374 fi; \ 375 else \ 376 if test "$$xpass" -eq 0; then \ 377 banner="$$failed of $$all tests failed"; \ 378 else \ 379 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ 380 fi; \ 381 fi; \ 382 dashes="$$banner"; \ 383 skipped=""; \ 384 if test "$$skip" -ne 0; then \ 385 skipped="($$skip tests were not run)"; \ 386 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ 387 dashes="$$skipped"; \ 388 fi; \ 389 report=""; \ 390 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ 391 report="Please report to $(PACKAGE_BUGREPORT)"; \ 392 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ 393 dashes="$$report"; \ 394 fi; \ 395 dashes=`echo "$$dashes" | sed s/./=/g`; \ 396 echo "$$dashes"; \ 397 echo "$$banner"; \ 398 test -z "$$skipped" || echo "$$skipped"; \ 399 test -z "$$report" || echo "$$report"; \ 400 echo "$$dashes"; \ 401 test "$$failed" -eq 0; \ 402 else :; fi 403 404 distdir: $(DISTFILES) 405 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 406 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 407 list='$(DISTFILES)'; for file in $$list; do \ 408 case $$file in \ 409 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 410 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 411 esac; \ 412 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 413 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 414 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 415 dir="/$$dir"; \ 416 $(mkdir_p) "$(distdir)$$dir"; \ 417 else \ 418 dir=''; \ 419 fi; \ 420 if test -d $$d/$$file; then \ 421 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 422 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 423 fi; \ 424 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 425 else \ 426 test -f $(distdir)/$$file \ 427 || cp -p $$d/$$file $(distdir)/$$file \ 428 || exit 1; \ 429 fi; \ 430 done 431 check-am: all-am 432 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) 433 $(MAKE) $(AM_MAKEFLAGS) check-TESTS 434 check: check-am 435 all-am: Makefile 436 installdirs: 437 install: install-am 438 install-exec: install-exec-am 439 install-data: install-data-am 440 uninstall: uninstall-am 441 442 install-am: all-am 443 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 444 445 installcheck: installcheck-am 446 install-strip: 447 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 448 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 449 `test -z '$(STRIP)' || \ 450 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 451 mostlyclean-generic: 452 453 clean-generic: 454 455 distclean-generic: 456 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 457 458 maintainer-clean-generic: 459 @echo "This command is intended for maintainers to use" 460 @echo "it deletes files that may require special tools to rebuild." 461 clean: clean-am 462 463 clean-am: clean-checkPROGRAMS clean-generic clean-libtool \ 464 mostlyclean-am 465 466 distclean: distclean-am 467 -rm -rf ./$(DEPDIR) 468 -rm -f Makefile 469 distclean-am: clean-am distclean-compile distclean-generic \ 470 distclean-libtool distclean-tags 471 472 dvi: dvi-am 473 474 dvi-am: 475 476 html: html-am 477 478 info: info-am 479 480 info-am: 481 482 install-data-am: 483 484 install-exec-am: 485 486 install-info: install-info-am 487 488 install-man: 489 490 installcheck-am: 491 492 maintainer-clean: maintainer-clean-am 493 -rm -rf ./$(DEPDIR) 494 -rm -f Makefile 495 maintainer-clean-am: distclean-am maintainer-clean-generic 496 497 mostlyclean: mostlyclean-am 498 499 mostlyclean-am: mostlyclean-compile mostlyclean-generic \ 500 mostlyclean-libtool 501 502 pdf: pdf-am 503 504 pdf-am: 505 506 ps: ps-am 507 508 ps-am: 509 510 uninstall-am: uninstall-info-am 511 512 .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \ 513 clean-checkPROGRAMS clean-generic clean-libtool ctags \ 514 distclean distclean-compile distclean-generic \ 515 distclean-libtool distclean-tags distdir dvi dvi-am html \ 516 html-am info info-am install install-am install-data \ 517 install-data-am install-exec install-exec-am install-info \ 518 install-info-am install-man install-strip installcheck \ 519 installcheck-am installdirs maintainer-clean \ 520 maintainer-clean-generic mostlyclean mostlyclean-compile \ 521 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ 522 tags uninstall uninstall-am uninstall-info-am 523 524 tests: $(TESTS) 525 # Tell versions [3.59,3.63) of GNU make to not export all variables. 526 # Otherwise a system limit (for SysV at least) may be exceeded. 527 .NOEXPORT: -
trunk/psLib/test/fileUtils/tst_psFits.c
r3037 r3115 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.1 4$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 1-18 19:35:24$8 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-02-03 00:54:12 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 12 12 */ 13 14 #include "psTest.h"15 #include "pslib.h"16 13 17 14 #include <unistd.h> … … 20 17 #include <sys/types.h> 21 18 19 #include "psTest.h" 20 #include "pslib.h" 22 21 23 22 #define GENIMAGE(img,c,r,TYP, valueFcn) \ -
trunk/psLib/test/fileUtils/tst_psLookupTable_01.c
r3056 r3115 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-0 1-19 01:53:00$14 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-02-03 00:54:12 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 19 19 */ 20 20 21 #include <string.h> 22 #include "config.h" 21 23 #include "pslib.h" 22 24 #include "psTest.h" 23 #include <string.h>24 25 26 25 27 26 int main(int argc, char* argv[]) -
trunk/psLib/test/image/Makefile
r2748 r3115 1 ################################################################################ 2 ## 3 ## Makefile: test/collections 4 ## 5 ## $Revision: 1.7 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-12-17 19:48:49 $ 7 ## 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii 9 ## 10 ############################################################################### 11 12 ifndef prefix 13 export prefix=$(shell cd ../..;pwd) 14 endif 15 16 include ../../src/Makefile.Globals 17 18 CFLAGS := -I../../include $(CFLAGS) 19 LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS) 20 21 TARGET = tst_psImage \ 22 tst_psImageFFT \ 23 tst_psImageManip \ 24 tst_psImageStats00 \ 25 tst_psImageStats01 \ 26 tst_psImageStats02 \ 27 tst_psImageStats03 \ 28 tst_psImageStats04 \ 29 tst_psImageExtraction \ 30 tst_psImageConvolve \ 31 tst_psImageIO \ 32 tst_psImageInterpolate 33 34 OBJS = $(addsuffix .o,$(TARGET)) 35 36 all: $(TARGET) 37 38 clean: 39 @echo " Deleting executable and binary files for 'test/collections'" 40 $(RM) $(OBJS) 41 42 distclean: clean 43 $(RM) $(TARGET) 44 45 install: $(testbindir) $(testbindir)/verified $(TARGET) 46 install $(TARGET) $(testbindir) 47 install verified/*.fits verified/*.stderr verified/*.stdout $(testbindir)/verified 48 49 $(testbindir): 50 mkdir -p $(testbindir) 51 52 $(testbindir)/verified: 53 mkdir -p $(testbindir)/verified 54 55 1 # Makefile.in generated by automake 1.9.1 from Makefile.am. 2 # test/image/Makefile. Generated from Makefile.in by configure. 3 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004 Free Software Foundation, Inc. 6 # This Makefile.in is free software; the Free Software Foundation 7 # gives unlimited permission to copy and/or distribute it, 8 # with or without modifications, as long as this notice is preserved. 9 10 # This program is distributed in the hope that it will be useful, 11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 # PARTICULAR PURPOSE. 14 15 16 SOURCES = $(tst_psImage_SOURCES) $(tst_psImageConvolve_SOURCES) $(tst_psImageExtraction_SOURCES) $(tst_psImageFFT_SOURCES) $(tst_psImageIO_SOURCES) $(tst_psImageInterpolate_SOURCES) $(tst_psImageManip_SOURCES) $(tst_psImageStats00_SOURCES) $(tst_psImageStats01_SOURCES) $(tst_psImageStats02_SOURCES) $(tst_psImageStats03_SOURCES) $(tst_psImageStats04_SOURCES) 17 18 srcdir = . 19 top_srcdir = ../.. 20 21 pkgdatadir = $(datadir)/pslib 22 pkglibdir = $(libdir)/pslib 23 pkgincludedir = $(includedir)/pslib 24 top_builddir = ../.. 25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 26 INSTALL = /usr/bin/install -c 27 install_sh_DATA = $(install_sh) -c -m 644 28 install_sh_PROGRAM = $(install_sh) -c 29 install_sh_SCRIPT = $(install_sh) -c 30 INSTALL_HEADER = $(INSTALL_DATA) 31 transform = $(program_transform_name) 32 NORMAL_INSTALL = : 33 PRE_INSTALL = : 34 POST_INSTALL = : 35 NORMAL_UNINSTALL = : 36 PRE_UNINSTALL = : 37 POST_UNINSTALL = : 38 build_triplet = x86_64-unknown-linux-gnu 39 host_triplet = x86_64-unknown-linux-gnu 40 check_PROGRAMS = tst_psImage$(EXEEXT) tst_psImageFFT$(EXEEXT) \ 41 tst_psImageManip$(EXEEXT) tst_psImageStats00$(EXEEXT) \ 42 tst_psImageStats01$(EXEEXT) tst_psImageStats02$(EXEEXT) \ 43 tst_psImageStats03$(EXEEXT) tst_psImageStats04$(EXEEXT) \ 44 tst_psImageExtraction$(EXEEXT) tst_psImageConvolve$(EXEEXT) \ 45 tst_psImageIO$(EXEEXT) tst_psImageInterpolate$(EXEEXT) 46 subdir = test/image 47 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 48 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 49 am__aclocal_m4_deps = $(top_srcdir)/configure.in 50 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 51 $(ACLOCAL_M4) 52 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 53 CONFIG_HEADER = $(top_builddir)/src/config.h 54 CONFIG_CLEAN_FILES = 55 am_tst_psImage_OBJECTS = tst_psImage.$(OBJEXT) 56 tst_psImage_OBJECTS = $(am_tst_psImage_OBJECTS) 57 tst_psImage_LDADD = $(LDADD) 58 am_tst_psImageConvolve_OBJECTS = tst_psImageConvolve.$(OBJEXT) 59 tst_psImageConvolve_OBJECTS = $(am_tst_psImageConvolve_OBJECTS) 60 tst_psImageConvolve_LDADD = $(LDADD) 61 am_tst_psImageExtraction_OBJECTS = tst_psImageExtraction.$(OBJEXT) 62 tst_psImageExtraction_OBJECTS = $(am_tst_psImageExtraction_OBJECTS) 63 tst_psImageExtraction_LDADD = $(LDADD) 64 am_tst_psImageFFT_OBJECTS = tst_psImageFFT.$(OBJEXT) 65 tst_psImageFFT_OBJECTS = $(am_tst_psImageFFT_OBJECTS) 66 tst_psImageFFT_LDADD = $(LDADD) 67 am_tst_psImageIO_OBJECTS = tst_psImageIO.$(OBJEXT) 68 tst_psImageIO_OBJECTS = $(am_tst_psImageIO_OBJECTS) 69 tst_psImageIO_LDADD = $(LDADD) 70 am_tst_psImageInterpolate_OBJECTS = tst_psImageInterpolate.$(OBJEXT) 71 tst_psImageInterpolate_OBJECTS = $(am_tst_psImageInterpolate_OBJECTS) 72 tst_psImageInterpolate_LDADD = $(LDADD) 73 am_tst_psImageManip_OBJECTS = tst_psImageManip.$(OBJEXT) 74 tst_psImageManip_OBJECTS = $(am_tst_psImageManip_OBJECTS) 75 tst_psImageManip_LDADD = $(LDADD) 76 am_tst_psImageStats00_OBJECTS = tst_psImageStats00.$(OBJEXT) 77 tst_psImageStats00_OBJECTS = $(am_tst_psImageStats00_OBJECTS) 78 tst_psImageStats00_LDADD = $(LDADD) 79 am_tst_psImageStats01_OBJECTS = tst_psImageStats01.$(OBJEXT) 80 tst_psImageStats01_OBJECTS = $(am_tst_psImageStats01_OBJECTS) 81 tst_psImageStats01_LDADD = $(LDADD) 82 am_tst_psImageStats02_OBJECTS = tst_psImageStats02.$(OBJEXT) 83 tst_psImageStats02_OBJECTS = $(am_tst_psImageStats02_OBJECTS) 84 tst_psImageStats02_LDADD = $(LDADD) 85 am_tst_psImageStats03_OBJECTS = tst_psImageStats03.$(OBJEXT) 86 tst_psImageStats03_OBJECTS = $(am_tst_psImageStats03_OBJECTS) 87 tst_psImageStats03_LDADD = $(LDADD) 88 am_tst_psImageStats04_OBJECTS = tst_psImageStats04.$(OBJEXT) 89 tst_psImageStats04_OBJECTS = $(am_tst_psImageStats04_OBJECTS) 90 tst_psImageStats04_LDADD = $(LDADD) 91 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src 92 depcomp = $(SHELL) $(top_srcdir)/depcomp 93 am__depfiles_maybe = depfiles 94 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 95 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 96 LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \ 97 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ 98 $(AM_CFLAGS) $(CFLAGS) 99 CCLD = $(CC) 100 LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 101 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 102 SOURCES = $(tst_psImage_SOURCES) $(tst_psImageConvolve_SOURCES) \ 103 $(tst_psImageExtraction_SOURCES) $(tst_psImageFFT_SOURCES) \ 104 $(tst_psImageIO_SOURCES) $(tst_psImageInterpolate_SOURCES) \ 105 $(tst_psImageManip_SOURCES) $(tst_psImageStats00_SOURCES) \ 106 $(tst_psImageStats01_SOURCES) $(tst_psImageStats02_SOURCES) \ 107 $(tst_psImageStats03_SOURCES) $(tst_psImageStats04_SOURCES) 108 DIST_SOURCES = $(tst_psImage_SOURCES) $(tst_psImageConvolve_SOURCES) \ 109 $(tst_psImageExtraction_SOURCES) $(tst_psImageFFT_SOURCES) \ 110 $(tst_psImageIO_SOURCES) $(tst_psImageInterpolate_SOURCES) \ 111 $(tst_psImageManip_SOURCES) $(tst_psImageStats00_SOURCES) \ 112 $(tst_psImageStats01_SOURCES) $(tst_psImageStats02_SOURCES) \ 113 $(tst_psImageStats03_SOURCES) $(tst_psImageStats04_SOURCES) 114 ETAGS = etags 115 CTAGS = ctags 116 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 117 ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9 118 AMDEP_FALSE = # 119 AMDEP_TRUE = 120 AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar 121 AR = ar 122 AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf 123 AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader 124 AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9 125 AWK = gawk 126 CC = gcc 127 CCDEPMODE = depmode=gcc3 128 CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE -I/usr/include -I/usr/include/libxml2 129 CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config 130 CPP = gcc -E 131 CPPFLAGS = 132 CXX = g++ 133 CXXCPP = g++ -E 134 CXXDEPMODE = depmode=gcc3 135 CXXFLAGS = -g -O2 136 CYGPATH_W = echo 137 DEFS = -DHAVE_CONFIG_H 138 DEPDIR = .deps 139 ECHO = echo 140 ECHO_C = 141 ECHO_N = -n 142 ECHO_T = 143 EGREP = grep -E 144 EXEEXT = 145 F77 = g77 146 FFLAGS = -fno-second-underscore -O -fno-f2c 147 GSL_CONFIG = /usr/bin/gsl-config 148 INSTALL_DATA = ${INSTALL} -m 644 149 INSTALL_PROGRAM = ${INSTALL} 150 INSTALL_SCRIPT = ${INSTALL} 151 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s 152 LDFLAGS = 153 LIBOBJS = 154 LIBS = 155 LIBTOOL = $(SHELL) $(top_builddir)/libtool 156 LN_S = ln -s 157 LTLIBOBJS = 158 MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo 159 OBJEXT = o 160 PACKAGE = pslib 161 PACKAGE_BUGREPORT = 162 PACKAGE_NAME = 163 PACKAGE_STRING = 164 PACKAGE_TARNAME = 165 PACKAGE_VERSION = 166 PATH_SEPARATOR = : 167 PERL = /usr/bin/perl 168 PSLIB_CFLAGS = -I${prefix}/include 169 PSLIB_LIBS = -L${exec_prefix}/lib -lpslib -lcfitsio -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm 170 RANLIB = ranlib 171 SET_MAKE = 172 SHELL = /bin/sh 173 STRIP = strip 174 SWIG = /usr/bin/swig 175 VERSION = 1.5 176 XML_CONFIG = /usr/bin/xml2-config 177 ac_ct_AR = ar 178 ac_ct_CC = gcc 179 ac_ct_CXX = g++ 180 ac_ct_F77 = g77 181 ac_ct_RANLIB = ranlib 182 ac_ct_STRIP = strip 183 am__fastdepCC_FALSE = # 184 am__fastdepCC_TRUE = 185 am__fastdepCXX_FALSE = # 186 am__fastdepCXX_TRUE = 187 am__include = include 188 am__leading_dot = . 189 am__quote = 190 am__tar = ${AMTAR} chof - "$$tardir" 191 am__untar = ${AMTAR} xf - 192 bindir = ${exec_prefix}/bin 193 build = x86_64-unknown-linux-gnu 194 build_alias = 195 build_cpu = x86_64 196 build_os = linux-gnu 197 build_vendor = unknown 198 datadir = ${prefix}/share 199 exec_prefix = ${prefix} 200 host = x86_64-unknown-linux-gnu 201 host_alias = 202 host_cpu = x86_64 203 host_os = linux-gnu 204 host_vendor = unknown 205 includedir = ${prefix}/include 206 infodir = ${prefix}/info 207 install_sh = /home/desonia/panstarrs/psLib/install-sh 208 libdir = ${exec_prefix}/lib 209 libexecdir = ${exec_prefix}/libexec 210 localstatedir = ${prefix}/var 211 mandir = ${prefix}/man 212 mkdir_p = mkdir -p -- 213 oldincludedir = /usr/include 214 prefix = /home/desonia/panstarrs/psLib 215 program_transform_name = s,x,x, 216 sbindir = ${exec_prefix}/sbin 217 sharedstatedir = ${prefix}/com 218 sysconfdir = ${prefix}/etc 219 target_alias = 220 221 #Makefile for astronomy functions of psLib 222 # 223 INCLUDES = \ 224 -I$(top_srcdir)/src \ 225 -I$(top_srcdir)/src/astronomy \ 226 -I$(top_srcdir)/src/collections \ 227 -I$(top_srcdir)/src/dataManip \ 228 -I$(top_srcdir)/src/fileUtils \ 229 -I$(top_srcdir)/src/image \ 230 -I$(top_srcdir)/src/sysUtils \ 231 $(all_includes) 232 233 AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs` 234 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 235 TESTS = \ 236 tst_psImage \ 237 tst_psImageFFT \ 238 tst_psImageManip \ 239 tst_psImageStats00 \ 240 tst_psImageStats01 \ 241 tst_psImageStats02 \ 242 tst_psImageStats03 \ 243 tst_psImageStats04 \ 244 tst_psImageExtraction \ 245 tst_psImageConvolve \ 246 tst_psImageIO \ 247 tst_psImageInterpolate 248 249 tst_psImage_SOURCES = tst_psImage.c 250 tst_psImageFFT_SOURCES = tst_psImageFFT.c 251 tst_psImageManip_SOURCES = tst_psImageManip.c 252 tst_psImageStats00_SOURCES = tst_psImageStats00.c 253 tst_psImageStats01_SOURCES = tst_psImageStats01.c 254 tst_psImageStats02_SOURCES = tst_psImageStats02.c 255 tst_psImageStats03_SOURCES = tst_psImageStats03.c 256 tst_psImageStats04_SOURCES = tst_psImageStats04.c 257 tst_psImageExtraction_SOURCES = tst_psImageExtraction.c 258 tst_psImageConvolve_SOURCES = tst_psImageConvolve.c 259 tst_psImageIO_SOURCES = tst_psImageIO.c 260 tst_psImageInterpolate_SOURCES = tst_psImageInterpolate.c 261 all: all-am 262 263 .SUFFIXES: 264 .SUFFIXES: .c .lo .o .obj 265 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 266 @for dep in $?; do \ 267 case '$(am__configure_deps)' in \ 268 *$$dep*) \ 269 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 270 && exit 0; \ 271 exit 1;; \ 272 esac; \ 273 done; \ 274 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/image/Makefile'; \ 275 cd $(top_srcdir) && \ 276 $(AUTOMAKE) --gnu test/image/Makefile 277 .PRECIOUS: Makefile 278 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 279 @case '$?' in \ 280 *config.status*) \ 281 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 282 *) \ 283 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 284 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 285 esac; 286 287 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 288 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 289 290 $(top_srcdir)/configure: $(am__configure_deps) 291 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 292 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 293 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 294 295 clean-checkPROGRAMS: 296 @list='$(check_PROGRAMS)'; for p in $$list; do \ 297 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ 298 echo " rm -f $$p $$f"; \ 299 rm -f $$p $$f ; \ 300 done 301 tst_psImage$(EXEEXT): $(tst_psImage_OBJECTS) $(tst_psImage_DEPENDENCIES) 302 @rm -f tst_psImage$(EXEEXT) 303 $(LINK) $(tst_psImage_LDFLAGS) $(tst_psImage_OBJECTS) $(tst_psImage_LDADD) $(LIBS) 304 tst_psImageConvolve$(EXEEXT): $(tst_psImageConvolve_OBJECTS) $(tst_psImageConvolve_DEPENDENCIES) 305 @rm -f tst_psImageConvolve$(EXEEXT) 306 $(LINK) $(tst_psImageConvolve_LDFLAGS) $(tst_psImageConvolve_OBJECTS) $(tst_psImageConvolve_LDADD) $(LIBS) 307 tst_psImageExtraction$(EXEEXT): $(tst_psImageExtraction_OBJECTS) $(tst_psImageExtraction_DEPENDENCIES) 308 @rm -f tst_psImageExtraction$(EXEEXT) 309 $(LINK) $(tst_psImageExtraction_LDFLAGS) $(tst_psImageExtraction_OBJECTS) $(tst_psImageExtraction_LDADD) $(LIBS) 310 tst_psImageFFT$(EXEEXT): $(tst_psImageFFT_OBJECTS) $(tst_psImageFFT_DEPENDENCIES) 311 @rm -f tst_psImageFFT$(EXEEXT) 312 $(LINK) $(tst_psImageFFT_LDFLAGS) $(tst_psImageFFT_OBJECTS) $(tst_psImageFFT_LDADD) $(LIBS) 313 tst_psImageIO$(EXEEXT): $(tst_psImageIO_OBJECTS) $(tst_psImageIO_DEPENDENCIES) 314 @rm -f tst_psImageIO$(EXEEXT) 315 $(LINK) $(tst_psImageIO_LDFLAGS) $(tst_psImageIO_OBJECTS) $(tst_psImageIO_LDADD) $(LIBS) 316 tst_psImageInterpolate$(EXEEXT): $(tst_psImageInterpolate_OBJECTS) $(tst_psImageInterpolate_DEPENDENCIES) 317 @rm -f tst_psImageInterpolate$(EXEEXT) 318 $(LINK) $(tst_psImageInterpolate_LDFLAGS) $(tst_psImageInterpolate_OBJECTS) $(tst_psImageInterpolate_LDADD) $(LIBS) 319 tst_psImageManip$(EXEEXT): $(tst_psImageManip_OBJECTS) $(tst_psImageManip_DEPENDENCIES) 320 @rm -f tst_psImageManip$(EXEEXT) 321 $(LINK) $(tst_psImageManip_LDFLAGS) $(tst_psImageManip_OBJECTS) $(tst_psImageManip_LDADD) $(LIBS) 322 tst_psImageStats00$(EXEEXT): $(tst_psImageStats00_OBJECTS) $(tst_psImageStats00_DEPENDENCIES) 323 @rm -f tst_psImageStats00$(EXEEXT) 324 $(LINK) $(tst_psImageStats00_LDFLAGS) $(tst_psImageStats00_OBJECTS) $(tst_psImageStats00_LDADD) $(LIBS) 325 tst_psImageStats01$(EXEEXT): $(tst_psImageStats01_OBJECTS) $(tst_psImageStats01_DEPENDENCIES) 326 @rm -f tst_psImageStats01$(EXEEXT) 327 $(LINK) $(tst_psImageStats01_LDFLAGS) $(tst_psImageStats01_OBJECTS) $(tst_psImageStats01_LDADD) $(LIBS) 328 tst_psImageStats02$(EXEEXT): $(tst_psImageStats02_OBJECTS) $(tst_psImageStats02_DEPENDENCIES) 329 @rm -f tst_psImageStats02$(EXEEXT) 330 $(LINK) $(tst_psImageStats02_LDFLAGS) $(tst_psImageStats02_OBJECTS) $(tst_psImageStats02_LDADD) $(LIBS) 331 tst_psImageStats03$(EXEEXT): $(tst_psImageStats03_OBJECTS) $(tst_psImageStats03_DEPENDENCIES) 332 @rm -f tst_psImageStats03$(EXEEXT) 333 $(LINK) $(tst_psImageStats03_LDFLAGS) $(tst_psImageStats03_OBJECTS) $(tst_psImageStats03_LDADD) $(LIBS) 334 tst_psImageStats04$(EXEEXT): $(tst_psImageStats04_OBJECTS) $(tst_psImageStats04_DEPENDENCIES) 335 @rm -f tst_psImageStats04$(EXEEXT) 336 $(LINK) $(tst_psImageStats04_LDFLAGS) $(tst_psImageStats04_OBJECTS) $(tst_psImageStats04_LDADD) $(LIBS) 337 338 mostlyclean-compile: 339 -rm -f *.$(OBJEXT) 340 341 distclean-compile: 342 -rm -f *.tab.c 343 344 include ./$(DEPDIR)/tst_psImage.Po 345 include ./$(DEPDIR)/tst_psImageConvolve.Po 346 include ./$(DEPDIR)/tst_psImageExtraction.Po 347 include ./$(DEPDIR)/tst_psImageFFT.Po 348 include ./$(DEPDIR)/tst_psImageIO.Po 349 include ./$(DEPDIR)/tst_psImageInterpolate.Po 350 include ./$(DEPDIR)/tst_psImageManip.Po 351 include ./$(DEPDIR)/tst_psImageStats00.Po 352 include ./$(DEPDIR)/tst_psImageStats01.Po 353 include ./$(DEPDIR)/tst_psImageStats02.Po 354 include ./$(DEPDIR)/tst_psImageStats03.Po 355 include ./$(DEPDIR)/tst_psImageStats04.Po 356 357 .c.o: 358 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 359 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 360 # source='$<' object='$@' libtool=no \ 361 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 362 # $(COMPILE) -c $< 363 364 .c.obj: 365 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 366 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 367 # source='$<' object='$@' libtool=no \ 368 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 369 # $(COMPILE) -c `$(CYGPATH_W) '$<'` 370 371 .c.lo: 372 if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 373 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 374 # source='$<' object='$@' libtool=yes \ 375 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 376 # $(LTCOMPILE) -c -o $@ $< 377 378 mostlyclean-libtool: 379 -rm -f *.lo 380 381 clean-libtool: 382 -rm -rf .libs _libs 383 384 distclean-libtool: 385 -rm -f libtool 386 uninstall-info-am: 387 388 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 389 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 390 unique=`for i in $$list; do \ 391 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 392 done | \ 393 $(AWK) ' { files[$$0] = 1; } \ 394 END { for (i in files) print i; }'`; \ 395 mkid -fID $$unique 396 tags: TAGS 397 398 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 399 $(TAGS_FILES) $(LISP) 400 tags=; \ 401 here=`pwd`; \ 402 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 403 unique=`for i in $$list; do \ 404 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 405 done | \ 406 $(AWK) ' { files[$$0] = 1; } \ 407 END { for (i in files) print i; }'`; \ 408 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 409 test -n "$$unique" || unique=$$empty_fix; \ 410 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 411 $$tags $$unique; \ 412 fi 413 ctags: CTAGS 414 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 415 $(TAGS_FILES) $(LISP) 416 tags=; \ 417 here=`pwd`; \ 418 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 419 unique=`for i in $$list; do \ 420 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 421 done | \ 422 $(AWK) ' { files[$$0] = 1; } \ 423 END { for (i in files) print i; }'`; \ 424 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 425 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 426 $$tags $$unique 427 428 GTAGS: 429 here=`$(am__cd) $(top_builddir) && pwd` \ 430 && cd $(top_srcdir) \ 431 && gtags -i $(GTAGS_ARGS) $$here 432 433 distclean-tags: 434 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 435 436 check-TESTS: $(TESTS) 437 @failed=0; all=0; xfail=0; xpass=0; skip=0; \ 438 srcdir=$(srcdir); export srcdir; \ 439 list='$(TESTS)'; \ 440 if test -n "$$list"; then \ 441 for tst in $$list; do \ 442 if test -f ./$$tst; then dir=./; \ 443 elif test -f $$tst; then dir=; \ 444 else dir="$(srcdir)/"; fi; \ 445 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ 446 all=`expr $$all + 1`; \ 447 case " $(XFAIL_TESTS) " in \ 448 *" $$tst "*) \ 449 xpass=`expr $$xpass + 1`; \ 450 failed=`expr $$failed + 1`; \ 451 echo "XPASS: $$tst"; \ 452 ;; \ 453 *) \ 454 echo "PASS: $$tst"; \ 455 ;; \ 456 esac; \ 457 elif test $$? -ne 77; then \ 458 all=`expr $$all + 1`; \ 459 case " $(XFAIL_TESTS) " in \ 460 *" $$tst "*) \ 461 xfail=`expr $$xfail + 1`; \ 462 echo "XFAIL: $$tst"; \ 463 ;; \ 464 *) \ 465 failed=`expr $$failed + 1`; \ 466 echo "FAIL: $$tst"; \ 467 ;; \ 468 esac; \ 469 else \ 470 skip=`expr $$skip + 1`; \ 471 echo "SKIP: $$tst"; \ 472 fi; \ 473 done; \ 474 if test "$$failed" -eq 0; then \ 475 if test "$$xfail" -eq 0; then \ 476 banner="All $$all tests passed"; \ 477 else \ 478 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ 479 fi; \ 480 else \ 481 if test "$$xpass" -eq 0; then \ 482 banner="$$failed of $$all tests failed"; \ 483 else \ 484 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ 485 fi; \ 486 fi; \ 487 dashes="$$banner"; \ 488 skipped=""; \ 489 if test "$$skip" -ne 0; then \ 490 skipped="($$skip tests were not run)"; \ 491 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ 492 dashes="$$skipped"; \ 493 fi; \ 494 report=""; \ 495 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ 496 report="Please report to $(PACKAGE_BUGREPORT)"; \ 497 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ 498 dashes="$$report"; \ 499 fi; \ 500 dashes=`echo "$$dashes" | sed s/./=/g`; \ 501 echo "$$dashes"; \ 502 echo "$$banner"; \ 503 test -z "$$skipped" || echo "$$skipped"; \ 504 test -z "$$report" || echo "$$report"; \ 505 echo "$$dashes"; \ 506 test "$$failed" -eq 0; \ 507 else :; fi 508 509 distdir: $(DISTFILES) 510 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 511 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 512 list='$(DISTFILES)'; for file in $$list; do \ 513 case $$file in \ 514 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 515 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 516 esac; \ 517 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 518 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 519 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 520 dir="/$$dir"; \ 521 $(mkdir_p) "$(distdir)$$dir"; \ 522 else \ 523 dir=''; \ 524 fi; \ 525 if test -d $$d/$$file; then \ 526 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 527 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 528 fi; \ 529 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 530 else \ 531 test -f $(distdir)/$$file \ 532 || cp -p $$d/$$file $(distdir)/$$file \ 533 || exit 1; \ 534 fi; \ 535 done 536 check-am: all-am 537 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) 538 $(MAKE) $(AM_MAKEFLAGS) check-TESTS 539 check: check-am 540 all-am: Makefile 541 installdirs: 542 install: install-am 543 install-exec: install-exec-am 544 install-data: install-data-am 545 uninstall: uninstall-am 546 547 install-am: all-am 548 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 549 550 installcheck: installcheck-am 551 install-strip: 552 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 553 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 554 `test -z '$(STRIP)' || \ 555 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 556 mostlyclean-generic: 557 558 clean-generic: 559 560 distclean-generic: 561 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 562 563 maintainer-clean-generic: 564 @echo "This command is intended for maintainers to use" 565 @echo "it deletes files that may require special tools to rebuild." 566 clean: clean-am 567 568 clean-am: clean-checkPROGRAMS clean-generic clean-libtool \ 569 mostlyclean-am 570 571 distclean: distclean-am 572 -rm -rf ./$(DEPDIR) 573 -rm -f Makefile 574 distclean-am: clean-am distclean-compile distclean-generic \ 575 distclean-libtool distclean-tags 576 577 dvi: dvi-am 578 579 dvi-am: 580 581 html: html-am 582 583 info: info-am 584 585 info-am: 586 587 install-data-am: 588 589 install-exec-am: 590 591 install-info: install-info-am 592 593 install-man: 594 595 installcheck-am: 596 597 maintainer-clean: maintainer-clean-am 598 -rm -rf ./$(DEPDIR) 599 -rm -f Makefile 600 maintainer-clean-am: distclean-am maintainer-clean-generic 601 602 mostlyclean: mostlyclean-am 603 604 mostlyclean-am: mostlyclean-compile mostlyclean-generic \ 605 mostlyclean-libtool 606 607 pdf: pdf-am 608 609 pdf-am: 610 611 ps: ps-am 612 613 ps-am: 614 615 uninstall-am: uninstall-info-am 616 617 .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \ 618 clean-checkPROGRAMS clean-generic clean-libtool ctags \ 619 distclean distclean-compile distclean-generic \ 620 distclean-libtool distclean-tags distdir dvi dvi-am html \ 621 html-am info info-am install install-am install-data \ 622 install-data-am install-exec install-exec-am install-info \ 623 install-info-am install-man install-strip installcheck \ 624 installcheck-am installdirs maintainer-clean \ 625 maintainer-clean-generic mostlyclean mostlyclean-compile \ 626 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ 627 tags uninstall uninstall-am uninstall-info-am 628 629 tests: $(TESTS) 630 # Tell versions [3.59,3.63) of GNU make to not export all variables. 631 # Otherwise a system limit (for SysV at least) may be exceeded. 632 .NOEXPORT: -
trunk/psLib/test/runTest
r2729 r3115 18 18 # 0 Test run successfull and all tests passed 19 19 # 1 Verified directory did not exist 20 # 2 Verified STDOUT file did not exist21 # 4 Verified STDERR file did not exist22 20 # 8 STDOUT files did not compare 23 21 # 16 STDERR files did not compare … … 30 28 # 31 29 # $Revison: $ $Name: not supported by cvs2svn $ 32 # $Date: 200 4-12-16 21:32:39$30 # $Date: 2005-02-03 00:54:12 $ 33 31 # 34 32 # Copyright 2004 Maui High Performance Computering Center, University of Hawaii … … 62 60 63 61 # Set up the PSLIB_ROOT environment variable if the user doesn't have it set 64 if ( !$ENV{'PSLIB_ROOT'} ) { 65 66 # Use the directory directly above test 67 $PSLIB_ROOT = `cd ..;pwd`; 68 69 # Remove newline for the end of path returned 70 chomp($PSLIB_ROOT); 71 72 # Set the environment variable 73 $ENV{'PSLIB_ROOT'} = $PSLIB_ROOT; 74 75 # Display message that PSLIB_ROOT not found and set to 76 print("PSLIB_ROOT not found: set to $PSLIB_ROOT\n"); 77 } 78 79 # Add PSLIB_ROOT/lib to LD_LIBRARY_PATH and DYLD_LIBRARY_PATH environment vars 80 $ENV{'LD_LIBRARY_PATH'} = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'LD_LIBRARY_PATH'}"; 81 $ENV{'DYLD_LIBRARY_PATH'} = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'DYLD_LIBRARY_PATH'}"; 62 if ( $ENV{'PSLIB_ROOT'} ) { 63 64 # Add PSLIB_ROOT/lib to LD_LIBRARY_PATH and DYLD_LIBRARY_PATH environment vars 65 $ENV{'LD_LIBRARY_PATH'} = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'LD_LIBRARY_PATH'}"; 66 $ENV{'DYLD_LIBRARY_PATH'} = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'DYLD_LIBRARY_PATH'}"; 67 } 82 68 83 69 # Loop through the arguements passed to the script … … 337 323 # Display message to user that verified STDOUT file doesn't exist 338 324 print(" File $streamFile doesn't exist.\n"); 339 340 # Set exit value bit 1 to indicate proper failure341 if ( $streamFile =~ /out$/ ) {342 $returnVal |= 2;343 }344 elsif ( $streamFile =~ /err$/ ) {345 $returnVal |= 4;346 }347 325 } 348 326 else { -
trunk/psLib/test/sysUtils/Makefile
r2865 r3115 1 ################################################################################ 2 ## 3 ## Makefile: test/sysUtils 4 ## 5 ## $Revision: 1.22 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2005-01-03 23:33:20 $ 7 ## 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii 9 ## 10 ############################################################################### 11 12 ifndef prefix 13 export prefix=$(shell cd ../..;pwd) 14 endif 15 16 include ../../src/Makefile.Globals 17 18 CFLAGS := -I../../include $(CFLAGS) 19 LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS) 20 21 TARGET = tst_psAbort \ 22 tst_psMemory \ 23 tst_psError \ 24 tst_psLogMsg \ 25 tst_psStringCopy \ 26 tst_psTrace \ 27 tst_psConfigure 28 29 OBJS = $(addsuffix .o,$(TARGET)) 30 31 all: $(TARGET) 32 33 clean: 34 @echo " Deleting executable and binary files for 'test/collections'" 35 $(RM) $(OBJS) 36 37 distclean: clean 38 $(RM) $(TARGET) 39 40 install: $(testbindir) $(testbindir)/verified $(TARGET) 41 install $(TARGET) $(testbindir) 42 install verified/*.stderr verified/*.stdout $(testbindir)/verified 43 44 $(testbindir): 45 mkdir -p $(testbindir) 46 47 $(testbindir)/verified: 48 mkdir -p $(testbindir)/verified 49 50 1 # Makefile.in generated by automake 1.9.1 from Makefile.am. 2 # test/sysUtils/Makefile. Generated from Makefile.in by configure. 3 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004 Free Software Foundation, Inc. 6 # This Makefile.in is free software; the Free Software Foundation 7 # gives unlimited permission to copy and/or distribute it, 8 # with or without modifications, as long as this notice is preserved. 9 10 # This program is distributed in the hope that it will be useful, 11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 # PARTICULAR PURPOSE. 14 15 16 SOURCES = $(tst_psAbort_SOURCES) $(tst_psConfigure_SOURCES) $(tst_psError_SOURCES) $(tst_psLogMsg_SOURCES) $(tst_psMemory_SOURCES) $(tst_psStringCopy_SOURCES) $(tst_psTrace_SOURCES) 17 18 srcdir = . 19 top_srcdir = ../.. 20 21 pkgdatadir = $(datadir)/pslib 22 pkglibdir = $(libdir)/pslib 23 pkgincludedir = $(includedir)/pslib 24 top_builddir = ../.. 25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 26 INSTALL = /usr/bin/install -c 27 install_sh_DATA = $(install_sh) -c -m 644 28 install_sh_PROGRAM = $(install_sh) -c 29 install_sh_SCRIPT = $(install_sh) -c 30 INSTALL_HEADER = $(INSTALL_DATA) 31 transform = $(program_transform_name) 32 NORMAL_INSTALL = : 33 PRE_INSTALL = : 34 POST_INSTALL = : 35 NORMAL_UNINSTALL = : 36 PRE_UNINSTALL = : 37 POST_UNINSTALL = : 38 build_triplet = x86_64-unknown-linux-gnu 39 host_triplet = x86_64-unknown-linux-gnu 40 check_PROGRAMS = tst_psAbort$(EXEEXT) tst_psMemory$(EXEEXT) \ 41 tst_psError$(EXEEXT) tst_psLogMsg$(EXEEXT) \ 42 tst_psStringCopy$(EXEEXT) tst_psTrace$(EXEEXT) \ 43 tst_psConfigure$(EXEEXT) 44 subdir = test/sysUtils 45 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 46 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 47 am__aclocal_m4_deps = $(top_srcdir)/configure.in 48 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 49 $(ACLOCAL_M4) 50 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 51 CONFIG_HEADER = $(top_builddir)/src/config.h 52 CONFIG_CLEAN_FILES = 53 am_tst_psAbort_OBJECTS = tst_psAbort.$(OBJEXT) 54 tst_psAbort_OBJECTS = $(am_tst_psAbort_OBJECTS) 55 tst_psAbort_LDADD = $(LDADD) 56 am_tst_psConfigure_OBJECTS = tst_psConfigure.$(OBJEXT) 57 tst_psConfigure_OBJECTS = $(am_tst_psConfigure_OBJECTS) 58 tst_psConfigure_LDADD = $(LDADD) 59 am_tst_psError_OBJECTS = tst_psError.$(OBJEXT) 60 tst_psError_OBJECTS = $(am_tst_psError_OBJECTS) 61 tst_psError_LDADD = $(LDADD) 62 am_tst_psLogMsg_OBJECTS = tst_psLogMsg.$(OBJEXT) 63 tst_psLogMsg_OBJECTS = $(am_tst_psLogMsg_OBJECTS) 64 tst_psLogMsg_LDADD = $(LDADD) 65 am_tst_psMemory_OBJECTS = tst_psMemory.$(OBJEXT) 66 tst_psMemory_OBJECTS = $(am_tst_psMemory_OBJECTS) 67 tst_psMemory_LDADD = $(LDADD) 68 am_tst_psStringCopy_OBJECTS = tst_psStringCopy.$(OBJEXT) 69 tst_psStringCopy_OBJECTS = $(am_tst_psStringCopy_OBJECTS) 70 tst_psStringCopy_LDADD = $(LDADD) 71 am_tst_psTrace_OBJECTS = tst_psTrace.$(OBJEXT) 72 tst_psTrace_OBJECTS = $(am_tst_psTrace_OBJECTS) 73 tst_psTrace_LDADD = $(LDADD) 74 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src 75 depcomp = $(SHELL) $(top_srcdir)/depcomp 76 am__depfiles_maybe = depfiles 77 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 78 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 79 LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \ 80 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ 81 $(AM_CFLAGS) $(CFLAGS) 82 CCLD = $(CC) 83 LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 84 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 85 SOURCES = $(tst_psAbort_SOURCES) $(tst_psConfigure_SOURCES) \ 86 $(tst_psError_SOURCES) $(tst_psLogMsg_SOURCES) \ 87 $(tst_psMemory_SOURCES) $(tst_psStringCopy_SOURCES) \ 88 $(tst_psTrace_SOURCES) 89 DIST_SOURCES = $(tst_psAbort_SOURCES) $(tst_psConfigure_SOURCES) \ 90 $(tst_psError_SOURCES) $(tst_psLogMsg_SOURCES) \ 91 $(tst_psMemory_SOURCES) $(tst_psStringCopy_SOURCES) \ 92 $(tst_psTrace_SOURCES) 93 ETAGS = etags 94 CTAGS = ctags 95 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 96 ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9 97 AMDEP_FALSE = # 98 AMDEP_TRUE = 99 AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar 100 AR = ar 101 AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf 102 AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader 103 AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9 104 AWK = gawk 105 CC = gcc 106 CCDEPMODE = depmode=gcc3 107 CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE -I/usr/include -I/usr/include/libxml2 108 CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config 109 CPP = gcc -E 110 CPPFLAGS = 111 CXX = g++ 112 CXXCPP = g++ -E 113 CXXDEPMODE = depmode=gcc3 114 CXXFLAGS = -g -O2 115 CYGPATH_W = echo 116 DEFS = -DHAVE_CONFIG_H 117 DEPDIR = .deps 118 ECHO = echo 119 ECHO_C = 120 ECHO_N = -n 121 ECHO_T = 122 EGREP = grep -E 123 EXEEXT = 124 F77 = g77 125 FFLAGS = -fno-second-underscore -O -fno-f2c 126 GSL_CONFIG = /usr/bin/gsl-config 127 INSTALL_DATA = ${INSTALL} -m 644 128 INSTALL_PROGRAM = ${INSTALL} 129 INSTALL_SCRIPT = ${INSTALL} 130 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s 131 LDFLAGS = 132 LIBOBJS = 133 LIBS = 134 LIBTOOL = $(SHELL) $(top_builddir)/libtool 135 LN_S = ln -s 136 LTLIBOBJS = 137 MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo 138 OBJEXT = o 139 PACKAGE = pslib 140 PACKAGE_BUGREPORT = 141 PACKAGE_NAME = 142 PACKAGE_STRING = 143 PACKAGE_TARNAME = 144 PACKAGE_VERSION = 145 PATH_SEPARATOR = : 146 PERL = /usr/bin/perl 147 PSLIB_CFLAGS = -I${prefix}/include 148 PSLIB_LIBS = -L${exec_prefix}/lib -lpslib -lcfitsio -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm 149 RANLIB = ranlib 150 SET_MAKE = 151 SHELL = /bin/sh 152 STRIP = strip 153 SWIG = /usr/bin/swig 154 VERSION = 1.5 155 XML_CONFIG = /usr/bin/xml2-config 156 ac_ct_AR = ar 157 ac_ct_CC = gcc 158 ac_ct_CXX = g++ 159 ac_ct_F77 = g77 160 ac_ct_RANLIB = ranlib 161 ac_ct_STRIP = strip 162 am__fastdepCC_FALSE = # 163 am__fastdepCC_TRUE = 164 am__fastdepCXX_FALSE = # 165 am__fastdepCXX_TRUE = 166 am__include = include 167 am__leading_dot = . 168 am__quote = 169 am__tar = ${AMTAR} chof - "$$tardir" 170 am__untar = ${AMTAR} xf - 171 bindir = ${exec_prefix}/bin 172 build = x86_64-unknown-linux-gnu 173 build_alias = 174 build_cpu = x86_64 175 build_os = linux-gnu 176 build_vendor = unknown 177 datadir = ${prefix}/share 178 exec_prefix = ${prefix} 179 host = x86_64-unknown-linux-gnu 180 host_alias = 181 host_cpu = x86_64 182 host_os = linux-gnu 183 host_vendor = unknown 184 includedir = ${prefix}/include 185 infodir = ${prefix}/info 186 install_sh = /home/desonia/panstarrs/psLib/install-sh 187 libdir = ${exec_prefix}/lib 188 libexecdir = ${exec_prefix}/libexec 189 localstatedir = ${prefix}/var 190 mandir = ${prefix}/man 191 mkdir_p = mkdir -p -- 192 oldincludedir = /usr/include 193 prefix = /home/desonia/panstarrs/psLib 194 program_transform_name = s,x,x, 195 sbindir = ${exec_prefix}/sbin 196 sharedstatedir = ${prefix}/com 197 sysconfdir = ${prefix}/etc 198 target_alias = 199 200 #Makefile for astronomy functions of psLib 201 # 202 INCLUDES = \ 203 -I$(top_srcdir)/src \ 204 -I$(top_srcdir)/src/astronomy \ 205 -I$(top_srcdir)/src/collections \ 206 -I$(top_srcdir)/src/dataManip \ 207 -I$(top_srcdir)/src/fileUtils \ 208 -I$(top_srcdir)/src/image \ 209 -I$(top_srcdir)/src/sysUtils \ 210 $(all_includes) 211 212 AM_LDFLAGS = -L$(top_srcdir)/src `sh $(top_srcdir)/pslib-config --libs` 213 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest 214 TESTS = \ 215 tst_psAbort \ 216 tst_psMemory \ 217 tst_psError \ 218 tst_psLogMsg \ 219 tst_psStringCopy \ 220 tst_psTrace \ 221 tst_psConfigure 222 223 tst_psAbort_SOURCES = tst_psAbort.c 224 tst_psMemory_SOURCES = tst_psMemory.c 225 tst_psError_SOURCES = tst_psError.c 226 tst_psLogMsg_SOURCES = tst_psLogMsg.c 227 tst_psStringCopy_SOURCES = tst_psStringCopy.c 228 tst_psTrace_SOURCES = tst_psTrace.c 229 tst_psConfigure_SOURCES = tst_psConfigure.c 230 all: all-am 231 232 .SUFFIXES: 233 .SUFFIXES: .c .lo .o .obj 234 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 235 @for dep in $?; do \ 236 case '$(am__configure_deps)' in \ 237 *$$dep*) \ 238 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 239 && exit 0; \ 240 exit 1;; \ 241 esac; \ 242 done; \ 243 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/sysUtils/Makefile'; \ 244 cd $(top_srcdir) && \ 245 $(AUTOMAKE) --gnu test/sysUtils/Makefile 246 .PRECIOUS: Makefile 247 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 248 @case '$?' in \ 249 *config.status*) \ 250 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 251 *) \ 252 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 253 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 254 esac; 255 256 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 257 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 258 259 $(top_srcdir)/configure: $(am__configure_deps) 260 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 261 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 262 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 263 264 clean-checkPROGRAMS: 265 @list='$(check_PROGRAMS)'; for p in $$list; do \ 266 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ 267 echo " rm -f $$p $$f"; \ 268 rm -f $$p $$f ; \ 269 done 270 tst_psAbort$(EXEEXT): $(tst_psAbort_OBJECTS) $(tst_psAbort_DEPENDENCIES) 271 @rm -f tst_psAbort$(EXEEXT) 272 $(LINK) $(tst_psAbort_LDFLAGS) $(tst_psAbort_OBJECTS) $(tst_psAbort_LDADD) $(LIBS) 273 tst_psConfigure$(EXEEXT): $(tst_psConfigure_OBJECTS) $(tst_psConfigure_DEPENDENCIES) 274 @rm -f tst_psConfigure$(EXEEXT) 275 $(LINK) $(tst_psConfigure_LDFLAGS) $(tst_psConfigure_OBJECTS) $(tst_psConfigure_LDADD) $(LIBS) 276 tst_psError$(EXEEXT): $(tst_psError_OBJECTS) $(tst_psError_DEPENDENCIES) 277 @rm -f tst_psError$(EXEEXT) 278 $(LINK) $(tst_psError_LDFLAGS) $(tst_psError_OBJECTS) $(tst_psError_LDADD) $(LIBS) 279 tst_psLogMsg$(EXEEXT): $(tst_psLogMsg_OBJECTS) $(tst_psLogMsg_DEPENDENCIES) 280 @rm -f tst_psLogMsg$(EXEEXT) 281 $(LINK) $(tst_psLogMsg_LDFLAGS) $(tst_psLogMsg_OBJECTS) $(tst_psLogMsg_LDADD) $(LIBS) 282 tst_psMemory$(EXEEXT): $(tst_psMemory_OBJECTS) $(tst_psMemory_DEPENDENCIES) 283 @rm -f tst_psMemory$(EXEEXT) 284 $(LINK) $(tst_psMemory_LDFLAGS) $(tst_psMemory_OBJECTS) $(tst_psMemory_LDADD) $(LIBS) 285 tst_psStringCopy$(EXEEXT): $(tst_psStringCopy_OBJECTS) $(tst_psStringCopy_DEPENDENCIES) 286 @rm -f tst_psStringCopy$(EXEEXT) 287 $(LINK) $(tst_psStringCopy_LDFLAGS) $(tst_psStringCopy_OBJECTS) $(tst_psStringCopy_LDADD) $(LIBS) 288 tst_psTrace$(EXEEXT): $(tst_psTrace_OBJECTS) $(tst_psTrace_DEPENDENCIES) 289 @rm -f tst_psTrace$(EXEEXT) 290 $(LINK) $(tst_psTrace_LDFLAGS) $(tst_psTrace_OBJECTS) $(tst_psTrace_LDADD) $(LIBS) 291 292 mostlyclean-compile: 293 -rm -f *.$(OBJEXT) 294 295 distclean-compile: 296 -rm -f *.tab.c 297 298 include ./$(DEPDIR)/tst_psAbort.Po 299 include ./$(DEPDIR)/tst_psConfigure.Po 300 include ./$(DEPDIR)/tst_psError.Po 301 include ./$(DEPDIR)/tst_psLogMsg.Po 302 include ./$(DEPDIR)/tst_psMemory.Po 303 include ./$(DEPDIR)/tst_psStringCopy.Po 304 include ./$(DEPDIR)/tst_psTrace.Po 305 306 .c.o: 307 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 308 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 309 # source='$<' object='$@' libtool=no \ 310 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 311 # $(COMPILE) -c $< 312 313 .c.obj: 314 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 315 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 316 # source='$<' object='$@' libtool=no \ 317 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 318 # $(COMPILE) -c `$(CYGPATH_W) '$<'` 319 320 .c.lo: 321 if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 322 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 323 # source='$<' object='$@' libtool=yes \ 324 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 325 # $(LTCOMPILE) -c -o $@ $< 326 327 mostlyclean-libtool: 328 -rm -f *.lo 329 330 clean-libtool: 331 -rm -rf .libs _libs 332 333 distclean-libtool: 334 -rm -f libtool 335 uninstall-info-am: 336 337 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 338 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 339 unique=`for i in $$list; do \ 340 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 341 done | \ 342 $(AWK) ' { files[$$0] = 1; } \ 343 END { for (i in files) print i; }'`; \ 344 mkid -fID $$unique 345 tags: TAGS 346 347 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 348 $(TAGS_FILES) $(LISP) 349 tags=; \ 350 here=`pwd`; \ 351 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 352 unique=`for i in $$list; do \ 353 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 354 done | \ 355 $(AWK) ' { files[$$0] = 1; } \ 356 END { for (i in files) print i; }'`; \ 357 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 358 test -n "$$unique" || unique=$$empty_fix; \ 359 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 360 $$tags $$unique; \ 361 fi 362 ctags: CTAGS 363 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 364 $(TAGS_FILES) $(LISP) 365 tags=; \ 366 here=`pwd`; \ 367 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 368 unique=`for i in $$list; do \ 369 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 370 done | \ 371 $(AWK) ' { files[$$0] = 1; } \ 372 END { for (i in files) print i; }'`; \ 373 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 374 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 375 $$tags $$unique 376 377 GTAGS: 378 here=`$(am__cd) $(top_builddir) && pwd` \ 379 && cd $(top_srcdir) \ 380 && gtags -i $(GTAGS_ARGS) $$here 381 382 distclean-tags: 383 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 384 385 check-TESTS: $(TESTS) 386 @failed=0; all=0; xfail=0; xpass=0; skip=0; \ 387 srcdir=$(srcdir); export srcdir; \ 388 list='$(TESTS)'; \ 389 if test -n "$$list"; then \ 390 for tst in $$list; do \ 391 if test -f ./$$tst; then dir=./; \ 392 elif test -f $$tst; then dir=; \ 393 else dir="$(srcdir)/"; fi; \ 394 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ 395 all=`expr $$all + 1`; \ 396 case " $(XFAIL_TESTS) " in \ 397 *" $$tst "*) \ 398 xpass=`expr $$xpass + 1`; \ 399 failed=`expr $$failed + 1`; \ 400 echo "XPASS: $$tst"; \ 401 ;; \ 402 *) \ 403 echo "PASS: $$tst"; \ 404 ;; \ 405 esac; \ 406 elif test $$? -ne 77; then \ 407 all=`expr $$all + 1`; \ 408 case " $(XFAIL_TESTS) " in \ 409 *" $$tst "*) \ 410 xfail=`expr $$xfail + 1`; \ 411 echo "XFAIL: $$tst"; \ 412 ;; \ 413 *) \ 414 failed=`expr $$failed + 1`; \ 415 echo "FAIL: $$tst"; \ 416 ;; \ 417 esac; \ 418 else \ 419 skip=`expr $$skip + 1`; \ 420 echo "SKIP: $$tst"; \ 421 fi; \ 422 done; \ 423 if test "$$failed" -eq 0; then \ 424 if test "$$xfail" -eq 0; then \ 425 banner="All $$all tests passed"; \ 426 else \ 427 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ 428 fi; \ 429 else \ 430 if test "$$xpass" -eq 0; then \ 431 banner="$$failed of $$all tests failed"; \ 432 else \ 433 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ 434 fi; \ 435 fi; \ 436 dashes="$$banner"; \ 437 skipped=""; \ 438 if test "$$skip" -ne 0; then \ 439 skipped="($$skip tests were not run)"; \ 440 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ 441 dashes="$$skipped"; \ 442 fi; \ 443 report=""; \ 444 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ 445 report="Please report to $(PACKAGE_BUGREPORT)"; \ 446 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ 447 dashes="$$report"; \ 448 fi; \ 449 dashes=`echo "$$dashes" | sed s/./=/g`; \ 450 echo "$$dashes"; \ 451 echo "$$banner"; \ 452 test -z "$$skipped" || echo "$$skipped"; \ 453 test -z "$$report" || echo "$$report"; \ 454 echo "$$dashes"; \ 455 test "$$failed" -eq 0; \ 456 else :; fi 457 458 distdir: $(DISTFILES) 459 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 460 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 461 list='$(DISTFILES)'; for file in $$list; do \ 462 case $$file in \ 463 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 464 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 465 esac; \ 466 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 467 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 468 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 469 dir="/$$dir"; \ 470 $(mkdir_p) "$(distdir)$$dir"; \ 471 else \ 472 dir=''; \ 473 fi; \ 474 if test -d $$d/$$file; then \ 475 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 476 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 477 fi; \ 478 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 479 else \ 480 test -f $(distdir)/$$file \ 481 || cp -p $$d/$$file $(distdir)/$$file \ 482 || exit 1; \ 483 fi; \ 484 done 485 check-am: all-am 486 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) 487 $(MAKE) $(AM_MAKEFLAGS) check-TESTS 488 check: check-am 489 all-am: Makefile 490 installdirs: 491 install: install-am 492 install-exec: install-exec-am 493 install-data: install-data-am 494 uninstall: uninstall-am 495 496 install-am: all-am 497 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 498 499 installcheck: installcheck-am 500 install-strip: 501 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 502 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 503 `test -z '$(STRIP)' || \ 504 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 505 mostlyclean-generic: 506 507 clean-generic: 508 509 distclean-generic: 510 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 511 512 maintainer-clean-generic: 513 @echo "This command is intended for maintainers to use" 514 @echo "it deletes files that may require special tools to rebuild." 515 clean: clean-am 516 517 clean-am: clean-checkPROGRAMS clean-generic clean-libtool \ 518 mostlyclean-am 519 520 distclean: distclean-am 521 -rm -rf ./$(DEPDIR) 522 -rm -f Makefile 523 distclean-am: clean-am distclean-compile distclean-generic \ 524 distclean-libtool distclean-tags 525 526 dvi: dvi-am 527 528 dvi-am: 529 530 html: html-am 531 532 info: info-am 533 534 info-am: 535 536 install-data-am: 537 538 install-exec-am: 539 540 install-info: install-info-am 541 542 install-man: 543 544 installcheck-am: 545 546 maintainer-clean: maintainer-clean-am 547 -rm -rf ./$(DEPDIR) 548 -rm -f Makefile 549 maintainer-clean-am: distclean-am maintainer-clean-generic 550 551 mostlyclean: mostlyclean-am 552 553 mostlyclean-am: mostlyclean-compile mostlyclean-generic \ 554 mostlyclean-libtool 555 556 pdf: pdf-am 557 558 pdf-am: 559 560 ps: ps-am 561 562 ps-am: 563 564 uninstall-am: uninstall-info-am 565 566 .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \ 567 clean-checkPROGRAMS clean-generic clean-libtool ctags \ 568 distclean distclean-compile distclean-generic \ 569 distclean-libtool distclean-tags distdir dvi dvi-am html \ 570 html-am info info-am install install-am install-data \ 571 install-data-am install-exec install-exec-am install-info \ 572 install-info-am install-man install-strip installcheck \ 573 installcheck-am installdirs maintainer-clean \ 574 maintainer-clean-generic mostlyclean mostlyclean-compile \ 575 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ 576 tags uninstall uninstall-am uninstall-info-am 577 578 tests: $(TESTS) 579 # Tell versions [3.59,3.63) of GNU make to not export all variables. 580 # Otherwise a system limit (for SysV at least) may be exceeded. 581 .NOEXPORT: -
trunk/psLib/test/sysUtils/verified/tst_psConfigure.stderr
r2866 r3115 6 6 7 7 <DATE><TIME>|<HOST>|I|psLibVersion00 8 Current psLib version is: rel48 Current psLib version is: pslib-v1.5 9 9 10 10 ---> TESTPOINT PASSED (psConfigure{Return current psLib version} | tst_psConfigure.c)
Note:
See TracChangeset
for help on using the changeset viewer.
