1 # Makefile.in generated by automake 1.14.1 from Makefile.am.
4 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 # Makefile.am for the tests of the Python bindings.
18 # Copyright (C) 2016 g10 Code GmbH
20 # This file is part of GPGME.
22 # GPGME is free software; you can redistribute it and/or modify it
23 # under the terms of the GNU General Public License as published by
24 # the Free Software Foundation; either version 2 of the License, or
25 # (at your option) any later version.
27 # GPGME is distributed in the hope that it will be useful, but WITHOUT
28 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
29 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
30 # Public License for more details.
32 # You should have received a copy of the GNU Lesser General Public
33 # License along with this program; if not, see <http://www.gnu.org/licenses/>.
35 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
36 am__make_running_with_option = \
37 case $${target_option-} in \
39 *) echo "am__make_running_with_option: internal error: invalid" \
40 "target option '$${target_option-}' specified" >&2; \
44 sane_makeflags=$$MAKEFLAGS; \
45 if $(am__is_gnu_make); then \
46 sane_makeflags=$$MFLAGS; \
51 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
52 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
58 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
60 for flg in $$sane_makeflags; do \
61 test $$skip_next = yes && { skip_next=no; continue; }; \
64 -*I) strip_trailopt 'I'; skip_next=yes;; \
65 -*I?*) strip_trailopt 'I';; \
66 -*O) strip_trailopt 'O'; skip_next=yes;; \
67 -*O?*) strip_trailopt 'O';; \
68 -*l) strip_trailopt 'l'; skip_next=yes;; \
69 -*l?*) strip_trailopt 'l';; \
70 -[dEDm]) skip_next=yes;; \
71 -[JT]) skip_next=yes;; \
74 *$$target_option*) has_opt=yes; break;; \
78 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
79 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
80 pkgdatadir = $(datadir)/@PACKAGE@
81 pkgincludedir = $(includedir)/@PACKAGE@
82 pkglibdir = $(libdir)/@PACKAGE@
83 pkglibexecdir = $(libexecdir)/@PACKAGE@
84 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
85 install_sh_DATA = $(install_sh) -c -m 644
86 install_sh_PROGRAM = $(install_sh) -c
87 install_sh_SCRIPT = $(install_sh) -c
88 INSTALL_HEADER = $(INSTALL_DATA)
89 transform = $(program_transform_name)
96 build_triplet = @build@
98 subdir = lang/python/tests
99 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
100 $(top_srcdir)/build-aux/mkinstalldirs
101 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
102 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
103 $(top_srcdir)/m4/ax_pkg_swig.m4 \
104 $(top_srcdir)/m4/ax_python_devel.m4 \
105 $(top_srcdir)/m4/glib-2.0.m4 $(top_srcdir)/m4/glibc21.m4 \
106 $(top_srcdir)/m4/gnupg-ttyname.m4 \
107 $(top_srcdir)/m4/gpg-error.m4 $(top_srcdir)/m4/libassuan.m4 \
108 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
109 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
110 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/pkg.m4 \
111 $(top_srcdir)/m4/python.m4 $(top_srcdir)/m4/qt.m4 \
112 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
113 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
115 mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs
116 CONFIG_HEADER = $(top_builddir)/config.h
118 CONFIG_CLEAN_VPATH_FILES =
119 AM_V_P = $(am__v_P_@AM_V@)
120 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
123 AM_V_GEN = $(am__v_GEN_@AM_V@)
124 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
125 am__v_GEN_0 = @echo " GEN " $@;
127 AM_V_at = $(am__v_at_@AM_V@)
128 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
133 am__can_run_installinfo = \
134 case $$AM_UPDATE_INFO_DIR in \
136 *) (install-info --version) >/dev/null 2>&1;; \
138 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
139 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
142 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
145 AUTOCONF = @AUTOCONF@
146 AUTOHEADER = @AUTOHEADER@
147 AUTOMAKE = @AUTOMAKE@
149 BUILD_FILEVERSION = @BUILD_FILEVERSION@
150 BUILD_REVISION = @BUILD_REVISION@
151 BUILD_TIMESTAMP = @BUILD_TIMESTAMP@
153 CCDEPMODE = @CCDEPMODE@
154 CC_FOR_BUILD = @CC_FOR_BUILD@
157 CPPFLAGS = @CPPFLAGS@
160 CXXDEPMODE = @CXXDEPMODE@
161 CXXFLAGS = @CXXFLAGS@
162 CYGPATH_W = @CYGPATH_W@
167 DSYMUTIL = @DSYMUTIL@
173 ENABLED_LANGUAGES = @ENABLED_LANGUAGES@
176 GITLOG_TO_CHANGELOG = @GITLOG_TO_CHANGELOG@
178 GLIB_CFLAGS = @GLIB_CFLAGS@
179 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
180 GLIB_LIBS = @GLIB_LIBS@
181 GLIB_MKENUMS = @GLIB_MKENUMS@
182 GOBJECT_QUERY = @GOBJECT_QUERY@
183 GPGME_CONFIG_API_VERSION = @GPGME_CONFIG_API_VERSION@
184 GPGME_CONFIG_AVAIL_LANG = @GPGME_CONFIG_AVAIL_LANG@
185 GPGME_CONFIG_CFLAGS = @GPGME_CONFIG_CFLAGS@
186 GPGME_CONFIG_HOST = @GPGME_CONFIG_HOST@
187 GPGME_CONFIG_LIBS = @GPGME_CONFIG_LIBS@
188 GPGME_QTTEST_CFLAGS = @GPGME_QTTEST_CFLAGS@
189 GPGME_QTTEST_LIBS = @GPGME_QTTEST_LIBS@
190 GPGME_QT_CFLAGS = @GPGME_QT_CFLAGS@
191 GPGME_QT_LIBS = @GPGME_QT_LIBS@
192 GPG_ERROR_CFLAGS = @GPG_ERROR_CFLAGS@
193 GPG_ERROR_CONFIG = @GPG_ERROR_CONFIG@
194 GPG_ERROR_LIBS = @GPG_ERROR_LIBS@
195 GPG_ERROR_MT_CFLAGS = @GPG_ERROR_MT_CFLAGS@
196 GPG_ERROR_MT_LIBS = @GPG_ERROR_MT_LIBS@
197 GRAPHVIZ = @GRAPHVIZ@
199 HAVE_CXX11 = @HAVE_CXX11@
200 HAVE_DOT = @HAVE_DOT@
202 INSTALL_DATA = @INSTALL_DATA@
203 INSTALL_PROGRAM = @INSTALL_PROGRAM@
204 INSTALL_SCRIPT = @INSTALL_SCRIPT@
205 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
208 LIBASSUAN_CFLAGS = @LIBASSUAN_CFLAGS@
209 LIBASSUAN_CONFIG = @LIBASSUAN_CONFIG@
210 LIBASSUAN_LIBS = @LIBASSUAN_LIBS@
211 LIBGPGMEPP_LT_AGE = @LIBGPGMEPP_LT_AGE@
212 LIBGPGMEPP_LT_CURRENT = @LIBGPGMEPP_LT_CURRENT@
213 LIBGPGMEPP_LT_REVISION = @LIBGPGMEPP_LT_REVISION@
214 LIBGPGME_LT_AGE = @LIBGPGME_LT_AGE@
215 LIBGPGME_LT_CURRENT = @LIBGPGME_LT_CURRENT@
216 LIBGPGME_LT_REVISION = @LIBGPGME_LT_REVISION@
218 LIBQGPGME_LT_AGE = @LIBQGPGME_LT_AGE@
219 LIBQGPGME_LT_CURRENT = @LIBQGPGME_LT_CURRENT@
220 LIBQGPGME_LT_REVISION = @LIBQGPGME_LT_REVISION@
225 LTLIBOBJS = @LTLIBOBJS@
227 MAKEINFO = @MAKEINFO@
228 MANIFEST_TOOL = @MANIFEST_TOOL@
232 NEED__FILE_OFFSET_BITS = @NEED__FILE_OFFSET_BITS@
240 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
241 PACKAGE_NAME = @PACKAGE_NAME@
242 PACKAGE_STRING = @PACKAGE_STRING@
243 PACKAGE_TARNAME = @PACKAGE_TARNAME@
244 PACKAGE_URL = @PACKAGE_URL@
245 PACKAGE_VERSION = @PACKAGE_VERSION@
246 PATH_SEPARATOR = @PATH_SEPARATOR@
247 PKG_CONFIG = @PKG_CONFIG@
250 PYTHON_CPPFLAGS = @PYTHON_CPPFLAGS@
251 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
252 PYTHON_EXTRA_LDFLAGS = @PYTHON_EXTRA_LDFLAGS@
253 PYTHON_EXTRA_LIBS = @PYTHON_EXTRA_LIBS@
254 PYTHON_LDFLAGS = @PYTHON_LDFLAGS@
255 PYTHON_PLATFORM = @PYTHON_PLATFORM@
256 PYTHON_PREFIX = @PYTHON_PREFIX@
257 PYTHON_SITE_PKG = @PYTHON_SITE_PKG@
258 PYTHON_VERSION = @PYTHON_VERSION@
259 QTCHOOSER = @QTCHOOSER@
263 SET_MAKE = @SET_MAKE@
267 SWIG_LIB = @SWIG_LIB@
270 VERSION_MAJOR = @VERSION_MAJOR@
271 VERSION_MICRO = @VERSION_MICRO@
272 VERSION_MINOR = @VERSION_MINOR@
273 VERSION_NUMBER = @VERSION_NUMBER@
274 abs_builddir = @abs_builddir@
275 abs_srcdir = @abs_srcdir@
276 abs_top_builddir = @abs_top_builddir@
277 abs_top_srcdir = @abs_top_srcdir@
278 ac_ct_AR = @ac_ct_AR@
279 ac_ct_CC = @ac_ct_CC@
280 ac_ct_CXX = @ac_ct_CXX@
281 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
282 am__include = @am__include@
283 am__leading_dot = @am__leading_dot@
284 am__quote = @am__quote@
286 am__untar = @am__untar@
289 build_alias = @build_alias@
290 build_cpu = @build_cpu@
291 build_os = @build_os@
292 build_vendor = @build_vendor@
293 builddir = @builddir@
295 datarootdir = @datarootdir@
298 emacs_local_vars_begin = @emacs_local_vars_begin@
299 emacs_local_vars_end = @emacs_local_vars_end@
300 emacs_local_vars_read_only = @emacs_local_vars_read_only@
301 exec_prefix = @exec_prefix@
303 host_alias = @host_alias@
304 host_cpu = @host_cpu@
306 host_vendor = @host_vendor@
308 includedir = @includedir@
310 install_sh = @install_sh@
312 libexecdir = @libexecdir@
313 localedir = @localedir@
314 localstatedir = @localstatedir@
317 oldincludedir = @oldincludedir@
319 pkgpyexecdir = @pkgpyexecdir@
320 pkgpythondir = @pkgpythondir@
322 program_transform_name = @program_transform_name@
324 pyexecdir = @pyexecdir@
325 pythondir = @pythondir@
327 sharedstatedir = @sharedstatedir@
329 sysconfdir = @sysconfdir@
330 target_alias = @target_alias@
331 top_build_prefix = @top_build_prefix@
332 top_builddir = @top_builddir@
333 top_srcdir = @top_srcdir@
335 GPG_AGENT = gpg-agent
336 test_srcdir = $(top_srcdir)/tests/gpg
337 TESTS_ENVIRONMENT = GNUPGHOME=$(abs_builddir) \
338 LC_ALL=C GPG_AGENT_INFO= \
339 top_srcdir=$(top_srcdir) \
341 LD_LIBRARY_PATH="../../../src/.libs:$(LD_LIBRARY_PATH)"
343 py_tests = t-wrapper.py \
353 t-decrypt-verify.py \
360 t-keylist-from-data.py \
365 t-protocol-assuan.py \
366 t-quick-key-creation.py \
367 t-quick-subkey-creation.py \
368 t-quick-key-manipulation.py \
369 t-quick-key-signing.py
371 XTESTS = initial.py $(py_tests) final.py
372 EXTRA_DIST = support.py $(XTESTS) encrypt-only.asc sign-only.asc \
375 CLEANFILES = secring.gpg pubring.gpg pubring.kbx trustdb.gpg dirmngr.conf \
376 gpg-agent.conf pubring.kbx~ gpg.conf pubring.gpg~ \
377 random_seed .gpg-v21-migrated tofu.db \
378 pubring-stamp gpg-sample.stamp
381 $(test_srcdir)/13CD0F3BDF24BE53FE192D62F18737256FF6E4FD \
382 $(test_srcdir)/76F7E2B35832976B50A27A282D9B87E44577EB66 \
383 $(test_srcdir)/A0747D5F9425E6664F4FFBEED20FBCA79FDED2BD \
384 $(test_srcdir)/13CBE3758AFE42B5E5E2AE4CED27AFA455E3F87F \
385 $(test_srcdir)/7A030357C0F253A5BBCD282FFC4E521B37558F5C
387 BUILT_SOURCES = gpg.conf gpg-agent.conf pubring-stamp \
390 all: $(BUILT_SOURCES)
391 $(MAKE) $(AM_MAKEFLAGS) all-am
394 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
396 case '$(am__configure_deps)' in \
398 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
399 && { if test -f $@; then exit 0; else break; fi; }; \
403 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu lang/python/tests/Makefile'; \
404 $(am__cd) $(top_srcdir) && \
405 $(AUTOMAKE) --gnu lang/python/tests/Makefile
407 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
410 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
412 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
413 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
416 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
417 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
419 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
420 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
421 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
422 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
423 $(am__aclocal_m4_deps):
437 distdir: $(DISTFILES)
438 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
439 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
440 list='$(DISTFILES)'; \
441 dist_files=`for file in $$list; do echo $$file; done | \
442 sed -e "s|^$$srcdirstrip/||;t" \
443 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
444 case $$dist_files in \
445 */*) $(MKDIR_P) `echo "$$dist_files" | \
446 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
449 for file in $$dist_files; do \
450 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
451 if test -d $$d/$$file; then \
452 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
453 if test -d "$(distdir)/$$file"; then \
454 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
456 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
457 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
458 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
460 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
462 test -f "$(distdir)/$$file" \
463 || cp -p $$d/$$file "$(distdir)/$$file" \
468 check: $(BUILT_SOURCES)
469 $(MAKE) $(AM_MAKEFLAGS) check-am
472 install: $(BUILT_SOURCES)
473 $(MAKE) $(AM_MAKEFLAGS) install-am
474 install-exec: install-exec-am
475 install-data: install-data-am
476 uninstall: uninstall-am
479 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
481 installcheck: installcheck-am
483 if test -z '$(STRIP)'; then \
484 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
485 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
488 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
489 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
490 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
495 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
498 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
499 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
501 maintainer-clean-generic:
502 @echo "This command is intended for maintainers to use"
503 @echo "it deletes files that may require special tools to rebuild."
504 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
507 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
509 distclean: distclean-am
511 distclean-am: clean-am distclean-generic
527 install-dvi: install-dvi-am
533 install-html: install-html-am
537 install-info: install-info-am
543 install-pdf: install-pdf-am
547 install-ps: install-ps-am
553 maintainer-clean: maintainer-clean-am
555 maintainer-clean-am: distclean-am maintainer-clean-generic
557 mostlyclean: mostlyclean-am
559 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
571 .MAKE: all check install install-am install-strip
573 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
574 clean-local cscopelist-am ctags-am distclean distclean-generic \
575 distclean-libtool distdir dvi dvi-am html html-am info info-am \
576 install install-am install-data install-data-am install-dvi \
577 install-dvi-am install-exec install-exec-am install-html \
578 install-html-am install-info install-info-am install-man \
579 install-pdf install-pdf-am install-ps install-ps-am \
580 install-strip installcheck installcheck-am installdirs \
581 maintainer-clean maintainer-clean-generic mostlyclean \
582 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
583 tags-am uninstall uninstall-am
586 # XXX: Currently, one cannot override automake's 'check' target. As a
587 # workaround, we avoid defining 'TESTS', thus automake will not emit
588 # the 'check' target. For extra robustness, we merely define a
589 # dependency on 'xcheck', so this hack should also work even if
590 # automake would emit the 'check' target, as adding dependencies to
597 $(TESTS_ENVIRONMENT) $(PYTHON) $(srcdir)/run-tests.py \
598 --interpreters="$(PYTHONS)" --srcdir=$(srcdir) $(TESTFLAGS) \
602 -$(TESTS_ENVIRONMENT) $(top_srcdir)/tests/start-stop-agent --stop
603 -rm -fR -- private-keys-v1.d openpgp-revocs.d S.gpg-agent sshcontrol
605 gpg-sample.stamp: $(private_keys)
606 -$(TESTS_ENVIRONMENT) gpgconf --kill all
607 $(MKDIR_P) ./private-keys-v1.d
608 for k in $(private_keys); do \
609 cp $$k private-keys-v1.d/$${k#$(test_srcdir)/}.key; \
611 echo x > ./gpg-sample.stamp
613 pubring-stamp: $(test_srcdir)/pubdemo.asc gpg-sample.stamp
614 $(TESTS_ENVIRONMENT) $(GPG) --batch --no-permission-warning \
615 --import $(test_srcdir)/pubdemo.asc
616 -$(TESTS_ENVIRONMENT) $(GPG) --batch --no-permission-warning \
617 --import $(test_srcdir)/secdemo.asc
618 echo x > ./pubring-stamp
621 # This is required for t-sig-notations.
622 echo no-force-v3-sigs > ./gpg.conf
623 echo ignore-invalid-option agent-program >> ./gpg.conf
624 echo "agent-program `which $(GPG_AGENT)`|--debug-quick-random" >> ./gpg.conf
627 # This is required for gpg2, which does not support command fd.
628 echo pinentry-program $(abs_top_srcdir)/tests/gpg/pinentry >$@
630 # Tell versions [3.59,3.63) of GNU make to not export all variables.
631 # Otherwise a system limit (for SysV at least) may be exceeded.