1 # Makefile.in generated by automake 1.11.6 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 # Makefile.am - for the KSBA regression tests
19 # Copyright (C) 2001, 2003 g10 Code GmbH
21 # This file is part of KSBA.
23 # KSBA is free software; you can redistribute it and/or modify
24 # it under the terms of the GNU General Public License as published by
25 # the Free Software Foundation; either version 3 of the License, or
26 # (at your option) any later version.
28 # KSBA is distributed in the hope that it will be useful,
29 # but WITHOUT ANY WARRANTY; without even the implied warranty of
30 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31 # GNU General Public License for more details.
33 # You should have received a copy of the GNU General Public License
34 # along with this program; if not, see <http://www.gnu.org/licenses/>.
43 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
44 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
46 for am__flg in $$MAKEFLAGS; do \
49 *n*) am__dry=yes; break;; \
53 test $$am__dry = yes; \
55 pkgdatadir = $(datadir)/@PACKAGE@
56 pkgincludedir = $(includedir)/@PACKAGE@
57 pkglibdir = $(libdir)/@PACKAGE@
58 pkglibexecdir = $(libexecdir)/@PACKAGE@
59 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
60 install_sh_DATA = $(install_sh) -c -m 644
61 install_sh_PROGRAM = $(install_sh) -c
62 install_sh_SCRIPT = $(install_sh) -c
63 INSTALL_HEADER = $(INSTALL_DATA)
64 transform = $(program_transform_name)
71 build_triplet = @build@
73 TESTS = cert-basic$(EXEEXT) t-crl-parser$(EXEEXT) t-dnparser$(EXEEXT)
74 noinst_PROGRAMS = $(am__EXEEXT_1) t-cms-parser$(EXEEXT) \
75 t-crl-parser$(EXEEXT) t-dnparser$(EXEEXT) t-ocsp$(EXEEXT) \
78 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
80 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
81 am__aclocal_m4_deps = $(top_srcdir)/gl/m4/alloca.m4 \
82 $(top_srcdir)/gl/m4/gnulib.m4 $(top_srcdir)/m4/autobuild.m4 \
83 $(top_srcdir)/m4/gnupg-typedef.m4 \
84 $(top_srcdir)/m4/gpg-error.m4 $(top_srcdir)/m4/libtool.m4 \
85 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
86 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
87 $(top_srcdir)/configure.ac
88 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
90 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
91 CONFIG_HEADER = $(top_builddir)/config.h
93 CONFIG_CLEAN_VPATH_FILES =
94 am__EXEEXT_1 = cert-basic$(EXEEXT) t-crl-parser$(EXEEXT) \
96 PROGRAMS = $(noinst_PROGRAMS)
97 cert_basic_SOURCES = cert-basic.c
98 cert_basic_OBJECTS = cert-basic.$(OBJEXT)
99 cert_basic_LDADD = $(LDADD)
101 cert_basic_DEPENDENCIES = ../src/libksba.la $(am__DEPENDENCIES_1)
102 t_cms_parser_SOURCES = t-cms-parser.c
103 t_cms_parser_OBJECTS = t-cms-parser.$(OBJEXT)
104 t_cms_parser_LDADD = $(LDADD)
105 t_cms_parser_DEPENDENCIES = ../src/libksba.la $(am__DEPENDENCIES_1)
106 t_crl_parser_SOURCES = t-crl-parser.c
107 t_crl_parser_OBJECTS = t-crl-parser.$(OBJEXT)
108 t_crl_parser_LDADD = $(LDADD)
109 t_crl_parser_DEPENDENCIES = ../src/libksba.la $(am__DEPENDENCIES_1)
110 t_dnparser_SOURCES = t-dnparser.c
111 t_dnparser_OBJECTS = t-dnparser.$(OBJEXT)
112 t_dnparser_LDADD = $(LDADD)
113 t_dnparser_DEPENDENCIES = ../src/libksba.la $(am__DEPENDENCIES_1)
114 am_t_ocsp_OBJECTS = t-ocsp.$(OBJEXT) sha1.$(OBJEXT)
115 t_ocsp_OBJECTS = $(am_t_ocsp_OBJECTS)
116 t_ocsp_LDADD = $(LDADD)
117 t_ocsp_DEPENDENCIES = ../src/libksba.la $(am__DEPENDENCIES_1)
118 t_oid_SOURCES = t-oid.c
119 t_oid_OBJECTS = t-oid.$(OBJEXT)
120 t_oid_LDADD = $(LDADD)
121 t_oid_DEPENDENCIES = ../src/libksba.la $(am__DEPENDENCIES_1)
122 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
123 depcomp = $(SHELL) $(top_srcdir)/depcomp
124 am__depfiles_maybe = depfiles
126 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
127 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
128 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
129 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
130 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
132 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
133 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
135 SOURCES = cert-basic.c t-cms-parser.c t-crl-parser.c t-dnparser.c \
136 $(t_ocsp_SOURCES) t-oid.c
137 DIST_SOURCES = cert-basic.c t-cms-parser.c t-crl-parser.c t-dnparser.c \
138 $(t_ocsp_SOURCES) t-oid.c
139 am__can_run_installinfo = \
140 case $$AM_UPDATE_INFO_DIR in \
142 *) (install-info --version) >/dev/null 2>&1;; \
144 HEADERS = $(noinst_HEADERS)
148 red=; grn=; lgn=; blu=; std=
149 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
152 ALLOCA_H = @ALLOCA_H@
156 AUTOCONF = @AUTOCONF@
157 AUTOHEADER = @AUTOHEADER@
158 AUTOMAKE = @AUTOMAKE@
160 BUILD_FILEVERSION = @BUILD_FILEVERSION@
161 BUILD_REVISION = @BUILD_REVISION@
162 BUILD_TIMESTAMP = @BUILD_TIMESTAMP@
164 CCDEPMODE = @CCDEPMODE@
165 CC_FOR_BUILD = @CC_FOR_BUILD@
168 CPPFLAGS = @CPPFLAGS@
169 CYGPATH_W = @CYGPATH_W@
173 DSYMUTIL = @DSYMUTIL@
181 GPG_ERROR_CFLAGS = @GPG_ERROR_CFLAGS@
182 GPG_ERROR_CONFIG = @GPG_ERROR_CONFIG@
183 GPG_ERROR_LIBS = @GPG_ERROR_LIBS@
186 INSTALL_DATA = @INSTALL_DATA@
187 INSTALL_PROGRAM = @INSTALL_PROGRAM@
188 INSTALL_SCRIPT = @INSTALL_SCRIPT@
189 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
190 KSBA_CONFIG_API_VERSION = @KSBA_CONFIG_API_VERSION@
191 KSBA_CONFIG_CFLAGS = @KSBA_CONFIG_CFLAGS@
192 KSBA_CONFIG_HOST = @KSBA_CONFIG_HOST@
193 KSBA_CONFIG_LIBS = @KSBA_CONFIG_LIBS@
196 LIBKSBA_LT_AGE = @LIBKSBA_LT_AGE@
197 LIBKSBA_LT_CURRENT = @LIBKSBA_LT_CURRENT@
198 LIBKSBA_LT_REVISION = @LIBKSBA_LT_REVISION@
204 LTALLOCA = @LTALLOCA@
205 LTLIBOBJS = @LTLIBOBJS@
207 MAKEINFO = @MAKEINFO@
208 MANIFEST_TOOL = @MANIFEST_TOOL@
217 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
218 PACKAGE_NAME = @PACKAGE_NAME@
219 PACKAGE_STRING = @PACKAGE_STRING@
220 PACKAGE_TARNAME = @PACKAGE_TARNAME@
221 PACKAGE_URL = @PACKAGE_URL@
222 PACKAGE_VERSION = @PACKAGE_VERSION@
223 PATH_SEPARATOR = @PATH_SEPARATOR@
227 SET_MAKE = @SET_MAKE@
233 abs_builddir = @abs_builddir@
234 abs_srcdir = @abs_srcdir@
235 abs_top_builddir = @abs_top_builddir@
236 abs_top_srcdir = @abs_top_srcdir@
237 ac_ct_AR = @ac_ct_AR@
238 ac_ct_CC = @ac_ct_CC@
239 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
240 am__include = @am__include@
241 am__leading_dot = @am__leading_dot@
242 am__quote = @am__quote@
244 am__untar = @am__untar@
247 build_alias = @build_alias@
248 build_cpu = @build_cpu@
249 build_os = @build_os@
250 build_vendor = @build_vendor@
251 builddir = @builddir@
253 datarootdir = @datarootdir@
256 exec_prefix = @exec_prefix@
258 host_alias = @host_alias@
259 host_cpu = @host_cpu@
261 host_vendor = @host_vendor@
263 includedir = @includedir@
265 install_sh = @install_sh@
267 libexecdir = @libexecdir@
268 localedir = @localedir@
269 localstatedir = @localstatedir@
272 oldincludedir = @oldincludedir@
275 program_transform_name = @program_transform_name@
278 sharedstatedir = @sharedstatedir@
280 sysconfdir = @sysconfdir@
281 target_alias = @target_alias@
282 top_build_prefix = @top_build_prefix@
283 top_builddir = @top_builddir@
284 top_srcdir = @top_srcdir@
286 test_certs = cert_dfn_pca01.der cert_dfn_pca15.der \
287 cert_g10code_test1.der crl_testpki_testpca.der \
288 samples/authority.crt samples/betsy.crt samples/bull.crt \
289 samples/ov-ocsp-server.crt samples/ov-userrev.crt \
290 samples/ov-root-ca-cert.crt samples/ov-serverrev.crt \
291 samples/ov-user.crt samples/ov-server.crt \
292 samples/ov2-root-ca-cert.crt samples/ov2-ocsp-server.crt \
293 samples/ov2-user.crt samples/ov2-userrev.crt
295 test_crls = samples/ov-test-crl.crl
296 test_keys = samples/ov-server.p12 samples/ov-userrev.p12 \
297 samples/ov-serverrev.p12 samples/ov-user.p12
299 EXTRA_DIST = $(test_certs) samples/README mkoidtbl.awk
300 BUILT_SOURCES = oidtranstbl.h
301 CLEANFILES = oidtranstbl.h
302 AM_CFLAGS = $(GPG_ERROR_CFLAGS)
303 noinst_HEADERS = t-common.h
304 LDADD = ../src/libksba.la $(GPG_ERROR_LIBS)
305 t_ocsp_SOURCES = t-ocsp.c sha1.c
306 all: $(BUILT_SOURCES)
307 $(MAKE) $(AM_MAKEFLAGS) all-am
310 .SUFFIXES: .c .lo .o .obj
311 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
313 case '$(am__configure_deps)' in \
315 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
316 && { if test -f $@; then exit 0; else break; fi; }; \
320 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \
321 $(am__cd) $(top_srcdir) && \
322 $(AUTOMAKE) --gnu tests/Makefile
324 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
327 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
329 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
330 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
333 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
334 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
336 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
337 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
338 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
339 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
340 $(am__aclocal_m4_deps):
342 clean-noinstPROGRAMS:
343 @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
344 echo " rm -f" $$list; \
345 rm -f $$list || exit $$?; \
346 test -n "$(EXEEXT)" || exit 0; \
347 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
348 echo " rm -f" $$list; \
350 cert-basic$(EXEEXT): $(cert_basic_OBJECTS) $(cert_basic_DEPENDENCIES) $(EXTRA_cert_basic_DEPENDENCIES)
351 @rm -f cert-basic$(EXEEXT)
352 $(LINK) $(cert_basic_OBJECTS) $(cert_basic_LDADD) $(LIBS)
353 t-cms-parser$(EXEEXT): $(t_cms_parser_OBJECTS) $(t_cms_parser_DEPENDENCIES) $(EXTRA_t_cms_parser_DEPENDENCIES)
354 @rm -f t-cms-parser$(EXEEXT)
355 $(LINK) $(t_cms_parser_OBJECTS) $(t_cms_parser_LDADD) $(LIBS)
356 t-crl-parser$(EXEEXT): $(t_crl_parser_OBJECTS) $(t_crl_parser_DEPENDENCIES) $(EXTRA_t_crl_parser_DEPENDENCIES)
357 @rm -f t-crl-parser$(EXEEXT)
358 $(LINK) $(t_crl_parser_OBJECTS) $(t_crl_parser_LDADD) $(LIBS)
359 t-dnparser$(EXEEXT): $(t_dnparser_OBJECTS) $(t_dnparser_DEPENDENCIES) $(EXTRA_t_dnparser_DEPENDENCIES)
360 @rm -f t-dnparser$(EXEEXT)
361 $(LINK) $(t_dnparser_OBJECTS) $(t_dnparser_LDADD) $(LIBS)
362 t-ocsp$(EXEEXT): $(t_ocsp_OBJECTS) $(t_ocsp_DEPENDENCIES) $(EXTRA_t_ocsp_DEPENDENCIES)
363 @rm -f t-ocsp$(EXEEXT)
364 $(LINK) $(t_ocsp_OBJECTS) $(t_ocsp_LDADD) $(LIBS)
365 t-oid$(EXEEXT): $(t_oid_OBJECTS) $(t_oid_DEPENDENCIES) $(EXTRA_t_oid_DEPENDENCIES)
366 @rm -f t-oid$(EXEEXT)
367 $(LINK) $(t_oid_OBJECTS) $(t_oid_LDADD) $(LIBS)
375 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cert-basic.Po@am__quote@
376 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sha1.Po@am__quote@
377 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/t-cms-parser.Po@am__quote@
378 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/t-crl-parser.Po@am__quote@
379 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/t-dnparser.Po@am__quote@
380 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/t-ocsp.Po@am__quote@
381 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/t-oid.Po@am__quote@
384 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
385 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
386 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
387 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
388 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
391 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
392 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
393 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
394 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
395 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
398 @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
399 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
400 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
401 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
402 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
410 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
411 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
412 unique=`for i in $$list; do \
413 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
415 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
416 END { if (nonempty) { for (i in files) print i; }; }'`; \
420 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
421 $(TAGS_FILES) $(LISP)
424 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
425 unique=`for i in $$list; do \
426 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
428 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
429 END { if (nonempty) { for (i in files) print i; }; }'`; \
431 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
432 test -n "$$unique" || unique=$$empty_fix; \
433 if test $$# -gt 0; then \
434 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
437 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
442 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
443 $(TAGS_FILES) $(LISP)
444 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
445 unique=`for i in $$list; do \
446 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
448 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
449 END { if (nonempty) { for (i in files) print i; }; }'`; \
450 test -z "$(CTAGS_ARGS)$$unique" \
451 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
455 here=`$(am__cd) $(top_builddir) && pwd` \
456 && $(am__cd) $(top_srcdir) \
457 && gtags -i $(GTAGS_ARGS) "$$here"
460 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
462 check-TESTS: $(TESTS)
463 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
464 srcdir=$(srcdir); export srcdir; \
467 if test -n "$$list"; then \
468 for tst in $$list; do \
469 if test -f ./$$tst; then dir=./; \
470 elif test -f $$tst; then dir=; \
471 else dir="$(srcdir)/"; fi; \
472 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
473 all=`expr $$all + 1`; \
474 case " $(XFAIL_TESTS) " in \
475 *[\ \ ]$$tst[\ \ ]*) \
476 xpass=`expr $$xpass + 1`; \
477 failed=`expr $$failed + 1`; \
478 col=$$red; res=XPASS; \
481 col=$$grn; res=PASS; \
484 elif test $$? -ne 77; then \
485 all=`expr $$all + 1`; \
486 case " $(XFAIL_TESTS) " in \
487 *[\ \ ]$$tst[\ \ ]*) \
488 xfail=`expr $$xfail + 1`; \
489 col=$$lgn; res=XFAIL; \
492 failed=`expr $$failed + 1`; \
493 col=$$red; res=FAIL; \
497 skip=`expr $$skip + 1`; \
498 col=$$blu; res=SKIP; \
500 echo "$${col}$$res$${std}: $$tst"; \
502 if test "$$all" -eq 1; then \
509 if test "$$failed" -eq 0; then \
510 if test "$$xfail" -eq 0; then \
511 banner="$$All$$all $$tests passed"; \
513 if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
514 banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
517 if test "$$xpass" -eq 0; then \
518 banner="$$failed of $$all $$tests failed"; \
520 if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
521 banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
526 if test "$$skip" -ne 0; then \
527 if test "$$skip" -eq 1; then \
528 skipped="($$skip test was not run)"; \
530 skipped="($$skip tests were not run)"; \
532 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
533 dashes="$$skipped"; \
536 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
537 report="Please report to $(PACKAGE_BUGREPORT)"; \
538 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
541 dashes=`echo "$$dashes" | sed s/./=/g`; \
542 if test "$$failed" -eq 0; then \
547 echo "$${col}$$dashes$${std}"; \
548 echo "$${col}$$banner$${std}"; \
549 test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
550 test -z "$$report" || echo "$${col}$$report$${std}"; \
551 echo "$${col}$$dashes$${std}"; \
552 test "$$failed" -eq 0; \
555 distdir: $(DISTFILES)
556 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
557 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
558 list='$(DISTFILES)'; \
559 dist_files=`for file in $$list; do echo $$file; done | \
560 sed -e "s|^$$srcdirstrip/||;t" \
561 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
562 case $$dist_files in \
563 */*) $(MKDIR_P) `echo "$$dist_files" | \
564 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
567 for file in $$dist_files; do \
568 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
569 if test -d $$d/$$file; then \
570 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
571 if test -d "$(distdir)/$$file"; then \
572 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
574 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
575 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
576 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
578 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
580 test -f "$(distdir)/$$file" \
581 || cp -p $$d/$$file "$(distdir)/$$file" \
586 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
587 check: $(BUILT_SOURCES)
588 $(MAKE) $(AM_MAKEFLAGS) check-am
589 all-am: Makefile $(PROGRAMS) $(HEADERS)
591 install: $(BUILT_SOURCES)
592 $(MAKE) $(AM_MAKEFLAGS) install-am
593 install-exec: install-exec-am
594 install-data: install-data-am
595 uninstall: uninstall-am
598 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
600 installcheck: installcheck-am
602 if test -z '$(STRIP)'; then \
603 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
604 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
607 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
608 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
609 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
614 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
617 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
618 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
620 maintainer-clean-generic:
621 @echo "This command is intended for maintainers to use"
622 @echo "it deletes files that may require special tools to rebuild."
623 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
626 clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
629 distclean: distclean-am
632 distclean-am: clean-am distclean-compile distclean-generic \
649 install-dvi: install-dvi-am
655 install-html: install-html-am
659 install-info: install-info-am
665 install-pdf: install-pdf-am
669 install-ps: install-ps-am
675 maintainer-clean: maintainer-clean-am
678 maintainer-clean-am: distclean-am maintainer-clean-generic
680 mostlyclean: mostlyclean-am
682 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
695 .MAKE: all check check-am install install-am install-strip
697 .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
698 clean-generic clean-libtool clean-noinstPROGRAMS ctags \
699 distclean distclean-compile distclean-generic \
700 distclean-libtool distclean-tags distdir dvi dvi-am html \
701 html-am info info-am install install-am install-data \
702 install-data-am install-dvi install-dvi-am install-exec \
703 install-exec-am install-html install-html-am install-info \
704 install-info-am install-man install-pdf install-pdf-am \
705 install-ps install-ps-am install-strip installcheck \
706 installcheck-am installdirs maintainer-clean \
707 maintainer-clean-generic mostlyclean mostlyclean-compile \
708 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
709 tags uninstall uninstall-am
712 # Build the OID table: Note that the binary includes data from an
713 # another program and we may not be allowed to distribute this. This
714 # ain't no problem as the programs using this generated data are not
715 # installed and thus not distributed.
716 oidtranstbl.h: Makefile mkoidtbl.awk
717 set -e; f="/dev/null"; \
718 for i in /etc/dumpasn1 /usr/local/bin /usr/local/share /usr/bin \
720 if test -f $$i/dumpasn1.cfg; then f=$$i/dumpasn1.cfg; break; fi; \
721 done; $(AWK) -f $(srcdir)/mkoidtbl.awk $$f >$@
723 # Tell versions [3.59,3.63) of GNU make to not export all variables.
724 # Otherwise a system limit (for SysV at least) may be exceeded.