chiark / gitweb /
gpg: Fix searching for mail addresses in keyrings.
[gnupg2.git] / tests / openpgp / Makefile.in
1 # Makefile.in generated by automake 1.14.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2013 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/>.
54
55 VPATH = @srcdir@
56 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
57 am__make_running_with_option = \
58   case $${target_option-} in \
59       ?) ;; \
60       *) echo "am__make_running_with_option: internal error: invalid" \
61               "target option '$${target_option-}' specified" >&2; \
62          exit 1;; \
63   esac; \
64   has_opt=no; \
65   sane_makeflags=$$MAKEFLAGS; \
66   if $(am__is_gnu_make); then \
67     sane_makeflags=$$MFLAGS; \
68   else \
69     case $$MAKEFLAGS in \
70       *\\[\ \   ]*) \
71         bs=\\; \
72         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
73           | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
74     esac; \
75   fi; \
76   skip_next=no; \
77   strip_trailopt () \
78   { \
79     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
80   }; \
81   for flg in $$sane_makeflags; do \
82     test $$skip_next = yes && { skip_next=no; continue; }; \
83     case $$flg in \
84       *=*|--*) continue;; \
85         -*I) strip_trailopt 'I'; skip_next=yes;; \
86       -*I?*) strip_trailopt 'I';; \
87         -*O) strip_trailopt 'O'; skip_next=yes;; \
88       -*O?*) strip_trailopt 'O';; \
89         -*l) strip_trailopt 'l'; skip_next=yes;; \
90       -*l?*) strip_trailopt 'l';; \
91       -[dEDm]) skip_next=yes;; \
92       -[JT]) skip_next=yes;; \
93     esac; \
94     case $$flg in \
95       *$$target_option*) has_opt=yes; break;; \
96     esac; \
97   done; \
98   test $$has_opt = yes
99 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
100 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
101 pkgdatadir = $(datadir)/@PACKAGE@
102 pkgincludedir = $(includedir)/@PACKAGE@
103 pkglibdir = $(libdir)/@PACKAGE@
104 pkglibexecdir = $(libexecdir)/@PACKAGE@
105 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
106 install_sh_DATA = $(install_sh) -c -m 644
107 install_sh_PROGRAM = $(install_sh) -c
108 install_sh_SCRIPT = $(install_sh) -c
109 INSTALL_HEADER = $(INSTALL_DATA)
110 transform = $(program_transform_name)
111 NORMAL_INSTALL = :
112 PRE_INSTALL = :
113 POST_INSTALL = :
114 NORMAL_UNINSTALL = :
115 PRE_UNINSTALL = :
116 POST_UNINSTALL = :
117 build_triplet = @build@
118 host_triplet = @host@
119 DIST_COMMON = $(top_srcdir)/am/cmacros.am $(srcdir)/Makefile.in \
120         $(srcdir)/Makefile.am $(top_srcdir)/build-aux/mkinstalldirs \
121         $(top_srcdir)/build-aux/depcomp README
122 @HAVE_DOSISH_SYSTEM_FALSE@am__append_1 = -DGNUPG_BINDIR="\"$(bindir)\""            \
123 @HAVE_DOSISH_SYSTEM_FALSE@               -DGNUPG_LIBEXECDIR="\"$(libexecdir)\""    \
124 @HAVE_DOSISH_SYSTEM_FALSE@               -DGNUPG_LIBDIR="\"$(libdir)/@PACKAGE@\""  \
125 @HAVE_DOSISH_SYSTEM_FALSE@               -DGNUPG_DATADIR="\"$(datadir)/@PACKAGE@\"" \
126 @HAVE_DOSISH_SYSTEM_FALSE@               -DGNUPG_SYSCONFDIR="\"$(sysconfdir)/@PACKAGE@\"" \
127 @HAVE_DOSISH_SYSTEM_FALSE@               -DGNUPG_LOCALSTATEDIR="\"$(localstatedir)\""
128
129
130 # If a specific protect tool program has been defined, pass its name
131 # to cc.  Note that these macros should not be used directly but via
132 # the gnupg_module_name function.
133 @GNUPG_AGENT_PGM_TRUE@am__append_2 = -DGNUPG_DEFAULT_AGENT="\"@GNUPG_AGENT_PGM@\""
134 @GNUPG_PINENTRY_PGM_TRUE@am__append_3 = -DGNUPG_DEFAULT_PINENTRY="\"@GNUPG_PINENTRY_PGM@\""
135 @GNUPG_SCDAEMON_PGM_TRUE@am__append_4 = -DGNUPG_DEFAULT_SCDAEMON="\"@GNUPG_SCDAEMON_PGM@\""
136 @GNUPG_DIRMNGR_PGM_TRUE@am__append_5 = -DGNUPG_DEFAULT_DIRMNGR="\"@GNUPG_DIRMNGR_PGM@\""
137 @GNUPG_PROTECT_TOOL_PGM_TRUE@am__append_6 = -DGNUPG_DEFAULT_PROTECT_TOOL="\"@GNUPG_PROTECT_TOOL_PGM@\""
138 @GNUPG_DIRMNGR_LDAP_PGM_TRUE@am__append_7 = -DGNUPG_DEFAULT_DIRMNGR_LDAP="\"@GNUPG_DIRMNGR_LDAP_PGM@\""
139 noinst_PROGRAMS = fake-pinentry$(EXEEXT)
140 subdir = tests/openpgp
141 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
142 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
143         $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/gettext.m4 \
144         $(top_srcdir)/m4/gpg-error.m4 $(top_srcdir)/m4/iconv.m4 \
145         $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/ksba.m4 \
146         $(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/ldap.m4 \
147         $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
148         $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libassuan.m4 \
149         $(top_srcdir)/m4/libgcrypt.m4 $(top_srcdir)/m4/nls.m4 \
150         $(top_srcdir)/m4/npth.m4 $(top_srcdir)/m4/ntbtls.m4 \
151         $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/po.m4 \
152         $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/readline.m4 \
153         $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sys_socket_h.m4 \
154         $(top_srcdir)/m4/tar-ustar.m4 $(top_srcdir)/acinclude.m4 \
155         $(top_srcdir)/configure.ac
156 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
157         $(ACLOCAL_M4)
158 mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs
159 CONFIG_HEADER = $(top_builddir)/config.h
160 CONFIG_CLEAN_FILES =
161 CONFIG_CLEAN_VPATH_FILES =
162 PROGRAMS = $(noinst_PROGRAMS)
163 am_fake_pinentry_OBJECTS = fake-pinentry.$(OBJEXT)
164 fake_pinentry_OBJECTS = $(am_fake_pinentry_OBJECTS)
165 fake_pinentry_LDADD = $(LDADD)
166 AM_V_P = $(am__v_P_@AM_V@)
167 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
168 am__v_P_0 = false
169 am__v_P_1 = :
170 AM_V_GEN = $(am__v_GEN_@AM_V@)
171 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
172 am__v_GEN_0 = @echo "  GEN     " $@;
173 am__v_GEN_1 = 
174 AM_V_at = $(am__v_at_@AM_V@)
175 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
176 am__v_at_0 = @
177 am__v_at_1 = 
178 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
179 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
180 am__depfiles_maybe = depfiles
181 am__mv = mv -f
182 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
183         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
184 AM_V_CC = $(am__v_CC_@AM_V@)
185 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
186 am__v_CC_0 = @echo "  CC      " $@;
187 am__v_CC_1 = 
188 CCLD = $(CC)
189 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
190 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
191 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
192 am__v_CCLD_0 = @echo "  CCLD    " $@;
193 am__v_CCLD_1 = 
194 SOURCES = $(fake_pinentry_SOURCES)
195 DIST_SOURCES = $(fake_pinentry_SOURCES)
196 am__can_run_installinfo = \
197   case $$AM_UPDATE_INFO_DIR in \
198     n|no|NO) false;; \
199     *) (install-info --version) >/dev/null 2>&1;; \
200   esac
201 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
202 # Read a list of newline-separated strings from the standard input,
203 # and print each of them once, without duplicates.  Input order is
204 # *not* preserved.
205 am__uniquify_input = $(AWK) '\
206   BEGIN { nonempty = 0; } \
207   { items[$$0] = 1; nonempty = 1; } \
208   END { if (nonempty) { for (i in items) print i; }; } \
209 '
210 # Make sure the list of sources is unique.  This is necessary because,
211 # e.g., the same source file might be shared among _SOURCES variables
212 # for different programs/libraries.
213 am__define_uniq_tagged_files = \
214   list='$(am__tagged_files)'; \
215   unique=`for i in $$list; do \
216     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
217   done | $(am__uniquify_input)`
218 ETAGS = etags
219 CTAGS = ctags
220 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
221 ACLOCAL = @ACLOCAL@
222 AMTAR = @AMTAR@
223 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
224 AR = @AR@
225 AUTOCONF = @AUTOCONF@
226 AUTOHEADER = @AUTOHEADER@
227 AUTOMAKE = @AUTOMAKE@
228 AWK = @AWK@
229 BUILD_FILEVERSION = @BUILD_FILEVERSION@
230 BUILD_HOSTNAME = @BUILD_HOSTNAME@
231 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
232 BUILD_REVISION = @BUILD_REVISION@
233 BUILD_TIMESTAMP = @BUILD_TIMESTAMP@
234 BUILD_VERSION = @BUILD_VERSION@
235 CC = @CC@
236 CCDEPMODE = @CCDEPMODE@
237 CC_FOR_BUILD = @CC_FOR_BUILD@
238 CFLAGS = @CFLAGS@
239 CPP = @CPP@
240 CPPFLAGS = @CPPFLAGS@
241 CYGPATH_W = @CYGPATH_W@
242 DEFS = @DEFS@
243 DEPDIR = @DEPDIR@
244 DL_LIBS = @DL_LIBS@
245 DNSLIBS = @DNSLIBS@
246 ECHO_C = @ECHO_C@
247 ECHO_N = @ECHO_N@
248 ECHO_T = @ECHO_T@
249 EGREP = @EGREP@
250 ENCFS = @ENCFS@
251 EXEEXT = @EXEEXT@
252 FUSERMOUNT = @FUSERMOUNT@
253 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
254 GMSGFMT = @GMSGFMT@
255 GMSGFMT_015 = @GMSGFMT_015@
256 GNUPG_AGENT_PGM = @GNUPG_AGENT_PGM@
257 GNUPG_DIRMNGR_LDAP_PGM = @GNUPG_DIRMNGR_LDAP_PGM@
258 GNUPG_DIRMNGR_PGM = @GNUPG_DIRMNGR_PGM@
259 GNUPG_PINENTRY_PGM = @GNUPG_PINENTRY_PGM@
260 GNUPG_PROTECT_TOOL_PGM = @GNUPG_PROTECT_TOOL_PGM@
261 GNUPG_SCDAEMON_PGM = @GNUPG_SCDAEMON_PGM@
262 GPGKEYS_LDAP = @GPGKEYS_LDAP@
263 GPG_ERROR_CFLAGS = @GPG_ERROR_CFLAGS@
264 GPG_ERROR_CONFIG = @GPG_ERROR_CONFIG@
265 GPG_ERROR_LIBS = @GPG_ERROR_LIBS@
266 GPG_ERROR_MT_CFLAGS = @GPG_ERROR_MT_CFLAGS@
267 GPG_ERROR_MT_LIBS = @GPG_ERROR_MT_LIBS@
268 GREP = @GREP@
269 INSTALL = @INSTALL@
270 INSTALL_DATA = @INSTALL_DATA@
271 INSTALL_PROGRAM = @INSTALL_PROGRAM@
272 INSTALL_SCRIPT = @INSTALL_SCRIPT@
273 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
274 INTLLIBS = @INTLLIBS@
275 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
276 KSBA_CFLAGS = @KSBA_CFLAGS@
277 KSBA_CONFIG = @KSBA_CONFIG@
278 KSBA_LIBS = @KSBA_LIBS@
279 LBER_LIBS = @LBER_LIBS@
280 LDAPLIBS = @LDAPLIBS@
281 LDAP_CPPFLAGS = @LDAP_CPPFLAGS@
282 LDFLAGS = @LDFLAGS@
283 LIBASSUAN_CFLAGS = @LIBASSUAN_CFLAGS@
284 LIBASSUAN_CONFIG = @LIBASSUAN_CONFIG@
285 LIBASSUAN_LIBS = @LIBASSUAN_LIBS@
286 LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@
287 LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@
288 LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@
289 LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@
290 LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@
291 LIBICONV = @LIBICONV@
292 LIBINTL = @LIBINTL@
293 LIBOBJS = @LIBOBJS@
294 LIBREADLINE = @LIBREADLINE@
295 LIBS = @LIBS@
296 LIBUSB_CPPFLAGS = @LIBUSB_CPPFLAGS@
297 LIBUSB_LIBS = @LIBUSB_LIBS@
298 LIBUTIL_LIBS = @LIBUTIL_LIBS@
299 LN_S = @LN_S@
300 LTLIBICONV = @LTLIBICONV@
301 LTLIBINTL = @LTLIBINTL@
302 LTLIBOBJS = @LTLIBOBJS@
303 MAINT = @MAINT@
304 MAKEINFO = @MAKEINFO@
305 MKDIR_P = @MKDIR_P@
306 MSGFMT = @MSGFMT@
307 MSGFMT_015 = @MSGFMT_015@
308 MSGMERGE = @MSGMERGE@
309 NETLIBS = @NETLIBS@
310 NPTH_CFLAGS = @NPTH_CFLAGS@
311 NPTH_CONFIG = @NPTH_CONFIG@
312 NPTH_LIBS = @NPTH_LIBS@
313 NTBTLS_CFLAGS = @NTBTLS_CFLAGS@
314 NTBTLS_CONFIG = @NTBTLS_CONFIG@
315 NTBTLS_LIBS = @NTBTLS_LIBS@
316 OBJEXT = @OBJEXT@
317 PACKAGE = @PACKAGE@
318 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
319 PACKAGE_GT = @PACKAGE_GT@
320 PACKAGE_NAME = @PACKAGE_NAME@
321 PACKAGE_STRING = @PACKAGE_STRING@
322 PACKAGE_TARNAME = @PACKAGE_TARNAME@
323 PACKAGE_URL = @PACKAGE_URL@
324 PACKAGE_VERSION = @PACKAGE_VERSION@
325 PATH_SEPARATOR = @PATH_SEPARATOR@
326 PERL = @PERL@
327 PKG_CONFIG = @PKG_CONFIG@
328 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
329 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
330 POSUB = @POSUB@
331 RANLIB = @RANLIB@
332 SENDMAIL = @SENDMAIL@
333 SET_MAKE = @SET_MAKE@
334 SHELL = @SHELL@
335 SHRED = @SHRED@
336 SQLITE3_CFLAGS = @SQLITE3_CFLAGS@
337 SQLITE3_LIBS = @SQLITE3_LIBS@
338 STRIP = @STRIP@
339 SYSROOT = @SYSROOT@
340 SYS_SOCKET_H = @SYS_SOCKET_H@
341 TAR = @TAR@
342 USE_C99_CFLAGS = @USE_C99_CFLAGS@
343 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
344 USE_NLS = @USE_NLS@
345 VERSION = @VERSION@
346 W32SOCKLIBS = @W32SOCKLIBS@
347 WINDRES = @WINDRES@
348 XGETTEXT = @XGETTEXT@
349 XGETTEXT_015 = @XGETTEXT_015@
350 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
351 ZLIBS = @ZLIBS@
352 abs_builddir = @abs_builddir@
353 abs_srcdir = @abs_srcdir@
354 abs_top_builddir = @abs_top_builddir@
355 abs_top_srcdir = @abs_top_srcdir@
356 ac_ct_CC = @ac_ct_CC@
357 am__include = @am__include@
358 am__leading_dot = @am__leading_dot@
359 am__quote = @am__quote@
360 am__tar = @am__tar@
361 am__untar = @am__untar@
362 bindir = @bindir@
363 build = @build@
364 build_alias = @build_alias@
365 build_cpu = @build_cpu@
366 build_os = @build_os@
367 build_vendor = @build_vendor@
368 builddir = @builddir@
369 datadir = @datadir@
370 datarootdir = @datarootdir@
371 docdir = @docdir@
372 dvidir = @dvidir@
373 exec_prefix = @exec_prefix@
374 host = @host@
375 host_alias = @host_alias@
376 host_cpu = @host_cpu@
377 host_os = @host_os@
378 host_vendor = @host_vendor@
379 htmldir = @htmldir@
380 includedir = @includedir@
381 infodir = @infodir@
382 install_sh = @install_sh@
383 libdir = @libdir@
384 libexecdir = @libexecdir@
385 localedir = $(datadir)/locale
386 localstatedir = @localstatedir@
387 mandir = @mandir@
388 mkdir_p = @mkdir_p@
389 oldincludedir = @oldincludedir@
390 pdfdir = @pdfdir@
391 prefix = @prefix@
392 program_transform_name = @program_transform_name@
393 psdir = @psdir@
394 sbindir = @sbindir@
395 sharedstatedir = @sharedstatedir@
396 srcdir = @srcdir@
397 sysconfdir = @sysconfdir@
398 target_alias = @target_alias@
399 top_build_prefix = @top_build_prefix@
400 top_builddir = @top_builddir@
401 top_srcdir = @top_srcdir@
402
403 # Programs required before we can run these tests.
404 required_pgms = ../../g10/gpg$(EXEEXT) ../../agent/gpg-agent$(EXEEXT) \
405                 ../../tools/gpg-connect-agent$(EXEEXT) \
406                 ../gpgscm/gpgscm$(EXEEXT)
407
408
409 # NB: AM_CFLAGS may also be used by tools running on the build
410 # platform to create source files.
411 AM_CPPFLAGS = -I$(top_srcdir)/common -DLOCALEDIR=\"$(localedir)\" \
412         $(am__append_1) $(am__append_2) $(am__append_3) \
413         $(am__append_4) $(am__append_5) $(am__append_6) \
414         $(am__append_7)
415 @HAVE_W32CE_SYSTEM_FALSE@extra_sys_libs = 
416
417 # Under Windows we use LockFileEx.  WindowsCE provides this only on
418 # the WindowsMobile 6 platform and thus we need to use the coredll6
419 # import library.  We also want to use a stacksize of 256k instead of
420 # the 2MB which is the default with cegcc.  256k is the largest stack
421 # we use with pth.
422 @HAVE_W32CE_SYSTEM_TRUE@extra_sys_libs = -lcoredll6
423 @HAVE_W32CE_SYSTEM_FALSE@extra_bin_ldflags = 
424 @HAVE_W32CE_SYSTEM_TRUE@extra_bin_ldflags = -Wl,--stack=0x40000
425 resource_objs = 
426
427 # Convenience macros
428 libcommon = ../common/libcommon.a
429 libcommonpth = ../common/libcommonpth.a
430 libcommontls = ../common/libcommontls.a
431 libcommontlsnpth = ../common/libcommontlsnpth.a
432 AM_CFLAGS = 
433 fake_pinentry_SOURCES = fake-pinentry.c
434 TESTS_ENVIRONMENT = LC_ALL=C \
435         EXEEXT=$(EXEEXT) \
436         PATH=../gpgscm:$(PATH) \
437         TMP=$(TMP) \
438         srcdir=$(abs_srcdir) \
439         objdir=$(abs_top_builddir) \
440         GPGSCM_PATH=$(abs_top_srcdir)/tests/gpgscm:$(abs_top_srcdir)/tests/openpgp
441
442 XTESTS = \
443         version.scm \
444         enarmor.scm \
445         mds.scm \
446         decrypt.scm \
447         decrypt-multifile.scm \
448         decrypt-dsa.scm \
449         decrypt-session-key.scm \
450         sigs.scm \
451         sigs-dsa.scm \
452         encrypt.scm \
453         encrypt-multifile.scm \
454         encrypt-dsa.scm \
455         compression.scm \
456         seat.scm \
457         clearsig.scm \
458         encryptp.scm \
459         detach.scm \
460         detachm.scm \
461         armsigs.scm \
462         armencrypt.scm \
463         armencryptp.scm \
464         signencrypt.scm \
465         signencrypt-dsa.scm \
466         armsignencrypt.scm \
467         armdetach.scm \
468         armdetachm.scm \
469         genkey1024.scm \
470         conventional.scm \
471         conventional-mdc.scm \
472         multisig.scm \
473         verify.scm \
474         verify-multifile.scm \
475         gpgv-forged-keyring.scm \
476         armor.scm \
477         import.scm \
478         import-revocation-certificate.scm \
479         ecc.scm \
480         4gb-packet.scm \
481         tofu.scm \
482         gpgtar.scm \
483         use-exact-key.scm \
484         default-key.scm \
485         export.scm \
486         ssh-import.scm \
487         ssh-export.scm \
488         quick-key-manipulation.scm \
489         key-selection.scm \
490         delete-keys.scm \
491         issue2015.scm \
492         issue2346.scm \
493         issue2417.scm \
494         issue2419.scm
495
496 TEST_FILES = pubring.asc secring.asc plain-1o.asc plain-2o.asc plain-3o.asc \
497              plain-1.asc plain-2.asc plain-3.asc plain-1-pgp.asc \
498              plain-largeo.asc plain-large.asc \
499              pubring.pkr.asc secring.skr.asc secdemo.asc pubdemo.asc \
500              gpg.conf.tmpl gpg-agent.conf.tmpl \
501              bug537-test.data.asc bug894-test.asc \
502              bug1223-good.asc bug1223-bogus.asc 4gb-packet.asc \
503              tofu/conflicting/1C005AF3.gpg \
504              tofu/conflicting/1C005AF3-secret.gpg \
505              tofu/conflicting/1C005AF3-1.txt \
506              tofu/conflicting/1C005AF3-2.txt \
507              tofu/conflicting/1C005AF3-3.txt \
508              tofu/conflicting/1C005AF3-4.txt \
509              tofu/conflicting/1C005AF3-5.txt \
510              tofu/conflicting/B662E42F.gpg \
511              tofu/conflicting/B662E42F-secret.gpg \
512              tofu/conflicting/B662E42F-1.txt \
513              tofu/conflicting/B662E42F-2.txt \
514              tofu/conflicting/B662E42F-3.txt \
515              tofu/conflicting/B662E42F-4.txt \
516              tofu/conflicting/B662E42F-5.txt \
517              tofu/conflicting/BE04EB2B.gpg \
518              tofu/conflicting/BE04EB2B-secret.gpg \
519              tofu/conflicting/BE04EB2B-1.txt \
520              tofu/conflicting/BE04EB2B-2.txt \
521              tofu/conflicting/BE04EB2B-3.txt \
522              tofu/conflicting/BE04EB2B-4.txt \
523              tofu/conflicting/BE04EB2B-5.txt \
524              tofu/cross-sigs/EC38277E-secret.gpg \
525              tofu/cross-sigs/EC38277E-1.gpg \
526              tofu/cross-sigs/EC38277E-1.txt \
527              tofu/cross-sigs/EC38277E-2.gpg \
528              tofu/cross-sigs/EC38277E-2.txt \
529              tofu/cross-sigs/EC38277E-3.txt \
530              tofu/cross-sigs/871C2247-secret.gpg \
531              tofu/cross-sigs/871C2247-1.gpg \
532              tofu/cross-sigs/871C2247-1.txt \
533              tofu/cross-sigs/871C2247-2.gpg \
534              tofu/cross-sigs/871C2247-2.txt \
535              tofu/cross-sigs/871C2247-3.gpg \
536              tofu/cross-sigs/871C2247-3.txt \
537              tofu/cross-sigs/871C2247-4.gpg \
538              tofu/cross-sigs/README \
539              key-selection/0.asc \
540              key-selection/1.asc \
541              key-selection/2.asc \
542              key-selection/3.asc \
543              key-selection/4.asc
544
545 data_files = data-500 data-9000 data-32000 data-80000 plain-large
546 priv_keys = privkeys/50B2D4FA4122C212611048BC5FC31BD44393626E.asc \
547             privkeys/7E201E28B6FEB2927B321F443205F4724EBE637E.asc \
548             privkeys/13FDB8809B17C5547779F9D205C45F47CE0217CE.asc \
549             privkeys/343D8AF79796EE107D645A2787A9D9252F924E6F.asc \
550             privkeys/8B5ABF3EF9EB8D96B91A0B8C2C4401C91C834C34.asc \
551             privkeys/0D6F6AD4C4C803B25470F9104E9F4E6A4CA64255.asc \
552             privkeys/FD692BD59D6640A84C8422573D469F84F3B98E53.asc \
553             privkeys/76F7E2B35832976B50A27A282D9B87E44577EB66.asc \
554             privkeys/A0747D5F9425E6664F4FFBEED20FBCA79FDED2BD.asc \
555             privkeys/0DD40284FF992CD24DC4AAC367037E066FCEE26A.asc \
556             privkeys/2BC997C0B8691D41D29A4EC81CCBCF08454E4961.asc \
557             privkeys/3C9D5ECA70130C2DBB1FC6AC0076BEEEC197716F.asc \
558             privkeys/449E644892C951A37525654730DD32C202079926.asc \
559             privkeys/58FFE844087634E62440224908BDE44BEA7EB730.asc \
560             privkeys/4DF9172D6FF428C97A0E9AA96F03E8BCE3B2F188.asc \
561             privkeys/9D7CD8F53F2F14C3E2177D1E9D1D11F39513A4A4.asc \
562             privkeys/6E6B7ED0BD4425018FFC54F3921D5467A3AE00EB.asc \
563             privkeys/C905D0AB6AE9655C5A35975939997BBF3325D6DD.asc \
564             privkeys/B2BAA7144303DF19BB6FDE23781DD3FDD97918D4.asc \
565             privkeys/CF60965BF51F67CF80DECE853E0D2D343468571D.asc \
566             privkeys/DF00E361D34F80868D06879AC21D7A7D4E4FAD76.asc \
567             privkeys/00FE67F28A52A8AA08FFAED20AF832DA916D1985.asc \
568             privkeys/1DF48228FEFF3EC2481B106E0ACA8C465C662CC5.asc \
569             privkeys/A2832820DC9F40751BDCD375BB0945BA33EC6B4C.asc \
570             privkeys/ADE710D74409777B7729A7653373D820F67892E0.asc \
571             privkeys/CEFC51AF91F68A2904FBFF62C4F075A4785B803F.asc \
572             privkeys/1E28F20E41B54C2D1234D896096495FF57E08D18.asc \
573             privkeys/EB33B687EB8581AB64D04852A54453E85F3DF62D.asc \
574             privkeys/C6A6390E9388CDBAD71EAEA698233FE5E04F001E.asc \
575             privkeys/D69102E0F5AC6B6DB8E4D16DA8E18CF46D88CAE3.asc
576
577 sample_keys = samplekeys/README \
578               samplekeys/ecc-sample-1-pub.asc \
579               samplekeys/ecc-sample-2-pub.asc \
580               samplekeys/ecc-sample-3-pub.asc \
581               samplekeys/ecc-sample-1-sec.asc \
582               samplekeys/ecc-sample-2-sec.asc \
583               samplekeys/ecc-sample-3-sec.asc \
584               samplekeys/eddsa-sample-1-pub.asc \
585               samplekeys/eddsa-sample-1-sec.asc \
586               samplekeys/dda252ebb8ebe1af-1.asc \
587               samplekeys/dda252ebb8ebe1af-2.asc \
588               samplekeys/whats-new-in-2.1.asc \
589               samplekeys/e2e-p256-1-clr.asc \
590               samplekeys/e2e-p256-1-prt.asc \
591               samplekeys/E657FB607BB4F21C90BB6651BC067AF28BC90111.asc \
592               samplekeys/rsa-rsa-sample-1.asc \
593               samplekeys/ed25519-cv25519-sample-1.asc \
594               samplekeys/silent-running.asc \
595               samplekeys/ssh-dsa.key \
596               samplekeys/ssh-ecdsa.key \
597               samplekeys/ssh-ed25519.key \
598               samplekeys/ssh-rsa.key \
599               samplekeys/issue2346.gpg \
600               samplekeys/authenticate-only.pub.asc \
601               samplekeys/authenticate-only.sec.asc
602
603 sample_msgs = samplemsgs/issue2419.asc \
604               samplemsgs/clearsig-1-key-1.asc \
605               samplemsgs/signed-1-key-1.asc \
606               samplemsgs/revoke-2D727CC768697734.asc
607
608 EXTRA_DIST = defs.scm $(XTESTS) $(TEST_FILES) \
609              mkdemodirs signdemokey $(priv_keys) $(sample_keys)   \
610              $(sample_msgs) ChangeLog-2011 run-tests.scm \
611              setup.scm shell.scm
612
613 CLEANFILES = prepared.stamp x y yy z out err  $(data_files) \
614              plain-1 plain-2 plain-3 trustdb.gpg *.lock .\#lk* \
615              *.log gpg_dearmor gpg.conf gpg-agent.conf S.gpg-agent \
616              pubring.gpg pubring.gpg~ pubring.kbx pubring.kbx~ \
617              secring.gpg pubring.pkr secring.skr \
618              gnupg-test.stop random_seed gpg-agent.log tofu.db \
619              passphrases sshcontrol S.gpg-agent.ssh
620
621 all: all-am
622
623 .SUFFIXES:
624 .SUFFIXES: .c .o .obj .rc
625 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/am/cmacros.am $(am__configure_deps)
626         @for dep in $?; do \
627           case '$(am__configure_deps)' in \
628             *$$dep*) \
629               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
630                 && { if test -f $@; then exit 0; else break; fi; }; \
631               exit 1;; \
632           esac; \
633         done; \
634         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/openpgp/Makefile'; \
635         $(am__cd) $(top_srcdir) && \
636           $(AUTOMAKE) --gnu tests/openpgp/Makefile
637 .PRECIOUS: Makefile
638 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
639         @case '$?' in \
640           *config.status*) \
641             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
642           *) \
643             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
644             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
645         esac;
646 $(top_srcdir)/am/cmacros.am:
647
648 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
649         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
650
651 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
652         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
653 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
654         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
655 $(am__aclocal_m4_deps):
656
657 clean-noinstPROGRAMS:
658         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
659
660 fake-pinentry$(EXEEXT): $(fake_pinentry_OBJECTS) $(fake_pinentry_DEPENDENCIES) $(EXTRA_fake_pinentry_DEPENDENCIES) 
661         @rm -f fake-pinentry$(EXEEXT)
662         $(AM_V_CCLD)$(LINK) $(fake_pinentry_OBJECTS) $(fake_pinentry_LDADD) $(LIBS)
663
664 mostlyclean-compile:
665         -rm -f *.$(OBJEXT)
666
667 distclean-compile:
668         -rm -f *.tab.c
669
670 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fake-pinentry.Po@am__quote@
671
672 .c.o:
673 @am__fastdepCC_TRUE@    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
674 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
675 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
676 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
677 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
678
679 .c.obj:
680 @am__fastdepCC_TRUE@    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
681 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
682 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
683 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
684 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
685
686 ID: $(am__tagged_files)
687         $(am__define_uniq_tagged_files); mkid -fID $$unique
688 tags: tags-am
689 TAGS: tags
690
691 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
692         set x; \
693         here=`pwd`; \
694         $(am__define_uniq_tagged_files); \
695         shift; \
696         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
697           test -n "$$unique" || unique=$$empty_fix; \
698           if test $$# -gt 0; then \
699             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
700               "$$@" $$unique; \
701           else \
702             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
703               $$unique; \
704           fi; \
705         fi
706 ctags: ctags-am
707
708 CTAGS: ctags
709 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
710         $(am__define_uniq_tagged_files); \
711         test -z "$(CTAGS_ARGS)$$unique" \
712           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
713              $$unique
714
715 GTAGS:
716         here=`$(am__cd) $(top_builddir) && pwd` \
717           && $(am__cd) $(top_srcdir) \
718           && gtags -i $(GTAGS_ARGS) "$$here"
719 cscopelist: cscopelist-am
720
721 cscopelist-am: $(am__tagged_files)
722         list='$(am__tagged_files)'; \
723         case "$(srcdir)" in \
724           [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
725           *) sdir=$(subdir)/$(srcdir) ;; \
726         esac; \
727         for i in $$list; do \
728           if test -f "$$i"; then \
729             echo "$(subdir)/$$i"; \
730           else \
731             echo "$$sdir/$$i"; \
732           fi; \
733         done >> $(top_builddir)/cscope.files
734
735 distclean-tags:
736         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
737
738 distdir: $(DISTFILES)
739         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
740         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
741         list='$(DISTFILES)'; \
742           dist_files=`for file in $$list; do echo $$file; done | \
743           sed -e "s|^$$srcdirstrip/||;t" \
744               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
745         case $$dist_files in \
746           */*) $(MKDIR_P) `echo "$$dist_files" | \
747                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
748                            sort -u` ;; \
749         esac; \
750         for file in $$dist_files; do \
751           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
752           if test -d $$d/$$file; then \
753             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
754             if test -d "$(distdir)/$$file"; then \
755               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
756             fi; \
757             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
758               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
759               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
760             fi; \
761             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
762           else \
763             test -f "$(distdir)/$$file" \
764             || cp -p $$d/$$file "$(distdir)/$$file" \
765             || exit 1; \
766           fi; \
767         done
768 check-am: all-am
769 check: check-am
770 all-am: Makefile $(PROGRAMS) all-local
771 installdirs:
772 install: install-am
773 install-exec: install-exec-am
774 install-data: install-data-am
775 uninstall: uninstall-am
776
777 install-am: all-am
778         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
779
780 installcheck: installcheck-am
781 install-strip:
782         if test -z '$(STRIP)'; then \
783           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
784             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
785               install; \
786         else \
787           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
788             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
789             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
790         fi
791 mostlyclean-generic:
792
793 clean-generic:
794         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
795
796 distclean-generic:
797         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
798         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
799
800 maintainer-clean-generic:
801         @echo "This command is intended for maintainers to use"
802         @echo "it deletes files that may require special tools to rebuild."
803 clean: clean-am
804
805 clean-am: clean-generic clean-local clean-noinstPROGRAMS \
806         mostlyclean-am
807
808 distclean: distclean-am
809         -rm -rf ./$(DEPDIR)
810         -rm -f Makefile
811 distclean-am: clean-am distclean-compile distclean-generic \
812         distclean-tags
813
814 dvi: dvi-am
815
816 dvi-am:
817
818 html: html-am
819
820 html-am:
821
822 info: info-am
823
824 info-am:
825
826 install-data-am:
827
828 install-dvi: install-dvi-am
829
830 install-dvi-am:
831
832 install-exec-am:
833
834 install-html: install-html-am
835
836 install-html-am:
837
838 install-info: install-info-am
839
840 install-info-am:
841
842 install-man:
843
844 install-pdf: install-pdf-am
845
846 install-pdf-am:
847
848 install-ps: install-ps-am
849
850 install-ps-am:
851
852 installcheck-am:
853
854 maintainer-clean: maintainer-clean-am
855         -rm -rf ./$(DEPDIR)
856         -rm -f Makefile
857 maintainer-clean-am: distclean-am maintainer-clean-generic
858
859 mostlyclean: mostlyclean-am
860
861 mostlyclean-am: mostlyclean-compile mostlyclean-generic
862
863 pdf: pdf-am
864
865 pdf-am:
866
867 ps: ps-am
868
869 ps-am:
870
871 uninstall-am:
872
873 .MAKE: install-am install-strip
874
875 .PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am clean \
876         clean-generic clean-local clean-noinstPROGRAMS cscopelist-am \
877         ctags ctags-am distclean distclean-compile distclean-generic \
878         distclean-tags distdir dvi dvi-am html html-am info info-am \
879         install install-am install-data install-data-am install-dvi \
880         install-dvi-am install-exec install-exec-am install-html \
881         install-html-am install-info install-info-am install-man \
882         install-pdf install-pdf-am install-ps install-ps-am \
883         install-strip installcheck installcheck-am installdirs \
884         maintainer-clean maintainer-clean-generic mostlyclean \
885         mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
886         tags tags-am uninstall uninstall-am
887
888
889 @HAVE_W32_SYSTEM_TRUE@.rc.o:
890 @HAVE_W32_SYSTEM_TRUE@  $(WINDRES) $(DEFAULT_INCLUDES) $(INCLUDES) "$<" "$@"
891
892 TMP ?= /tmp
893
894 # Fixme: gpgconf.scm does not yet work with make distcheck.
895 #       gpgconf.scm
896
897 # XXX: Currently, one cannot override automake's 'check' target.  As a
898 # workaround, we avoid defining 'TESTS', thus automake will not emit
899 # the 'check' target.  For extra robustness, we merely define a
900 # dependency on 'xcheck', so this hack should also work even if
901 # automake would emit the 'check' target, as adding dependencies to
902 # targets is okay.
903 check: xcheck
904
905 .PHONY: xcheck
906 xcheck:
907         $(TESTS_ENVIRONMENT) $(abs_top_builddir)/tests/gpgscm/gpgscm \
908           run-tests.scm $(TESTFLAGS) $(XTESTS)
909
910 clean-local:
911         -rm -rf private-keys-v1.d openpgp-revocs.d tofu.d gpgtar.d
912
913 # We need to depend on a couple of programs so that the tests don't
914 # start before all programs are built.
915 all-local: $(required_pgms)
916
917 # Tell versions [3.59,3.63) of GNU make to not export all variables.
918 # Otherwise a system limit (for SysV at least) may be exceeded.
919 .NOEXPORT: