Changeset 3115 for trunk/psLib/test/sysUtils/Makefile
- Timestamp:
- Feb 2, 2005, 2:54:13 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/sysUtils/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
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:
Note:
See TracChangeset
for help on using the changeset viewer.
