1 # Makefile.in generated by automake 1.16.3 from Makefile.am.
4 # Copyright (C) 1994-2020 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 GnuPG
18 # Copyright (C) 2001, 2004, 2010 Free Software Foundation, Inc.
20 # This file is part of GnuPG.
22 # GnuPG 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 # GnuPG 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 <https://www.gnu.org/licenses/>.
37 if test -z '$(MAKELEVEL)'; then \
39 elif test -n '$(MAKE_HOST)'; then \
41 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
47 am__make_running_with_option = \
48 case $${target_option-} in \
50 *) echo "am__make_running_with_option: internal error: invalid" \
51 "target option '$${target_option-}' specified" >&2; \
55 sane_makeflags=$$MAKEFLAGS; \
56 if $(am__is_gnu_make); then \
57 sane_makeflags=$$MFLAGS; \
62 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
63 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
69 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
71 for flg in $$sane_makeflags; do \
72 test $$skip_next = yes && { skip_next=no; continue; }; \
75 -*I) strip_trailopt 'I'; skip_next=yes;; \
76 -*I?*) strip_trailopt 'I';; \
77 -*O) strip_trailopt 'O'; skip_next=yes;; \
78 -*O?*) strip_trailopt 'O';; \
79 -*l) strip_trailopt 'l'; skip_next=yes;; \
80 -*l?*) strip_trailopt 'l';; \
81 -[dEDm]) skip_next=yes;; \
82 -[JT]) skip_next=yes;; \
85 *$$target_option*) has_opt=yes; break;; \
89 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
90 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
91 pkgdatadir = $(datadir)/@PACKAGE@
92 pkgincludedir = $(includedir)/@PACKAGE@
93 pkglibdir = $(libdir)/@PACKAGE@
94 pkglibexecdir = $(libexecdir)/@PACKAGE@
95 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
96 install_sh_DATA = $(install_sh) -c -m 644
97 install_sh_PROGRAM = $(install_sh) -c
98 install_sh_SCRIPT = $(install_sh) -c
99 INSTALL_HEADER = $(INSTALL_DATA)
100 transform = $(program_transform_name)
107 build_triplet = @build@
108 host_triplet = @host@
110 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
111 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
112 $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/gettext.m4 \
113 $(top_srcdir)/m4/gpg-error.m4 $(top_srcdir)/m4/iconv.m4 \
114 $(top_srcdir)/m4/ksba.m4 $(top_srcdir)/m4/lcmessage.m4 \
115 $(top_srcdir)/m4/ldap.m4 $(top_srcdir)/m4/lib-ld.m4 \
116 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
117 $(top_srcdir)/m4/libassuan.m4 $(top_srcdir)/m4/libgcrypt.m4 \
118 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/npth.m4 \
119 $(top_srcdir)/m4/ntbtls.m4 $(top_srcdir)/m4/pkg.m4 \
120 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
121 $(top_srcdir)/m4/readline.m4 $(top_srcdir)/m4/socklen.m4 \
122 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
123 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
125 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
126 $(am__configure_deps) $(dist_doc_DATA) $(am__DIST_COMMON)
127 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
128 configure.lineno config.status.lineno
129 mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs
130 CONFIG_HEADER = config.h
132 CONFIG_CLEAN_VPATH_FILES =
133 AM_V_P = $(am__v_P_@AM_V@)
134 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
137 AM_V_GEN = $(am__v_GEN_@AM_V@)
138 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
139 am__v_GEN_0 = @echo " GEN " $@;
141 AM_V_at = $(am__v_at_@AM_V@)
142 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
147 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
148 ctags-recursive dvi-recursive html-recursive info-recursive \
149 install-data-recursive install-dvi-recursive \
150 install-exec-recursive install-html-recursive \
151 install-info-recursive install-pdf-recursive \
152 install-ps-recursive install-recursive installcheck-recursive \
153 installdirs-recursive pdf-recursive ps-recursive \
154 tags-recursive uninstall-recursive
155 am__can_run_installinfo = \
156 case $$AM_UPDATE_INFO_DIR in \
158 *) (install-info --version) >/dev/null 2>&1;; \
160 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
161 am__vpath_adj = case $$p in \
162 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
165 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
167 am__nobase_strip_setup = \
168 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
170 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
171 am__nobase_list = $(am__nobase_strip_setup); \
172 for p in $$list; do echo "$$p $$p"; done | \
173 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
174 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
175 if (++n[$$2] == $(am__install_max)) \
176 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
177 END { for (dir in files) print dir, files[dir] }'
179 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
180 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
181 am__uninstall_files_from_dir = { \
183 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
184 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
185 $(am__cd) "$$dir" && rm -f $$files; }; \
187 am__installdirs = "$(DESTDIR)$(docdir)"
188 DATA = $(dist_doc_DATA)
189 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
190 distclean-recursive maintainer-clean-recursive
191 am__recursive_targets = \
192 $(RECURSIVE_TARGETS) \
193 $(RECURSIVE_CLEAN_TARGETS) \
194 $(am__extra_recursive_targets)
195 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
196 cscope distdir distdir-am dist dist-all distcheck
197 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
199 # Read a list of newline-separated strings from the standard input,
200 # and print each of them once, without duplicates. Input order is
202 am__uniquify_input = $(AWK) '\
203 BEGIN { nonempty = 0; } \
204 { items[$$0] = 1; nonempty = 1; } \
205 END { if (nonempty) { for (i in items) print i; }; } \
207 # Make sure the list of sources is unique. This is necessary because,
208 # e.g., the same source file might be shared among _SOURCES variables
209 # for different programs/libraries.
210 am__define_uniq_tagged_files = \
211 list='$(am__tagged_files)'; \
212 unique=`for i in $$list; do \
213 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
214 done | $(am__uniquify_input)`
218 DIST_SUBDIRS = m4 common regexp kbx g10 sm agent scd g13 dirmngr tools \
220 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
221 $(top_srcdir)/build-aux/compile \
222 $(top_srcdir)/build-aux/config.guess \
223 $(top_srcdir)/build-aux/config.rpath \
224 $(top_srcdir)/build-aux/config.sub \
225 $(top_srcdir)/build-aux/install-sh \
226 $(top_srcdir)/build-aux/missing \
227 $(top_srcdir)/build-aux/mkinstalldirs ABOUT-NLS AUTHORS \
228 COPYING ChangeLog INSTALL NEWS README THANKS TODO \
229 build-aux/compile build-aux/config.guess \
230 build-aux/config.rpath build-aux/config.sub build-aux/depcomp \
231 build-aux/install-sh build-aux/mdate-sh build-aux/missing \
232 build-aux/mkinstalldirs build-aux/texinfo.tex
233 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
234 distdir = $(PACKAGE)-$(VERSION)
235 top_distdir = $(distdir)
236 am__remove_distdir = \
237 if test -d "$(distdir)"; then \
238 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
239 && rm -rf "$(distdir)" \
240 || { sleep 5 && rm -rf "$(distdir)"; }; \
242 am__post_remove_distdir = $(am__remove_distdir)
245 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
246 sed_rest='s,^[^/]*/*,,'; \
247 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
248 sed_butlast='s,/*[^/]*$$,,'; \
249 while test -n "$$dir1"; do \
250 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
251 if test "$$first" != "."; then \
252 if test "$$first" = ".."; then \
253 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
254 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
256 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
257 if test "$$first2" = "$$first"; then \
258 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
262 dir0="$$dir0"/"$$first"; \
265 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
269 DIST_ARCHIVES = $(distdir).tar.bz2
270 DIST_TARGETS = dist-bzip2
271 distuninstallcheck_listfiles = find . -type f -print
272 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
273 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
274 distcleancheck_listfiles = find . -type f -print
277 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
279 AUTOCONF = @AUTOCONF@
280 AUTOHEADER = @AUTOHEADER@
281 AUTOMAKE = @AUTOMAKE@
283 AWK_HEX_NUMBER_OPTION = @AWK_HEX_NUMBER_OPTION@
284 BUILD_FILEVERSION = @BUILD_FILEVERSION@
285 BUILD_HOSTNAME = @BUILD_HOSTNAME@
286 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
287 BUILD_REVISION = @BUILD_REVISION@
288 BUILD_TIMESTAMP = @BUILD_TIMESTAMP@
289 BUILD_VERSION = @BUILD_VERSION@
291 CCDEPMODE = @CCDEPMODE@
292 CC_FOR_BUILD = @CC_FOR_BUILD@
295 CPPFLAGS = @CPPFLAGS@
296 CYGPATH_W = @CYGPATH_W@
307 FUSERMOUNT = @FUSERMOUNT@
308 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
310 GMSGFMT_015 = @GMSGFMT_015@
311 GNUPG_AGENT_PGM = @GNUPG_AGENT_PGM@
312 GNUPG_DIRMNGR_LDAP_PGM = @GNUPG_DIRMNGR_LDAP_PGM@
313 GNUPG_DIRMNGR_PGM = @GNUPG_DIRMNGR_PGM@
314 GNUPG_KEYBOXD_PGM = @GNUPG_KEYBOXD_PGM@
315 GNUPG_PINENTRY_PGM = @GNUPG_PINENTRY_PGM@
316 GNUPG_PROTECT_TOOL_PGM = @GNUPG_PROTECT_TOOL_PGM@
317 GNUPG_SCDAEMON_PGM = @GNUPG_SCDAEMON_PGM@
318 GNUPG_TPM2DAEMON_PGM = @GNUPG_TPM2DAEMON_PGM@
319 GPGKEYS_LDAP = @GPGKEYS_LDAP@
320 GPGRT_CONFIG = @GPGRT_CONFIG@
321 GPG_ERROR_CFLAGS = @GPG_ERROR_CFLAGS@
322 GPG_ERROR_CONFIG = @GPG_ERROR_CONFIG@
323 GPG_ERROR_LIBS = @GPG_ERROR_LIBS@
324 GPG_ERROR_MT_CFLAGS = @GPG_ERROR_MT_CFLAGS@
325 GPG_ERROR_MT_LIBS = @GPG_ERROR_MT_LIBS@
327 HAVE_LIBTSS = @HAVE_LIBTSS@
329 INSTALL_DATA = @INSTALL_DATA@
330 INSTALL_PROGRAM = @INSTALL_PROGRAM@
331 INSTALL_SCRIPT = @INSTALL_SCRIPT@
332 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
333 INTLLIBS = @INTLLIBS@
334 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
335 KSBA_CFLAGS = @KSBA_CFLAGS@
336 KSBA_CONFIG = @KSBA_CONFIG@
337 KSBA_LIBS = @KSBA_LIBS@
338 LBER_LIBS = @LBER_LIBS@
339 LDAPLIBS = @LDAPLIBS@
340 LDAP_CPPFLAGS = @LDAP_CPPFLAGS@
342 LIBASSUAN_CFLAGS = @LIBASSUAN_CFLAGS@
343 LIBASSUAN_CONFIG = @LIBASSUAN_CONFIG@
344 LIBASSUAN_LIBS = @LIBASSUAN_LIBS@
345 LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@
346 LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@
347 LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@
348 LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@
349 LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@
350 LIBICONV = @LIBICONV@
353 LIBREADLINE = @LIBREADLINE@
355 LIBTSS_CFLAGS = @LIBTSS_CFLAGS@
356 LIBTSS_LIBS = @LIBTSS_LIBS@
357 LIBUSB_CPPFLAGS = @LIBUSB_CPPFLAGS@
358 LIBUSB_LIBS = @LIBUSB_LIBS@
360 LTLIBICONV = @LTLIBICONV@
361 LTLIBINTL = @LTLIBINTL@
362 LTLIBOBJS = @LTLIBOBJS@
364 MAKEINFO = @MAKEINFO@
367 MSGFMT_015 = @MSGFMT_015@
368 MSGMERGE = @MSGMERGE@
370 NPTH_CFLAGS = @NPTH_CFLAGS@
371 NPTH_CONFIG = @NPTH_CONFIG@
372 NPTH_LIBS = @NPTH_LIBS@
373 NTBTLS_CFLAGS = @NTBTLS_CFLAGS@
374 NTBTLS_CONFIG = @NTBTLS_CONFIG@
375 NTBTLS_LIBS = @NTBTLS_LIBS@
378 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
379 PACKAGE_GT = @PACKAGE_GT@
380 PACKAGE_NAME = @PACKAGE_NAME@
381 PACKAGE_STRING = @PACKAGE_STRING@
382 PACKAGE_TARNAME = @PACKAGE_TARNAME@
383 PACKAGE_URL = @PACKAGE_URL@
384 PACKAGE_VERSION = @PACKAGE_VERSION@
385 PATH_SEPARATOR = @PATH_SEPARATOR@
387 PKG_CONFIG = @PKG_CONFIG@
388 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
389 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
392 SENDMAIL = @SENDMAIL@
393 SET_MAKE = @SET_MAKE@
395 SQLITE3_CFLAGS = @SQLITE3_CFLAGS@
396 SQLITE3_LIBS = @SQLITE3_LIBS@
399 SWTPM_IOCTL = @SWTPM_IOCTL@
401 TPMSERVER = @TPMSERVER@
402 TSSSTARTUP = @TSSSTARTUP@
403 TSS_INCLUDE = @TSS_INCLUDE@
404 USE_C99_CFLAGS = @USE_C99_CFLAGS@
405 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
408 W32SOCKLIBS = @W32SOCKLIBS@
410 XGETTEXT = @XGETTEXT@
411 XGETTEXT_015 = @XGETTEXT_015@
412 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
415 abs_builddir = @abs_builddir@
416 abs_srcdir = @abs_srcdir@
417 abs_top_builddir = @abs_top_builddir@
418 abs_top_srcdir = @abs_top_srcdir@
419 ac_ct_CC = @ac_ct_CC@
420 am__include = @am__include@
421 am__leading_dot = @am__leading_dot@
422 am__quote = @am__quote@
424 am__untar = @am__untar@
427 build_alias = @build_alias@
428 build_cpu = @build_cpu@
429 build_os = @build_os@
430 build_vendor = @build_vendor@
431 builddir = @builddir@
433 datarootdir = @datarootdir@
436 exec_prefix = @exec_prefix@
438 host_alias = @host_alias@
439 host_cpu = @host_cpu@
441 host_vendor = @host_vendor@
443 includedir = @includedir@
445 install_sh = @install_sh@
447 libexecdir = @libexecdir@
448 localedir = @localedir@
449 localstatedir = @localstatedir@
452 oldincludedir = @oldincludedir@
455 program_transform_name = @program_transform_name@
457 runstatedir = @runstatedir@
459 sharedstatedir = @sharedstatedir@
461 sysconfdir = @sysconfdir@
462 target_alias = @target_alias@
463 top_build_prefix = @top_build_prefix@
464 top_builddir = @top_builddir@
465 top_srcdir = @top_srcdir@
467 # We want to also build the wixlib for use by GnuPG Desktop
470 # Location of the released tarball archives. This is prefixed by
471 # the variable RELEASE_ARCHIVE in ~/.gnupg-autogen.rc. For example:
472 # RELEASE_ARCHIVE=user@host:archive/tarballs
473 RELEASE_ARCHIVE_SUFFIX = gnupg/v2.4
474 # The variable RELEASE_SIGNKEY in ~/.gnupg-autogen.rc is used
475 # to specify the key for signing. For example:
476 # RELEASE_SIGNKEY=D8692123C4065DEA5E0F3AB5249B39D24F25E3B6
479 ACLOCAL_AMFLAGS = -I m4
480 AM_DISTCHECK_DVI_TARGET = pdf
481 AM_DISTCHECK_CONFIGURE_FLAGS = --enable-gnupg-builddir-envvar \
482 --enable-all-tests --enable-g13 \
483 --enable-gpgtar --enable-wks-tools --disable-ntbtls
485 GITLOG_TO_CHANGELOG = gitlog-to-changelog
486 EXTRA_DIST = build-aux/config.rpath build-aux/potomo autogen.sh autogen.rc \
487 ChangeLog-2011 po/ChangeLog-2011 build-aux/ChangeLog-2011 \
488 VERSION README.GIT build-aux/gitlog-to-changelog \
489 COPYING.GPL2 COPYING.LGPL21 COPYING.LGPL3 \
490 COPYING.CC0 COPYING.other \
491 build-aux/git-log-fix build-aux/git-log-footer \
492 build-aux/getswdb.sh \
493 build-aux/speedo.mk \
494 build-aux/speedo/zlib.pc \
495 build-aux/speedo/w32/inst-options.ini \
496 build-aux/speedo/w32/inst.nsi \
497 build-aux/speedo/w32/pkg-copyright.txt \
498 build-aux/speedo/w32/g4wihelp.c \
499 build-aux/speedo/w32/pango.modules \
500 build-aux/speedo/w32/gdk-pixbuf-loaders.cache \
501 build-aux/speedo/w32/exdll.h \
502 build-aux/speedo/w32/exdll.c \
503 build-aux/speedo/w32/README.txt \
504 build-aux/speedo/w32/gnupg-logo-150x57.bmp \
505 build-aux/speedo/w32/gnupg-logo-164x314.bmp \
506 build-aux/speedo/w32/wixlib.wxs \
507 build-aux/speedo/patches/atk-1.32.0.patch \
508 build-aux/speedo/patches/libiconv-1.14.patch \
509 build-aux/speedo/patches/pango-1.29.4.patch \
510 build-aux/speedo/patches/sqlite.patch
512 DISTCLEANFILES = g10defs.h
513 @BUILD_GPG_FALSE@gpg =
514 @BUILD_GPG_TRUE@gpg = g10
515 @BUILD_GPGSM_FALSE@sm =
516 @BUILD_GPGSM_TRUE@sm = sm
517 @BUILD_AGENT_FALSE@agent =
518 @BUILD_AGENT_TRUE@agent = agent
519 @BUILD_SCDAEMON_FALSE@scd =
520 @BUILD_SCDAEMON_TRUE@scd = scd
521 @BUILD_G13_FALSE@g13 =
522 @BUILD_G13_TRUE@g13 = g13
523 @BUILD_DIRMNGR_FALSE@dirmngr =
524 @BUILD_DIRMNGR_TRUE@dirmngr = dirmngr
525 @BUILD_DOC_FALSE@doc =
526 @BUILD_DOC_TRUE@doc = doc
527 @DISABLE_TESTS_FALSE@tests = tests
528 @DISABLE_TESTS_TRUE@tests =
529 @BUILD_TPM2D_FALSE@tpm2d =
530 @BUILD_TPM2D_TRUE@tpm2d = tpm2d
531 SUBDIRS = m4 common regexp kbx \
532 ${gpg} ${sm} ${agent} ${scd} ${g13} ${dirmngr} \
533 tools po ${doc} ${tests} ${tpm2d}
535 dist_doc_DATA = README
536 gen_start_date = 2011-12-01T06:00:00
537 TESTS_ENVIRONMENT = \
540 PATH=$(abs_top_builddir)/tests/gpgscm:$(PATH) \
541 abs_top_srcdir=$(abs_top_srcdir) \
542 objdir=$(abs_top_builddir) \
543 GNUPG_BUILD_ROOT="$(abs_top_builddir)" \
544 GNUPG_IN_TEST_SUITE=fact \
545 GPGSCM_PATH=$(abs_top_srcdir)/tests/gpgscm
548 # Names of to help the release target.
549 RELEASE_NAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
550 RELEASE_W32_STEM_NAME = $(PACKAGE_TARNAME)-w32-$(PACKAGE_VERSION)
552 $(MAKE) $(AM_MAKEFLAGS) all-recursive
555 am--refresh: Makefile
557 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
559 case '$(am__configure_deps)' in \
561 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
562 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
567 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
568 $(am__cd) $(top_srcdir) && \
569 $(AUTOMAKE) --gnu Makefile
570 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
573 echo ' $(SHELL) ./config.status'; \
574 $(SHELL) ./config.status;; \
576 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
577 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
580 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
581 $(SHELL) ./config.status --recheck
583 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
584 $(am__cd) $(srcdir) && $(AUTOCONF)
585 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
586 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
587 $(am__aclocal_m4_deps):
590 @test -f $@ || rm -f stamp-h1
591 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
593 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
595 cd $(top_builddir) && $(SHELL) ./config.status config.h
596 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
597 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
602 -rm -f config.h stamp-h1
603 install-dist_docDATA: $(dist_doc_DATA)
605 @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \
606 if test -n "$$list"; then \
607 echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \
608 $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \
610 for p in $$list; do \
611 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
613 done | $(am__base_list) | \
614 while read files; do \
615 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \
616 $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \
619 uninstall-dist_docDATA:
621 @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \
622 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
623 dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir)
625 # This directory's subdirectories are mostly independent; you can cd
626 # into them and run 'make' without going through this Makefile.
627 # To change the values of 'make' variables: instead of editing Makefiles,
628 # (1) if the variable is set in 'config.status', edit 'config.status'
629 # (which will cause the Makefiles to be regenerated when you run 'make');
630 # (2) otherwise, pass the desired values on the 'make' command line.
631 $(am__recursive_targets):
633 if $(am__make_keepgoing); then \
634 failcom='fail=yes'; \
639 target=`echo $@ | sed s/-recursive//`; \
641 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
642 *) list='$(SUBDIRS)' ;; \
644 for subdir in $$list; do \
645 echo "Making $$target in $$subdir"; \
646 if test "$$subdir" = "."; then \
648 local_target="$$target-am"; \
650 local_target="$$target"; \
652 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
655 if test "$$dot_seen" = "no"; then \
656 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
659 ID: $(am__tagged_files)
660 $(am__define_uniq_tagged_files); mkid -fID $$unique
664 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
667 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
668 include_option=--etags-include; \
671 include_option=--include; \
674 list='$(SUBDIRS)'; for subdir in $$list; do \
675 if test "$$subdir" = .; then :; else \
676 test ! -f $$subdir/TAGS || \
677 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
680 $(am__define_uniq_tagged_files); \
682 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
683 test -n "$$unique" || unique=$$empty_fix; \
684 if test $$# -gt 0; then \
685 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
688 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
692 ctags: ctags-recursive
695 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
696 $(am__define_uniq_tagged_files); \
697 test -z "$(CTAGS_ARGS)$$unique" \
698 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
702 here=`$(am__cd) $(top_builddir) && pwd` \
703 && $(am__cd) $(top_srcdir) \
704 && gtags -i $(GTAGS_ARGS) "$$here"
706 test ! -s cscope.files \
707 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
710 cscope.files: clean-cscope cscopelist
711 cscopelist: cscopelist-recursive
713 cscopelist-am: $(am__tagged_files)
714 list='$(am__tagged_files)'; \
715 case "$(srcdir)" in \
716 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
717 *) sdir=$(subdir)/$(srcdir) ;; \
719 for i in $$list; do \
720 if test -f "$$i"; then \
721 echo "$(subdir)/$$i"; \
725 done >> $(top_builddir)/cscope.files
728 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
729 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
731 distdir: $(BUILT_SOURCES)
732 $(MAKE) $(AM_MAKEFLAGS) distdir-am
734 distdir-am: $(DISTFILES)
735 $(am__remove_distdir)
736 test -d "$(distdir)" || mkdir "$(distdir)"
737 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
738 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
739 list='$(DISTFILES)'; \
740 dist_files=`for file in $$list; do echo $$file; done | \
741 sed -e "s|^$$srcdirstrip/||;t" \
742 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
743 case $$dist_files in \
744 */*) $(MKDIR_P) `echo "$$dist_files" | \
745 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
748 for file in $$dist_files; do \
749 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
750 if test -d $$d/$$file; then \
751 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
752 if test -d "$(distdir)/$$file"; then \
753 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
755 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
756 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
757 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
759 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
761 test -f "$(distdir)/$$file" \
762 || cp -p $$d/$$file "$(distdir)/$$file" \
766 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
767 if test "$$subdir" = .; then :; else \
769 || test -d "$(distdir)/$$subdir" \
770 || $(MKDIR_P) "$(distdir)/$$subdir" \
772 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
774 new_distdir=$$reldir; \
775 dir1=$$subdir; dir2="$(top_distdir)"; \
777 new_top_distdir=$$reldir; \
778 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
779 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
780 ($(am__cd) $$subdir && \
781 $(MAKE) $(AM_MAKEFLAGS) \
782 top_distdir="$$new_top_distdir" \
783 distdir="$$new_distdir" \
784 am__remove_distdir=: \
785 am__skip_length_check=: \
786 am__skip_mode_fix=: \
791 $(MAKE) $(AM_MAKEFLAGS) \
792 top_distdir="$(top_distdir)" distdir="$(distdir)" \
794 -test -n "$(am__skip_mode_fix)" \
795 || find "$(distdir)" -type d ! -perm -755 \
796 -exec chmod u+rwx,go+rx {} \; -o \
797 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
798 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
799 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
800 || chmod -R a+r "$(distdir)"
802 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
803 $(am__post_remove_distdir)
805 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
806 $(am__post_remove_distdir)
809 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
810 $(am__post_remove_distdir)
813 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
814 $(am__post_remove_distdir)
817 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
818 $(am__post_remove_distdir)
821 @echo WARNING: "Support for distribution archives compressed with" \
822 "legacy program 'compress' is deprecated." >&2
823 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
824 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
825 $(am__post_remove_distdir)
828 @echo WARNING: "Support for shar distribution archives is" \
830 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
831 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
832 $(am__post_remove_distdir)
835 -rm -f $(distdir).zip
836 zip -rq $(distdir).zip $(distdir)
837 $(am__post_remove_distdir)
840 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
841 $(am__post_remove_distdir)
843 # This target untars the dist file and tries a VPATH configuration. Then
844 # it guarantees that the distribution is self-contained by making another
847 case '$(DIST_ARCHIVES)' in \
849 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
851 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
853 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
855 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
857 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
859 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
861 unzip $(distdir).zip ;;\
863 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
865 chmod -R a-w $(distdir)
867 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
869 test -d $(distdir)/_build || exit 0; \
870 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
871 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
872 && $(MAKE) $(AM_MAKEFLAGS) distcheck-hook \
874 && $(am__cd) $(distdir)/_build/sub \
876 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
877 $(DISTCHECK_CONFIGURE_FLAGS) \
878 --srcdir=../.. --prefix="$$dc_install_base" \
879 && $(MAKE) $(AM_MAKEFLAGS) \
880 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
881 && $(MAKE) $(AM_MAKEFLAGS) check \
882 && $(MAKE) $(AM_MAKEFLAGS) install \
883 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
884 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
885 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
887 && chmod -R a-w "$$dc_install_base" \
889 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
890 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
891 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
892 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
893 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
894 } || { rm -rf "$$dc_destdir"; exit 1; }) \
895 && rm -rf "$$dc_destdir" \
896 && $(MAKE) $(AM_MAKEFLAGS) dist \
897 && rm -rf $(DIST_ARCHIVES) \
898 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
901 $(am__post_remove_distdir)
902 @(echo "$(distdir) archives ready for distribution: "; \
903 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
904 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
906 @test -n '$(distuninstallcheck_dir)' || { \
907 echo 'ERROR: trying to run $@ with an empty' \
908 '$$(distuninstallcheck_dir)' >&2; \
911 $(am__cd) '$(distuninstallcheck_dir)' || { \
912 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
915 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
916 || { echo "ERROR: files left after uninstall:" ; \
917 if test -n "$(DESTDIR)"; then \
918 echo " (check DESTDIR support)"; \
920 $(distuninstallcheck_listfiles) ; \
922 distcleancheck: distclean
923 @if test '$(srcdir)' = . ; then \
924 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
927 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
928 || { echo "ERROR: files left in build directory after distclean:" ; \
929 $(distcleancheck_listfiles) ; \
932 check: check-recursive
933 all-am: Makefile $(DATA) config.h all-local
934 installdirs: installdirs-recursive
936 for dir in "$(DESTDIR)$(docdir)"; do \
937 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
939 install: install-recursive
940 install-exec: install-exec-recursive
941 install-data: install-data-recursive
942 uninstall: uninstall-recursive
945 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
947 installcheck: installcheck-recursive
949 if test -z '$(STRIP)'; then \
950 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
951 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
954 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
955 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
956 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
963 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
964 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
965 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
967 maintainer-clean-generic:
968 @echo "This command is intended for maintainers to use"
969 @echo "it deletes files that may require special tools to rebuild."
970 @HAVE_W32_SYSTEM_FALSE@install-data-hook:
971 clean: clean-recursive
973 clean-am: clean-generic mostlyclean-am
975 distclean: distclean-recursive
976 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
978 distclean-am: clean-am distclean-generic distclean-hdr distclean-local \
993 install-data-am: install-dist_docDATA
995 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
996 install-dvi: install-dvi-recursive
1002 install-html: install-html-recursive
1006 install-info: install-info-recursive
1012 install-pdf: install-pdf-recursive
1016 install-ps: install-ps-recursive
1022 maintainer-clean: maintainer-clean-recursive
1023 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1024 -rm -rf $(top_srcdir)/autom4te.cache
1026 maintainer-clean-am: distclean-am maintainer-clean-generic
1028 mostlyclean: mostlyclean-recursive
1030 mostlyclean-am: mostlyclean-generic
1040 uninstall-am: uninstall-dist_docDATA
1042 .MAKE: $(am__recursive_targets) all install-am install-data-am \
1045 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am all-local \
1046 am--refresh check check-am clean clean-cscope clean-generic \
1047 cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
1048 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
1049 dist-zip dist-zstd distcheck distclean distclean-generic \
1050 distclean-hdr distclean-local distclean-tags distcleancheck \
1051 distdir distuninstallcheck dvi dvi-am html html-am info \
1052 info-am install install-am install-data install-data-am \
1053 install-data-hook install-dist_docDATA install-dvi \
1054 install-dvi-am install-exec install-exec-am install-html \
1055 install-html-am install-info install-info-am install-man \
1056 install-pdf install-pdf-am install-ps install-ps-am \
1057 install-strip installcheck installcheck-am installdirs \
1058 installdirs-am maintainer-clean maintainer-clean-generic \
1059 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
1060 tags-am uninstall uninstall-am uninstall-dist_docDATA
1065 # Create test directory etc/gnupg so that we have an
1066 # empty sysconfdir and bin where we put out gpgconf.ctl.
1067 # we also put symlinks to the actual binaries there.
1068 # Unfortunately there is no all-hook, but symlinks have the
1069 # nice property that they can be created even for not yet
1072 @-$(MKDIR_P) bin etc/gnupg libexec
1073 @cat $(srcdir)/tests/gpgconf.ctl.in > bin/gpgconf.ctl
1075 for i in gpg gpgv; \
1076 do ln -sf ../g10/$$i$(EXEEXT) .; done; \
1078 do ln -sf ../sm/$$i$(EXEEXT) .; done; \
1079 for i in gpg-agent; \
1080 do ln -sf ../agent/$$i$(EXEEXT) .; done; \
1082 do ln -sf ../dirmngr/$$i$(EXEEXT) .; done; \
1083 for i in gpgconf gpg-connect-agent gpgtar gpg-card; \
1084 do ln -sf ../tools/$$i$(EXEEXT) .; done; \
1087 do ln -sf ../kbx/$$i$(EXEEXT) .; done; \
1088 for i in scdaemon; \
1089 do ln -sf ../scd/$$i$(EXEEXT) .; done; \
1090 for i in gpg-preset-passphrase; \
1091 do ln -sf ../agent/$$i$(EXEEXT) .; done; \
1092 for i in tpm2daemon; \
1093 do [ -f ../tpm2d/$$i$(EXEEXT) ] && ln -sf ../tpm2d/$$i$(EXEEXT) .; done; \
1094 echo "created links to binaries" )
1096 # Clean up our test directories but take care that this is never
1097 # called from / or /usr/local
1099 @if pwd | grep gnupg 2>/dev/null; then rm -rf etc bin libexec; fi
1101 dist-hook: gen-ChangeLog
1105 pref="#+macro: gnupg24_" ;\
1106 reldate="$$(date -u +%Y-%m-%d)" ;\
1107 echo "$${pref}ver $(PACKAGE_VERSION)" ;\
1108 echo "$${pref}date $${reldate}" ;\
1109 list='$(DIST_ARCHIVES)'; for i in $$list; do \
1110 case "$$i" in *.tar.bz2) \
1111 echo "$${pref}size $$(wc -c <$$i|awk '{print int($$1/1024)}')k" ;\
1112 echo "$${pref}sha1 $$(sha1sum <$$i|cut -d' ' -f1)" ;\
1113 echo "$${pref}sha2 $$(sha256sum <$$i|cut -d' ' -f1)" ;;\
1115 done ) | tee $(distdir).swdb
1117 @HAVE_W32_SYSTEM_TRUE@install-data-hook:
1118 @HAVE_W32_SYSTEM_TRUE@ set -e; \
1119 @HAVE_W32_SYSTEM_TRUE@ for i in $$($(top_srcdir)/build-aux/potomo \
1120 @HAVE_W32_SYSTEM_TRUE@ --get-linguas $(top_srcdir)/po) ; do \
1121 @HAVE_W32_SYSTEM_TRUE@ $(MKDIR_P) "$(DESTDIR)$(localedir)/$$i/LC_MESSAGES" || true; \
1122 @HAVE_W32_SYSTEM_TRUE@ rm -f "$(DESTDIR)$(localedir)/$$i/LC_MESSAGES/gnupg2.mo" \
1123 @HAVE_W32_SYSTEM_TRUE@ 2>/dev/null || true; \
1124 @HAVE_W32_SYSTEM_TRUE@ $(top_srcdir)/build-aux/potomo $(top_srcdir)/po/$$i.po \
1125 @HAVE_W32_SYSTEM_TRUE@ "$(DESTDIR)$(localedir)/$$i/LC_MESSAGES/gnupg2.mo" ; \
1126 @HAVE_W32_SYSTEM_TRUE@ done
1127 .PHONY: gen-ChangeLog
1129 if test -e $(top_srcdir)/.git; then \
1130 (cd $(top_srcdir) && \
1131 $(GITLOG_TO_CHANGELOG) --append-dot --tear-off \
1132 --amend=build-aux/git-log-fix \
1133 --since=$(gen_start_date) ) > $(distdir)/cl-t; \
1134 cat $(top_srcdir)/build-aux/git-log-footer >> $(distdir)/cl-t; \
1135 rm -f $(distdir)/ChangeLog; \
1136 mv $(distdir)/cl-t $(distdir)/ChangeLog; \
1140 $(MAKE) $(AM_MAKEFLAGS) install prefix=/usr/local/stow/gnupg
1142 .PHONY: check-all release sign-release
1144 $(TESTS_ENVIRONMENT) \
1145 $(abs_top_builddir)/tests/gpgscm/gpgscm$(EXEEXT) \
1146 $(abs_srcdir)/tests/run-tests.scm $(TESTFLAGS) $(TESTS)
1150 if [ "$(abs_top_builddir)" = "$(abs_top_srcdir)" ]; then \
1151 echo "error: build directory must not be the source directory" >&2;\
1154 echo "/* Build started at $$(date -uIseconds) */" ;\
1155 [ -n "$(WITH_MSI)" ] && echo "/* (with MSI build support) */" ;\
1157 ./autogen.sh --force; \
1158 cd $(abs_top_builddir); \
1159 rm -rf dist; mkdir dist ; cd dist ; \
1161 if [ -n "$$CUSTOM_SWDB" ]; then \
1162 mkopt="CUSTOM_SWB=1"; \
1163 x=$$(grep '^OVERRIDE_TARBALLS=' \
1164 $$HOME/.gnupg-autogen.rc|cut -d= -f2);\
1165 if [ -f "$$x/swdb.lst" ]; then \
1166 echo "/* Copying swdb.lst from the overrides directory */"; \
1167 cp "$$x/swdb.lst" . ; \
1168 cp "$$x/swdb.lst.sig" . ; \
1171 echo "/* Running configure */";\
1172 $(abs_top_srcdir)/configure --enable-maintainer-mode; \
1173 echo "/* Running make distcheck */";\
1174 $(MAKE) distcheck TESTFLAGS=--parallel; \
1175 echo "/* Unpacking release */";\
1176 $(AMTAR) xjf $(RELEASE_NAME).tar.bz2 ;\
1177 target=w32-release ;\
1178 [ -n "$(WITH_MSI)" ] && target=w32-msi-release ;\
1179 echo "/* Running $(MAKE) -f $(RELEASE_NAME)/build-aux/speedo.mk $${target} */";\
1180 $(MAKE) -f $(RELEASE_NAME)/build-aux/speedo.mk $${target} ;\
1181 echo "/* Build finished at $$(date -uIseconds) */" ;\
1183 echo " * Please run the final step interactively:" ;\
1184 echo " * make sign-release $${WITH_MSI:+WITH_MSI=1}" ;\
1186 ) 2>&1 | tee "$(RELEASE_NAME).buildlog"
1190 test $$(pwd | sed 's,.*/,,') = dist || cd dist; \
1191 x=$$(grep '^RELEASE_ARCHIVE=' $$HOME/.gnupg-autogen.rc|cut -d= -f2);\
1192 if [ -z "$$x" ]; then \
1193 echo "error: RELEASE_ARCHIVE missing in ~/.gnupg-autogen.rc">&2; \
1196 myarchive="$$x/$(RELEASE_ARCHIVE_SUFFIX)";\
1197 x=$$(grep '^RELEASE_SIGNKEY=' $$HOME/.gnupg-autogen.rc|cut -d= -f2);\
1198 if [ -z "$$x" ]; then \
1199 echo "error: RELEASE_SIGNKEY missing in ~/.gnupg-autogen.rc">&2; \
1203 release_w32_name="$(RELEASE_W32_STEM_NAME)_$$(date -u +%Y%m%d)" ;\
1204 files1="$(RELEASE_NAME).tar.bz2 \
1205 $${release_w32_name}.tar.xz \
1206 $${release_w32_name}.exe" ;\
1207 files2="$(RELEASE_NAME).tar.bz2.sig \
1208 $(RELEASE_NAME).swdb \
1209 $(RELEASE_NAME).buildlog \
1210 $${release_w32_name}.tar.xz.sig \
1211 $${release_w32_name}.exe.sig \
1212 $${release_w32_name}.exe.swdb" ;\
1213 wixlibfile="$${release_w32_name}.wixlib";\
1214 $(MAKE) -f $(RELEASE_NAME)/build-aux/speedo.mk w32-sign-installer ;\
1215 echo "/* Signing the source tarball ..." ;\
1216 gpg -sbu $$mysignkey $(RELEASE_NAME).tar.bz2 ;\
1217 echo "/* Signing the W32 source tarball ..." ;\
1218 gpg -sbu $$mysignkey $${release_w32_name}.tar.xz ;\
1219 echo "/* Signing the W32 installer ..." ;\
1220 gpg -sbu $$mysignkey $${release_w32_name}.exe ;\
1221 if [ -e $${wixlibfile} ]; then \
1222 echo "/* Signing the Wixlib ..." ;\
1223 gpg -sbu $$mysignkey $${wixlibfile} ;\
1225 cat $(RELEASE_NAME).swdb >swdb.snippet;\
1226 echo '#+macro: gnupg24_branch STABLE-BRANCH-2-4' >>swdb.snippet;\
1227 cat $${release_w32_name}.exe.swdb >>swdb.snippet;\
1228 echo >>swdb.snippet ;\
1229 sha1sum $${files1} >>swdb.snippet ;\
1230 cat "../$(RELEASE_NAME).buildlog" swdb.snippet \
1231 | gzip >$(RELEASE_NAME).buildlog ;\
1232 echo "Release created - copying it to the archive ..." ;\
1233 scp -p $${files1} $${files2} $$myarchive/ \
1234 || echo "/* Error copying files to the archive - ignored */" ;\
1235 if [ -e $${wixlibfile} ]; then\
1236 scp -p $${wixlibfile} $${wixlibfile}.sig $$myarchive/ \
1237 || echo "/* Error copying wixlib to the archive - ignored. */" ;\
1240 echo ' * All done; for checksums see dist/swdb.snippet' ;\
1244 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1245 # Otherwise a system limit (for SysV at least) may be exceeded.