1 # Makefile.in generated by automake 1.10.2 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008 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 for libgpg-error/tests.
18 # Copyright (C) 2003 g10 Code GmbH
20 # This file is part of libgpg-error.
22 # libgpg-error is free software; you can redistribute it and/or modify
23 # it 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 # libgpg-error is distributed in the hope that it will be useful,
28 # but WITHOUT ANY WARRANTY; without even the implied warranty of
29 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 # GNU Lesser General 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, write to the Free Software
34 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
40 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
41 install_sh_DATA = $(install_sh) -c -m 644
42 install_sh_PROGRAM = $(install_sh) -c
43 install_sh_SCRIPT = $(install_sh) -c
44 INSTALL_HEADER = $(INSTALL_DATA)
45 transform = $(program_transform_name)
52 build_triplet = @build@
54 TESTS = t-strerror$(EXEEXT) t-syserror$(EXEEXT)
55 noinst_PROGRAMS = $(am__EXEEXT_1)
57 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
58 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
59 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
60 $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \
61 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
62 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
63 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
64 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
65 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
66 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
67 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
69 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
70 CONFIG_HEADER = $(top_builddir)/config.h
72 am__EXEEXT_1 = t-strerror$(EXEEXT) t-syserror$(EXEEXT)
73 PROGRAMS = $(noinst_PROGRAMS)
74 t_strerror_SOURCES = t-strerror.c
75 t_strerror_OBJECTS = t-strerror.$(OBJEXT)
76 t_strerror_LDADD = $(LDADD)
77 t_strerror_DEPENDENCIES = ../src/libgpg-error.la
78 t_syserror_SOURCES = t-syserror.c
79 t_syserror_OBJECTS = t-syserror.$(OBJEXT)
80 t_syserror_LDADD = $(LDADD)
81 t_syserror_DEPENDENCIES = ../src/libgpg-error.la
82 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
83 depcomp = $(SHELL) $(top_srcdir)/depcomp
84 am__depfiles_maybe = depfiles
85 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
86 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
87 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
88 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
89 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
91 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
92 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
94 SOURCES = t-strerror.c t-syserror.c
95 DIST_SOURCES = t-strerror.c t-syserror.c
98 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
103 AUTOCONF = @AUTOCONF@
104 AUTOHEADER = @AUTOHEADER@
105 AUTOMAKE = @AUTOMAKE@
107 BUILD_FILEVERSION = @BUILD_FILEVERSION@
108 BUILD_TIMESTAMP = @BUILD_TIMESTAMP@
110 CCDEPMODE = @CCDEPMODE@
111 CC_FOR_BUILD = @CC_FOR_BUILD@
114 CPPFLAGS = @CPPFLAGS@
115 CYGPATH_W = @CYGPATH_W@
119 DSYMUTIL = @DSYMUTIL@
127 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
129 GMSGFMT_015 = @GMSGFMT_015@
130 GPG_ERROR_CONFIG_CFLAGS = @GPG_ERROR_CONFIG_CFLAGS@
131 GPG_ERROR_CONFIG_ISUBDIRAFTER = @GPG_ERROR_CONFIG_ISUBDIRAFTER@
132 GPG_ERROR_CONFIG_LIBS = @GPG_ERROR_CONFIG_LIBS@
135 INSTALL_DATA = @INSTALL_DATA@
136 INSTALL_PROGRAM = @INSTALL_PROGRAM@
137 INSTALL_SCRIPT = @INSTALL_SCRIPT@
138 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
139 INTLLIBS = @INTLLIBS@
140 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
143 LIBGPG_ERROR_LT_AGE = @LIBGPG_ERROR_LT_AGE@
144 LIBGPG_ERROR_LT_CURRENT = @LIBGPG_ERROR_LT_CURRENT@
145 LIBGPG_ERROR_LT_REVISION = @LIBGPG_ERROR_LT_REVISION@
146 LIBICONV = @LIBICONV@
153 LTLIBICONV = @LTLIBICONV@
154 LTLIBINTL = @LTLIBINTL@
155 LTLIBOBJS = @LTLIBOBJS@
157 MAKEINFO = @MAKEINFO@
160 MSGFMT_015 = @MSGFMT_015@
161 MSGMERGE = @MSGMERGE@
169 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
170 PACKAGE_NAME = @PACKAGE_NAME@
171 PACKAGE_STRING = @PACKAGE_STRING@
172 PACKAGE_TARNAME = @PACKAGE_TARNAME@
173 PACKAGE_URL = @PACKAGE_URL@
174 PACKAGE_VERSION = @PACKAGE_VERSION@
175 PATH_SEPARATOR = @PATH_SEPARATOR@
180 SET_MAKE = @SET_MAKE@
185 XGETTEXT = @XGETTEXT@
186 XGETTEXT_015 = @XGETTEXT_015@
187 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
188 abs_builddir = @abs_builddir@
189 abs_srcdir = @abs_srcdir@
190 abs_top_builddir = @abs_top_builddir@
191 abs_top_srcdir = @abs_top_srcdir@
192 ac_ct_CC = @ac_ct_CC@
193 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
194 am__include = @am__include@
195 am__leading_dot = @am__leading_dot@
196 am__quote = @am__quote@
198 am__untar = @am__untar@
201 build_alias = @build_alias@
202 build_cpu = @build_cpu@
203 build_os = @build_os@
204 build_vendor = @build_vendor@
205 builddir = @builddir@
207 datarootdir = @datarootdir@
210 exec_prefix = @exec_prefix@
212 host_alias = @host_alias@
213 host_cpu = @host_cpu@
215 host_vendor = @host_vendor@
217 includedir = @includedir@
219 install_sh = @install_sh@
221 libexecdir = @libexecdir@
222 localedir = @localedir@
223 localstatedir = @localstatedir@
227 oldincludedir = @oldincludedir@
230 program_transform_name = @program_transform_name@
233 sharedstatedir = @sharedstatedir@
235 sysconfdir = @sysconfdir@
236 target_alias = @target_alias@
237 top_build_prefix = @top_build_prefix@
238 top_builddir = @top_builddir@
239 top_srcdir = @top_srcdir@
240 @HAVE_W32CE_SYSTEM_FALSE@extra_includes =
241 @HAVE_W32CE_SYSTEM_TRUE@extra_includes = -idirafter $(top_builddir)/src/gpg-extra
242 INCLUDES = -I$(top_builddir)/src $(extra_includes)
243 LDADD = ../src/libgpg-error.la
247 .SUFFIXES: .c .lo .o .obj
248 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
250 case '$(am__configure_deps)' in \
252 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
253 && { if test -f $@; then exit 0; else break; fi; }; \
257 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \
258 cd $(top_srcdir) && \
259 $(AUTOMAKE) --gnu tests/Makefile
261 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
264 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
266 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
267 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
270 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
271 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
273 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
274 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
275 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
276 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
278 clean-noinstPROGRAMS:
279 @list='$(noinst_PROGRAMS)'; for p in $$list; do \
280 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
281 echo " rm -f $$p $$f"; \
284 t-strerror$(EXEEXT): $(t_strerror_OBJECTS) $(t_strerror_DEPENDENCIES)
285 @rm -f t-strerror$(EXEEXT)
286 $(LINK) $(t_strerror_OBJECTS) $(t_strerror_LDADD) $(LIBS)
287 t-syserror$(EXEEXT): $(t_syserror_OBJECTS) $(t_syserror_DEPENDENCIES)
288 @rm -f t-syserror$(EXEEXT)
289 $(LINK) $(t_syserror_OBJECTS) $(t_syserror_LDADD) $(LIBS)
297 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/t-strerror.Po@am__quote@
298 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/t-syserror.Po@am__quote@
301 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
302 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
303 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
304 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
305 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
308 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
309 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
310 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
311 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
312 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
315 @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
316 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
317 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
318 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
319 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
327 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
328 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
329 unique=`for i in $$list; do \
330 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
332 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
333 END { if (nonempty) { for (i in files) print i; }; }'`; \
337 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
338 $(TAGS_FILES) $(LISP)
341 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
342 unique=`for i in $$list; do \
343 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
345 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
346 END { if (nonempty) { for (i in files) print i; }; }'`; \
347 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
348 test -n "$$unique" || unique=$$empty_fix; \
349 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
353 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
354 $(TAGS_FILES) $(LISP)
356 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
357 unique=`for i in $$list; do \
358 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
360 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
361 END { if (nonempty) { for (i in files) print i; }; }'`; \
362 test -z "$(CTAGS_ARGS)$$tags$$unique" \
363 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
367 here=`$(am__cd) $(top_builddir) && pwd` \
368 && cd $(top_srcdir) \
369 && gtags -i $(GTAGS_ARGS) $$here
372 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
374 check-TESTS: $(TESTS)
375 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
376 srcdir=$(srcdir); export srcdir; \
378 if test -n "$$list"; then \
379 for tst in $$list; do \
380 if test -f ./$$tst; then dir=./; \
381 elif test -f $$tst; then dir=; \
382 else dir="$(srcdir)/"; fi; \
383 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
384 all=`expr $$all + 1`; \
385 case " $(XFAIL_TESTS) " in \
386 *[\ \ ]$$tst[\ \ ]*) \
387 xpass=`expr $$xpass + 1`; \
388 failed=`expr $$failed + 1`; \
389 echo "XPASS: $$tst"; \
392 echo "PASS: $$tst"; \
395 elif test $$? -ne 77; then \
396 all=`expr $$all + 1`; \
397 case " $(XFAIL_TESTS) " in \
398 *[\ \ ]$$tst[\ \ ]*) \
399 xfail=`expr $$xfail + 1`; \
400 echo "XFAIL: $$tst"; \
403 failed=`expr $$failed + 1`; \
404 echo "FAIL: $$tst"; \
408 skip=`expr $$skip + 1`; \
409 echo "SKIP: $$tst"; \
412 if test "$$all" -eq 1; then \
419 if test "$$failed" -eq 0; then \
420 if test "$$xfail" -eq 0; then \
421 banner="$$All$$all $$tests passed"; \
423 if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
424 banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
427 if test "$$xpass" -eq 0; then \
428 banner="$$failed of $$all $$tests failed"; \
430 if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
431 banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
436 if test "$$skip" -ne 0; then \
437 if test "$$skip" -eq 1; then \
438 skipped="($$skip test was not run)"; \
440 skipped="($$skip tests were not run)"; \
442 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
443 dashes="$$skipped"; \
446 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
447 report="Please report to $(PACKAGE_BUGREPORT)"; \
448 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
451 dashes=`echo "$$dashes" | sed s/./=/g`; \
454 test -z "$$skipped" || echo "$$skipped"; \
455 test -z "$$report" || echo "$$report"; \
457 test "$$failed" -eq 0; \
460 distdir: $(DISTFILES)
461 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
462 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
463 list='$(DISTFILES)'; \
464 dist_files=`for file in $$list; do echo $$file; done | \
465 sed -e "s|^$$srcdirstrip/||;t" \
466 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
467 case $$dist_files in \
468 */*) $(MKDIR_P) `echo "$$dist_files" | \
469 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
472 for file in $$dist_files; do \
473 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
474 if test -d $$d/$$file; then \
475 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
476 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
477 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
479 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
481 test -f $(distdir)/$$file \
482 || cp -p $$d/$$file $(distdir)/$$file \
487 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
489 all-am: Makefile $(PROGRAMS)
492 install-exec: install-exec-am
493 install-data: install-data-am
494 uninstall: uninstall-am
497 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
499 installcheck: installcheck-am
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
510 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
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."
517 clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
520 distclean: distclean-am
523 distclean-am: clean-am distclean-compile distclean-generic \
538 install-dvi: install-dvi-am
542 install-html: install-html-am
544 install-info: install-info-am
548 install-pdf: install-pdf-am
550 install-ps: install-ps-am
554 maintainer-clean: maintainer-clean-am
557 maintainer-clean-am: distclean-am maintainer-clean-generic
559 mostlyclean: mostlyclean-am
561 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
574 .MAKE: install-am install-strip
576 .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
577 clean-generic clean-libtool clean-noinstPROGRAMS ctags \
578 distclean distclean-compile distclean-generic \
579 distclean-libtool distclean-tags distdir dvi dvi-am html \
580 html-am info info-am install install-am install-data \
581 install-data-am install-dvi install-dvi-am install-exec \
582 install-exec-am install-html install-html-am install-info \
583 install-info-am install-man install-pdf install-pdf-am \
584 install-ps install-ps-am install-strip installcheck \
585 installcheck-am installdirs maintainer-clean \
586 maintainer-clean-generic mostlyclean mostlyclean-compile \
587 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
588 tags uninstall uninstall-am
590 # Tell versions [3.59,3.63) of GNU make to not export all variables.
591 # Otherwise a system limit (for SysV at least) may be exceeded.