1 # Makefile.in generated by automake 1.16.5 from Makefile.am.
4 # Copyright (C) 1994-2021 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_cc_for_build.m4 \
115 $(top_srcdir)/m4/ax_prog_bison.m4 $(top_srcdir)/m4/gcov.m4 \
116 $(top_srcdir)/m4/gpg-error.m4 $(top_srcdir)/m4/libtool.m4 \
117 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
118 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
119 $(top_srcdir)/configure.ac
120 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
122 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
123 $(am__configure_deps) $(am__DIST_COMMON)
124 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
125 configure.lineno config.status.lineno
126 mkinstalldirs = $(install_sh) -d
127 CONFIG_HEADER = config.h
129 CONFIG_CLEAN_VPATH_FILES =
130 AM_V_P = $(am__v_P_@AM_V@)
131 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
134 AM_V_GEN = $(am__v_GEN_@AM_V@)
135 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
136 am__v_GEN_0 = @echo " GEN " $@;
138 AM_V_at = $(am__v_at_@AM_V@)
139 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
144 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
145 ctags-recursive dvi-recursive html-recursive info-recursive \
146 install-data-recursive install-dvi-recursive \
147 install-exec-recursive install-html-recursive \
148 install-info-recursive install-pdf-recursive \
149 install-ps-recursive install-recursive installcheck-recursive \
150 installdirs-recursive pdf-recursive ps-recursive \
151 tags-recursive uninstall-recursive
152 am__can_run_installinfo = \
153 case $$AM_UPDATE_INFO_DIR in \
155 *) (install-info --version) >/dev/null 2>&1;; \
157 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
158 distclean-recursive maintainer-clean-recursive
159 am__recursive_targets = \
160 $(RECURSIVE_TARGETS) \
161 $(RECURSIVE_CLEAN_TARGETS) \
162 $(am__extra_recursive_targets)
163 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
164 cscope distdir distdir-am dist dist-all distcheck
165 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
167 # Read a list of newline-separated strings from the standard input,
168 # and print each of them once, without duplicates. Input order is
170 am__uniquify_input = $(AWK) '\
171 BEGIN { nonempty = 0; } \
172 { items[$$0] = 1; nonempty = 1; } \
173 END { if (nonempty) { for (i in items) print i; }; } \
175 # Make sure the list of sources is unique. This is necessary because,
176 # e.g., the same source file might be shared among _SOURCES variables
177 # for different programs/libraries.
178 am__define_uniq_tagged_files = \
179 list='$(am__tagged_files)'; \
180 unique=`for i in $$list; do \
181 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
182 done | $(am__uniquify_input)`
183 DIST_SUBDIRS = m4 gl src tests doc
184 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
185 $(top_srcdir)/build-aux/compile \
186 $(top_srcdir)/build-aux/config.guess \
187 $(top_srcdir)/build-aux/config.sub \
188 $(top_srcdir)/build-aux/install-sh \
189 $(top_srcdir)/build-aux/ltmain.sh \
190 $(top_srcdir)/build-aux/missing AUTHORS COPYING ChangeLog \
191 INSTALL NEWS README THANKS TODO build-aux/compile \
192 build-aux/config.guess build-aux/config.sub build-aux/depcomp \
193 build-aux/install-sh build-aux/ltmain.sh build-aux/mdate-sh \
194 build-aux/missing build-aux/texinfo.tex build-aux/ylwrap \
196 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
197 distdir = $(PACKAGE)-$(VERSION)
198 top_distdir = $(distdir)
199 am__remove_distdir = \
200 if test -d "$(distdir)"; then \
201 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
202 && rm -rf "$(distdir)" \
203 || { sleep 5 && rm -rf "$(distdir)"; }; \
205 am__post_remove_distdir = $(am__remove_distdir)
208 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
209 sed_rest='s,^[^/]*/*,,'; \
210 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
211 sed_butlast='s,/*[^/]*$$,,'; \
212 while test -n "$$dir1"; do \
213 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
214 if test "$$first" != "."; then \
215 if test "$$first" = ".."; then \
216 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
217 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
219 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
220 if test "$$first2" = "$$first"; then \
221 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
225 dir0="$$dir0"/"$$first"; \
228 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
232 DIST_ARCHIVES = $(distdir).tar.bz2
233 DIST_TARGETS = dist-bzip2
234 # Exists only to be overridden by the user if desired.
235 AM_DISTCHECK_DVI_TARGET = dvi
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@
264 CYGPATH_W = @CYGPATH_W@
268 DSYMUTIL = @DSYMUTIL@
276 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
280 GPGRT_CONFIG = @GPGRT_CONFIG@
281 GPG_ERROR_CFLAGS = @GPG_ERROR_CFLAGS@
282 GPG_ERROR_CONFIG = @GPG_ERROR_CONFIG@
283 GPG_ERROR_LIBS = @GPG_ERROR_LIBS@
284 GPG_ERROR_MT_CFLAGS = @GPG_ERROR_MT_CFLAGS@
285 GPG_ERROR_MT_LIBS = @GPG_ERROR_MT_LIBS@
288 INSTALL_DATA = @INSTALL_DATA@
289 INSTALL_PROGRAM = @INSTALL_PROGRAM@
290 INSTALL_SCRIPT = @INSTALL_SCRIPT@
291 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
292 KSBA_CONFIG_API_VERSION = @KSBA_CONFIG_API_VERSION@
293 KSBA_CONFIG_CFLAGS = @KSBA_CONFIG_CFLAGS@
294 KSBA_CONFIG_HOST = @KSBA_CONFIG_HOST@
295 KSBA_CONFIG_LIBS = @KSBA_CONFIG_LIBS@
298 LDADD_FOR_TESTS_KLUDGE = @LDADD_FOR_TESTS_KLUDGE@
300 LIBKSBA_LT_AGE = @LIBKSBA_LT_AGE@
301 LIBKSBA_LT_CURRENT = @LIBKSBA_LT_CURRENT@
302 LIBKSBA_LT_REVISION = @LIBKSBA_LT_REVISION@
308 LTALLOCA = @LTALLOCA@
309 LTLIBOBJS = @LTLIBOBJS@
311 MAKEINFO = @MAKEINFO@
312 MANIFEST_TOOL = @MANIFEST_TOOL@
321 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
322 PACKAGE_NAME = @PACKAGE_NAME@
323 PACKAGE_STRING = @PACKAGE_STRING@
324 PACKAGE_TARNAME = @PACKAGE_TARNAME@
325 PACKAGE_URL = @PACKAGE_URL@
326 PACKAGE_VERSION = @PACKAGE_VERSION@
327 PATH_SEPARATOR = @PATH_SEPARATOR@
331 SET_MAKE = @SET_MAKE@
335 VALGRIND = @VALGRIND@
337 VERSION_NUMBER = @VERSION_NUMBER@
340 abs_builddir = @abs_builddir@
341 abs_srcdir = @abs_srcdir@
342 abs_top_builddir = @abs_top_builddir@
343 abs_top_srcdir = @abs_top_srcdir@
344 ac_ct_AR = @ac_ct_AR@
345 ac_ct_CC = @ac_ct_CC@
346 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
347 am__include = @am__include@
348 am__leading_dot = @am__leading_dot@
349 am__quote = @am__quote@
351 am__untar = @am__untar@
354 build_alias = @build_alias@
355 build_cpu = @build_cpu@
356 build_os = @build_os@
357 build_vendor = @build_vendor@
358 builddir = @builddir@
360 datarootdir = @datarootdir@
363 exec_prefix = @exec_prefix@
365 host_alias = @host_alias@
366 host_cpu = @host_cpu@
368 host_vendor = @host_vendor@
370 includedir = @includedir@
372 install_sh = @install_sh@
374 libexecdir = @libexecdir@
375 localedir = @localedir@
376 localstatedir = @localstatedir@
379 oldincludedir = @oldincludedir@
382 program_transform_name = @program_transform_name@
384 runstatedir = @runstatedir@
386 sharedstatedir = @sharedstatedir@
388 sysconfdir = @sysconfdir@
389 target_alias = @target_alias@
390 top_build_prefix = @top_build_prefix@
391 top_builddir = @top_builddir@
392 top_srcdir = @top_srcdir@
394 # Location of the released tarball archives. This is prefixed by
395 # the variable RELEASE_ARCHIVE in ~/.gnupg-autogen.rc. For example:
396 # RELEASE_ARCHIVE=wk@somehost:archive/tarballs
397 RELEASE_ARCHIVE_SUFFIX = libksba
398 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
399 DISTCHECK_CONFIGURE_FLAGS = --enable-doc
401 # (A suitable gitlog-to-changelog script can be found in GnuPG master.)
402 GITLOG_TO_CHANGELOG = gitlog-to-changelog
403 EXTRA_DIST = autogen.sh autogen.rc \
404 COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv3 \
405 ChangeLog-2011 doc/ChangeLog-2011 src/ChangeLog-2011 \
406 tests/ChangeLog-2011 \
407 build-aux/libtool-patch.sed \
408 build-aux/git-log-footer build-aux/git-log-fix
410 @CROSS_COMPILING_FALSE@tests = tests
411 @CROSS_COMPILING_TRUE@tests =
412 @BUILD_DOC_FALSE@doc =
413 @BUILD_DOC_TRUE@doc = doc
414 SUBDIRS = m4 gl src $(tests) $(doc)
415 gen_start_date = 2011-12-01T00:00:00
417 # Macro to help the release target.
418 RELEASE_NAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
420 $(MAKE) $(AM_MAKEFLAGS) all-recursive
423 am--refresh: Makefile
425 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
427 case '$(am__configure_deps)' in \
429 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
430 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
435 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
436 $(am__cd) $(top_srcdir) && \
437 $(AUTOMAKE) --gnu Makefile
438 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
441 echo ' $(SHELL) ./config.status'; \
442 $(SHELL) ./config.status;; \
444 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
445 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
448 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
449 $(SHELL) ./config.status --recheck
451 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
452 $(am__cd) $(srcdir) && $(AUTOCONF)
453 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
454 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
455 $(am__aclocal_m4_deps):
458 @test -f $@ || rm -f stamp-h1
459 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
461 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
463 cd $(top_builddir) && $(SHELL) ./config.status config.h
464 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
465 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
470 -rm -f config.h stamp-h1
479 -rm -f libtool config.lt
481 # This directory's subdirectories are mostly independent; you can cd
482 # into them and run 'make' without going through this Makefile.
483 # To change the values of 'make' variables: instead of editing Makefiles,
484 # (1) if the variable is set in 'config.status', edit 'config.status'
485 # (which will cause the Makefiles to be regenerated when you run 'make');
486 # (2) otherwise, pass the desired values on the 'make' command line.
487 $(am__recursive_targets):
489 if $(am__make_keepgoing); then \
490 failcom='fail=yes'; \
495 target=`echo $@ | sed s/-recursive//`; \
497 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
498 *) list='$(SUBDIRS)' ;; \
500 for subdir in $$list; do \
501 echo "Making $$target in $$subdir"; \
502 if test "$$subdir" = "."; then \
504 local_target="$$target-am"; \
506 local_target="$$target"; \
508 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
511 if test "$$dot_seen" = "no"; then \
512 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
515 ID: $(am__tagged_files)
516 $(am__define_uniq_tagged_files); mkid -fID $$unique
520 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
523 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
524 include_option=--etags-include; \
527 include_option=--include; \
530 list='$(SUBDIRS)'; for subdir in $$list; do \
531 if test "$$subdir" = .; then :; else \
532 test ! -f $$subdir/TAGS || \
533 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
536 $(am__define_uniq_tagged_files); \
538 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
539 test -n "$$unique" || unique=$$empty_fix; \
540 if test $$# -gt 0; then \
541 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
544 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
548 ctags: ctags-recursive
551 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
552 $(am__define_uniq_tagged_files); \
553 test -z "$(CTAGS_ARGS)$$unique" \
554 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
558 here=`$(am__cd) $(top_builddir) && pwd` \
559 && $(am__cd) $(top_srcdir) \
560 && gtags -i $(GTAGS_ARGS) "$$here"
562 test ! -s cscope.files \
563 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
566 cscope.files: clean-cscope cscopelist
567 cscopelist: cscopelist-recursive
569 cscopelist-am: $(am__tagged_files)
570 list='$(am__tagged_files)'; \
571 case "$(srcdir)" in \
572 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
573 *) sdir=$(subdir)/$(srcdir) ;; \
575 for i in $$list; do \
576 if test -f "$$i"; then \
577 echo "$(subdir)/$$i"; \
581 done >> $(top_builddir)/cscope.files
584 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
585 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
586 distdir: $(BUILT_SOURCES)
587 $(MAKE) $(AM_MAKEFLAGS) distdir-am
589 distdir-am: $(DISTFILES)
590 $(am__remove_distdir)
591 test -d "$(distdir)" || mkdir "$(distdir)"
592 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
593 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
594 list='$(DISTFILES)'; \
595 dist_files=`for file in $$list; do echo $$file; done | \
596 sed -e "s|^$$srcdirstrip/||;t" \
597 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
598 case $$dist_files in \
599 */*) $(MKDIR_P) `echo "$$dist_files" | \
600 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
603 for file in $$dist_files; do \
604 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
605 if test -d $$d/$$file; then \
606 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
607 if test -d "$(distdir)/$$file"; then \
608 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
610 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
611 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
612 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
614 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
616 test -f "$(distdir)/$$file" \
617 || cp -p $$d/$$file "$(distdir)/$$file" \
621 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
622 if test "$$subdir" = .; then :; else \
624 || test -d "$(distdir)/$$subdir" \
625 || $(MKDIR_P) "$(distdir)/$$subdir" \
627 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
629 new_distdir=$$reldir; \
630 dir1=$$subdir; dir2="$(top_distdir)"; \
632 new_top_distdir=$$reldir; \
633 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
634 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
635 ($(am__cd) $$subdir && \
636 $(MAKE) $(AM_MAKEFLAGS) \
637 top_distdir="$$new_top_distdir" \
638 distdir="$$new_distdir" \
639 am__remove_distdir=: \
640 am__skip_length_check=: \
641 am__skip_mode_fix=: \
646 $(MAKE) $(AM_MAKEFLAGS) \
647 top_distdir="$(top_distdir)" distdir="$(distdir)" \
649 -test -n "$(am__skip_mode_fix)" \
650 || find "$(distdir)" -type d ! -perm -755 \
651 -exec chmod u+rwx,go+rx {} \; -o \
652 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
653 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
654 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
655 || chmod -R a+r "$(distdir)"
657 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
658 $(am__post_remove_distdir)
660 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
661 $(am__post_remove_distdir)
664 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
665 $(am__post_remove_distdir)
668 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
669 $(am__post_remove_distdir)
672 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
673 $(am__post_remove_distdir)
676 @echo WARNING: "Support for distribution archives compressed with" \
677 "legacy program 'compress' is deprecated." >&2
678 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
679 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
680 $(am__post_remove_distdir)
683 @echo WARNING: "Support for shar distribution archives is" \
685 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
686 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
687 $(am__post_remove_distdir)
690 -rm -f $(distdir).zip
691 zip -rq $(distdir).zip $(distdir)
692 $(am__post_remove_distdir)
695 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
696 $(am__post_remove_distdir)
698 # This target untars the dist file and tries a VPATH configuration. Then
699 # it guarantees that the distribution is self-contained by making another
702 case '$(DIST_ARCHIVES)' in \
704 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
706 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
708 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
710 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
712 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
714 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
716 unzip $(distdir).zip ;;\
718 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
720 chmod -R a-w $(distdir)
722 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
724 test -d $(distdir)/_build || exit 0; \
725 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
726 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
727 && $(MAKE) $(AM_MAKEFLAGS) distcheck-hook \
729 && $(am__cd) $(distdir)/_build/sub \
731 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
732 $(DISTCHECK_CONFIGURE_FLAGS) \
733 --srcdir=../.. --prefix="$$dc_install_base" \
734 && $(MAKE) $(AM_MAKEFLAGS) \
735 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
736 && $(MAKE) $(AM_MAKEFLAGS) check \
737 && $(MAKE) $(AM_MAKEFLAGS) install \
738 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
739 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
740 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
742 && chmod -R a-w "$$dc_install_base" \
744 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
745 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
746 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
747 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
748 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
749 } || { rm -rf "$$dc_destdir"; exit 1; }) \
750 && rm -rf "$$dc_destdir" \
751 && $(MAKE) $(AM_MAKEFLAGS) dist \
752 && rm -rf $(DIST_ARCHIVES) \
753 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
756 $(am__post_remove_distdir)
757 @(echo "$(distdir) archives ready for distribution: "; \
758 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
759 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
761 @test -n '$(distuninstallcheck_dir)' || { \
762 echo 'ERROR: trying to run $@ with an empty' \
763 '$$(distuninstallcheck_dir)' >&2; \
766 $(am__cd) '$(distuninstallcheck_dir)' || { \
767 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
770 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
771 || { echo "ERROR: files left after uninstall:" ; \
772 if test -n "$(DESTDIR)"; then \
773 echo " (check DESTDIR support)"; \
775 $(distuninstallcheck_listfiles) ; \
777 distcleancheck: distclean
778 @if test '$(srcdir)' = . ; then \
779 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
782 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
783 || { echo "ERROR: files left in build directory after distclean:" ; \
784 $(distcleancheck_listfiles) ; \
787 check: check-recursive
788 all-am: Makefile config.h
789 installdirs: installdirs-recursive
791 install: install-recursive
792 install-exec: install-exec-recursive
793 install-data: install-data-recursive
794 uninstall: uninstall-recursive
797 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
799 installcheck: installcheck-recursive
801 if test -z '$(STRIP)'; then \
802 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
803 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
806 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
807 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
808 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
815 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
816 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
818 maintainer-clean-generic:
819 @echo "This command is intended for maintainers to use"
820 @echo "it deletes files that may require special tools to rebuild."
821 @HAVE_GCOV_FALSE@clean-local:
822 clean: clean-recursive
824 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
826 distclean: distclean-recursive
827 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
829 distclean-am: clean-am distclean-generic distclean-hdr \
830 distclean-libtool distclean-tags
846 install-dvi: install-dvi-recursive
852 install-html: install-html-recursive
856 install-info: install-info-recursive
862 install-pdf: install-pdf-recursive
866 install-ps: install-ps-recursive
872 maintainer-clean: maintainer-clean-recursive
873 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
874 -rm -rf $(top_srcdir)/autom4te.cache
876 maintainer-clean-am: distclean-am maintainer-clean-generic
878 mostlyclean: mostlyclean-recursive
880 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
892 .MAKE: $(am__recursive_targets) all install-am install-strip
894 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
895 am--refresh check check-am clean clean-cscope clean-generic \
896 clean-libtool clean-local cscope cscopelist-am ctags ctags-am \
897 dist dist-all dist-bzip2 dist-gzip dist-hook dist-lzip \
898 dist-shar dist-tarZ dist-xz dist-zip dist-zstd distcheck \
899 distclean distclean-generic distclean-hdr distclean-libtool \
900 distclean-tags distcleancheck distdir distuninstallcheck dvi \
901 dvi-am html html-am info info-am install install-am \
902 install-data install-data-am install-dvi install-dvi-am \
903 install-exec install-exec-am install-html install-html-am \
904 install-info install-info-am install-man install-pdf \
905 install-pdf-am install-ps install-ps-am install-strip \
906 installcheck installcheck-am installdirs installdirs-am \
907 maintainer-clean maintainer-clean-generic mostlyclean \
908 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
909 tags tags-am uninstall uninstall-am
914 dist-hook: gen-ChangeLog
918 pref="#+macro: $$(echo $(PACKAGE_NAME)|tr '-' '_')_" ;\
919 reldate="$$(date -u +%Y-%m-%d)" ;\
920 echo "$${pref}ver $(PACKAGE_VERSION)" ;\
921 echo "$${pref}date $${reldate}" ;\
922 list='$(DIST_ARCHIVES)'; for i in $$list; do \
923 case "$$i" in *.tar.bz2) \
924 echo "$${pref}size $$(wc -c <$$i|awk '{print int($$1/1024)}')k" ;\
925 echo "$${pref}sha1 $$(sha1sum <$$i|cut -d' ' -f1)" ;\
926 echo "$${pref}sha2 $$(sha256sum <$$i|cut -d' ' -f1)" ;;\
928 done ) | tee $(distdir).swdb
930 if test -d $(top_srcdir)/.git; then \
931 (cd $(top_srcdir) && \
932 $(GITLOG_TO_CHANGELOG) --append-dot --tear-off \
933 --amend=build-aux/git-log-fix \
934 --since=$(gen_start_date) ) > $(distdir)/cl-t; \
935 cat $(top_srcdir)/build-aux/git-log-footer >> $(distdir)/cl-t;\
936 rm -f $(distdir)/ChangeLog; \
937 mv $(distdir)/cl-t $(distdir)/ChangeLog; \
941 $(MAKE) $(AM_MAKEFLAGS) install prefix=/usr/local/stow/libksba
945 @HAVE_GCOV_TRUE@clean-coverage:
946 @HAVE_GCOV_TRUE@ @echo Removing old coverage results
947 @HAVE_GCOV_TRUE@ -find -name '*.gcda' -print | xargs -r rm
948 @HAVE_GCOV_TRUE@ -find -name '*.gcno' -print | xargs -r rm
949 @HAVE_GCOV_TRUE@ -rm -rf coverage.info coveragereport
951 @HAVE_GCOV_TRUE@coverage-html: check
952 @HAVE_GCOV_TRUE@ @echo Collecting coverage data with lcov
953 @HAVE_GCOV_TRUE@ $(top_srcdir)/autogen.sh --coverage $(LCOV) $(GCOV) $(abs_builddir) \
954 @HAVE_GCOV_TRUE@ tests src
955 @HAVE_GCOV_TRUE@ $(top_srcdir)/autogen.sh --report $(LCOV) $(GENHTML) $(abs_builddir) \
956 @HAVE_GCOV_TRUE@ '*/tests/*' '*/asn1-parse.c' '*/asn1-parse.y'
958 @HAVE_GCOV_TRUE@clean-local: clean-coverage
960 .PHONY: gen-ChangeLog clean-coverage coverage-html release sign-release
964 if [ "$(abs_top_builddir)" = "$(abs_top_srcdir)" ]; then \
965 echo "error: build directory must not be the source directory" >&2;\
968 echo "/* Build started at $$(date -uIseconds) */" ;\
970 ./autogen.sh --force; \
971 cd $(abs_top_builddir); \
972 rm -rf dist; mkdir dist ; cd dist ; \
973 $(abs_top_srcdir)/configure --enable-maintainer-mode; \
975 echo "/* Build finished at $$(date -uIseconds) */" ;\
977 echo " * Please run the final step interactivly:" ;\
978 echo " * make sign-release" ;\
980 ) 2>&1 | tee "$(RELEASE_NAME).buildlog"
984 test $$(pwd | sed 's,.*/,,') = dist || cd dist; \
985 x=$$(grep '^RELEASE_ARCHIVE=' $$HOME/.gnupg-autogen.rc|cut -d= -f2);\
986 if [ -z "$$x" ]; then \
987 echo "error: RELEASE_ARCHIVE missing in ~/.gnupg-autogen.rc">&2; \
990 myarchive="$$x/$(RELEASE_ARCHIVE_SUFFIX)";\
991 x=$$(grep '^RELEASE_SIGNKEY=' $$HOME/.gnupg-autogen.rc|cut -d= -f2);\
992 if [ -z "$$x" ]; then \
993 echo "error: RELEASE_SIGNKEY missing in ~/.gnupg-autogen.rc">&2; \
997 files1="$(RELEASE_NAME).tar.bz2" ; \
998 files2="$(RELEASE_NAME).tar.bz2.sig \
999 $(RELEASE_NAME).swdb \
1000 $(RELEASE_NAME).buildlog" ;\
1001 echo "/* Signing the source tarball ..." ;\
1002 gpg -sbu $$mysignkey $(RELEASE_NAME).tar.bz2 ;\
1003 cat $(RELEASE_NAME).swdb >swdb.snippet;\
1004 echo >>swdb.snippet ;\
1005 sha1sum $${files1} >>swdb.snippet ;\
1006 cat "../$(RELEASE_NAME).buildlog" swdb.snippet \
1007 | gzip >$(RELEASE_NAME).buildlog ;\
1008 echo "Copying to archive $$myarchive ..." ;\
1009 scp -p $${files1} $${files2} $${myarchive}/ || true;\
1011 echo ' * All done; for checksums see dist/swdb.snippet' ;\
1015 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1016 # Otherwise a system limit (for SysV at least) may be exceeded.