chiark / gitweb /
Import gnupg2_2.1.17.orig.tar.bz2
[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         sigs.scm \
450         sigs-dsa.scm \
451         encrypt.scm \
452         encrypt-multifile.scm \
453         encrypt-dsa.scm \
454         compression.scm \
455         seat.scm \
456         clearsig.scm \
457         encryptp.scm \
458         detach.scm \
459         detachm.scm \
460         armsigs.scm \
461         armencrypt.scm \
462         armencryptp.scm \
463         signencrypt.scm \
464         signencrypt-dsa.scm \
465         armsignencrypt.scm \
466         armdetach.scm \
467         armdetachm.scm \
468         genkey1024.scm \
469         conventional.scm \
470         conventional-mdc.scm \
471         multisig.scm \
472         verify.scm \
473         verify-multifile.scm \
474         gpgv-forged-keyring.scm \
475         armor.scm \
476         import.scm \
477         import-revocation-certificate.scm \
478         ecc.scm \
479         4gb-packet.scm \
480         tofu.scm \
481         gpgtar.scm \
482         use-exact-key.scm \
483         default-key.scm \
484         export.scm \
485         ssh-import.scm \
486         ssh-export.scm \
487         quick-key-manipulation.scm \
488         key-selection.scm \
489         delete-keys.scm \
490         issue2015.scm \
491         issue2346.scm \
492         issue2417.scm \
493         issue2419.scm
494
495 TEST_FILES = pubring.asc secring.asc plain-1o.asc plain-2o.asc plain-3o.asc \
496              plain-1.asc plain-2.asc plain-3.asc plain-1-pgp.asc \
497              plain-largeo.asc \
498              pubring.pkr.asc secring.skr.asc secdemo.asc pubdemo.asc \
499              gpg.conf.tmpl gpg-agent.conf.tmpl \
500              bug537-test.data.asc bug894-test.asc \
501              bug1223-good.asc bug1223-bogus.asc 4gb-packet.asc \
502              tofu/conflicting/1C005AF3.gpg \
503              tofu/conflicting/1C005AF3-secret.gpg \
504              tofu/conflicting/1C005AF3-1.txt \
505              tofu/conflicting/1C005AF3-2.txt \
506              tofu/conflicting/1C005AF3-3.txt \
507              tofu/conflicting/1C005AF3-4.txt \
508              tofu/conflicting/1C005AF3-5.txt \
509              tofu/conflicting/B662E42F.gpg \
510              tofu/conflicting/B662E42F-secret.gpg \
511              tofu/conflicting/B662E42F-1.txt \
512              tofu/conflicting/B662E42F-2.txt \
513              tofu/conflicting/B662E42F-3.txt \
514              tofu/conflicting/B662E42F-4.txt \
515              tofu/conflicting/B662E42F-5.txt \
516              tofu/conflicting/BE04EB2B.gpg \
517              tofu/conflicting/BE04EB2B-secret.gpg \
518              tofu/conflicting/BE04EB2B-1.txt \
519              tofu/conflicting/BE04EB2B-2.txt \
520              tofu/conflicting/BE04EB2B-3.txt \
521              tofu/conflicting/BE04EB2B-4.txt \
522              tofu/conflicting/BE04EB2B-5.txt \
523              tofu/cross-sigs/EC38277E-secret.gpg \
524              tofu/cross-sigs/EC38277E-1.gpg \
525              tofu/cross-sigs/EC38277E-1.txt \
526              tofu/cross-sigs/EC38277E-2.gpg \
527              tofu/cross-sigs/EC38277E-2.txt \
528              tofu/cross-sigs/EC38277E-3.txt \
529              tofu/cross-sigs/871C2247-secret.gpg \
530              tofu/cross-sigs/871C2247-1.gpg \
531              tofu/cross-sigs/871C2247-1.txt \
532              tofu/cross-sigs/871C2247-2.gpg \
533              tofu/cross-sigs/871C2247-2.txt \
534              tofu/cross-sigs/871C2247-3.gpg \
535              tofu/cross-sigs/871C2247-3.txt \
536              tofu/cross-sigs/871C2247-4.gpg \
537              tofu/cross-sigs/README \
538              key-selection/0.asc \
539              key-selection/1.asc \
540              key-selection/2.asc \
541              key-selection/3.asc \
542              key-selection/4.asc
543
544 data_files = data-500 data-9000 data-32000 data-80000 plain-large
545 priv_keys = privkeys/50B2D4FA4122C212611048BC5FC31BD44393626E.asc \
546             privkeys/7E201E28B6FEB2927B321F443205F4724EBE637E.asc \
547             privkeys/13FDB8809B17C5547779F9D205C45F47CE0217CE.asc \
548             privkeys/343D8AF79796EE107D645A2787A9D9252F924E6F.asc \
549             privkeys/8B5ABF3EF9EB8D96B91A0B8C2C4401C91C834C34.asc \
550             privkeys/0D6F6AD4C4C803B25470F9104E9F4E6A4CA64255.asc \
551             privkeys/FD692BD59D6640A84C8422573D469F84F3B98E53.asc \
552             privkeys/76F7E2B35832976B50A27A282D9B87E44577EB66.asc \
553             privkeys/A0747D5F9425E6664F4FFBEED20FBCA79FDED2BD.asc \
554             privkeys/0DD40284FF992CD24DC4AAC367037E066FCEE26A.asc \
555             privkeys/2BC997C0B8691D41D29A4EC81CCBCF08454E4961.asc \
556             privkeys/3C9D5ECA70130C2DBB1FC6AC0076BEEEC197716F.asc \
557             privkeys/449E644892C951A37525654730DD32C202079926.asc \
558             privkeys/58FFE844087634E62440224908BDE44BEA7EB730.asc \
559             privkeys/4DF9172D6FF428C97A0E9AA96F03E8BCE3B2F188.asc \
560             privkeys/9D7CD8F53F2F14C3E2177D1E9D1D11F39513A4A4.asc \
561             privkeys/6E6B7ED0BD4425018FFC54F3921D5467A3AE00EB.asc \
562             privkeys/C905D0AB6AE9655C5A35975939997BBF3325D6DD.asc \
563             privkeys/B2BAA7144303DF19BB6FDE23781DD3FDD97918D4.asc \
564             privkeys/CF60965BF51F67CF80DECE853E0D2D343468571D.asc \
565             privkeys/DF00E361D34F80868D06879AC21D7A7D4E4FAD76.asc \
566             privkeys/00FE67F28A52A8AA08FFAED20AF832DA916D1985.asc \
567             privkeys/1DF48228FEFF3EC2481B106E0ACA8C465C662CC5.asc \
568             privkeys/A2832820DC9F40751BDCD375BB0945BA33EC6B4C.asc \
569             privkeys/ADE710D74409777B7729A7653373D820F67892E0.asc \
570             privkeys/CEFC51AF91F68A2904FBFF62C4F075A4785B803F.asc \
571             privkeys/1E28F20E41B54C2D1234D896096495FF57E08D18.asc \
572             privkeys/EB33B687EB8581AB64D04852A54453E85F3DF62D.asc \
573             privkeys/C6A6390E9388CDBAD71EAEA698233FE5E04F001E.asc \
574             privkeys/D69102E0F5AC6B6DB8E4D16DA8E18CF46D88CAE3.asc
575
576 sample_keys = samplekeys/README \
577               samplekeys/ecc-sample-1-pub.asc \
578               samplekeys/ecc-sample-2-pub.asc \
579               samplekeys/ecc-sample-3-pub.asc \
580               samplekeys/ecc-sample-1-sec.asc \
581               samplekeys/ecc-sample-2-sec.asc \
582               samplekeys/ecc-sample-3-sec.asc \
583               samplekeys/eddsa-sample-1-pub.asc \
584               samplekeys/eddsa-sample-1-sec.asc \
585               samplekeys/dda252ebb8ebe1af-1.asc \
586               samplekeys/dda252ebb8ebe1af-2.asc \
587               samplekeys/whats-new-in-2.1.asc \
588               samplekeys/e2e-p256-1-clr.asc \
589               samplekeys/e2e-p256-1-prt.asc \
590               samplekeys/E657FB607BB4F21C90BB6651BC067AF28BC90111.asc \
591               samplekeys/rsa-rsa-sample-1.asc \
592               samplekeys/ed25519-cv25519-sample-1.asc \
593               samplekeys/silent-running.asc \
594               samplekeys/ssh-dsa.key \
595               samplekeys/ssh-ecdsa.key \
596               samplekeys/ssh-ed25519.key \
597               samplekeys/ssh-rsa.key \
598               samplekeys/issue2346.gpg \
599               samplekeys/authenticate-only.pub.asc \
600               samplekeys/authenticate-only.sec.asc
601
602 sample_msgs = samplemsgs/issue2419.asc \
603               samplemsgs/clearsig-1-key-1.asc \
604               samplemsgs/signed-1-key-1.asc \
605               samplemsgs/revoke-2D727CC768697734.asc
606
607 EXTRA_DIST = defs.scm $(XTESTS) $(TEST_FILES) \
608              mkdemodirs signdemokey $(priv_keys) $(sample_keys)   \
609              $(sample_msgs) ChangeLog-2011 run-tests.scm \
610              setup.scm shell.scm
611
612 CLEANFILES = prepared.stamp x y yy z out err  $(data_files) \
613              plain-1 plain-2 plain-3 trustdb.gpg *.lock .\#lk* \
614              *.log gpg_dearmor gpg.conf gpg-agent.conf S.gpg-agent \
615              pubring.gpg pubring.gpg~ pubring.kbx pubring.kbx~ \
616              secring.gpg pubring.pkr secring.skr \
617              gnupg-test.stop random_seed gpg-agent.log tofu.db \
618              passphrases sshcontrol S.gpg-agent.ssh
619
620 all: all-am
621
622 .SUFFIXES:
623 .SUFFIXES: .c .o .obj .rc
624 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/am/cmacros.am $(am__configure_deps)
625         @for dep in $?; do \
626           case '$(am__configure_deps)' in \
627             *$$dep*) \
628               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
629                 && { if test -f $@; then exit 0; else break; fi; }; \
630               exit 1;; \
631           esac; \
632         done; \
633         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/openpgp/Makefile'; \
634         $(am__cd) $(top_srcdir) && \
635           $(AUTOMAKE) --gnu tests/openpgp/Makefile
636 .PRECIOUS: Makefile
637 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
638         @case '$?' in \
639           *config.status*) \
640             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
641           *) \
642             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
643             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
644         esac;
645 $(top_srcdir)/am/cmacros.am:
646
647 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
648         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
649
650 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
651         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
652 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
653         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
654 $(am__aclocal_m4_deps):
655
656 clean-noinstPROGRAMS:
657         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
658
659 fake-pinentry$(EXEEXT): $(fake_pinentry_OBJECTS) $(fake_pinentry_DEPENDENCIES) $(EXTRA_fake_pinentry_DEPENDENCIES) 
660         @rm -f fake-pinentry$(EXEEXT)
661         $(AM_V_CCLD)$(LINK) $(fake_pinentry_OBJECTS) $(fake_pinentry_LDADD) $(LIBS)
662
663 mostlyclean-compile:
664         -rm -f *.$(OBJEXT)
665
666 distclean-compile:
667         -rm -f *.tab.c
668
669 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fake-pinentry.Po@am__quote@
670
671 .c.o:
672 @am__fastdepCC_TRUE@    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
673 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
674 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
675 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
676 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
677
678 .c.obj:
679 @am__fastdepCC_TRUE@    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
680 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
681 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
682 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
683 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
684
685 ID: $(am__tagged_files)
686         $(am__define_uniq_tagged_files); mkid -fID $$unique
687 tags: tags-am
688 TAGS: tags
689
690 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
691         set x; \
692         here=`pwd`; \
693         $(am__define_uniq_tagged_files); \
694         shift; \
695         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
696           test -n "$$unique" || unique=$$empty_fix; \
697           if test $$# -gt 0; then \
698             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
699               "$$@" $$unique; \
700           else \
701             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
702               $$unique; \
703           fi; \
704         fi
705 ctags: ctags-am
706
707 CTAGS: ctags
708 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
709         $(am__define_uniq_tagged_files); \
710         test -z "$(CTAGS_ARGS)$$unique" \
711           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
712              $$unique
713
714 GTAGS:
715         here=`$(am__cd) $(top_builddir) && pwd` \
716           && $(am__cd) $(top_srcdir) \
717           && gtags -i $(GTAGS_ARGS) "$$here"
718 cscopelist: cscopelist-am
719
720 cscopelist-am: $(am__tagged_files)
721         list='$(am__tagged_files)'; \
722         case "$(srcdir)" in \
723           [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
724           *) sdir=$(subdir)/$(srcdir) ;; \
725         esac; \
726         for i in $$list; do \
727           if test -f "$$i"; then \
728             echo "$(subdir)/$$i"; \
729           else \
730             echo "$$sdir/$$i"; \
731           fi; \
732         done >> $(top_builddir)/cscope.files
733
734 distclean-tags:
735         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
736
737 distdir: $(DISTFILES)
738         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
739         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
740         list='$(DISTFILES)'; \
741           dist_files=`for file in $$list; do echo $$file; done | \
742           sed -e "s|^$$srcdirstrip/||;t" \
743               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
744         case $$dist_files in \
745           */*) $(MKDIR_P) `echo "$$dist_files" | \
746                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
747                            sort -u` ;; \
748         esac; \
749         for file in $$dist_files; do \
750           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
751           if test -d $$d/$$file; then \
752             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
753             if test -d "$(distdir)/$$file"; then \
754               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
755             fi; \
756             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
757               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
758               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
759             fi; \
760             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
761           else \
762             test -f "$(distdir)/$$file" \
763             || cp -p $$d/$$file "$(distdir)/$$file" \
764             || exit 1; \
765           fi; \
766         done
767 check-am: all-am
768 check: check-am
769 all-am: Makefile $(PROGRAMS) all-local
770 installdirs:
771 install: install-am
772 install-exec: install-exec-am
773 install-data: install-data-am
774 uninstall: uninstall-am
775
776 install-am: all-am
777         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
778
779 installcheck: installcheck-am
780 install-strip:
781         if test -z '$(STRIP)'; then \
782           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
783             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
784               install; \
785         else \
786           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
787             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
788             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
789         fi
790 mostlyclean-generic:
791
792 clean-generic:
793         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
794
795 distclean-generic:
796         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
797         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
798
799 maintainer-clean-generic:
800         @echo "This command is intended for maintainers to use"
801         @echo "it deletes files that may require special tools to rebuild."
802 clean: clean-am
803
804 clean-am: clean-generic clean-local clean-noinstPROGRAMS \
805         mostlyclean-am
806
807 distclean: distclean-am
808         -rm -rf ./$(DEPDIR)
809         -rm -f Makefile
810 distclean-am: clean-am distclean-compile distclean-generic \
811         distclean-tags
812
813 dvi: dvi-am
814
815 dvi-am:
816
817 html: html-am
818
819 html-am:
820
821 info: info-am
822
823 info-am:
824
825 install-data-am:
826
827 install-dvi: install-dvi-am
828
829 install-dvi-am:
830
831 install-exec-am:
832
833 install-html: install-html-am
834
835 install-html-am:
836
837 install-info: install-info-am
838
839 install-info-am:
840
841 install-man:
842
843 install-pdf: install-pdf-am
844
845 install-pdf-am:
846
847 install-ps: install-ps-am
848
849 install-ps-am:
850
851 installcheck-am:
852
853 maintainer-clean: maintainer-clean-am
854         -rm -rf ./$(DEPDIR)
855         -rm -f Makefile
856 maintainer-clean-am: distclean-am maintainer-clean-generic
857
858 mostlyclean: mostlyclean-am
859
860 mostlyclean-am: mostlyclean-compile mostlyclean-generic
861
862 pdf: pdf-am
863
864 pdf-am:
865
866 ps: ps-am
867
868 ps-am:
869
870 uninstall-am:
871
872 .MAKE: install-am install-strip
873
874 .PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am clean \
875         clean-generic clean-local clean-noinstPROGRAMS cscopelist-am \
876         ctags ctags-am distclean distclean-compile distclean-generic \
877         distclean-tags distdir dvi dvi-am html html-am info info-am \
878         install install-am install-data install-data-am install-dvi \
879         install-dvi-am install-exec install-exec-am install-html \
880         install-html-am install-info install-info-am install-man \
881         install-pdf install-pdf-am install-ps install-ps-am \
882         install-strip installcheck installcheck-am installdirs \
883         maintainer-clean maintainer-clean-generic mostlyclean \
884         mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
885         tags tags-am uninstall uninstall-am
886
887
888 @HAVE_W32_SYSTEM_TRUE@.rc.o:
889 @HAVE_W32_SYSTEM_TRUE@  $(WINDRES) $(DEFAULT_INCLUDES) $(INCLUDES) "$<" "$@"
890
891 TMP ?= /tmp
892
893 # XXX: Currently, one cannot override automake's 'check' target.  As a
894 # workaround, we avoid defining 'TESTS', thus automake will not emit
895 # the 'check' target.  For extra robustness, we merely define a
896 # dependency on 'xcheck', so this hack should also work even if
897 # automake would emit the 'check' target, as adding dependencies to
898 # targets is okay.
899 check: xcheck
900
901 .PHONY: xcheck
902 xcheck:
903         $(TESTS_ENVIRONMENT) $(abs_top_builddir)/tests/gpgscm/gpgscm \
904           run-tests.scm $(TESTFLAGS) $(XTESTS)
905
906 clean-local:
907         -rm -rf private-keys-v1.d openpgp-revocs.d tofu.d gpgtar.d
908
909 # We need to depend on a couple of programs so that the tests don't
910 # start before all programs are built.
911 all-local: $(required_pgms)
912
913 # Tell versions [3.59,3.63) of GNU make to not export all variables.
914 # Otherwise a system limit (for SysV at least) may be exceeded.
915 .NOEXPORT: