1 # Makefile.in generated by automake 1.14.1 from Makefile.am.
4 # Copyright (C) 1994-2013 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.
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
17 # Makefile.am - Makefile for NPTH tests.
18 # Copyright (C) 2011 g10 Code GmbH
20 # This file is part of nPth.
22 # nPth is free software; you can redistribute it and/or modify it
23 # under the terms of the GNU Lesser General Public License as
24 # published by the Free Software Foundation; either version 2.1 of the
25 # License, or (at your option) any later version.
27 # nPth is distributed in the hope that it will be useful, but WITHOUT
28 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
29 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
30 # Public License for more details.
32 # You should have received a copy of the GNU Lesser General Public
33 # License along with this program; if not, see <http://www.gnu.org/licenses/>.
37 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
38 am__make_running_with_option = \
39 case $${target_option-} in \
41 *) echo "am__make_running_with_option: internal error: invalid" \
42 "target option '$${target_option-}' specified" >&2; \
46 sane_makeflags=$$MAKEFLAGS; \
47 if $(am__is_gnu_make); then \
48 sane_makeflags=$$MFLAGS; \
53 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
54 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
60 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
62 for flg in $$sane_makeflags; do \
63 test $$skip_next = yes && { skip_next=no; continue; }; \
66 -*I) strip_trailopt 'I'; skip_next=yes;; \
67 -*I?*) strip_trailopt 'I';; \
68 -*O) strip_trailopt 'O'; skip_next=yes;; \
69 -*O?*) strip_trailopt 'O';; \
70 -*l) strip_trailopt 'l'; skip_next=yes;; \
71 -*l?*) strip_trailopt 'l';; \
72 -[dEDm]) skip_next=yes;; \
73 -[JT]) skip_next=yes;; \
76 *$$target_option*) has_opt=yes; break;; \
80 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
81 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
82 pkgdatadir = $(datadir)/@PACKAGE@
83 pkgincludedir = $(includedir)/@PACKAGE@
84 pkglibdir = $(libdir)/@PACKAGE@
85 pkglibexecdir = $(libexecdir)/@PACKAGE@
86 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
87 install_sh_DATA = $(install_sh) -c -m 644
88 install_sh_PROGRAM = $(install_sh) -c
89 install_sh_SCRIPT = $(install_sh) -c
90 INSTALL_HEADER = $(INSTALL_DATA)
91 transform = $(program_transform_name)
98 build_triplet = @build@
100 TESTS = t-mutex$(EXEEXT) t-thread$(EXEEXT) $(am__EXEEXT_1)
101 @HAVE_W32_SYSTEM_FALSE@am__append_1 = t-fork
102 noinst_PROGRAMS = $(am__EXEEXT_2)
104 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
105 $(top_srcdir)/build-aux/depcomp $(noinst_HEADERS)
106 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
107 am__aclocal_m4_deps = $(top_srcdir)/m4/libsocket.m4 \
108 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
109 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
110 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/socklen.m4 \
111 $(top_srcdir)/m4/sys_socket_h.m4 $(top_srcdir)/configure.ac
112 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
114 mkinstalldirs = $(install_sh) -d
115 CONFIG_HEADER = $(top_builddir)/config.h
117 CONFIG_CLEAN_VPATH_FILES =
118 @HAVE_W32_SYSTEM_FALSE@am__EXEEXT_1 = t-fork$(EXEEXT)
119 am__EXEEXT_2 = t-mutex$(EXEEXT) t-thread$(EXEEXT) $(am__EXEEXT_1)
120 PROGRAMS = $(noinst_PROGRAMS)
121 t_fork_SOURCES = t-fork.c
122 t_fork_OBJECTS = t-fork.$(OBJEXT)
123 t_fork_LDADD = $(LDADD)
125 @HAVE_W32_SYSTEM_FALSE@t_fork_DEPENDENCIES = ../src/libnpth.la \
126 @HAVE_W32_SYSTEM_FALSE@ $(am__DEPENDENCIES_1) \
127 @HAVE_W32_SYSTEM_FALSE@ $(am__DEPENDENCIES_1)
128 @HAVE_W32_SYSTEM_TRUE@t_fork_DEPENDENCIES = ../w32/libnpth.la \
129 @HAVE_W32_SYSTEM_TRUE@ $(am__DEPENDENCIES_1)
130 AM_V_lt = $(am__v_lt_@AM_V@)
131 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
132 am__v_lt_0 = --silent
134 t_mutex_SOURCES = t-mutex.c
135 t_mutex_OBJECTS = t-mutex.$(OBJEXT)
136 t_mutex_LDADD = $(LDADD)
137 @HAVE_W32_SYSTEM_FALSE@t_mutex_DEPENDENCIES = ../src/libnpth.la \
138 @HAVE_W32_SYSTEM_FALSE@ $(am__DEPENDENCIES_1) \
139 @HAVE_W32_SYSTEM_FALSE@ $(am__DEPENDENCIES_1)
140 @HAVE_W32_SYSTEM_TRUE@t_mutex_DEPENDENCIES = ../w32/libnpth.la \
141 @HAVE_W32_SYSTEM_TRUE@ $(am__DEPENDENCIES_1)
142 t_thread_SOURCES = t-thread.c
143 t_thread_OBJECTS = t-thread.$(OBJEXT)
144 t_thread_LDADD = $(LDADD)
145 @HAVE_W32_SYSTEM_FALSE@t_thread_DEPENDENCIES = ../src/libnpth.la \
146 @HAVE_W32_SYSTEM_FALSE@ $(am__DEPENDENCIES_1) \
147 @HAVE_W32_SYSTEM_FALSE@ $(am__DEPENDENCIES_1)
148 @HAVE_W32_SYSTEM_TRUE@t_thread_DEPENDENCIES = ../w32/libnpth.la \
149 @HAVE_W32_SYSTEM_TRUE@ $(am__DEPENDENCIES_1)
150 AM_V_P = $(am__v_P_@AM_V@)
151 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
154 AM_V_GEN = $(am__v_GEN_@AM_V@)
155 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
156 am__v_GEN_0 = @echo " GEN " $@;
158 AM_V_at = $(am__v_at_@AM_V@)
159 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
162 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
163 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
164 am__depfiles_maybe = depfiles
166 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
167 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
168 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
169 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
170 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
171 $(AM_CFLAGS) $(CFLAGS)
172 AM_V_CC = $(am__v_CC_@AM_V@)
173 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
174 am__v_CC_0 = @echo " CC " $@;
177 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
178 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
179 $(AM_LDFLAGS) $(LDFLAGS) -o $@
180 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
181 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
182 am__v_CCLD_0 = @echo " CCLD " $@;
184 SOURCES = t-fork.c t-mutex.c t-thread.c
185 DIST_SOURCES = t-fork.c t-mutex.c t-thread.c
186 am__can_run_installinfo = \
187 case $$AM_UPDATE_INFO_DIR in \
189 *) (install-info --version) >/dev/null 2>&1;; \
191 HEADERS = $(noinst_HEADERS)
192 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
193 # Read a list of newline-separated strings from the standard input,
194 # and print each of them once, without duplicates. Input order is
196 am__uniquify_input = $(AWK) '\
197 BEGIN { nonempty = 0; } \
198 { items[$$0] = 1; nonempty = 1; } \
199 END { if (nonempty) { for (i in items) print i; }; } \
201 # Make sure the list of sources is unique. This is necessary because,
202 # e.g., the same source file might be shared among _SOURCES variables
203 # for different programs/libraries.
204 am__define_uniq_tagged_files = \
205 list='$(am__tagged_files)'; \
206 unique=`for i in $$list; do \
207 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
208 done | $(am__uniquify_input)`
211 am__tty_colors_dummy = \
212 mgn= red= grn= lgn= blu= brg= std=; \
215 $(am__tty_colors_dummy); \
216 if test "X$(AM_COLOR_TESTS)" = Xno; then \
217 am__color_tests=no; \
218 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
219 am__color_tests=yes; \
220 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
221 am__color_tests=yes; \
223 if test $$am__color_tests = yes; then \
233 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
236 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
239 AUTOCONF = @AUTOCONF@
240 AUTOHEADER = @AUTOHEADER@
241 AUTOMAKE = @AUTOMAKE@
243 BUILD_FILEVERSION = @BUILD_FILEVERSION@
244 BUILD_ISODATE = @BUILD_ISODATE@
245 BUILD_TIMESTAMP = @BUILD_TIMESTAMP@
247 CCDEPMODE = @CCDEPMODE@
250 CPPFLAGS = @CPPFLAGS@
251 CYGPATH_W = @CYGPATH_W@
255 DSYMUTIL = @DSYMUTIL@
264 INSERT_SIGNAL_H = @INSERT_SIGNAL_H@
265 INSERT_SOCKLEN_T = @INSERT_SOCKLEN_T@
266 INSERT_SYS_SELECT_H = @INSERT_SYS_SELECT_H@
267 INSERT_SYS_TIME_H = @INSERT_SYS_TIME_H@
268 INSERT_TIME_H = @INSERT_TIME_H@
270 INSTALL_DATA = @INSTALL_DATA@
271 INSTALL_PROGRAM = @INSTALL_PROGRAM@
272 INSTALL_SCRIPT = @INSTALL_SCRIPT@
273 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
276 LIBNPTH_LT_AGE = @LIBNPTH_LT_AGE@
277 LIBNPTH_LT_CURRENT = @LIBNPTH_LT_CURRENT@
278 LIBNPTH_LT_REVISION = @LIBNPTH_LT_REVISION@
281 LIBSOCKET = @LIBSOCKET@
283 LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@
286 LTLIBOBJS = @LTLIBOBJS@
288 MAKEINFO = @MAKEINFO@
289 MANIFEST_TOOL = @MANIFEST_TOOL@
294 NPTH_CONFIG_API_VERSION = @NPTH_CONFIG_API_VERSION@
295 NPTH_CONFIG_CFLAGS = @NPTH_CONFIG_CFLAGS@
296 NPTH_CONFIG_HOST = @NPTH_CONFIG_HOST@
297 NPTH_CONFIG_LIBS = @NPTH_CONFIG_LIBS@
303 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
304 PACKAGE_NAME = @PACKAGE_NAME@
305 PACKAGE_STRING = @PACKAGE_STRING@
306 PACKAGE_TARNAME = @PACKAGE_TARNAME@
307 PACKAGE_URL = @PACKAGE_URL@
308 PACKAGE_VERSION = @PACKAGE_VERSION@
309 PATH_SEPARATOR = @PATH_SEPARATOR@
313 SET_MAKE = @SET_MAKE@
316 SYS_SOCKET_H = @SYS_SOCKET_H@
318 VERSION_NUMBER = @VERSION_NUMBER@
319 abs_builddir = @abs_builddir@
320 abs_srcdir = @abs_srcdir@
321 abs_top_builddir = @abs_top_builddir@
322 abs_top_srcdir = @abs_top_srcdir@
323 ac_ct_AR = @ac_ct_AR@
324 ac_ct_CC = @ac_ct_CC@
325 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
326 am__include = @am__include@
327 am__leading_dot = @am__leading_dot@
328 am__quote = @am__quote@
330 am__untar = @am__untar@
333 build_alias = @build_alias@
334 build_cpu = @build_cpu@
335 build_os = @build_os@
336 build_vendor = @build_vendor@
337 builddir = @builddir@
339 datarootdir = @datarootdir@
342 emacs_local_vars_begin = @emacs_local_vars_begin@
343 emacs_local_vars_end = @emacs_local_vars_end@
344 emacs_local_vars_read_only = @emacs_local_vars_read_only@
345 exec_prefix = @exec_prefix@
347 host_alias = @host_alias@
348 host_cpu = @host_cpu@
350 host_vendor = @host_vendor@
352 includedir = @includedir@
354 install_sh = @install_sh@
356 libexecdir = @libexecdir@
357 localedir = @localedir@
358 localstatedir = @localstatedir@
361 oldincludedir = @oldincludedir@
364 program_transform_name = @program_transform_name@
367 sharedstatedir = @sharedstatedir@
369 sysconfdir = @sysconfdir@
370 target_alias = @target_alias@
371 top_build_prefix = @top_build_prefix@
372 top_builddir = @top_builddir@
373 top_srcdir = @top_srcdir@
374 @HAVE_W32_SYSTEM_FALSE@AM_CPPFLAGS = -I../src -D_POSIX_C_SOURCE=200112L
376 # We explicitly require POSIX.1-2001 so that pthread_rwlock_t is
377 # available when build with c99.
378 @HAVE_W32_SYSTEM_TRUE@AM_CPPFLAGS = -I$(top_srcdir)/w32
379 @HAVE_W32_SYSTEM_FALSE@AM_LDFLAGS =
380 @HAVE_W32_SYSTEM_TRUE@AM_LDFLAGS =
381 @HAVE_W32_SYSTEM_FALSE@LDADD = ../src/libnpth.la $(LIBSOCKET) $(LIB_CLOCK_GETTIME)
382 @HAVE_W32_SYSTEM_TRUE@LDADD = ../w32/libnpth.la $(LIB_CLOCK_GETTIME)
383 noinst_HEADERS = t-support.h
387 .SUFFIXES: .c .lo .o .obj
388 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
390 case '$(am__configure_deps)' in \
392 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
393 && { if test -f $@; then exit 0; else break; fi; }; \
397 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \
398 $(am__cd) $(top_srcdir) && \
399 $(AUTOMAKE) --gnu tests/Makefile
401 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
404 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
406 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
407 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
410 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
411 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
413 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
414 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
415 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
416 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
417 $(am__aclocal_m4_deps):
419 clean-noinstPROGRAMS:
420 @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
421 echo " rm -f" $$list; \
422 rm -f $$list || exit $$?; \
423 test -n "$(EXEEXT)" || exit 0; \
424 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
425 echo " rm -f" $$list; \
428 t-fork$(EXEEXT): $(t_fork_OBJECTS) $(t_fork_DEPENDENCIES) $(EXTRA_t_fork_DEPENDENCIES)
429 @rm -f t-fork$(EXEEXT)
430 $(AM_V_CCLD)$(LINK) $(t_fork_OBJECTS) $(t_fork_LDADD) $(LIBS)
432 t-mutex$(EXEEXT): $(t_mutex_OBJECTS) $(t_mutex_DEPENDENCIES) $(EXTRA_t_mutex_DEPENDENCIES)
433 @rm -f t-mutex$(EXEEXT)
434 $(AM_V_CCLD)$(LINK) $(t_mutex_OBJECTS) $(t_mutex_LDADD) $(LIBS)
436 t-thread$(EXEEXT): $(t_thread_OBJECTS) $(t_thread_DEPENDENCIES) $(EXTRA_t_thread_DEPENDENCIES)
437 @rm -f t-thread$(EXEEXT)
438 $(AM_V_CCLD)$(LINK) $(t_thread_OBJECTS) $(t_thread_LDADD) $(LIBS)
446 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/t-fork.Po@am__quote@
447 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/t-mutex.Po@am__quote@
448 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/t-thread.Po@am__quote@
451 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
452 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
453 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
454 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
455 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
458 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
459 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
460 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
461 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
462 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
465 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
466 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
467 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
468 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
469 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
477 ID: $(am__tagged_files)
478 $(am__define_uniq_tagged_files); mkid -fID $$unique
482 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
485 $(am__define_uniq_tagged_files); \
487 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
488 test -n "$$unique" || unique=$$empty_fix; \
489 if test $$# -gt 0; then \
490 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
493 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
500 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
501 $(am__define_uniq_tagged_files); \
502 test -z "$(CTAGS_ARGS)$$unique" \
503 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
507 here=`$(am__cd) $(top_builddir) && pwd` \
508 && $(am__cd) $(top_srcdir) \
509 && gtags -i $(GTAGS_ARGS) "$$here"
510 cscopelist: cscopelist-am
512 cscopelist-am: $(am__tagged_files)
513 list='$(am__tagged_files)'; \
514 case "$(srcdir)" in \
515 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
516 *) sdir=$(subdir)/$(srcdir) ;; \
518 for i in $$list; do \
519 if test -f "$$i"; then \
520 echo "$(subdir)/$$i"; \
524 done >> $(top_builddir)/cscope.files
527 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
529 check-TESTS: $(TESTS)
530 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
531 srcdir=$(srcdir); export srcdir; \
534 if test -n "$$list"; then \
535 for tst in $$list; do \
536 if test -f ./$$tst; then dir=./; \
537 elif test -f $$tst; then dir=; \
538 else dir="$(srcdir)/"; fi; \
539 if $(TESTS_ENVIRONMENT) $${dir}$$tst $(AM_TESTS_FD_REDIRECT); then \
540 all=`expr $$all + 1`; \
541 case " $(XFAIL_TESTS) " in \
542 *[\ \ ]$$tst[\ \ ]*) \
543 xpass=`expr $$xpass + 1`; \
544 failed=`expr $$failed + 1`; \
545 col=$$red; res=XPASS; \
548 col=$$grn; res=PASS; \
551 elif test $$? -ne 77; then \
552 all=`expr $$all + 1`; \
553 case " $(XFAIL_TESTS) " in \
554 *[\ \ ]$$tst[\ \ ]*) \
555 xfail=`expr $$xfail + 1`; \
556 col=$$lgn; res=XFAIL; \
559 failed=`expr $$failed + 1`; \
560 col=$$red; res=FAIL; \
564 skip=`expr $$skip + 1`; \
565 col=$$blu; res=SKIP; \
567 echo "$${col}$$res$${std}: $$tst"; \
569 if test "$$all" -eq 1; then \
576 if test "$$failed" -eq 0; then \
577 if test "$$xfail" -eq 0; then \
578 banner="$$All$$all $$tests passed"; \
580 if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
581 banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
584 if test "$$xpass" -eq 0; then \
585 banner="$$failed of $$all $$tests failed"; \
587 if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
588 banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
593 if test "$$skip" -ne 0; then \
594 if test "$$skip" -eq 1; then \
595 skipped="($$skip test was not run)"; \
597 skipped="($$skip tests were not run)"; \
599 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
600 dashes="$$skipped"; \
603 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
604 report="Please report to $(PACKAGE_BUGREPORT)"; \
605 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
608 dashes=`echo "$$dashes" | sed s/./=/g`; \
609 if test "$$failed" -eq 0; then \
614 echo "$${col}$$dashes$${std}"; \
615 echo "$${col}$$banner$${std}"; \
616 test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
617 test -z "$$report" || echo "$${col}$$report$${std}"; \
618 echo "$${col}$$dashes$${std}"; \
619 test "$$failed" -eq 0; \
622 distdir: $(DISTFILES)
623 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
624 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
625 list='$(DISTFILES)'; \
626 dist_files=`for file in $$list; do echo $$file; done | \
627 sed -e "s|^$$srcdirstrip/||;t" \
628 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
629 case $$dist_files in \
630 */*) $(MKDIR_P) `echo "$$dist_files" | \
631 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
634 for file in $$dist_files; do \
635 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
636 if test -d $$d/$$file; then \
637 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
638 if test -d "$(distdir)/$$file"; then \
639 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
641 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
642 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
643 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
645 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
647 test -f "$(distdir)/$$file" \
648 || cp -p $$d/$$file "$(distdir)/$$file" \
653 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
655 all-am: Makefile $(PROGRAMS) $(HEADERS)
658 install-exec: install-exec-am
659 install-data: install-data-am
660 uninstall: uninstall-am
663 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
665 installcheck: installcheck-am
667 if test -z '$(STRIP)'; then \
668 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
669 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
672 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
673 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
674 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
681 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
682 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
684 maintainer-clean-generic:
685 @echo "This command is intended for maintainers to use"
686 @echo "it deletes files that may require special tools to rebuild."
689 clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
692 distclean: distclean-am
695 distclean-am: clean-am distclean-compile distclean-generic \
712 install-dvi: install-dvi-am
718 install-html: install-html-am
722 install-info: install-info-am
728 install-pdf: install-pdf-am
732 install-ps: install-ps-am
738 maintainer-clean: maintainer-clean-am
741 maintainer-clean-am: distclean-am maintainer-clean-generic
743 mostlyclean: mostlyclean-am
745 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
758 .MAKE: check-am install-am install-strip
760 .PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
761 clean-generic clean-libtool clean-noinstPROGRAMS cscopelist-am \
762 ctags ctags-am distclean distclean-compile distclean-generic \
763 distclean-libtool distclean-tags distdir dvi dvi-am html \
764 html-am info info-am install install-am install-data \
765 install-data-am install-dvi install-dvi-am install-exec \
766 install-exec-am install-html install-html-am install-info \
767 install-info-am install-man install-pdf install-pdf-am \
768 install-ps install-ps-am install-strip installcheck \
769 installcheck-am installdirs maintainer-clean \
770 maintainer-clean-generic mostlyclean mostlyclean-compile \
771 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
772 tags tags-am uninstall uninstall-am
775 # Tell versions [3.59,3.63) of GNU make to not export all variables.
776 # Otherwise a system limit (for SysV at least) may be exceeded.