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 - Top level Makefile for GPGME.
18 # Copyright (C) 2000 Werner Koch (dd9jn)
19 # Copyright (C) 2001, 2002, 2004, 2005, 2008, 2009 g10 Code GmbH
21 # This file is part of GPGME.
23 # GPGME is free software; you can redistribute it and/or modify it
24 # under the terms of the GNU Lesser General Public License as
25 # published by the Free Software Foundation; either version 2.1 of the
26 # License, or (at your option) any later version.
28 # GPGME is distributed in the hope that it will be useful, but WITHOUT
29 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
30 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
31 # Public License for more details.
33 # You should have received a copy of the GNU Lesser General Public
34 # License along with this program; if not, see <https://gnu.org/licenses/>.
35 # SPDX-License-Identifier: LGPL-2.1-or-later
38 if test -z '$(MAKELEVEL)'; then \
40 elif test -n '$(MAKE_HOST)'; then \
42 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
48 am__make_running_with_option = \
49 case $${target_option-} in \
51 *) echo "am__make_running_with_option: internal error: invalid" \
52 "target option '$${target_option-}' specified" >&2; \
56 sane_makeflags=$$MAKEFLAGS; \
57 if $(am__is_gnu_make); then \
58 sane_makeflags=$$MFLAGS; \
63 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
64 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
70 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
72 for flg in $$sane_makeflags; do \
73 test $$skip_next = yes && { skip_next=no; continue; }; \
76 -*I) strip_trailopt 'I'; skip_next=yes;; \
77 -*I?*) strip_trailopt 'I';; \
78 -*O) strip_trailopt 'O'; skip_next=yes;; \
79 -*O?*) strip_trailopt 'O';; \
80 -*l) strip_trailopt 'l'; skip_next=yes;; \
81 -*l?*) strip_trailopt 'l';; \
82 -[dEDm]) skip_next=yes;; \
83 -[JT]) skip_next=yes;; \
86 *$$target_option*) has_opt=yes; break;; \
90 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
91 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
92 pkgdatadir = $(datadir)/@PACKAGE@
93 pkgincludedir = $(includedir)/@PACKAGE@
94 pkglibdir = $(libdir)/@PACKAGE@
95 pkglibexecdir = $(libexecdir)/@PACKAGE@
96 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
97 install_sh_DATA = $(install_sh) -c -m 644
98 install_sh_PROGRAM = $(install_sh) -c
99 install_sh_SCRIPT = $(install_sh) -c
100 INSTALL_HEADER = $(INSTALL_DATA)
101 transform = $(program_transform_name)
108 build_triplet = @build@
109 host_triplet = @host@
111 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
112 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
113 $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
114 $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \
115 $(top_srcdir)/m4/ax_pkg_swig.m4 \
116 $(top_srcdir)/m4/ax_python_devel.m4 \
117 $(top_srcdir)/m4/glib-2.0.m4 $(top_srcdir)/m4/glibc21.m4 \
118 $(top_srcdir)/m4/gnupg-ttyname.m4 \
119 $(top_srcdir)/m4/gpg-error.m4 $(top_srcdir)/m4/libassuan.m4 \
120 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
121 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
122 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/pkg.m4 \
123 $(top_srcdir)/m4/python.m4 $(top_srcdir)/m4/qt5.m4 \
124 $(top_srcdir)/m4/qt6.m4 $(top_srcdir)/acinclude.m4 \
125 $(top_srcdir)/configure.ac
126 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
128 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
129 $(am__configure_deps) $(am__DIST_COMMON)
130 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
131 configure.lineno config.status.lineno
132 mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs
133 CONFIG_HEADER = $(top_builddir)/conf/config.h
135 CONFIG_CLEAN_VPATH_FILES =
136 AM_V_P = $(am__v_P_@AM_V@)
137 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
140 AM_V_GEN = $(am__v_GEN_@AM_V@)
141 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
142 am__v_GEN_0 = @echo " GEN " $@;
144 AM_V_at = $(am__v_at_@AM_V@)
145 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
150 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
151 ctags-recursive dvi-recursive html-recursive info-recursive \
152 install-data-recursive install-dvi-recursive \
153 install-exec-recursive install-html-recursive \
154 install-info-recursive install-pdf-recursive \
155 install-ps-recursive install-recursive installcheck-recursive \
156 installdirs-recursive pdf-recursive ps-recursive \
157 tags-recursive uninstall-recursive
158 am__can_run_installinfo = \
159 case $$AM_UPDATE_INFO_DIR in \
161 *) (install-info --version) >/dev/null 2>&1;; \
163 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
164 distclean-recursive maintainer-clean-recursive
165 am__recursive_targets = \
166 $(RECURSIVE_TARGETS) \
167 $(RECURSIVE_CLEAN_TARGETS) \
168 $(am__extra_recursive_targets)
169 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
170 cscope distdir distdir-am dist dist-all distcheck
171 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
172 # Read a list of newline-separated strings from the standard input,
173 # and print each of them once, without duplicates. Input order is
175 am__uniquify_input = $(AWK) '\
176 BEGIN { nonempty = 0; } \
177 { items[$$0] = 1; nonempty = 1; } \
178 END { if (nonempty) { for (i in items) print i; }; } \
180 # Make sure the list of sources is unique. This is necessary because,
181 # e.g., the same source file might be shared among _SOURCES variables
182 # for different programs/libraries.
183 am__define_uniq_tagged_files = \
184 list='$(am__tagged_files)'; \
185 unique=`for i in $$list; do \
186 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
187 done | $(am__uniquify_input)`
188 DIST_SUBDIRS = src tests doc lang
189 am__DIST_COMMON = $(srcdir)/Makefile.in \
190 $(top_srcdir)/build-aux/compile \
191 $(top_srcdir)/build-aux/config.guess \
192 $(top_srcdir)/build-aux/config.sub \
193 $(top_srcdir)/build-aux/install-sh \
194 $(top_srcdir)/build-aux/ltmain.sh \
195 $(top_srcdir)/build-aux/missing \
196 $(top_srcdir)/build-aux/mkinstalldirs \
197 $(top_srcdir)/conf/config.h.in AUTHORS COPYING COPYING.LESSER \
198 ChangeLog INSTALL NEWS README THANKS TODO build-aux/compile \
199 build-aux/config.guess build-aux/config.sub build-aux/depcomp \
200 build-aux/install-sh build-aux/ltmain.sh build-aux/mdate-sh \
201 build-aux/missing build-aux/mkinstalldirs \
202 build-aux/texinfo.tex missing
203 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
204 distdir = $(PACKAGE)-$(VERSION)
205 top_distdir = $(distdir)
206 am__remove_distdir = \
207 if test -d "$(distdir)"; then \
208 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
209 && rm -rf "$(distdir)" \
210 || { sleep 5 && rm -rf "$(distdir)"; }; \
212 am__post_remove_distdir = $(am__remove_distdir)
215 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
216 sed_rest='s,^[^/]*/*,,'; \
217 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
218 sed_butlast='s,/*[^/]*$$,,'; \
219 while test -n "$$dir1"; do \
220 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
221 if test "$$first" != "."; then \
222 if test "$$first" = ".."; then \
223 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
224 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
226 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
227 if test "$$first2" = "$$first"; then \
228 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
232 dir0="$$dir0"/"$$first"; \
235 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
239 DIST_ARCHIVES = $(distdir).tar.bz2
240 DIST_TARGETS = dist-bzip2
241 # Exists only to be overridden by the user if desired.
242 AM_DISTCHECK_DVI_TARGET = dvi
243 distuninstallcheck_listfiles = find . -type f -print
244 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
245 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
246 distcleancheck_listfiles = find . -type f -print
249 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
252 AUTOCONF = @AUTOCONF@
253 AUTOHEADER = @AUTOHEADER@
254 AUTOMAKE = @AUTOMAKE@
256 BUILD_FILEVERSION = @BUILD_FILEVERSION@
257 BUILD_REVISION = @BUILD_REVISION@
258 BUILD_TIMESTAMP = @BUILD_TIMESTAMP@
259 BUILD_VERSION = @BUILD_VERSION@
261 CCDEPMODE = @CCDEPMODE@
262 CC_FOR_BUILD = @CC_FOR_BUILD@
265 CPPFLAGS = @CPPFLAGS@
270 CXXDEPMODE = @CXXDEPMODE@
271 CXXFLAGS = @CXXFLAGS@
272 CYGPATH_W = @CYGPATH_W@
277 DSYMUTIL = @DSYMUTIL@
283 ENABLED_LANGUAGES = @ENABLED_LANGUAGES@
287 GITLOG_TO_CHANGELOG = @GITLOG_TO_CHANGELOG@
289 GLIB_CFLAGS = @GLIB_CFLAGS@
290 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
291 GLIB_LIBS = @GLIB_LIBS@
292 GLIB_MKENUMS = @GLIB_MKENUMS@
293 GOBJECT_QUERY = @GOBJECT_QUERY@
294 GPGME_CONFIG_API_VERSION = @GPGME_CONFIG_API_VERSION@
295 GPGME_CONFIG_AVAIL_LANG = @GPGME_CONFIG_AVAIL_LANG@
296 GPGME_CONFIG_CFLAGS = @GPGME_CONFIG_CFLAGS@
297 GPGME_CONFIG_HOST = @GPGME_CONFIG_HOST@
298 GPGME_CONFIG_LIBS = @GPGME_CONFIG_LIBS@
299 GPGME_CPP_CFLAGS = @GPGME_CPP_CFLAGS@
300 GPGME_QT5TEST_CFLAGS = @GPGME_QT5TEST_CFLAGS@
301 GPGME_QT5TEST_LIBS = @GPGME_QT5TEST_LIBS@
302 GPGME_QT5_CFLAGS = @GPGME_QT5_CFLAGS@
303 GPGME_QT5_LIBS = @GPGME_QT5_LIBS@
304 GPGME_QT6TEST_CFLAGS = @GPGME_QT6TEST_CFLAGS@
305 GPGME_QT6TEST_LIBS = @GPGME_QT6TEST_LIBS@
306 GPGME_QT6_CFLAGS = @GPGME_QT6_CFLAGS@
307 GPGME_QT6_LIBS = @GPGME_QT6_LIBS@
308 GPGRT_CONFIG = @GPGRT_CONFIG@
309 GPG_ERROR_CFLAGS = @GPG_ERROR_CFLAGS@
310 GPG_ERROR_CONFIG = @GPG_ERROR_CONFIG@
311 GPG_ERROR_LIBS = @GPG_ERROR_LIBS@
312 GPG_ERROR_MT_CFLAGS = @GPG_ERROR_MT_CFLAGS@
313 GPG_ERROR_MT_LIBS = @GPG_ERROR_MT_LIBS@
314 GRAPHVIZ = @GRAPHVIZ@
316 HAVE_CXX11 = @HAVE_CXX11@
317 HAVE_CXX17 = @HAVE_CXX17@
318 HAVE_DOT = @HAVE_DOT@
320 INSTALL_DATA = @INSTALL_DATA@
321 INSTALL_PROGRAM = @INSTALL_PROGRAM@
322 INSTALL_SCRIPT = @INSTALL_SCRIPT@
323 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
325 LDADD_FOR_TESTS_KLUDGE = @LDADD_FOR_TESTS_KLUDGE@
327 LIBASSUAN_CFLAGS = @LIBASSUAN_CFLAGS@
328 LIBASSUAN_CONFIG = @LIBASSUAN_CONFIG@
329 LIBASSUAN_LIBS = @LIBASSUAN_LIBS@
330 LIBGPGMEPP_LT_AGE = @LIBGPGMEPP_LT_AGE@
331 LIBGPGMEPP_LT_CURRENT = @LIBGPGMEPP_LT_CURRENT@
332 LIBGPGMEPP_LT_REVISION = @LIBGPGMEPP_LT_REVISION@
333 LIBGPGME_LT_AGE = @LIBGPGME_LT_AGE@
334 LIBGPGME_LT_CURRENT = @LIBGPGME_LT_CURRENT@
335 LIBGPGME_LT_REVISION = @LIBGPGME_LT_REVISION@
337 LIBQGPGME_LT_AGE = @LIBQGPGME_LT_AGE@
338 LIBQGPGME_LT_CURRENT = @LIBQGPGME_LT_CURRENT@
339 LIBQGPGME_LT_REVISION = @LIBQGPGME_LT_REVISION@
344 LTLIBOBJS = @LTLIBOBJS@
346 MAKEINFO = @MAKEINFO@
347 MANIFEST_TOOL = @MANIFEST_TOOL@
351 NEED__FILE_OFFSET_BITS = @NEED__FILE_OFFSET_BITS@
359 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
360 PACKAGE_NAME = @PACKAGE_NAME@
361 PACKAGE_STRING = @PACKAGE_STRING@
362 PACKAGE_TARNAME = @PACKAGE_TARNAME@
363 PACKAGE_URL = @PACKAGE_URL@
364 PACKAGE_VERSION = @PACKAGE_VERSION@
365 PATH_SEPARATOR = @PATH_SEPARATOR@
366 PKG_CONFIG = @PKG_CONFIG@
369 PYTHON_CPPFLAGS = @PYTHON_CPPFLAGS@
370 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
371 PYTHON_EXTRA_LDFLAGS = @PYTHON_EXTRA_LDFLAGS@
372 PYTHON_EXTRA_LIBS = @PYTHON_EXTRA_LIBS@
373 PYTHON_LDFLAGS = @PYTHON_LDFLAGS@
374 PYTHON_PLATFORM = @PYTHON_PLATFORM@
375 PYTHON_PREFIX = @PYTHON_PREFIX@
376 PYTHON_SITE_PKG = @PYTHON_SITE_PKG@
377 PYTHON_VERSION = @PYTHON_VERSION@
378 QTCHOOSER = @QTCHOOSER@
382 SET_MAKE = @SET_MAKE@
386 SWIG_LIB = @SWIG_LIB@
389 VERSION_MAJOR = @VERSION_MAJOR@
390 VERSION_MICRO = @VERSION_MICRO@
391 VERSION_MINOR = @VERSION_MINOR@
392 VERSION_NUMBER = @VERSION_NUMBER@
393 abs_builddir = @abs_builddir@
394 abs_srcdir = @abs_srcdir@
395 abs_top_builddir = @abs_top_builddir@
396 abs_top_srcdir = @abs_top_srcdir@
397 ac_ct_AR = @ac_ct_AR@
398 ac_ct_CC = @ac_ct_CC@
399 ac_ct_CXX = @ac_ct_CXX@
400 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
401 am__include = @am__include@
402 am__leading_dot = @am__leading_dot@
403 am__quote = @am__quote@
405 am__untar = @am__untar@
408 build_alias = @build_alias@
409 build_cpu = @build_cpu@
410 build_os = @build_os@
411 build_vendor = @build_vendor@
412 builddir = @builddir@
414 datarootdir = @datarootdir@
417 emacs_local_vars_begin = @emacs_local_vars_begin@
418 emacs_local_vars_end = @emacs_local_vars_end@
419 emacs_local_vars_read_only = @emacs_local_vars_read_only@
420 exec_prefix = @exec_prefix@
422 host_alias = @host_alias@
423 host_cpu = @host_cpu@
425 host_vendor = @host_vendor@
427 includedir = @includedir@
429 install_sh = @install_sh@
431 libexecdir = @libexecdir@
432 localedir = @localedir@
433 localstatedir = @localstatedir@
436 oldincludedir = @oldincludedir@
438 pkgpyexecdir = @pkgpyexecdir@
439 pkgpythondir = @pkgpythondir@
441 program_transform_name = @program_transform_name@
443 pyexecdir = @pyexecdir@
444 pythondir = @pythondir@
445 runstatedir = @runstatedir@
447 sharedstatedir = @sharedstatedir@
449 sysconfdir = @sysconfdir@
450 target_alias = @target_alias@
451 top_build_prefix = @top_build_prefix@
452 top_builddir = @top_builddir@
453 top_srcdir = @top_srcdir@
455 # Location of the released tarball archives. This is prefixed by
456 # the variable RELEASE_ARCHIVE in ~/.gnupg-autogen.rc. For example:
457 # RELEASE_ARCHIVE=user@host:archive/tarballs
458 RELEASE_ARCHIVE_SUFFIX = gpgme
459 # The variable RELEASE_SIGNKEY in ~/.gnupg-autogen.rc is used
460 # to specify the key for signing. For example:
461 # RELEASE_SIGNKEY=D8692123C4065DEA5E0F3AB5249B39D24F25E3B6
464 ACLOCAL_AMFLAGS = -I m4
465 DISTCHECK_CONFIGURE_FLAGS =
466 EXTRA_DIST = autogen.sh autogen.rc gpgme.spec.in \
467 ChangeLog-2011 m4/ChangeLog-2011 \
468 build-aux/libtool-patch.sed \
469 conf/whatisthis VERSION LICENSES
472 # This artificial line is to put a dependency to conf/config.h for 'all'
473 BUILT_SOURCES = conf/config.h
474 @RUN_GPG_TESTS_FALSE@tests =
475 @RUN_GPG_TESTS_TRUE@tests = tests
476 SUBDIRS = src ${tests} doc lang
477 gen_start_date = 2011-12-01T00:00:00
479 # Macro to help the release target.
480 RELEASE_NAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
481 all: $(BUILT_SOURCES)
482 $(MAKE) $(AM_MAKEFLAGS) all-recursive
485 am--refresh: Makefile
487 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
489 case '$(am__configure_deps)' in \
491 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
492 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
497 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
498 $(am__cd) $(top_srcdir) && \
499 $(AUTOMAKE) --gnu Makefile
500 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
503 echo ' $(SHELL) ./config.status'; \
504 $(SHELL) ./config.status;; \
506 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
507 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
510 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
511 $(SHELL) ./config.status --recheck
513 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
514 $(am__cd) $(srcdir) && $(AUTOCONF)
515 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
516 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
517 $(am__aclocal_m4_deps):
519 conf/config.h: conf/stamp-h1
520 @test -f $@ || rm -f conf/stamp-h1
521 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) conf/stamp-h1
523 conf/stamp-h1: $(top_srcdir)/conf/config.h.in $(top_builddir)/config.status
525 cd $(top_builddir) && $(SHELL) ./config.status conf/config.h
526 $(top_srcdir)/conf/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
527 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
532 -rm -f conf/config.h conf/stamp-h1
541 -rm -f libtool config.lt
543 # This directory's subdirectories are mostly independent; you can cd
544 # into them and run 'make' without going through this Makefile.
545 # To change the values of 'make' variables: instead of editing Makefiles,
546 # (1) if the variable is set in 'config.status', edit 'config.status'
547 # (which will cause the Makefiles to be regenerated when you run 'make');
548 # (2) otherwise, pass the desired values on the 'make' command line.
549 $(am__recursive_targets):
551 if $(am__make_keepgoing); then \
552 failcom='fail=yes'; \
557 target=`echo $@ | sed s/-recursive//`; \
559 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
560 *) list='$(SUBDIRS)' ;; \
562 for subdir in $$list; do \
563 echo "Making $$target in $$subdir"; \
564 if test "$$subdir" = "."; then \
566 local_target="$$target-am"; \
568 local_target="$$target"; \
570 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
573 if test "$$dot_seen" = "no"; then \
574 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
577 ID: $(am__tagged_files)
578 $(am__define_uniq_tagged_files); mkid -fID $$unique
582 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
585 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
586 include_option=--etags-include; \
589 include_option=--include; \
592 list='$(SUBDIRS)'; for subdir in $$list; do \
593 if test "$$subdir" = .; then :; else \
594 test ! -f $$subdir/TAGS || \
595 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
598 $(am__define_uniq_tagged_files); \
600 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
601 test -n "$$unique" || unique=$$empty_fix; \
602 if test $$# -gt 0; then \
603 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
606 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
610 ctags: ctags-recursive
613 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
614 $(am__define_uniq_tagged_files); \
615 test -z "$(CTAGS_ARGS)$$unique" \
616 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
620 here=`$(am__cd) $(top_builddir) && pwd` \
621 && $(am__cd) $(top_srcdir) \
622 && gtags -i $(GTAGS_ARGS) "$$here"
624 test ! -s cscope.files \
625 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
628 cscope.files: clean-cscope cscopelist
629 cscopelist: cscopelist-recursive
631 cscopelist-am: $(am__tagged_files)
632 list='$(am__tagged_files)'; \
633 case "$(srcdir)" in \
634 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
635 *) sdir=$(subdir)/$(srcdir) ;; \
637 for i in $$list; do \
638 if test -f "$$i"; then \
639 echo "$(subdir)/$$i"; \
643 done >> $(top_builddir)/cscope.files
646 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
647 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
648 distdir: $(BUILT_SOURCES)
649 $(MAKE) $(AM_MAKEFLAGS) distdir-am
651 distdir-am: $(DISTFILES)
652 $(am__remove_distdir)
653 test -d "$(distdir)" || mkdir "$(distdir)"
654 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
655 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
656 list='$(DISTFILES)'; \
657 dist_files=`for file in $$list; do echo $$file; done | \
658 sed -e "s|^$$srcdirstrip/||;t" \
659 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
660 case $$dist_files in \
661 */*) $(MKDIR_P) `echo "$$dist_files" | \
662 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
665 for file in $$dist_files; do \
666 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
667 if test -d $$d/$$file; then \
668 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
669 if test -d "$(distdir)/$$file"; then \
670 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
672 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
673 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
674 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
676 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
678 test -f "$(distdir)/$$file" \
679 || cp -p $$d/$$file "$(distdir)/$$file" \
683 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
684 if test "$$subdir" = .; then :; else \
686 || test -d "$(distdir)/$$subdir" \
687 || $(MKDIR_P) "$(distdir)/$$subdir" \
689 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
691 new_distdir=$$reldir; \
692 dir1=$$subdir; dir2="$(top_distdir)"; \
694 new_top_distdir=$$reldir; \
695 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
696 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
697 ($(am__cd) $$subdir && \
698 $(MAKE) $(AM_MAKEFLAGS) \
699 top_distdir="$$new_top_distdir" \
700 distdir="$$new_distdir" \
701 am__remove_distdir=: \
702 am__skip_length_check=: \
703 am__skip_mode_fix=: \
708 $(MAKE) $(AM_MAKEFLAGS) \
709 top_distdir="$(top_distdir)" distdir="$(distdir)" \
711 -test -n "$(am__skip_mode_fix)" \
712 || find "$(distdir)" -type d ! -perm -755 \
713 -exec chmod u+rwx,go+rx {} \; -o \
714 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
715 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
716 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
717 || chmod -R a+r "$(distdir)"
719 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
720 $(am__post_remove_distdir)
722 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
723 $(am__post_remove_distdir)
726 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
727 $(am__post_remove_distdir)
730 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
731 $(am__post_remove_distdir)
734 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
735 $(am__post_remove_distdir)
738 @echo WARNING: "Support for distribution archives compressed with" \
739 "legacy program 'compress' is deprecated." >&2
740 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
741 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
742 $(am__post_remove_distdir)
745 @echo WARNING: "Support for shar distribution archives is" \
747 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
748 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
749 $(am__post_remove_distdir)
752 -rm -f $(distdir).zip
753 zip -rq $(distdir).zip $(distdir)
754 $(am__post_remove_distdir)
757 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
758 $(am__post_remove_distdir)
760 # This target untars the dist file and tries a VPATH configuration. Then
761 # it guarantees that the distribution is self-contained by making another
764 case '$(DIST_ARCHIVES)' in \
766 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
768 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
770 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
772 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
774 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
776 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
778 unzip $(distdir).zip ;;\
780 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
782 chmod -R a-w $(distdir)
784 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
786 test -d $(distdir)/_build || exit 0; \
787 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
788 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
789 && $(MAKE) $(AM_MAKEFLAGS) distcheck-hook \
791 && $(am__cd) $(distdir)/_build/sub \
793 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
794 $(DISTCHECK_CONFIGURE_FLAGS) \
795 --srcdir=../.. --prefix="$$dc_install_base" \
796 && $(MAKE) $(AM_MAKEFLAGS) \
797 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
798 && $(MAKE) $(AM_MAKEFLAGS) check \
799 && $(MAKE) $(AM_MAKEFLAGS) install \
800 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
801 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
802 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
804 && chmod -R a-w "$$dc_install_base" \
806 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
807 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
808 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
809 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
810 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
811 } || { rm -rf "$$dc_destdir"; exit 1; }) \
812 && rm -rf "$$dc_destdir" \
813 && $(MAKE) $(AM_MAKEFLAGS) dist \
814 && rm -rf $(DIST_ARCHIVES) \
815 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
818 $(am__post_remove_distdir)
819 @(echo "$(distdir) archives ready for distribution: "; \
820 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
821 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
823 @test -n '$(distuninstallcheck_dir)' || { \
824 echo 'ERROR: trying to run $@ with an empty' \
825 '$$(distuninstallcheck_dir)' >&2; \
828 $(am__cd) '$(distuninstallcheck_dir)' || { \
829 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
832 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
833 || { echo "ERROR: files left after uninstall:" ; \
834 if test -n "$(DESTDIR)"; then \
835 echo " (check DESTDIR support)"; \
837 $(distuninstallcheck_listfiles) ; \
839 distcleancheck: distclean
840 @if test '$(srcdir)' = . ; then \
841 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
844 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
845 || { echo "ERROR: files left in build directory after distclean:" ; \
846 $(distcleancheck_listfiles) ; \
849 check: $(BUILT_SOURCES)
850 $(MAKE) $(AM_MAKEFLAGS) check-recursive
852 installdirs: installdirs-recursive
854 install: $(BUILT_SOURCES)
855 $(MAKE) $(AM_MAKEFLAGS) install-recursive
856 install-exec: $(BUILT_SOURCES)
857 $(MAKE) $(AM_MAKEFLAGS) install-exec-recursive
858 install-data: install-data-recursive
859 uninstall: uninstall-recursive
862 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
864 installcheck: installcheck-recursive
866 if test -z '$(STRIP)'; then \
867 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
868 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
871 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
872 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
873 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
880 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
881 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
883 maintainer-clean-generic:
884 @echo "This command is intended for maintainers to use"
885 @echo "it deletes files that may require special tools to rebuild."
886 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
887 clean: clean-recursive
889 clean-am: clean-generic clean-libtool mostlyclean-am
891 distclean: distclean-recursive
892 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
894 distclean-am: clean-am distclean-generic distclean-hdr \
895 distclean-libtool distclean-tags
911 install-dvi: install-dvi-recursive
917 install-html: install-html-recursive
921 install-info: install-info-recursive
927 install-pdf: install-pdf-recursive
931 install-ps: install-ps-recursive
937 maintainer-clean: maintainer-clean-recursive
938 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
939 -rm -rf $(top_srcdir)/autom4te.cache
941 maintainer-clean-am: distclean-am maintainer-clean-generic
943 mostlyclean: mostlyclean-recursive
945 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
957 .MAKE: $(am__recursive_targets) all check install install-am \
958 install-exec install-strip
960 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
961 am--refresh check check-am clean clean-cscope clean-generic \
962 clean-libtool cscope cscopelist-am ctags ctags-am dist \
963 dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
964 dist-tarZ dist-xz dist-zip dist-zstd distcheck distclean \
965 distclean-generic distclean-hdr distclean-libtool \
966 distclean-tags distcleancheck distdir distuninstallcheck dvi \
967 dvi-am html html-am info info-am install install-am \
968 install-data install-data-am install-dvi install-dvi-am \
969 install-exec install-exec-am install-html install-html-am \
970 install-info install-info-am install-man install-pdf \
971 install-pdf-am install-ps install-ps-am install-strip \
972 installcheck installcheck-am installdirs installdirs-am \
973 maintainer-clean maintainer-clean-generic mostlyclean \
974 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
975 tags tags-am uninstall uninstall-am
980 # Fix the version of the spec file.
981 dist-hook: gen-ChangeLog
983 sed -e 's/@pkg_version@/$(PACKAGE_VERSION)/g' \
984 $(top_srcdir)/gpgme.spec.in > $(distdir)/gpgme.spec
988 pref="#+macro: gpgme_" ;\
989 reldate="$$(date -u +%Y-%m-%d)" ;\
990 echo "$${pref}ver $(PACKAGE_VERSION)" ;\
991 echo "$${pref}date $${reldate}" ;\
992 list='$(DIST_ARCHIVES)'; for i in $$list; do \
993 case "$$i" in *.tar.bz2) \
994 echo "$${pref}size $$(wc -c <$$i|awk '{print int($$1/1024)}')k" ;\
995 echo "$${pref}sha1 $$(sha1sum <$$i|cut -d' ' -f1)" ;\
996 echo "$${pref}sha2 $$(sha256sum <$$i|cut -d' ' -f1)" ;;\
998 done ) | tee $(distdir).swdb
1000 .PHONY: gen-ChangeLog release sign-release
1002 if test -d $(top_srcdir)/.git; then \
1003 (cd $(top_srcdir) && \
1004 $(GITLOG_TO_CHANGELOG) --append-dot --tear-off \
1005 --amend=build-aux/git-log-fix \
1006 --since=$(gen_start_date) ) > $(distdir)/cl-t; \
1007 cat $(top_srcdir)/build-aux/git-log-footer >> $(distdir)/cl-t;\
1008 rm -f $(distdir)/ChangeLog; \
1009 mv $(distdir)/cl-t $(distdir)/ChangeLog; \
1014 if [ "$(abs_top_builddir)" = "$(abs_top_srcdir)" ]; then \
1015 echo "error: build directory must not be the source directory" >&2;\
1018 echo "/* Build started at $$(date -uIseconds) */" ;\
1020 ./autogen.sh --force; \
1021 cd $(abs_top_builddir); \
1022 rm -rf dist; mkdir dist ; cd dist ; \
1023 $(abs_top_srcdir)/configure --enable-maintainer-mode; \
1024 $(MAKE) distcheck; \
1025 echo "/* Build finished at $$(date -uIseconds) */" ;\
1027 echo " * Please run the final step interactively:" ;\
1028 echo " * make sign-release" ;\
1030 ) 2>&1 | tee "$(RELEASE_NAME).buildlog"
1034 test $$(pwd | sed 's,.*/,,') = dist || cd dist; \
1035 x=$$(grep '^RELEASE_ARCHIVE=' $$HOME/.gnupg-autogen.rc|cut -d= -f2);\
1036 if [ -z "$$x" ]; then \
1037 echo "error: RELEASE_ARCHIVE missing in ~/.gnupg-autogen.rc">&2; \
1040 myarchive="$$x/$(RELEASE_ARCHIVE_SUFFIX)";\
1041 x=$$(grep '^RELEASE_SIGNKEY=' $$HOME/.gnupg-autogen.rc|cut -d= -f2);\
1042 if [ -z "$$x" ]; then \
1043 echo "error: RELEASE_SIGNKEY missing in ~/.gnupg-autogen.rc">&2; \
1047 files1="$(RELEASE_NAME).tar.bz2" ;\
1048 files2="$(RELEASE_NAME).tar.bz2.sig \
1049 $(RELEASE_NAME).swdb \
1050 $(RELEASE_NAME).buildlog" ;\
1051 echo "/* Signing the source tarball ..." ;\
1052 gpg -sbu $$mysignkey $(RELEASE_NAME).tar.bz2 ;\
1053 cat $(RELEASE_NAME).swdb >swdb.snippet;\
1054 echo >>swdb.snippet ;\
1055 sha1sum $${files1} >>swdb.snippet ;\
1056 cat "../$(RELEASE_NAME).buildlog" swdb.snippet \
1057 | gzip >$(RELEASE_NAME).buildlog ;\
1058 echo "Copying to local archive ..." ;\
1059 scp -p $${files1} $${files2} $$myarchive/ || true;\
1060 echo "Uploading documentation ..." ;\
1061 $(MAKE) -C doc online; \
1063 echo ' * All done; for checksums see dist/swdb.snippet' ;\
1067 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1068 # Otherwise a system limit (for SysV at least) may be exceeded.