1# Makefile.in generated by automake 1.16.3 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2020 Free Software Foundation, Inc.
5
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.
9
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
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17# Makefile.am - For tests/openpgp
18# Copyright (C) 1998, 1999, 2000, 2001, 2003,
19#               2010 Free Software Foundation, Inc.
20#
21# This file is part of GnuPG.
22#
23# GnuPG is free software; you can redistribute it and/or modify
24# it under the terms of the GNU General Public License as published by
25# the Free Software Foundation; either version 3 of the License, or
26# (at your option) any later version.
27#
28# GnuPG is distributed in the hope that it will be useful,
29# but WITHOUT ANY WARRANTY; without even the implied warranty of
30# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
31# GNU General Public License for more details.
32#
33# You should have received a copy of the GNU General Public License
34# along with this program; if not, see <https://www.gnu.org/licenses/>.
35# Process this file with automake to create Makefile.in
36
37# cmacros.am - C macro definitions
38#     Copyright (C) 2004 Free Software Foundation, Inc.
39#
40# This file is part of GnuPG.
41#
42# GnuPG is free software; you can redistribute it and/or modify
43# it under the terms of the GNU General Public License as published by
44# the Free Software Foundation; either version 3 of the License, or
45# (at your option) any later version.
46#
47# GnuPG is distributed in the hope that it will be useful,
48# but WITHOUT ANY WARRANTY; without even the implied warranty of
49# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
50# GNU General Public License for more details.
51#
52# You should have received a copy of the GNU General Public License
53# along with this program; if not, see <https://www.gnu.org/licenses/>.
54VPATH = @srcdir@
55am__is_gnu_make = { \
56  if test -z '$(MAKELEVEL)'; then \
57    false; \
58  elif test -n '$(MAKE_HOST)'; then \
59    true; \
60  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
61    true; \
62  else \
63    false; \
64  fi; \
65}
66am__make_running_with_option = \
67  case $${target_option-} in \
68      ?) ;; \
69      *) echo "am__make_running_with_option: internal error: invalid" \
70              "target option '$${target_option-}' specified" >&2; \
71         exit 1;; \
72  esac; \
73  has_opt=no; \
74  sane_makeflags=$$MAKEFLAGS; \
75  if $(am__is_gnu_make); then \
76    sane_makeflags=$$MFLAGS; \
77  else \
78    case $$MAKEFLAGS in \
79      *\\[\ \	]*) \
80        bs=\\; \
81        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
82          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
83    esac; \
84  fi; \
85  skip_next=no; \
86  strip_trailopt () \
87  { \
88    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
89  }; \
90  for flg in $$sane_makeflags; do \
91    test $$skip_next = yes && { skip_next=no; continue; }; \
92    case $$flg in \
93      *=*|--*) continue;; \
94        -*I) strip_trailopt 'I'; skip_next=yes;; \
95      -*I?*) strip_trailopt 'I';; \
96        -*O) strip_trailopt 'O'; skip_next=yes;; \
97      -*O?*) strip_trailopt 'O';; \
98        -*l) strip_trailopt 'l'; skip_next=yes;; \
99      -*l?*) strip_trailopt 'l';; \
100      -[dEDm]) skip_next=yes;; \
101      -[JT]) skip_next=yes;; \
102    esac; \
103    case $$flg in \
104      *$$target_option*) has_opt=yes; break;; \
105    esac; \
106  done; \
107  test $$has_opt = yes
108am__make_dryrun = (target_option=n; $(am__make_running_with_option))
109am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
110pkgdatadir = $(datadir)/@PACKAGE@
111pkgincludedir = $(includedir)/@PACKAGE@
112pkglibdir = $(libdir)/@PACKAGE@
113pkglibexecdir = $(libexecdir)/@PACKAGE@
114am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
115install_sh_DATA = $(install_sh) -c -m 644
116install_sh_PROGRAM = $(install_sh) -c
117install_sh_SCRIPT = $(install_sh) -c
118INSTALL_HEADER = $(INSTALL_DATA)
119transform = $(program_transform_name)
120NORMAL_INSTALL = :
121PRE_INSTALL = :
122POST_INSTALL = :
123NORMAL_UNINSTALL = :
124PRE_UNINSTALL = :
125POST_UNINSTALL = :
126build_triplet = @build@
127host_triplet = @host@
128@HAVE_DOSISH_SYSTEM_FALSE@am__append_1 = -DGNUPG_BINDIR="\"$(bindir)\""            \
129@HAVE_DOSISH_SYSTEM_FALSE@               -DGNUPG_LIBEXECDIR="\"$(libexecdir)\""    \
130@HAVE_DOSISH_SYSTEM_FALSE@               -DGNUPG_LIBDIR="\"$(libdir)/@PACKAGE@\""  \
131@HAVE_DOSISH_SYSTEM_FALSE@               -DGNUPG_DATADIR="\"$(datadir)/@PACKAGE@\"" \
132@HAVE_DOSISH_SYSTEM_FALSE@               -DGNUPG_SYSCONFDIR="\"$(sysconfdir)/@PACKAGE@\"" \
133@HAVE_DOSISH_SYSTEM_FALSE@               -DGNUPG_LOCALSTATEDIR="\"$(localstatedir)\""
134
135
136# If a specific protect tool program has been defined, pass its name
137# to cc.  Note that these macros should not be used directly but via
138# the gnupg_module_name function.
139@GNUPG_AGENT_PGM_TRUE@am__append_2 = -DGNUPG_DEFAULT_AGENT="\"@GNUPG_AGENT_PGM@\""
140@GNUPG_PINENTRY_PGM_TRUE@am__append_3 = -DGNUPG_DEFAULT_PINENTRY="\"@GNUPG_PINENTRY_PGM@\""
141@GNUPG_SCDAEMON_PGM_TRUE@am__append_4 = -DGNUPG_DEFAULT_SCDAEMON="\"@GNUPG_SCDAEMON_PGM@\""
142@GNUPG_TPM2DAEMON_PGM_TRUE@am__append_5 = -DGNUPG_DEFAULT_TPM2DAEMON="\"@GNUPG_TPM2DAEMON_PGM@\""
143@GNUPG_DIRMNGR_PGM_TRUE@am__append_6 = -DGNUPG_DEFAULT_DIRMNGR="\"@GNUPG_DIRMNGR_PGM@\""
144@GNUPG_PROTECT_TOOL_PGM_TRUE@am__append_7 = -DGNUPG_DEFAULT_PROTECT_TOOL="\"@GNUPG_PROTECT_TOOL_PGM@\""
145@GNUPG_DIRMNGR_LDAP_PGM_TRUE@am__append_8 = -DGNUPG_DEFAULT_DIRMNGR_LDAP="\"@GNUPG_DIRMNGR_LDAP_PGM@\""
146subdir = tests/tpm2dtests
147ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
148am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
149	$(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/gettext.m4 \
150	$(top_srcdir)/m4/gpg-error.m4 $(top_srcdir)/m4/iconv.m4 \
151	$(top_srcdir)/m4/ksba.m4 $(top_srcdir)/m4/lcmessage.m4 \
152	$(top_srcdir)/m4/ldap.m4 $(top_srcdir)/m4/lib-ld.m4 \
153	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
154	$(top_srcdir)/m4/libassuan.m4 $(top_srcdir)/m4/libgcrypt.m4 \
155	$(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/npth.m4 \
156	$(top_srcdir)/m4/ntbtls.m4 $(top_srcdir)/m4/pkg.m4 \
157	$(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
158	$(top_srcdir)/m4/readline.m4 $(top_srcdir)/m4/socklen.m4 \
159	$(top_srcdir)/m4/sys_socket_h.m4 $(top_srcdir)/acinclude.m4 \
160	$(top_srcdir)/configure.ac
161am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
162	$(ACLOCAL_M4)
163DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
164mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs
165CONFIG_HEADER = $(top_builddir)/config.h
166CONFIG_CLEAN_FILES =
167CONFIG_CLEAN_VPATH_FILES =
168AM_V_P = $(am__v_P_@AM_V@)
169am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
170am__v_P_0 = false
171am__v_P_1 = :
172AM_V_GEN = $(am__v_GEN_@AM_V@)
173am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
174am__v_GEN_0 = @echo "  GEN     " $@;
175am__v_GEN_1 =
176AM_V_at = $(am__v_at_@AM_V@)
177am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
178am__v_at_0 = @
179am__v_at_1 =
180SOURCES =
181DIST_SOURCES =
182am__can_run_installinfo = \
183  case $$AM_UPDATE_INFO_DIR in \
184    n|no|NO) false;; \
185    *) (install-info --version) >/dev/null 2>&1;; \
186  esac
187am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
188am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/am/cmacros.am \
189	$(top_srcdir)/build-aux/mkinstalldirs
190DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
191ACLOCAL = @ACLOCAL@
192AMTAR = @AMTAR@
193AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
194AR = @AR@
195AUTOCONF = @AUTOCONF@
196AUTOHEADER = @AUTOHEADER@
197AUTOMAKE = @AUTOMAKE@
198AWK = @AWK@
199AWK_HEX_NUMBER_OPTION = @AWK_HEX_NUMBER_OPTION@
200BUILD_FILEVERSION = @BUILD_FILEVERSION@
201BUILD_HOSTNAME = @BUILD_HOSTNAME@
202BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
203BUILD_REVISION = @BUILD_REVISION@
204BUILD_TIMESTAMP = @BUILD_TIMESTAMP@
205BUILD_VERSION = @BUILD_VERSION@
206CC = @CC@
207CCDEPMODE = @CCDEPMODE@
208CC_FOR_BUILD = @CC_FOR_BUILD@
209CFLAGS = @CFLAGS@
210CPP = @CPP@
211CPPFLAGS = @CPPFLAGS@
212CYGPATH_W = @CYGPATH_W@
213DEFS = @DEFS@
214DEPDIR = @DEPDIR@
215DL_LIBS = @DL_LIBS@
216DNSLIBS = @DNSLIBS@
217ECHO_C = @ECHO_C@
218ECHO_N = @ECHO_N@
219ECHO_T = @ECHO_T@
220EGREP = @EGREP@
221ENCFS = @ENCFS@
222EXEEXT = @EXEEXT@
223FUSERMOUNT = @FUSERMOUNT@
224GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
225GMSGFMT = @GMSGFMT@
226GMSGFMT_015 = @GMSGFMT_015@
227GNUPG_AGENT_PGM = @GNUPG_AGENT_PGM@
228GNUPG_DIRMNGR_LDAP_PGM = @GNUPG_DIRMNGR_LDAP_PGM@
229GNUPG_DIRMNGR_PGM = @GNUPG_DIRMNGR_PGM@
230GNUPG_KEYBOXD_PGM = @GNUPG_KEYBOXD_PGM@
231GNUPG_PINENTRY_PGM = @GNUPG_PINENTRY_PGM@
232GNUPG_PROTECT_TOOL_PGM = @GNUPG_PROTECT_TOOL_PGM@
233GNUPG_SCDAEMON_PGM = @GNUPG_SCDAEMON_PGM@
234GNUPG_TPM2DAEMON_PGM = @GNUPG_TPM2DAEMON_PGM@
235GPGKEYS_LDAP = @GPGKEYS_LDAP@
236GPGRT_CONFIG = @GPGRT_CONFIG@
237GPG_ERROR_CFLAGS = @GPG_ERROR_CFLAGS@
238GPG_ERROR_CONFIG = @GPG_ERROR_CONFIG@
239GPG_ERROR_LIBS = @GPG_ERROR_LIBS@
240GPG_ERROR_MT_CFLAGS = @GPG_ERROR_MT_CFLAGS@
241GPG_ERROR_MT_LIBS = @GPG_ERROR_MT_LIBS@
242GREP = @GREP@
243HAVE_LIBTSS = @HAVE_LIBTSS@
244INSTALL = @INSTALL@
245INSTALL_DATA = @INSTALL_DATA@
246INSTALL_PROGRAM = @INSTALL_PROGRAM@
247INSTALL_SCRIPT = @INSTALL_SCRIPT@
248INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
249INTLLIBS = @INTLLIBS@
250INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
251KSBA_CFLAGS = @KSBA_CFLAGS@
252KSBA_CONFIG = @KSBA_CONFIG@
253KSBA_LIBS = @KSBA_LIBS@
254LBER_LIBS = @LBER_LIBS@
255LDAPLIBS = @LDAPLIBS@
256LDAP_CPPFLAGS = @LDAP_CPPFLAGS@
257LDFLAGS = @LDFLAGS@
258LIBASSUAN_CFLAGS = @LIBASSUAN_CFLAGS@
259LIBASSUAN_CONFIG = @LIBASSUAN_CONFIG@
260LIBASSUAN_LIBS = @LIBASSUAN_LIBS@
261LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@
262LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@
263LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@
264LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@
265LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@
266LIBICONV = @LIBICONV@
267LIBINTL = @LIBINTL@
268LIBOBJS = @LIBOBJS@
269LIBREADLINE = @LIBREADLINE@
270LIBS = @LIBS@
271LIBTSS_CFLAGS = @LIBTSS_CFLAGS@
272LIBTSS_LIBS = @LIBTSS_LIBS@
273LIBUSB_CPPFLAGS = @LIBUSB_CPPFLAGS@
274LIBUSB_LIBS = @LIBUSB_LIBS@
275LN_S = @LN_S@
276LTLIBICONV = @LTLIBICONV@
277LTLIBINTL = @LTLIBINTL@
278LTLIBOBJS = @LTLIBOBJS@
279MAINT = @MAINT@
280MAKEINFO = @MAKEINFO@
281MKDIR_P = @MKDIR_P@
282MSGFMT = @MSGFMT@
283MSGFMT_015 = @MSGFMT_015@
284MSGMERGE = @MSGMERGE@
285NETLIBS = @NETLIBS@
286NPTH_CFLAGS = @NPTH_CFLAGS@
287NPTH_CONFIG = @NPTH_CONFIG@
288NPTH_LIBS = @NPTH_LIBS@
289NTBTLS_CFLAGS = @NTBTLS_CFLAGS@
290NTBTLS_CONFIG = @NTBTLS_CONFIG@
291NTBTLS_LIBS = @NTBTLS_LIBS@
292OBJEXT = @OBJEXT@
293PACKAGE = @PACKAGE@
294PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
295PACKAGE_GT = @PACKAGE_GT@
296PACKAGE_NAME = @PACKAGE_NAME@
297PACKAGE_STRING = @PACKAGE_STRING@
298PACKAGE_TARNAME = @PACKAGE_TARNAME@
299PACKAGE_URL = @PACKAGE_URL@
300PACKAGE_VERSION = @PACKAGE_VERSION@
301PATH_SEPARATOR = @PATH_SEPARATOR@
302PERL = @PERL@
303PKG_CONFIG = @PKG_CONFIG@
304PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
305PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
306POSUB = @POSUB@
307RANLIB = @RANLIB@
308SENDMAIL = @SENDMAIL@
309SET_MAKE = @SET_MAKE@
310SHELL = @SHELL@
311SQLITE3_CFLAGS = @SQLITE3_CFLAGS@
312SQLITE3_LIBS = @SQLITE3_LIBS@
313STRIP = @STRIP@
314SWTPM = @SWTPM@
315SWTPM_IOCTL = @SWTPM_IOCTL@
316SYSROOT = @SYSROOT@
317SYS_SOCKET_H = @SYS_SOCKET_H@
318TPMSERVER = @TPMSERVER@
319TSSSTARTUP = @TSSSTARTUP@
320TSS_INCLUDE = @TSS_INCLUDE@
321USE_C99_CFLAGS = @USE_C99_CFLAGS@
322USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
323USE_NLS = @USE_NLS@
324VERSION = @VERSION@
325W32SOCKLIBS = @W32SOCKLIBS@
326WINDRES = @WINDRES@
327XGETTEXT = @XGETTEXT@
328XGETTEXT_015 = @XGETTEXT_015@
329XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
330YAT2M = @YAT2M@
331ZLIBS = @ZLIBS@
332abs_builddir = @abs_builddir@
333abs_srcdir = @abs_srcdir@
334abs_top_builddir = @abs_top_builddir@
335abs_top_srcdir = @abs_top_srcdir@
336ac_ct_CC = @ac_ct_CC@
337am__include = @am__include@
338am__leading_dot = @am__leading_dot@
339am__quote = @am__quote@
340am__tar = @am__tar@
341am__untar = @am__untar@
342bindir = @bindir@
343build = @build@
344build_alias = @build_alias@
345build_cpu = @build_cpu@
346build_os = @build_os@
347build_vendor = @build_vendor@
348builddir = @builddir@
349datadir = @datadir@
350datarootdir = @datarootdir@
351docdir = @docdir@
352dvidir = @dvidir@
353exec_prefix = @exec_prefix@
354host = @host@
355host_alias = @host_alias@
356host_cpu = @host_cpu@
357host_os = @host_os@
358host_vendor = @host_vendor@
359htmldir = @htmldir@
360includedir = @includedir@
361infodir = @infodir@
362install_sh = @install_sh@
363libdir = @libdir@
364libexecdir = @libexecdir@
365localedir = $(datadir)/locale
366localstatedir = @localstatedir@
367mandir = @mandir@
368mkdir_p = @mkdir_p@
369oldincludedir = @oldincludedir@
370pdfdir = @pdfdir@
371prefix = @prefix@
372program_transform_name = @program_transform_name@
373psdir = @psdir@
374runstatedir = @runstatedir@
375sbindir = @sbindir@
376sharedstatedir = @sharedstatedir@
377srcdir = @srcdir@
378sysconfdir = @sysconfdir@
379target_alias = @target_alias@
380top_build_prefix = @top_build_prefix@
381top_builddir = @top_builddir@
382top_srcdir = @top_srcdir@
383
384# Programs required before we can run these tests.
385required_pgms = ../../g10/gpg$(EXEEXT) ../../agent/gpg-agent$(EXEEXT) \
386                ../../tools/gpg-connect-agent$(EXEEXT) \
387		../gpgscm/gpgscm$(EXEEXT) ../openpgp/fake-pinentry$(EXEEXT)
388
389
390# NB: AM_CFLAGS may also be used by tools running on the build
391# platform to create source files.
392AM_CPPFLAGS = -I$(top_srcdir)/common -DLOCALEDIR=\"$(localedir)\" \
393	$(am__append_1) $(am__append_2) $(am__append_3) \
394	$(am__append_4) $(am__append_5) $(am__append_6) \
395	$(am__append_7) $(am__append_8)
396@HAVE_W32CE_SYSTEM_FALSE@extra_sys_libs =
397
398# Under Windows we use LockFileEx.  WindowsCE provides this only on
399# the WindowsMobile 6 platform and thus we need to use the coredll6
400# import library.  We also want to use a stacksize of 256k instead of
401# the 2MB which is the default with cegcc.  256k is the largest stack
402# we use with pth.
403@HAVE_W32CE_SYSTEM_TRUE@extra_sys_libs = -lcoredll6
404@HAVE_W32CE_SYSTEM_FALSE@extra_bin_ldflags =
405@HAVE_W32CE_SYSTEM_TRUE@extra_bin_ldflags = -Wl,--stack=0x40000
406resource_objs =
407
408# Convenience macros
409libcommon = ../common/libcommon.a
410libcommonpth = ../common/libcommonpth.a
411libcommontls = ../common/libcommontls.a
412libcommontlsnpth = ../common/libcommontlsnpth.a
413AM_CFLAGS =
414TESTS_ENVIRONMENT = LC_ALL=C \
415	EXEEXT=$(EXEEXT) \
416	PATH="../gpgscm:$(PATH)" \
417	abs_top_srcdir="$(abs_top_srcdir)" \
418	objdir="$(abs_top_builddir)" \
419	TPMSERVER="$(TPMSERVER)" \
420	SWTPM="$(SWTPM)" \
421	SWTPM_IOCTL="$(SWTPM_IOCTL)" \
422        GNUPG_BUILD_ROOT="$(abs_top_builddir)/tests" \
423	GPGSCM_PATH="$(abs_top_srcdir)/tests/gpgscm"
424
425XTESTS = \
426	rsa.scm \
427	ecc.scm \
428	longpassphrase.scm \
429	unimportable.scm
430
431EXTRA_DIST = defs.scm shell.scm all-tests.scm run-tests.scm $(XTESTS) \
432	     start_sw_tpm.sh
433
434CLEANFILES = gpg.conf gpg-agent.conf S.gpg-agent \
435	     pubring.gpg pubring.gpg~ pubring.kbx pubring.kbx~ \
436	     secring.gpg pubring.pkr secring.skr \
437	     gnupg-test.stop random_seed gpg-agent.log tofu.db \
438	     passphrases sshcontrol S.gpg-agent.ssh report.xml \
439	     msg.txt *.log
440
441all: all-am
442
443.SUFFIXES:
444.SUFFIXES: .o .rc
445$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/am/cmacros.am $(am__configure_deps)
446	@for dep in $?; do \
447	  case '$(am__configure_deps)' in \
448	    *$$dep*) \
449	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
450	        && { if test -f $@; then exit 0; else break; fi; }; \
451	      exit 1;; \
452	  esac; \
453	done; \
454	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/tpm2dtests/Makefile'; \
455	$(am__cd) $(top_srcdir) && \
456	  $(AUTOMAKE) --gnu tests/tpm2dtests/Makefile
457Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
458	@case '$?' in \
459	  *config.status*) \
460	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
461	  *) \
462	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
463	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
464	esac;
465$(top_srcdir)/am/cmacros.am $(am__empty):
466
467$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
468	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
469
470$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
471	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
472$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
473	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
474$(am__aclocal_m4_deps):
475tags TAGS:
476
477ctags CTAGS:
478
479cscope cscopelist:
480
481
482distdir: $(BUILT_SOURCES)
483	$(MAKE) $(AM_MAKEFLAGS) distdir-am
484
485distdir-am: $(DISTFILES)
486	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
487	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
488	list='$(DISTFILES)'; \
489	  dist_files=`for file in $$list; do echo $$file; done | \
490	  sed -e "s|^$$srcdirstrip/||;t" \
491	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
492	case $$dist_files in \
493	  */*) $(MKDIR_P) `echo "$$dist_files" | \
494			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
495			   sort -u` ;; \
496	esac; \
497	for file in $$dist_files; do \
498	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
499	  if test -d $$d/$$file; then \
500	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
501	    if test -d "$(distdir)/$$file"; then \
502	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
503	    fi; \
504	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
505	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
506	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
507	    fi; \
508	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
509	  else \
510	    test -f "$(distdir)/$$file" \
511	    || cp -p $$d/$$file "$(distdir)/$$file" \
512	    || exit 1; \
513	  fi; \
514	done
515check-am: all-am
516check: check-am
517all-am: Makefile all-local
518installdirs:
519install: install-am
520install-exec: install-exec-am
521install-data: install-data-am
522uninstall: uninstall-am
523
524install-am: all-am
525	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
526
527installcheck: installcheck-am
528install-strip:
529	if test -z '$(STRIP)'; then \
530	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
531	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
532	      install; \
533	else \
534	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
535	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
536	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
537	fi
538mostlyclean-generic:
539
540clean-generic:
541	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
542
543distclean-generic:
544	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
545	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
546
547maintainer-clean-generic:
548	@echo "This command is intended for maintainers to use"
549	@echo "it deletes files that may require special tools to rebuild."
550clean: clean-am
551
552clean-am: clean-generic clean-local mostlyclean-am
553
554distclean: distclean-am
555	-rm -f Makefile
556distclean-am: clean-am distclean-generic
557
558dvi: dvi-am
559
560dvi-am:
561
562html: html-am
563
564html-am:
565
566info: info-am
567
568info-am:
569
570install-data-am:
571
572install-dvi: install-dvi-am
573
574install-dvi-am:
575
576install-exec-am:
577
578install-html: install-html-am
579
580install-html-am:
581
582install-info: install-info-am
583
584install-info-am:
585
586install-man:
587
588install-pdf: install-pdf-am
589
590install-pdf-am:
591
592install-ps: install-ps-am
593
594install-ps-am:
595
596installcheck-am:
597
598maintainer-clean: maintainer-clean-am
599	-rm -f Makefile
600maintainer-clean-am: distclean-am maintainer-clean-generic
601
602mostlyclean: mostlyclean-am
603
604mostlyclean-am: mostlyclean-generic
605
606pdf: pdf-am
607
608pdf-am:
609
610ps: ps-am
611
612ps-am:
613
614uninstall-am:
615
616.MAKE: install-am install-strip
617
618.PHONY: all all-am all-local check check-am clean clean-generic \
619	clean-local cscopelist-am ctags-am distclean distclean-generic \
620	distdir dvi dvi-am html html-am info info-am install \
621	install-am install-data install-data-am install-dvi \
622	install-dvi-am install-exec install-exec-am install-html \
623	install-html-am install-info install-info-am install-man \
624	install-pdf install-pdf-am install-ps install-ps-am \
625	install-strip installcheck installcheck-am installdirs \
626	maintainer-clean maintainer-clean-generic mostlyclean \
627	mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
628	uninstall-am
629
630.PRECIOUS: Makefile
631
632
633@HAVE_W32_SYSTEM_TRUE@.rc.o:
634@HAVE_W32_SYSTEM_TRUE@	$(WINDRES) $(DEFAULT_INCLUDES) $(INCLUDES) "$<" "$@"
635
636# XXX: Currently, one cannot override automake's 'check' target.  As a
637# workaround, we avoid defining 'TESTS', thus automake will not emit
638# the 'check' target.  For extra robustness, we merely define a
639# dependency on 'xcheck', so this hack should also work even if
640# automake would emit the 'check' target, as adding dependencies to
641# targets is okay.
642check: xcheck
643
644.PHONY: xcheck
645xcheck: tpm_server_found
646	$(TESTS_ENVIRONMENT) $(abs_top_builddir)/tests/gpgscm/gpgscm \
647	  $(abs_srcdir)/run-tests.scm $(TESTFLAGS) $(TESTS)
648
649tpm_server_found:
650	@if [ -z "$(TPMSERVER)" -a -z "$(SWTPM)" -a -z "$(FORCE)" ]; then echo "ERROR: No Software TPM has been found, cannot run TPM tests.  Set FORCE=1 to force using the physical TPM"; exit 1; fi
651
652clean-local:
653	-rm -rf private-keys-v1.d openpgp-revocs.d
654
655# We need to depend on a couple of programs so that the tests don't
656# start before all programs are built.
657all-local: $(required_pgms)
658
659# Tell versions [3.59,3.63) of GNU make to not export all variables.
660# Otherwise a system limit (for SysV at least) may be exceeded.
661.NOEXPORT:
662