1 # Makefile.in generated by automake 1.16.1 from Makefile.am.
4 # Copyright (C) 1994-2018 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 - main makefile for libksba
18 # Copyright (C) 2001, 2002 g10 Code GmbH
20 # This file is part of KSBA.
22 # KSBA is free software; you can redistribute it and/or modify
23 # it under the terms of the GNU General Public License as published by
24 # the Free Software Foundation; either version 3 of the License, or
25 # (at your option) any later version.
27 # KSBA 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 General Public License for more details.
32 # You should have received a copy of the GNU General Public License
33 # along with this program; if not, see <http://www.gnu.org/licenses/>.
36 if test -z '$(MAKELEVEL)'; then \
38 elif test -n '$(MAKE_HOST)'; then \
40 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
46 am__make_running_with_option = \
47 case $${target_option-} in \
49 *) echo "am__make_running_with_option: internal error: invalid" \
50 "target option '$${target_option-}' specified" >&2; \
54 sane_makeflags=$$MAKEFLAGS; \
55 if $(am__is_gnu_make); then \
56 sane_makeflags=$$MFLAGS; \
61 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
62 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
68 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
70 for flg in $$sane_makeflags; do \
71 test $$skip_next = yes && { skip_next=no; continue; }; \
74 -*I) strip_trailopt 'I'; skip_next=yes;; \
75 -*I?*) strip_trailopt 'I';; \
76 -*O) strip_trailopt 'O'; skip_next=yes;; \
77 -*O?*) strip_trailopt 'O';; \
78 -*l) strip_trailopt 'l'; skip_next=yes;; \
79 -*l?*) strip_trailopt 'l';; \
80 -[dEDm]) skip_next=yes;; \
81 -[JT]) skip_next=yes;; \
84 *$$target_option*) has_opt=yes; break;; \
88 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
89 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
90 pkgdatadir = $(datadir)/@PACKAGE@
91 pkgincludedir = $(includedir)/@PACKAGE@
92 pkglibdir = $(libdir)/@PACKAGE@
93 pkglibexecdir = $(libexecdir)/@PACKAGE@
94 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
95 install_sh_DATA = $(install_sh) -c -m 644
96 install_sh_PROGRAM = $(install_sh) -c
97 install_sh_SCRIPT = $(install_sh) -c
98 INSTALL_HEADER = $(INSTALL_DATA)
99 transform = $(program_transform_name)
106 build_triplet = @build@
107 host_triplet = @host@
109 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
110 am__aclocal_m4_deps = $(top_srcdir)/gl/m4/alloca.m4 \
111 $(top_srcdir)/gl/m4/gnulib.m4 \
112 $(top_srcdir)/gl/m4/valgrind-tests.m4 \
113 $(top_srcdir)/m4/autobuild.m4 \
114 $(top_srcdir)/m4/ax_prog_bison.m4 $(top_srcdir)/m4/gcov.m4 \
115 $(top_srcdir)/m4/gpg-error.m4 $(top_srcdir)/m4/libtool.m4 \
116 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
117 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
118 $(top_srcdir)/configure.ac
119 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
121 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
122 $(am__configure_deps) $(am__DIST_COMMON)
123 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
124 configure.lineno config.status.lineno
125 mkinstalldirs = $(install_sh) -d
126 CONFIG_HEADER = config.h
128 CONFIG_CLEAN_VPATH_FILES =
129 AM_V_P = $(am__v_P_@AM_V@)
130 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
133 AM_V_GEN = $(am__v_GEN_@AM_V@)
134 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
135 am__v_GEN_0 = @echo " GEN " $@;
137 AM_V_at = $(am__v_at_@AM_V@)
138 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
143 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
144 ctags-recursive dvi-recursive html-recursive info-recursive \
145 install-data-recursive install-dvi-recursive \
146 install-exec-recursive install-html-recursive \
147 install-info-recursive install-pdf-recursive \
148 install-ps-recursive install-recursive installcheck-recursive \
149 installdirs-recursive pdf-recursive ps-recursive \
150 tags-recursive uninstall-recursive
151 am__can_run_installinfo = \
152 case $$AM_UPDATE_INFO_DIR in \
154 *) (install-info --version) >/dev/null 2>&1;; \
156 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
157 distclean-recursive maintainer-clean-recursive
158 am__recursive_targets = \
159 $(RECURSIVE_TARGETS) \
160 $(RECURSIVE_CLEAN_TARGETS) \
161 $(am__extra_recursive_targets)
162 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
163 cscope distdir distdir-am dist dist-all distcheck
164 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
166 # Read a list of newline-separated strings from the standard input,
167 # and print each of them once, without duplicates. Input order is
169 am__uniquify_input = $(AWK) '\
170 BEGIN { nonempty = 0; } \
171 { items[$$0] = 1; nonempty = 1; } \
172 END { if (nonempty) { for (i in items) print i; }; } \
174 # Make sure the list of sources is unique. This is necessary because,
175 # e.g., the same source file might be shared among _SOURCES variables
176 # for different programs/libraries.
177 am__define_uniq_tagged_files = \
178 list='$(am__tagged_files)'; \
179 unique=`for i in $$list; do \
180 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
181 done | $(am__uniquify_input)`
185 DIST_SUBDIRS = m4 gl src tests doc
186 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
187 $(top_srcdir)/build-aux/compile \
188 $(top_srcdir)/build-aux/config.guess \
189 $(top_srcdir)/build-aux/config.sub \
190 $(top_srcdir)/build-aux/install-sh \
191 $(top_srcdir)/build-aux/ltmain.sh \
192 $(top_srcdir)/build-aux/missing AUTHORS COPYING ChangeLog \
193 INSTALL NEWS README THANKS TODO build-aux/compile \
194 build-aux/config.guess build-aux/config.sub build-aux/depcomp \
195 build-aux/install-sh build-aux/ltmain.sh build-aux/mdate-sh \
196 build-aux/missing build-aux/texinfo.tex build-aux/ylwrap \
198 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
199 distdir = $(PACKAGE)-$(VERSION)
200 top_distdir = $(distdir)
201 am__remove_distdir = \
202 if test -d "$(distdir)"; then \
203 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
204 && rm -rf "$(distdir)" \
205 || { sleep 5 && rm -rf "$(distdir)"; }; \
207 am__post_remove_distdir = $(am__remove_distdir)
210 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
211 sed_rest='s,^[^/]*/*,,'; \
212 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
213 sed_butlast='s,/*[^/]*$$,,'; \
214 while test -n "$$dir1"; do \
215 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
216 if test "$$first" != "."; then \
217 if test "$$first" = ".."; then \
218 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
219 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
221 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
222 if test "$$first2" = "$$first"; then \
223 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
227 dir0="$$dir0"/"$$first"; \
230 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
234 DIST_ARCHIVES = $(distdir).tar.bz2
235 DIST_TARGETS = dist-bzip2
236 distuninstallcheck_listfiles = find . -type f -print
237 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
238 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
239 distcleancheck_listfiles = find . -type f -print
242 ALLOCA_H = @ALLOCA_H@
244 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
247 AUTOCONF = @AUTOCONF@
248 AUTOHEADER = @AUTOHEADER@
249 AUTOMAKE = @AUTOMAKE@
251 BUILD_FILEVERSION = @BUILD_FILEVERSION@
252 BUILD_REVISION = @BUILD_REVISION@
253 BUILD_TIMESTAMP = @BUILD_TIMESTAMP@
255 CCDEPMODE = @CCDEPMODE@
256 CC_FOR_BUILD = @CC_FOR_BUILD@
258 COVERAGE_CFLAGS = @COVERAGE_CFLAGS@
259 COVERAGE_LDFLAGS = @COVERAGE_LDFLAGS@
261 CPPFLAGS = @CPPFLAGS@
262 CYGPATH_W = @CYGPATH_W@
266 DSYMUTIL = @DSYMUTIL@
276 GPGRT_CONFIG = @GPGRT_CONFIG@
277 GPG_ERROR_CFLAGS = @GPG_ERROR_CFLAGS@
278 GPG_ERROR_CONFIG = @GPG_ERROR_CONFIG@
279 GPG_ERROR_LIBS = @GPG_ERROR_LIBS@
280 GPG_ERROR_MT_CFLAGS = @GPG_ERROR_MT_CFLAGS@
281 GPG_ERROR_MT_LIBS = @GPG_ERROR_MT_LIBS@
284 INSTALL_DATA = @INSTALL_DATA@
285 INSTALL_PROGRAM = @INSTALL_PROGRAM@
286 INSTALL_SCRIPT = @INSTALL_SCRIPT@
287 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
288 KSBA_CONFIG_API_VERSION = @KSBA_CONFIG_API_VERSION@
289 KSBA_CONFIG_CFLAGS = @KSBA_CONFIG_CFLAGS@
290 KSBA_CONFIG_HOST = @KSBA_CONFIG_HOST@
291 KSBA_CONFIG_LIBS = @KSBA_CONFIG_LIBS@
294 LDADD_FOR_TESTS_KLUDGE = @LDADD_FOR_TESTS_KLUDGE@
296 LIBKSBA_LT_AGE = @LIBKSBA_LT_AGE@
297 LIBKSBA_LT_CURRENT = @LIBKSBA_LT_CURRENT@
298 LIBKSBA_LT_REVISION = @LIBKSBA_LT_REVISION@
304 LTALLOCA = @LTALLOCA@
305 LTLIBOBJS = @LTLIBOBJS@
307 MAKEINFO = @MAKEINFO@
308 MANIFEST_TOOL = @MANIFEST_TOOL@
317 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
318 PACKAGE_NAME = @PACKAGE_NAME@
319 PACKAGE_STRING = @PACKAGE_STRING@
320 PACKAGE_TARNAME = @PACKAGE_TARNAME@
321 PACKAGE_URL = @PACKAGE_URL@
322 PACKAGE_VERSION = @PACKAGE_VERSION@
323 PATH_SEPARATOR = @PATH_SEPARATOR@
327 SET_MAKE = @SET_MAKE@
331 VALGRIND = @VALGRIND@
333 VERSION_NUMBER = @VERSION_NUMBER@
336 abs_builddir = @abs_builddir@
337 abs_srcdir = @abs_srcdir@
338 abs_top_builddir = @abs_top_builddir@
339 abs_top_srcdir = @abs_top_srcdir@
340 ac_ct_AR = @ac_ct_AR@
341 ac_ct_CC = @ac_ct_CC@
342 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
343 am__include = @am__include@
344 am__leading_dot = @am__leading_dot@
345 am__quote = @am__quote@
347 am__untar = @am__untar@
350 build_alias = @build_alias@
351 build_cpu = @build_cpu@
352 build_os = @build_os@
353 build_vendor = @build_vendor@
354 builddir = @builddir@
356 datarootdir = @datarootdir@
359 exec_prefix = @exec_prefix@
361 host_alias = @host_alias@
362 host_cpu = @host_cpu@
364 host_vendor = @host_vendor@
366 includedir = @includedir@
368 install_sh = @install_sh@
370 libexecdir = @libexecdir@
371 localedir = @localedir@
372 localstatedir = @localstatedir@
375 oldincludedir = @oldincludedir@
378 program_transform_name = @program_transform_name@
380 runstatedir = @runstatedir@
382 sharedstatedir = @sharedstatedir@
384 sysconfdir = @sysconfdir@
385 target_alias = @target_alias@
386 top_build_prefix = @top_build_prefix@
387 top_builddir = @top_builddir@
388 top_srcdir = @top_srcdir@
389 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
390 DISTCHECK_CONFIGURE_FLAGS = --enable-doc
392 # (A suitable gitlog-to-changelog script can be found in GnuPG master.)
393 GITLOG_TO_CHANGELOG = gitlog-to-changelog
394 EXTRA_DIST = autogen.sh autogen.rc \
395 COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv3 \
396 ChangeLog-2011 doc/ChangeLog-2011 src/ChangeLog-2011 \
397 tests/ChangeLog-2011 \
398 build-aux/git-log-footer build-aux/git-log-fix
400 @CROSS_COMPILING_FALSE@tests = tests
401 @CROSS_COMPILING_TRUE@tests =
402 @BUILD_DOC_FALSE@doc =
403 @BUILD_DOC_TRUE@doc = doc
404 SUBDIRS = m4 gl src $(tests) $(doc)
405 gen_start_date = 2011-12-01T00:00:00
407 $(MAKE) $(AM_MAKEFLAGS) all-recursive
410 am--refresh: Makefile
412 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
414 case '$(am__configure_deps)' in \
416 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
417 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
422 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
423 $(am__cd) $(top_srcdir) && \
424 $(AUTOMAKE) --gnu Makefile
425 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
428 echo ' $(SHELL) ./config.status'; \
429 $(SHELL) ./config.status;; \
431 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
432 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
435 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
436 $(SHELL) ./config.status --recheck
438 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
439 $(am__cd) $(srcdir) && $(AUTOCONF)
440 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
441 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
442 $(am__aclocal_m4_deps):
445 @test -f $@ || rm -f stamp-h1
446 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
448 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
450 cd $(top_builddir) && $(SHELL) ./config.status config.h
451 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
452 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
457 -rm -f config.h stamp-h1
466 -rm -f libtool config.lt
468 # This directory's subdirectories are mostly independent; you can cd
469 # into them and run 'make' without going through this Makefile.
470 # To change the values of 'make' variables: instead of editing Makefiles,
471 # (1) if the variable is set in 'config.status', edit 'config.status'
472 # (which will cause the Makefiles to be regenerated when you run 'make');
473 # (2) otherwise, pass the desired values on the 'make' command line.
474 $(am__recursive_targets):
476 if $(am__make_keepgoing); then \
477 failcom='fail=yes'; \
482 target=`echo $@ | sed s/-recursive//`; \
484 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
485 *) list='$(SUBDIRS)' ;; \
487 for subdir in $$list; do \
488 echo "Making $$target in $$subdir"; \
489 if test "$$subdir" = "."; then \
491 local_target="$$target-am"; \
493 local_target="$$target"; \
495 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
498 if test "$$dot_seen" = "no"; then \
499 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
502 ID: $(am__tagged_files)
503 $(am__define_uniq_tagged_files); mkid -fID $$unique
507 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
510 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
511 include_option=--etags-include; \
514 include_option=--include; \
517 list='$(SUBDIRS)'; for subdir in $$list; do \
518 if test "$$subdir" = .; then :; else \
519 test ! -f $$subdir/TAGS || \
520 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
523 $(am__define_uniq_tagged_files); \
525 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
526 test -n "$$unique" || unique=$$empty_fix; \
527 if test $$# -gt 0; then \
528 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
531 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
535 ctags: ctags-recursive
538 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
539 $(am__define_uniq_tagged_files); \
540 test -z "$(CTAGS_ARGS)$$unique" \
541 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
545 here=`$(am__cd) $(top_builddir) && pwd` \
546 && $(am__cd) $(top_srcdir) \
547 && gtags -i $(GTAGS_ARGS) "$$here"
549 test ! -s cscope.files \
550 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
553 cscope.files: clean-cscope cscopelist
554 cscopelist: cscopelist-recursive
556 cscopelist-am: $(am__tagged_files)
557 list='$(am__tagged_files)'; \
558 case "$(srcdir)" in \
559 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
560 *) sdir=$(subdir)/$(srcdir) ;; \
562 for i in $$list; do \
563 if test -f "$$i"; then \
564 echo "$(subdir)/$$i"; \
568 done >> $(top_builddir)/cscope.files
571 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
572 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
574 distdir: $(BUILT_SOURCES)
575 $(MAKE) $(AM_MAKEFLAGS) distdir-am
577 distdir-am: $(DISTFILES)
578 $(am__remove_distdir)
579 test -d "$(distdir)" || mkdir "$(distdir)"
580 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
581 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
582 list='$(DISTFILES)'; \
583 dist_files=`for file in $$list; do echo $$file; done | \
584 sed -e "s|^$$srcdirstrip/||;t" \
585 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
586 case $$dist_files in \
587 */*) $(MKDIR_P) `echo "$$dist_files" | \
588 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
591 for file in $$dist_files; do \
592 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
593 if test -d $$d/$$file; then \
594 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
595 if test -d "$(distdir)/$$file"; then \
596 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
598 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
599 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
600 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
602 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
604 test -f "$(distdir)/$$file" \
605 || cp -p $$d/$$file "$(distdir)/$$file" \
609 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
610 if test "$$subdir" = .; then :; else \
612 || test -d "$(distdir)/$$subdir" \
613 || $(MKDIR_P) "$(distdir)/$$subdir" \
615 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
617 new_distdir=$$reldir; \
618 dir1=$$subdir; dir2="$(top_distdir)"; \
620 new_top_distdir=$$reldir; \
621 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
622 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
623 ($(am__cd) $$subdir && \
624 $(MAKE) $(AM_MAKEFLAGS) \
625 top_distdir="$$new_top_distdir" \
626 distdir="$$new_distdir" \
627 am__remove_distdir=: \
628 am__skip_length_check=: \
629 am__skip_mode_fix=: \
634 $(MAKE) $(AM_MAKEFLAGS) \
635 top_distdir="$(top_distdir)" distdir="$(distdir)" \
637 -test -n "$(am__skip_mode_fix)" \
638 || find "$(distdir)" -type d ! -perm -755 \
639 -exec chmod u+rwx,go+rx {} \; -o \
640 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
641 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
642 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
643 || chmod -R a+r "$(distdir)"
645 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
646 $(am__post_remove_distdir)
648 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
649 $(am__post_remove_distdir)
652 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
653 $(am__post_remove_distdir)
656 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
657 $(am__post_remove_distdir)
660 @echo WARNING: "Support for distribution archives compressed with" \
661 "legacy program 'compress' is deprecated." >&2
662 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
663 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
664 $(am__post_remove_distdir)
667 @echo WARNING: "Support for shar distribution archives is" \
669 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
670 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
671 $(am__post_remove_distdir)
674 -rm -f $(distdir).zip
675 zip -rq $(distdir).zip $(distdir)
676 $(am__post_remove_distdir)
679 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
680 $(am__post_remove_distdir)
682 # This target untars the dist file and tries a VPATH configuration. Then
683 # it guarantees that the distribution is self-contained by making another
686 case '$(DIST_ARCHIVES)' in \
688 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
690 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
692 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
694 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
696 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
698 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
700 unzip $(distdir).zip ;;\
702 chmod -R a-w $(distdir)
704 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
706 test -d $(distdir)/_build || exit 0; \
707 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
708 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
709 && $(MAKE) $(AM_MAKEFLAGS) distcheck-hook \
711 && $(am__cd) $(distdir)/_build/sub \
713 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
714 $(DISTCHECK_CONFIGURE_FLAGS) \
715 --srcdir=../.. --prefix="$$dc_install_base" \
716 && $(MAKE) $(AM_MAKEFLAGS) \
717 && $(MAKE) $(AM_MAKEFLAGS) dvi \
718 && $(MAKE) $(AM_MAKEFLAGS) check \
719 && $(MAKE) $(AM_MAKEFLAGS) install \
720 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
721 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
722 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
724 && chmod -R a-w "$$dc_install_base" \
726 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
727 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
728 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
729 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
730 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
731 } || { rm -rf "$$dc_destdir"; exit 1; }) \
732 && rm -rf "$$dc_destdir" \
733 && $(MAKE) $(AM_MAKEFLAGS) dist \
734 && rm -rf $(DIST_ARCHIVES) \
735 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
738 $(am__post_remove_distdir)
739 @(echo "$(distdir) archives ready for distribution: "; \
740 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
741 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
743 @test -n '$(distuninstallcheck_dir)' || { \
744 echo 'ERROR: trying to run $@ with an empty' \
745 '$$(distuninstallcheck_dir)' >&2; \
748 $(am__cd) '$(distuninstallcheck_dir)' || { \
749 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
752 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
753 || { echo "ERROR: files left after uninstall:" ; \
754 if test -n "$(DESTDIR)"; then \
755 echo " (check DESTDIR support)"; \
757 $(distuninstallcheck_listfiles) ; \
759 distcleancheck: distclean
760 @if test '$(srcdir)' = . ; then \
761 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
764 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
765 || { echo "ERROR: files left in build directory after distclean:" ; \
766 $(distcleancheck_listfiles) ; \
769 check: check-recursive
770 all-am: Makefile config.h
771 installdirs: installdirs-recursive
773 install: install-recursive
774 install-exec: install-exec-recursive
775 install-data: install-data-recursive
776 uninstall: uninstall-recursive
779 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
781 installcheck: installcheck-recursive
783 if test -z '$(STRIP)'; then \
784 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
785 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
788 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
789 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
790 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
797 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
798 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
800 maintainer-clean-generic:
801 @echo "This command is intended for maintainers to use"
802 @echo "it deletes files that may require special tools to rebuild."
803 @HAVE_GCOV_FALSE@clean-local:
804 clean: clean-recursive
806 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
808 distclean: distclean-recursive
809 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
811 distclean-am: clean-am distclean-generic distclean-hdr \
812 distclean-libtool distclean-tags
828 install-dvi: install-dvi-recursive
834 install-html: install-html-recursive
838 install-info: install-info-recursive
844 install-pdf: install-pdf-recursive
848 install-ps: install-ps-recursive
854 maintainer-clean: maintainer-clean-recursive
855 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
856 -rm -rf $(top_srcdir)/autom4te.cache
858 maintainer-clean-am: distclean-am maintainer-clean-generic
860 mostlyclean: mostlyclean-recursive
862 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
874 .MAKE: $(am__recursive_targets) all install-am install-strip
876 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
877 am--refresh check check-am clean clean-cscope clean-generic \
878 clean-libtool clean-local cscope cscopelist-am ctags ctags-am \
879 dist dist-all dist-bzip2 dist-gzip dist-hook dist-lzip \
880 dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
881 distclean-generic distclean-hdr distclean-libtool \
882 distclean-tags distcleancheck distdir distuninstallcheck dvi \
883 dvi-am html html-am info info-am install install-am \
884 install-data install-data-am install-dvi install-dvi-am \
885 install-exec install-exec-am install-html install-html-am \
886 install-info install-info-am install-man install-pdf \
887 install-pdf-am install-ps install-ps-am install-strip \
888 installcheck installcheck-am installdirs installdirs-am \
889 maintainer-clean maintainer-clean-generic mostlyclean \
890 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
891 tags tags-am uninstall uninstall-am
896 dist-hook: gen-ChangeLog
900 pref="#+macro: $$(echo $(PACKAGE_NAME)|tr '-' '_')_" ;\
901 reldate="$$(date -u +%Y-%m-%d)" ;\
902 echo "$${pref}ver $(PACKAGE_VERSION)" ;\
903 echo "$${pref}date $${reldate}" ;\
904 list='$(DIST_ARCHIVES)'; for i in $$list; do \
905 case "$$i" in *.tar.bz2) \
906 echo "$${pref}size $$(wc -c <$$i|awk '{print int($$1/1024)}')k" ;\
907 echo "$${pref}sha1 $$(sha1sum <$$i|cut -d' ' -f1)" ;\
908 echo "$${pref}sha2 $$(sha256sum <$$i|cut -d' ' -f1)" ;;\
910 done ) | tee $(distdir).swdb
912 if test -d $(top_srcdir)/.git; then \
913 (cd $(top_srcdir) && \
914 $(GITLOG_TO_CHANGELOG) --append-dot --tear-off \
915 --amend=build-aux/git-log-fix \
916 --since=$(gen_start_date) ) > $(distdir)/cl-t; \
917 cat $(top_srcdir)/build-aux/git-log-footer >> $(distdir)/cl-t;\
918 rm -f $(distdir)/ChangeLog; \
919 mv $(distdir)/cl-t $(distdir)/ChangeLog; \
923 $(MAKE) $(AM_MAKEFLAGS) install prefix=/usr/local/stow/libksba
927 @HAVE_GCOV_TRUE@clean-coverage:
928 @HAVE_GCOV_TRUE@ @echo Removing old coverage results
929 @HAVE_GCOV_TRUE@ -find -name '*.gcda' -print | xargs -r rm
930 @HAVE_GCOV_TRUE@ -find -name '*.gcno' -print | xargs -r rm
931 @HAVE_GCOV_TRUE@ -rm -rf coverage.info coveragereport
933 @HAVE_GCOV_TRUE@coverage-html: check
934 @HAVE_GCOV_TRUE@ @echo Collecting coverage data with lcov
935 @HAVE_GCOV_TRUE@ $(top_srcdir)/autogen.sh --coverage $(LCOV) $(GCOV) $(abs_builddir) \
936 @HAVE_GCOV_TRUE@ tests src
937 @HAVE_GCOV_TRUE@ $(top_srcdir)/autogen.sh --report $(LCOV) $(GENHTML) $(abs_builddir) \
938 @HAVE_GCOV_TRUE@ '*/tests/*' '*/asn1-parse.c' '*/asn1-parse.y'
940 @HAVE_GCOV_TRUE@clean-local: clean-coverage
942 .PHONY: gen-ChangeLog clean-coverage coverage-html
944 # Tell versions [3.59,3.63) of GNU make to not export all variables.
945 # Otherwise a system limit (for SysV at least) may be exceeded.