Changeset 2138 for trunk/psModules/test
- Timestamp:
- Oct 14, 2004, 1:52:09 PM (22 years ago)
- Location:
- trunk/psModules/test
- Files:
-
- 4 edited
-
Makefile.in (modified) (19 diffs)
-
tst_pmMaskBadPixels.c (modified) (12 diffs)
-
tst_pmNonLinear.c (modified) (5 diffs)
-
tst_pmSubtractBias.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/test/Makefile.in
r2132 r2138 1 # Makefile.in generated by automake 1. 6.3 from Makefile.am.1 # Makefile.in generated by automake 1.8.3 from Makefile.am. 2 2 # @configure_input@ 3 3 4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 20025 # Free Software Foundation, Inc.4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004 Free Software Foundation, Inc. 6 6 # This Makefile.in is free software; the Free Software Foundation 7 7 # gives unlimited permission to copy and/or distribute it, … … 14 14 15 15 @SET_MAKE@ 16 SHELL = @SHELL@ 16 17 SOURCES = $(tst_pmFlatField_SOURCES) $(tst_pmMaskBadPixels_SOURCES) $(tst_pmNonLinear_SOURCES) $(tst_pmSubtractBias_SOURCES) 17 18 18 19 srcdir = @srcdir@ 19 20 top_srcdir = @top_srcdir@ 20 21 VPATH = @srcdir@ 21 prefix = @prefix@22 exec_prefix = @exec_prefix@23 24 bindir = @bindir@25 sbindir = @sbindir@26 libexecdir = @libexecdir@27 datadir = @datadir@28 sysconfdir = @sysconfdir@29 sharedstatedir = @sharedstatedir@30 localstatedir = @localstatedir@31 libdir = @libdir@32 infodir = @infodir@33 mandir = @mandir@34 includedir = @includedir@35 oldincludedir = /usr/include36 22 pkgdatadir = $(datadir)/@PACKAGE@ 37 23 pkglibdir = $(libdir)/@PACKAGE@ 38 24 pkgincludedir = $(includedir)/@PACKAGE@ 39 25 top_builddir = .. 40 41 ACLOCAL = @ACLOCAL@42 AUTOCONF = @AUTOCONF@43 AUTOMAKE = @AUTOMAKE@44 AUTOHEADER = @AUTOHEADER@45 46 26 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 47 27 INSTALL = @INSTALL@ 48 INSTALL_PROGRAM = @INSTALL_PROGRAM@49 INSTALL_DATA = @INSTALL_DATA@50 28 install_sh_DATA = $(install_sh) -c -m 644 51 29 install_sh_PROGRAM = $(install_sh) -c 52 30 install_sh_SCRIPT = $(install_sh) -c 53 INSTALL_SCRIPT = @INSTALL_SCRIPT@54 31 INSTALL_HEADER = $(INSTALL_DATA) 55 transform = @program_transform_name@32 transform = $(program_transform_name) 56 33 NORMAL_INSTALL = : 57 34 PRE_INSTALL = : … … 60 37 PRE_UNINSTALL = : 61 38 POST_UNINSTALL = : 62 host_alias = @host_alias@63 39 host_triplet = @host@ 64 65 EXEEXT = @EXEEXT@ 66 OBJEXT = @OBJEXT@ 67 PATH_SEPARATOR = @PATH_SEPARATOR@ 68 AMTAR = @AMTAR@ 69 AS = @AS@ 70 AWK = @AWK@ 71 CC = @CC@ 72 CFLAGS = @CFLAGS@ 73 DEPDIR = @DEPDIR@ 74 DLLTOOL = @DLLTOOL@ 75 ECHO = @ECHO@ 76 GSL_CONFIG = @GSL_CONFIG@ 77 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 78 LIBTOOL = @LIBTOOL@ 79 LN_S = @LN_S@ 80 OBJDUMP = @OBJDUMP@ 81 PACKAGE = @PACKAGE@ 82 RANLIB = @RANLIB@ 83 STRIP = @STRIP@ 84 VERSION = @VERSION@ 85 am__include = @am__include@ 86 am__quote = @am__quote@ 87 install_sh = @install_sh@ 88 bin_PROGRAMS = tst_pmFlatField tst_pmMaskBadPixels tst_pmNonLinear tst_pmSubtractBias 89 90 tst_pmFlatField_SOURCES = tst_pmFlatField.c 91 tst_pmFlatField_LDFLAGS = -L../src -lpsmodule 92 93 tst_pmMaskBadPixels_SOURCES = tst_pmMaskBadPixels.c 94 tst_pmMaskBadPixels_LDFLAGS = -L../src -lpsmodule 95 96 tst_pmNonLinear_SOURCES = tst_pmNonLinear.c 97 tst_pmNonLinear_LDFLAGS = -L../src -lpsmodule 98 99 tst_pmSubtractBias_SOURCES = tst_pmSubtractBias.c 100 tst_pmSubtractBias_LDFLAGS = -L../src -lpsmodule 40 bin_PROGRAMS = tst_pmFlatField$(EXEEXT) tst_pmMaskBadPixels$(EXEEXT) \ 41 tst_pmNonLinear$(EXEEXT) tst_pmSubtractBias$(EXEEXT) 101 42 subdir = test 43 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 44 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 45 am__aclocal_m4_deps = $(top_srcdir)/configure.in 46 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 47 $(ACLOCAL_M4) 102 48 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 103 49 CONFIG_HEADER = $(top_builddir)/src/config.h 104 50 CONFIG_CLEAN_FILES = 105 bin_PROGRAMS = tst_pmFlatField$(EXEEXT) tst_pmMaskBadPixels$(EXEEXT) \ 106 tst_pmNonLinear$(EXEEXT) tst_pmSubtractBias$(EXEEXT)51 am__installdirs = "$(DESTDIR)$(bindir)" 52 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 107 53 PROGRAMS = $(bin_PROGRAMS) 108 109 54 am_tst_pmFlatField_OBJECTS = tst_pmFlatField.$(OBJEXT) 110 55 tst_pmFlatField_OBJECTS = $(am_tst_pmFlatField_OBJECTS) 111 56 tst_pmFlatField_LDADD = $(LDADD) 112 tst_pmFlatField_DEPENDENCIES =113 57 am_tst_pmMaskBadPixels_OBJECTS = tst_pmMaskBadPixels.$(OBJEXT) 114 58 tst_pmMaskBadPixels_OBJECTS = $(am_tst_pmMaskBadPixels_OBJECTS) 115 59 tst_pmMaskBadPixels_LDADD = $(LDADD) 116 tst_pmMaskBadPixels_DEPENDENCIES =117 60 am_tst_pmNonLinear_OBJECTS = tst_pmNonLinear.$(OBJEXT) 118 61 tst_pmNonLinear_OBJECTS = $(am_tst_pmNonLinear_OBJECTS) 119 62 tst_pmNonLinear_LDADD = $(LDADD) 120 tst_pmNonLinear_DEPENDENCIES =121 63 am_tst_pmSubtractBias_OBJECTS = tst_pmSubtractBias.$(OBJEXT) 122 64 tst_pmSubtractBias_OBJECTS = $(am_tst_pmSubtractBias_OBJECTS) 123 65 tst_pmSubtractBias_LDADD = $(LDADD) 124 tst_pmSubtractBias_DEPENDENCIES = 125 126 DEFS = @DEFS@ 127 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src 128 CPPFLAGS = @CPPFLAGS@ 129 LDFLAGS = @LDFLAGS@ 130 LIBS = @LIBS@ 66 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src 131 67 depcomp = $(SHELL) $(top_srcdir)/depcomp 132 68 am__depfiles_maybe = depfiles … … 137 73 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 138 74 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 139 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \ 140 $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 75 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \ 76 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ 77 $(AM_CFLAGS) $(CFLAGS) 141 78 CCLD = $(CC) 142 79 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 143 80 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 144 DIST_SOURCES = $(tst_pmFlatField_SOURCES) $(tst_pmMaskBadPixels_SOURCES) \81 SOURCES = $(tst_pmFlatField_SOURCES) $(tst_pmMaskBadPixels_SOURCES) \ 145 82 $(tst_pmNonLinear_SOURCES) $(tst_pmSubtractBias_SOURCES) 146 DIST_COMMON = Makefile.am Makefile.in 147 SOURCES = $(tst_pmFlatField_SOURCES) $(tst_pmMaskBadPixels_SOURCES) $(tst_pmNonLinear_SOURCES) $(tst_pmSubtractBias_SOURCES) 148 83 DIST_SOURCES = $(tst_pmFlatField_SOURCES) \ 84 $(tst_pmMaskBadPixels_SOURCES) $(tst_pmNonLinear_SOURCES) \ 85 $(tst_pmSubtractBias_SOURCES) 86 ETAGS = etags 87 CTAGS = ctags 88 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 89 ACLOCAL = @ACLOCAL@ 90 AMDEP_FALSE = @AMDEP_FALSE@ 91 AMDEP_TRUE = @AMDEP_TRUE@ 92 AMTAR = @AMTAR@ 93 AR = @AR@ 94 AUTOCONF = @AUTOCONF@ 95 AUTOHEADER = @AUTOHEADER@ 96 AUTOMAKE = @AUTOMAKE@ 97 AWK = @AWK@ 98 CC = @CC@ 99 CCDEPMODE = @CCDEPMODE@ 100 CFLAGS = @CFLAGS@ 101 CPP = @CPP@ 102 CPPFLAGS = @CPPFLAGS@ 103 CXX = @CXX@ 104 CXXCPP = @CXXCPP@ 105 CXXDEPMODE = @CXXDEPMODE@ 106 CXXFLAGS = @CXXFLAGS@ 107 CYGPATH_W = @CYGPATH_W@ 108 DEFS = @DEFS@ 109 DEPDIR = @DEPDIR@ 110 ECHO = @ECHO@ 111 ECHO_C = @ECHO_C@ 112 ECHO_N = @ECHO_N@ 113 ECHO_T = @ECHO_T@ 114 EGREP = @EGREP@ 115 EXEEXT = @EXEEXT@ 116 F77 = @F77@ 117 FFLAGS = @FFLAGS@ 118 GSL_CONFIG = @GSL_CONFIG@ 119 INSTALL_DATA = @INSTALL_DATA@ 120 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 121 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 122 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 123 LDFLAGS = @LDFLAGS@ 124 LIBOBJS = @LIBOBJS@ 125 LIBS = @LIBS@ 126 LIBTOOL = @LIBTOOL@ 127 LN_S = @LN_S@ 128 LTLIBOBJS = @LTLIBOBJS@ 129 MAKEINFO = @MAKEINFO@ 130 OBJEXT = @OBJEXT@ 131 PACKAGE = @PACKAGE@ 132 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 133 PACKAGE_NAME = @PACKAGE_NAME@ 134 PACKAGE_STRING = @PACKAGE_STRING@ 135 PACKAGE_TARNAME = @PACKAGE_TARNAME@ 136 PACKAGE_VERSION = @PACKAGE_VERSION@ 137 PATH_SEPARATOR = @PATH_SEPARATOR@ 138 RANLIB = @RANLIB@ 139 SET_MAKE = @SET_MAKE@ 140 SHELL = @SHELL@ 141 STRIP = @STRIP@ 142 VERSION = @VERSION@ 143 ac_ct_AR = @ac_ct_AR@ 144 ac_ct_CC = @ac_ct_CC@ 145 ac_ct_CXX = @ac_ct_CXX@ 146 ac_ct_F77 = @ac_ct_F77@ 147 ac_ct_RANLIB = @ac_ct_RANLIB@ 148 ac_ct_STRIP = @ac_ct_STRIP@ 149 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ 150 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 151 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ 152 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ 153 am__include = @am__include@ 154 am__leading_dot = @am__leading_dot@ 155 am__quote = @am__quote@ 156 bindir = @bindir@ 157 build = @build@ 158 build_alias = @build_alias@ 159 build_cpu = @build_cpu@ 160 build_os = @build_os@ 161 build_vendor = @build_vendor@ 162 datadir = @datadir@ 163 exec_prefix = @exec_prefix@ 164 host = @host@ 165 host_alias = @host_alias@ 166 host_cpu = @host_cpu@ 167 host_os = @host_os@ 168 host_vendor = @host_vendor@ 169 includedir = @includedir@ 170 infodir = @infodir@ 171 install_sh = @install_sh@ 172 libdir = @libdir@ 173 libexecdir = @libexecdir@ 174 localstatedir = @localstatedir@ 175 mandir = @mandir@ 176 mkdir_p = @mkdir_p@ 177 oldincludedir = @oldincludedir@ 178 prefix = @prefix@ 179 program_transform_name = @program_transform_name@ 180 sbindir = @sbindir@ 181 sharedstatedir = @sharedstatedir@ 182 sysconfdir = @sysconfdir@ 183 target_alias = @target_alias@ 184 tst_pmFlatField_SOURCES = tst_pmFlatField.c 185 tst_pmFlatField_LDFLAGS = -L../src -lpsmodule 186 tst_pmMaskBadPixels_SOURCES = tst_pmMaskBadPixels.c 187 tst_pmMaskBadPixels_LDFLAGS = -L../src -lpsmodule 188 tst_pmNonLinear_SOURCES = tst_pmNonLinear.c 189 tst_pmNonLinear_LDFLAGS = -L../src -lpsmodule 190 tst_pmSubtractBias_SOURCES = tst_pmSubtractBias.c 191 tst_pmSubtractBias_LDFLAGS = -L../src -lpsmodule 149 192 all: all-am 150 193 151 194 .SUFFIXES: 152 195 .SUFFIXES: .c .lo .o .obj 153 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 196 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 197 @for dep in $?; do \ 198 case '$(am__configure_deps)' in \ 199 *$$dep*) \ 200 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 201 && exit 0; \ 202 exit 1;; \ 203 esac; \ 204 done; \ 205 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/Makefile'; \ 154 206 cd $(top_srcdir) && \ 155 207 $(AUTOMAKE) --gnu test/Makefile 156 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 157 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) 158 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 208 .PRECIOUS: Makefile 209 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 210 @case '$?' in \ 211 *config.status*) \ 212 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 213 *) \ 214 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 215 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 216 esac; 217 218 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 219 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 220 221 $(top_srcdir)/configure: $(am__configure_deps) 222 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 223 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 224 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 159 225 install-binPROGRAMS: $(bin_PROGRAMS) 160 226 @$(NORMAL_INSTALL) 161 $(mkinstalldirs) $(DESTDIR)$(bindir)227 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" 162 228 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 163 229 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ … … 166 232 ; then \ 167 233 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ 168 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \169 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \234 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ 235 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ 170 236 else :; fi; \ 171 237 done … … 175 241 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 176 242 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ 177 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \178 rm -f $(DESTDIR)$(bindir)/$$f; \243 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ 244 rm -f "$(DESTDIR)$(bindir)/$$f"; \ 179 245 done 180 246 … … 199 265 200 266 mostlyclean-compile: 201 -rm -f *.$(OBJEXT) core *.core267 -rm -f *.$(OBJEXT) 202 268 203 269 distclean-compile: … … 209 275 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tst_pmSubtractBias.Po@am__quote@ 210 276 211 distclean-depend:212 -rm -rf ./$(DEPDIR)213 214 277 .c.o: 215 @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 216 @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 217 @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 218 $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< 278 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 279 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 280 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 281 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 282 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 283 @am__fastdepCC_FALSE@ $(COMPILE) -c $< 219 284 220 285 .c.obj: 221 @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 222 @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 223 @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 224 $(COMPILE) -c `cygpath -w $<` 286 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 287 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 288 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 289 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 290 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 291 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` 225 292 226 293 .c.lo: 227 @AMDEP_TRUE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ 228 @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ 229 @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 230 $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< 231 CCDEPMODE = @CCDEPMODE@ 294 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 295 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 296 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ 297 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ 298 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 299 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< 232 300 233 301 mostlyclean-libtool: … … 240 308 -rm -f libtool 241 309 uninstall-info-am: 242 243 ETAGS = etags244 ETAGSFLAGS =245 246 tags: TAGS247 310 248 311 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 254 317 END { for (i in files) print i; }'`; \ 255 318 mkid -fID $$unique 319 tags: TAGS 256 320 257 321 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 268 332 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 269 333 $$tags $$unique 334 ctags: CTAGS 335 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 336 $(TAGS_FILES) $(LISP) 337 tags=; \ 338 here=`pwd`; \ 339 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 340 unique=`for i in $$list; do \ 341 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 342 done | \ 343 $(AWK) ' { files[$$0] = 1; } \ 344 END { for (i in files) print i; }'`; \ 345 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 346 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 347 $$tags $$unique 270 348 271 349 GTAGS: … … 275 353 276 354 distclean-tags: 277 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH 278 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 279 280 top_distdir = .. 281 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) 355 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 282 356 283 357 distdir: $(DISTFILES) 284 @list='$(DISTFILES)'; for file in $$list; do \ 358 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 359 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 360 list='$(DISTFILES)'; for file in $$list; do \ 361 case $$file in \ 362 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 363 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 364 esac; \ 285 365 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 286 366 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 287 367 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 288 368 dir="/$$dir"; \ 289 $(mk installdirs) "$(distdir)$$dir"; \369 $(mkdir_p) "$(distdir)$$dir"; \ 290 370 else \ 291 371 dir=''; \ … … 305 385 check: check-am 306 386 all-am: Makefile $(PROGRAMS) 307 308 387 installdirs: 309 $(mkinstalldirs) $(DESTDIR)$(bindir) 310 388 for dir in "$(DESTDIR)$(bindir)"; do \ 389 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 390 done 311 391 install: install-am 312 392 install-exec: install-exec-am … … 320 400 install-strip: 321 401 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 322 INSTALL_STRIP_FLAG=-s \402 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 323 403 `test -z '$(STRIP)' || \ 324 404 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install … … 328 408 329 409 distclean-generic: 330 -rm -f Makefile$(CONFIG_CLEAN_FILES)410 -rm -f $(CONFIG_CLEAN_FILES) 331 411 332 412 maintainer-clean-generic: … … 338 418 339 419 distclean: distclean-am 340 341 distclean-am: clean-am distclean-compile distclean-depend \ 342 distclean-generic distclean-libtool distclean-tags 420 -rm -rf ./$(DEPDIR) 421 -rm -f Makefile 422 distclean-am: clean-am distclean-compile distclean-generic \ 423 distclean-libtool distclean-tags 343 424 344 425 dvi: dvi-am … … 346 427 dvi-am: 347 428 429 html: html-am 430 348 431 info: info-am 349 432 … … 361 444 362 445 maintainer-clean: maintainer-clean-am 363 446 -rm -rf ./$(DEPDIR) 447 -rm -f Makefile 364 448 maintainer-clean-am: distclean-am maintainer-clean-generic 365 449 … … 369 453 mostlyclean-libtool 370 454 455 pdf: pdf-am 456 457 pdf-am: 458 459 ps: ps-am 460 461 ps-am: 462 371 463 uninstall-am: uninstall-binPROGRAMS uninstall-info-am 372 464 373 .PHONY: GTAGS all all-am check check-am clean clean-binPROGRAMS \374 clean-generic clean-libtool distclean distclean-compile \375 distclean- depend distclean-generic distclean-libtool\376 d istclean-tags distdir dvi dvi-am info info-am install\377 install- am install-binPROGRAMS install-data install-data-am\378 install-exec install-exec-am install-info install-info-am\379 install- man install-strip installcheck installcheck-am\380 installdirs maintainer-clean maintainer-clean-generic\381 mostlyclean mostlyclean-compile mostlyclean-generic\382 mostlyclean-libtooltags uninstall uninstall-am \465 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ 466 clean-generic clean-libtool ctags distclean distclean-compile \ 467 distclean-generic distclean-libtool distclean-tags distdir dvi \ 468 dvi-am html html-am info info-am install install-am \ 469 install-binPROGRAMS install-data install-data-am install-exec \ 470 install-exec-am install-info install-info-am install-man \ 471 install-strip installcheck installcheck-am installdirs \ 472 maintainer-clean maintainer-clean-generic mostlyclean \ 473 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ 474 pdf pdf-am ps ps-am tags uninstall uninstall-am \ 383 475 uninstall-binPROGRAMS uninstall-info-am 384 476 -
trunk/psModules/test/tst_pmMaskBadPixels.c
r1888 r2138 17 17 * @author Ross Harman, MHPCC 18 18 * 19 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $20 * @date $Date: 2004- 09-24 23:42:28$19 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 20 * @date $Date: 2004-10-14 23:52:09 $ 21 21 * 22 22 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 56 56 57 57 58 static int testMaskBadPixels(void); 58 static int testMaskBadPixels1(void); 59 static int testMaskBadPixels2(void); 60 static int testMaskBadPixels3(void); 61 static int testMaskBadPixels4(void); 62 static int testMaskBadPixels5(void); 63 static int testMaskBadPixels6(void); 64 static int testMaskBadPixels7(void); 65 static int testMaskBadPixels8(void); 66 static int testMaskBadPixels9(void); 67 static int testMaskBadPixels10(void); 68 static int testMaskBadPixels11(void); 59 69 60 70 61 71 testDescription tests[] = { 62 {testMaskBadPixels, 885, "pmMaskBadPixels", 0, false}, 72 {testMaskBadPixels1, 885, "pmMaskBadPixels - Create mask based on maskVal argument", 0, false}, 73 {testMaskBadPixels2, 885, "pmMaskBadPixels - Create mask based on saturation argument", 0, false}, 74 {testMaskBadPixels3, 885, "pmMaskBadPixels - Create mask based on growVal and grow arguments", 0, false}, 75 {testMaskBadPixels4, 885, "pmMaskBadPixels - Auto create mask based on maskVal argument", 0, false}, 76 {testMaskBadPixels5, 885, "pmMaskBadPixels - Attempt to use null mask", 0, false}, 77 {testMaskBadPixels6, 885, "pmMaskBadPixels - Attempt tp use null input image", 0, false}, 78 {testMaskBadPixels7, 885, "pmMaskBadPixels - Attempt to use input image bigger than mask", 0, false}, 79 {testMaskBadPixels8, 885, "pmMaskBadPixels - Attempt to use input image mask bigger than mask", 0, false}, 80 {testMaskBadPixels9, 885, "pmMaskBadPixels - Attempt to use offset greater than input image", 0, false}, 81 {testMaskBadPixels10, 885, "pmMaskBadPixels - Attempt to use complex input image", 0, false}, 82 {testMaskBadPixels11, 885, "pmMaskBadPixels - Attempt to use non-mask type mask image", 0, false}, 63 83 {NULL} 64 84 }; … … 71 91 72 92 73 int testMaskBadPixels( void ) 74 { 75 76 93 int testMaskBadPixels1( void ) 94 { 77 95 // Test A - Create mask based on maskVal argument 78 printPositiveTestHeader(stdout, "pmMaskBadPixels", "Test A - Create mask based on maskVal argument");79 96 CREATE_AND_SET_IMAGE(inImage1,F64,0,50,50); 80 97 CREATE_AND_SET_IMAGE(mask1,U8,0,50,50) … … 87 104 psFree(inReadout); 88 105 psFree(inImage1); 89 printFooter(stdout, "pmMaskBadPixels", "Test A - Create mask based on maskVal argument", true); 90 printf("\n\n\n"); 91 92 106 107 return 0; 108 } 109 110 int testMaskBadPixels2( void ) 111 { 93 112 // Test B - Create mask based on saturation argument 94 printPositiveTestHeader(stdout, "pmMaskBadPixels", "Test B - Create mask based on saturation argument");95 113 CREATE_AND_SET_IMAGE(inImage2,F64,150.0,50,50); 96 114 CREATE_AND_SET_IMAGE(mask2,U8,0,50,50) … … 102 120 psFree(inReadout2); 103 121 psFree(inImage2); 104 printFooter(stdout, "pmMaskBadPixels", "Test B - Create mask based on saturation argument", true); 105 printf("\n\n\n"); 106 107 122 123 return 0; 124 } 125 126 int testMaskBadPixels3( void ) 127 { 108 128 // Test C - Create mask based on growVal and grow arguments 109 printPositiveTestHeader(stdout, "pmMaskBadPixels", "Test C - Create mask based on growVal and grow arguments");110 129 CREATE_AND_SET_IMAGE(inImage3,F64,50.0,50,50); 111 130 CREATE_AND_SET_IMAGE(mask3,U8,0,50,50) … … 120 139 psFree(inReadout3); 121 140 psFree(inImage3); 122 printFooter(stdout, "pmMaskBadPixels", "Test C - Create mask based on growVal and grow arguments", true); 123 printf("\n\n\n"); 124 125 141 142 return 0; 143 } 144 145 int testMaskBadPixels4( void ) 146 { 126 147 // Test D - Auto Create mask based on maskVal argument 127 printPositiveTestHeader(stdout, "pmMaskBadPixels", "Test D - Auto create mask based on maskVal argument");128 148 CREATE_AND_SET_IMAGE(inImage4,F64,50.0,50,50); 129 149 CREATE_AND_SET_IMAGE(mask4,U8,0,50,50) … … 138 158 psFree(inReadout4); 139 159 psFree(inImage4); 140 printFooter(stdout, "pmMaskBadPixels", "Test D - Auto create mask based on maskVal argument", true); 141 printf("\n\n\n"); 142 143 160 161 return 0; 162 } 163 164 int testMaskBadPixels5( void ) 165 { 144 166 // Test E - Attempt to use null mask 145 printNegativeTestHeader(stdout,"pmMaskBadPixels", "Test E - Attempt to use null mask",146 "Null not allowed for mask image", 0);147 167 CREATE_AND_SET_IMAGE(inImage5,F64,50.0,50,50); 148 168 psReadout *inReadout5 = psReadoutAlloc(0, 0, inImage5); 149 pmMaskBadPixels(inReadout 4, NULL, 0, 100.0, 1, 10);169 pmMaskBadPixels(inReadout5, NULL, 0, 100.0, 1, 10); 150 170 psFree(inReadout5); 151 171 psFree(inImage5); 152 printFooter(stdout, "pmMaskBadPixels", "Test E - Attempt to use null mask", true); 153 printf("\n\n\n"); 154 155 172 173 return 0; 174 } 175 176 int testMaskBadPixels6( void ) 177 { 156 178 // Test F - Attempt tp use null input image 157 printNegativeTestHeader(stdout,"pmMaskBadPixels", "Test F - Attempt tp use null input image",158 "Null not allowed for input image", 0);159 160 179 CREATE_AND_SET_IMAGE(mask6,U8,0,50,50) 161 180 psReadout *inReadout6 = psReadoutAlloc(0, 0, NULL); … … 163 182 pmMaskBadPixels(inReadout6, mask6, 0, 100.0, 1, 10); 164 183 psFree(inReadout6); 165 printFooter(stdout, "pmMaskBadPixels", "Test F - Attempt tp use null input image", true); 166 printf("\n\n\n"); 167 168 184 185 return 0; 186 } 187 188 int testMaskBadPixels7( void ) 189 { 169 190 // Test G - Attempt to use input image bigger than mask 170 printNegativeTestHeader(stdout,"pmMaskBadPixels", "Test G - Attempt to use input image bigger than mask",171 "Input image size exceeds that of mask image", 0);172 191 CREATE_AND_SET_IMAGE(inImage7,F64,0.0,60,60); 173 192 CREATE_AND_SET_IMAGE(mask7,U8,0,50,50) 174 193 CREATE_AND_SET_IMAGE(mask7i,U8,0,50,50) 175 194 psReadout *inReadout7 = psReadoutAlloc(0, 0, inImage7); 176 inReadout 4->mask = mask7i;177 pmMaskBadPixels(inReadout 4, mask7, 0, 100.0, 1, 10);195 inReadout7->mask = mask7i; 196 pmMaskBadPixels(inReadout7, mask7, 0, 100.0, 1, 10); 178 197 psFree(mask7); 179 198 psFree(inReadout7); 180 199 psFree(inImage7); 181 printFooter(stdout, "pmMaskBadPixels", "Test G - Attempt to use input image bigger than mask", true); 182 printf("\n\n\n"); 183 184 200 201 return 0; 202 } 203 204 int testMaskBadPixels8( void ) 205 { 185 206 // Test H - Attempt to use input image mask bigger than mask 186 printNegativeTestHeader(stdout,"pmMaskBadPixels", "Test H - Attempt to use input image mask bigger than mask",187 "Input image mask size exceeds that of mask image", 0);188 207 CREATE_AND_SET_IMAGE(inImage8,F64,0.0,50,50); 189 208 CREATE_AND_SET_IMAGE(mask8,U8,0,50,50) … … 195 214 psFree(inReadout8); 196 215 psFree(inImage8); 197 printFooter(stdout, "pmMaskBadPixels", "Test H - Attempt to use input image mask bigger than mask", true); 198 printf("\n\n\n"); 199 200 216 217 return 0; 218 } 219 220 int testMaskBadPixels9( void ) 221 { 201 222 // Test I - Attempt to use offset greater than input image 202 printNegativeTestHeader(stdout,"pmMaskBadPixels", "Test I - Attempt to use offset greater than input image",203 "Total offset >= input image size", 0);204 223 CREATE_AND_SET_IMAGE(inImage9,F64,0.0,50,50); 205 224 CREATE_AND_SET_IMAGE(mask9,U8,0,50,50) … … 207 226 psReadout *inReadout9 = psReadoutAlloc(0, 0, inImage9); 208 227 inReadout9->mask = mask9i; 209 *(int*)&inReadout ->col0 = 150;210 *(int*)&inReadout ->row0 = 150;228 *(int*)&inReadout9->col0 = 150; 229 *(int*)&inReadout9->row0 = 150; 211 230 pmMaskBadPixels(inReadout9, mask9, 0, 100.0, 1, 10); 212 231 psFree(mask9); 213 232 psFree(inReadout9); 214 233 psFree(inImage9); 215 printFooter(stdout, "pmMaskBadPixels", "Test I - Attempt to use offset greater than input image", true); 216 printf("\n\n\n"); 217 218 234 235 return 0; 236 } 237 238 int testMaskBadPixels10( void ) 239 { 219 240 // Test J - Attempt to use complex input image 220 printNegativeTestHeader(stdout,"pmMaskBadPixels", "Test J - Attempt to use complex input image",221 "Complex types not allowed for input image", 0);222 241 CREATE_AND_SET_IMAGE(inImage10,C64,50.0,50,50); 223 242 CREATE_AND_SET_IMAGE(mask10,U8,0,50,50) … … 229 248 psFree(inReadout10); 230 249 psFree(inImage10); 231 printFooter(stdout, "pmMaskBadPixels", "Test J - Attempt to use complex input image", true); 232 printf("\n\n\n"); 233 234 250 251 return 0; 252 } 253 254 int testMaskBadPixels11( void ) 255 { 235 256 // Test K - Attempt to use non-mask type mask image 236 printNegativeTestHeader(stdout,"pmMaskBadPixels", "Test K - Attempt to use non-mask type mask image",237 "Mask must be PS_TYPE_MASK type", 0);238 257 CREATE_AND_SET_IMAGE(inImage11,F64,50.0,50,50); 239 258 CREATE_AND_SET_IMAGE(mask11,F64,0,50,50) 240 259 CREATE_AND_SET_IMAGE(mask11i,U8,0,50,50) 241 psReadout *inReadout11 = psReadoutAlloc(0, 0, inImage1 0);260 psReadout *inReadout11 = psReadoutAlloc(0, 0, inImage11); 242 261 inReadout11->mask = mask11i; 243 262 pmMaskBadPixels(inReadout11, mask11, 0, 100.0, 1, 10); … … 245 264 psFree(inReadout11); 246 265 psFree(inImage11); 247 printFooter(stdout, "pmMaskBadPixels", "Test K - Attempt to use non-mask type mask image", true); 248 printf("\n\n\n"); 249 250 return 0; 251 } 266 267 return 0; 268 } 269 -
trunk/psModules/test/tst_pmNonLinear.c
r2128 r2138 13 13 * @author GLG, MHPCC 14 14 * 15 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $16 * @date $Date: 2004-10-14 2 0:49:53$15 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2004-10-14 23:52:09 $ 17 17 * 18 18 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 56 56 } 57 57 58 printPositiveTestHeader(stdout, "pmNonLinear", "Simple polynomial");59 58 myReadout = pmNonLinearityPolynomial(myReadout, myPoly); 60 59 for (i=0;i<numRows;i++) { … … 72 71 psFree(myReadout); 73 72 psFree(myPoly); 74 printFooter(stdout, "pmNonLinear", "Simple polynomial", true);75 73 return(testStatus); 76 74 } … … 112 110 } 113 111 114 printPositiveTestHeader(stdout, "pmNonLinear", "Simple polynomial");115 112 myReadout = pmNonLinearityLookup(myReadout, in, out); 116 113 for (i=0;i<numRows;i++) { … … 129 126 psFree(in); 130 127 psFree(out); 131 printFooter(stdout, "pmNonLinear", "Simple polynomial", true);132 128 return(testStatus); 133 129 } -
trunk/psModules/test/tst_pmSubtractBias.c
r2133 r2138 7 7 * @author GLG, MHPCC 8 8 * 9 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $10 * @date $Date: 2004-10-14 2 2:54:14$9 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2004-10-14 23:52:09 $ 11 11 * 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 19 19 static int test01(void); 20 20 testDescription tests[] = { 21 {test00, 000, "pmSubtractBias ", 0, false},22 {test01, 000, "pmSubtractBias ", 0, false},21 {test00, 000, "pmSubtractBias - Full Bias Frame", 0, false}, 22 {test01, 000, "pmSubtractBias - Multiple Overscan Frames", 0, false}, 23 23 {NULL} 24 24 }; … … 51 51 } 52 52 53 printPositiveTestHeader(stdout, "pmSubtractBias", "Full Bias Frame");54 55 53 myReadout = pmSubtractBias(myReadout, NULL, NULL, PM_OVERSCAN_NONE, NULL, 56 54 0, PM_FIT_NONE, myBias); … … 70 68 psFree(myReadout); 71 69 psFree(myBias); 72 printFooter(stdout, "pmSubtractBias", "Full Bias Frame", true);73 70 return(testStatus); 74 71 } … … 114 111 psListAdd(list, PS_LIST_HEAD, tmpImage4); 115 112 116 printPositiveTestHeader(stdout, "pmSubtractBias", "Multiple Overscan Frames");117 118 113 myReadout = pmSubtractBias(myReadout, NULL, list, PM_OVERSCAN_ALL, stat, 119 114 0, PM_FIT_NONE, NULL); … … 138 133 psFree(list); 139 134 140 printFooter(stdout, "pmSubtractBias", "Multiple Overscan Frames", true);141 135 return(testStatus); 142 136 }
Note:
See TracChangeset
for help on using the changeset viewer.
