Fix libzypp build error
[platform/upstream/gpgme.git] / Makefile.in
1 # Makefile.in generated by automake 1.16.5 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2021 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 - Top level Makefile for GPGME.
18 # Copyright (C) 2000 Werner Koch (dd9jn)
19 # Copyright (C) 2001, 2002, 2004, 2005, 2008, 2009 g10 Code GmbH
20 #
21 # This file is part of GPGME.
22 #
23 # GPGME is free software; you can redistribute it and/or modify it
24 # under the terms of the GNU Lesser General Public License as
25 # published by the Free Software Foundation; either version 2.1 of the
26 # License, or (at your option) any later version.
27 #
28 # GPGME is distributed in the hope that it will be useful, but WITHOUT
29 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
30 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General
31 # Public License for more details.
32 #
33 # You should have received a copy of the GNU Lesser General Public
34 # License along with this program; if not, see <https://gnu.org/licenses/>.
35 # SPDX-License-Identifier: LGPL-2.1-or-later
36 VPATH = @srcdir@
37 am__is_gnu_make = { \
38   if test -z '$(MAKELEVEL)'; then \
39     false; \
40   elif test -n '$(MAKE_HOST)'; then \
41     true; \
42   elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
43     true; \
44   else \
45     false; \
46   fi; \
47 }
48 am__make_running_with_option = \
49   case $${target_option-} in \
50       ?) ;; \
51       *) echo "am__make_running_with_option: internal error: invalid" \
52               "target option '$${target_option-}' specified" >&2; \
53          exit 1;; \
54   esac; \
55   has_opt=no; \
56   sane_makeflags=$$MAKEFLAGS; \
57   if $(am__is_gnu_make); then \
58     sane_makeflags=$$MFLAGS; \
59   else \
60     case $$MAKEFLAGS in \
61       *\\[\ \   ]*) \
62         bs=\\; \
63         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
64           | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
65     esac; \
66   fi; \
67   skip_next=no; \
68   strip_trailopt () \
69   { \
70     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
71   }; \
72   for flg in $$sane_makeflags; do \
73     test $$skip_next = yes && { skip_next=no; continue; }; \
74     case $$flg in \
75       *=*|--*) continue;; \
76         -*I) strip_trailopt 'I'; skip_next=yes;; \
77       -*I?*) strip_trailopt 'I';; \
78         -*O) strip_trailopt 'O'; skip_next=yes;; \
79       -*O?*) strip_trailopt 'O';; \
80         -*l) strip_trailopt 'l'; skip_next=yes;; \
81       -*l?*) strip_trailopt 'l';; \
82       -[dEDm]) skip_next=yes;; \
83       -[JT]) skip_next=yes;; \
84     esac; \
85     case $$flg in \
86       *$$target_option*) has_opt=yes; break;; \
87     esac; \
88   done; \
89   test $$has_opt = yes
90 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
91 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
92 pkgdatadir = $(datadir)/@PACKAGE@
93 pkgincludedir = $(includedir)/@PACKAGE@
94 pkglibdir = $(libdir)/@PACKAGE@
95 pkglibexecdir = $(libexecdir)/@PACKAGE@
96 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
97 install_sh_DATA = $(install_sh) -c -m 644
98 install_sh_PROGRAM = $(install_sh) -c
99 install_sh_SCRIPT = $(install_sh) -c
100 INSTALL_HEADER = $(INSTALL_DATA)
101 transform = $(program_transform_name)
102 NORMAL_INSTALL = :
103 PRE_INSTALL = :
104 POST_INSTALL = :
105 NORMAL_UNINSTALL = :
106 PRE_UNINSTALL = :
107 POST_UNINSTALL = :
108 build_triplet = @build@
109 host_triplet = @host@
110 subdir = .
111 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
112 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
113         $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
114         $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \
115         $(top_srcdir)/m4/ax_pkg_swig.m4 \
116         $(top_srcdir)/m4/ax_python_devel.m4 \
117         $(top_srcdir)/m4/glib-2.0.m4 $(top_srcdir)/m4/glibc21.m4 \
118         $(top_srcdir)/m4/gnupg-ttyname.m4 \
119         $(top_srcdir)/m4/gpg-error.m4 $(top_srcdir)/m4/libassuan.m4 \
120         $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
121         $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
122         $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/pkg.m4 \
123         $(top_srcdir)/m4/python.m4 $(top_srcdir)/m4/qt5.m4 \
124         $(top_srcdir)/m4/qt6.m4 $(top_srcdir)/acinclude.m4 \
125         $(top_srcdir)/configure.ac
126 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
127         $(ACLOCAL_M4)
128 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
129         $(am__configure_deps) $(am__DIST_COMMON)
130 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
131  configure.lineno config.status.lineno
132 mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs
133 CONFIG_HEADER = $(top_builddir)/conf/config.h
134 CONFIG_CLEAN_FILES =
135 CONFIG_CLEAN_VPATH_FILES =
136 AM_V_P = $(am__v_P_@AM_V@)
137 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
138 am__v_P_0 = false
139 am__v_P_1 = :
140 AM_V_GEN = $(am__v_GEN_@AM_V@)
141 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
142 am__v_GEN_0 = @echo "  GEN     " $@;
143 am__v_GEN_1 = 
144 AM_V_at = $(am__v_at_@AM_V@)
145 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
146 am__v_at_0 = @
147 am__v_at_1 = 
148 SOURCES =
149 DIST_SOURCES =
150 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
151         ctags-recursive dvi-recursive html-recursive info-recursive \
152         install-data-recursive install-dvi-recursive \
153         install-exec-recursive install-html-recursive \
154         install-info-recursive install-pdf-recursive \
155         install-ps-recursive install-recursive installcheck-recursive \
156         installdirs-recursive pdf-recursive ps-recursive \
157         tags-recursive uninstall-recursive
158 am__can_run_installinfo = \
159   case $$AM_UPDATE_INFO_DIR in \
160     n|no|NO) false;; \
161     *) (install-info --version) >/dev/null 2>&1;; \
162   esac
163 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
164   distclean-recursive maintainer-clean-recursive
165 am__recursive_targets = \
166   $(RECURSIVE_TARGETS) \
167   $(RECURSIVE_CLEAN_TARGETS) \
168   $(am__extra_recursive_targets)
169 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
170         cscope distdir distdir-am dist dist-all distcheck
171 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
172 # Read a list of newline-separated strings from the standard input,
173 # and print each of them once, without duplicates.  Input order is
174 # *not* preserved.
175 am__uniquify_input = $(AWK) '\
176   BEGIN { nonempty = 0; } \
177   { items[$$0] = 1; nonempty = 1; } \
178   END { if (nonempty) { for (i in items) print i; }; } \
179 '
180 # Make sure the list of sources is unique.  This is necessary because,
181 # e.g., the same source file might be shared among _SOURCES variables
182 # for different programs/libraries.
183 am__define_uniq_tagged_files = \
184   list='$(am__tagged_files)'; \
185   unique=`for i in $$list; do \
186     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
187   done | $(am__uniquify_input)`
188 DIST_SUBDIRS = src tests doc lang
189 am__DIST_COMMON = $(srcdir)/Makefile.in \
190         $(top_srcdir)/build-aux/compile \
191         $(top_srcdir)/build-aux/config.guess \
192         $(top_srcdir)/build-aux/config.sub \
193         $(top_srcdir)/build-aux/install-sh \
194         $(top_srcdir)/build-aux/ltmain.sh \
195         $(top_srcdir)/build-aux/missing \
196         $(top_srcdir)/build-aux/mkinstalldirs \
197         $(top_srcdir)/conf/config.h.in AUTHORS COPYING COPYING.LESSER \
198         ChangeLog INSTALL NEWS README THANKS TODO build-aux/compile \
199         build-aux/config.guess build-aux/config.sub build-aux/depcomp \
200         build-aux/install-sh build-aux/ltmain.sh build-aux/mdate-sh \
201         build-aux/missing build-aux/mkinstalldirs \
202         build-aux/texinfo.tex missing
203 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
204 distdir = $(PACKAGE)-$(VERSION)
205 top_distdir = $(distdir)
206 am__remove_distdir = \
207   if test -d "$(distdir)"; then \
208     find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
209       && rm -rf "$(distdir)" \
210       || { sleep 5 && rm -rf "$(distdir)"; }; \
211   else :; fi
212 am__post_remove_distdir = $(am__remove_distdir)
213 am__relativize = \
214   dir0=`pwd`; \
215   sed_first='s,^\([^/]*\)/.*$$,\1,'; \
216   sed_rest='s,^[^/]*/*,,'; \
217   sed_last='s,^.*/\([^/]*\)$$,\1,'; \
218   sed_butlast='s,/*[^/]*$$,,'; \
219   while test -n "$$dir1"; do \
220     first=`echo "$$dir1" | sed -e "$$sed_first"`; \
221     if test "$$first" != "."; then \
222       if test "$$first" = ".."; then \
223         dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
224         dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
225       else \
226         first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
227         if test "$$first2" = "$$first"; then \
228           dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
229         else \
230           dir2="../$$dir2"; \
231         fi; \
232         dir0="$$dir0"/"$$first"; \
233       fi; \
234     fi; \
235     dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
236   done; \
237   reldir="$$dir2"
238 GZIP_ENV = --best
239 DIST_ARCHIVES = $(distdir).tar.bz2
240 DIST_TARGETS = dist-bzip2
241 # Exists only to be overridden by the user if desired.
242 AM_DISTCHECK_DVI_TARGET = dvi
243 distuninstallcheck_listfiles = find . -type f -print
244 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
245   | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
246 distcleancheck_listfiles = find . -type f -print
247 ACLOCAL = @ACLOCAL@
248 AMTAR = @AMTAR@
249 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
250 AR = @AR@
251 AS = @AS@
252 AUTOCONF = @AUTOCONF@
253 AUTOHEADER = @AUTOHEADER@
254 AUTOMAKE = @AUTOMAKE@
255 AWK = @AWK@
256 BUILD_FILEVERSION = @BUILD_FILEVERSION@
257 BUILD_REVISION = @BUILD_REVISION@
258 BUILD_TIMESTAMP = @BUILD_TIMESTAMP@
259 BUILD_VERSION = @BUILD_VERSION@
260 CC = @CC@
261 CCDEPMODE = @CCDEPMODE@
262 CC_FOR_BUILD = @CC_FOR_BUILD@
263 CFLAGS = @CFLAGS@
264 CPP = @CPP@
265 CPPFLAGS = @CPPFLAGS@
266 CSCOPE = @CSCOPE@
267 CTAGS = @CTAGS@
268 CXX = @CXX@
269 CXXCPP = @CXXCPP@
270 CXXDEPMODE = @CXXDEPMODE@
271 CXXFLAGS = @CXXFLAGS@
272 CYGPATH_W = @CYGPATH_W@
273 DEFS = @DEFS@
274 DEPDIR = @DEPDIR@
275 DLLTOOL = @DLLTOOL@
276 DOXYGEN = @DOXYGEN@
277 DSYMUTIL = @DSYMUTIL@
278 DUMPBIN = @DUMPBIN@
279 ECHO_C = @ECHO_C@
280 ECHO_N = @ECHO_N@
281 ECHO_T = @ECHO_T@
282 EGREP = @EGREP@
283 ENABLED_LANGUAGES = @ENABLED_LANGUAGES@
284 ETAGS = @ETAGS@
285 EXEEXT = @EXEEXT@
286 FGREP = @FGREP@
287 GITLOG_TO_CHANGELOG = @GITLOG_TO_CHANGELOG@
288 GLIBC21 = @GLIBC21@
289 GLIB_CFLAGS = @GLIB_CFLAGS@
290 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
291 GLIB_LIBS = @GLIB_LIBS@
292 GLIB_MKENUMS = @GLIB_MKENUMS@
293 GOBJECT_QUERY = @GOBJECT_QUERY@
294 GPGME_CONFIG_API_VERSION = @GPGME_CONFIG_API_VERSION@
295 GPGME_CONFIG_AVAIL_LANG = @GPGME_CONFIG_AVAIL_LANG@
296 GPGME_CONFIG_CFLAGS = @GPGME_CONFIG_CFLAGS@
297 GPGME_CONFIG_HOST = @GPGME_CONFIG_HOST@
298 GPGME_CONFIG_LIBS = @GPGME_CONFIG_LIBS@
299 GPGME_CPP_CFLAGS = @GPGME_CPP_CFLAGS@
300 GPGME_QT5TEST_CFLAGS = @GPGME_QT5TEST_CFLAGS@
301 GPGME_QT5TEST_LIBS = @GPGME_QT5TEST_LIBS@
302 GPGME_QT5_CFLAGS = @GPGME_QT5_CFLAGS@
303 GPGME_QT5_LIBS = @GPGME_QT5_LIBS@
304 GPGME_QT6TEST_CFLAGS = @GPGME_QT6TEST_CFLAGS@
305 GPGME_QT6TEST_LIBS = @GPGME_QT6TEST_LIBS@
306 GPGME_QT6_CFLAGS = @GPGME_QT6_CFLAGS@
307 GPGME_QT6_LIBS = @GPGME_QT6_LIBS@
308 GPGRT_CONFIG = @GPGRT_CONFIG@
309 GPG_ERROR_CFLAGS = @GPG_ERROR_CFLAGS@
310 GPG_ERROR_CONFIG = @GPG_ERROR_CONFIG@
311 GPG_ERROR_LIBS = @GPG_ERROR_LIBS@
312 GPG_ERROR_MT_CFLAGS = @GPG_ERROR_MT_CFLAGS@
313 GPG_ERROR_MT_LIBS = @GPG_ERROR_MT_LIBS@
314 GRAPHVIZ = @GRAPHVIZ@
315 GREP = @GREP@
316 HAVE_CXX11 = @HAVE_CXX11@
317 HAVE_CXX17 = @HAVE_CXX17@
318 HAVE_DOT = @HAVE_DOT@
319 INSTALL = @INSTALL@
320 INSTALL_DATA = @INSTALL_DATA@
321 INSTALL_PROGRAM = @INSTALL_PROGRAM@
322 INSTALL_SCRIPT = @INSTALL_SCRIPT@
323 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
324 LD = @LD@
325 LDADD_FOR_TESTS_KLUDGE = @LDADD_FOR_TESTS_KLUDGE@
326 LDFLAGS = @LDFLAGS@
327 LIBASSUAN_CFLAGS = @LIBASSUAN_CFLAGS@
328 LIBASSUAN_CONFIG = @LIBASSUAN_CONFIG@
329 LIBASSUAN_LIBS = @LIBASSUAN_LIBS@
330 LIBGPGMEPP_LT_AGE = @LIBGPGMEPP_LT_AGE@
331 LIBGPGMEPP_LT_CURRENT = @LIBGPGMEPP_LT_CURRENT@
332 LIBGPGMEPP_LT_REVISION = @LIBGPGMEPP_LT_REVISION@
333 LIBGPGME_LT_AGE = @LIBGPGME_LT_AGE@
334 LIBGPGME_LT_CURRENT = @LIBGPGME_LT_CURRENT@
335 LIBGPGME_LT_REVISION = @LIBGPGME_LT_REVISION@
336 LIBOBJS = @LIBOBJS@
337 LIBQGPGME_LT_AGE = @LIBQGPGME_LT_AGE@
338 LIBQGPGME_LT_CURRENT = @LIBQGPGME_LT_CURRENT@
339 LIBQGPGME_LT_REVISION = @LIBQGPGME_LT_REVISION@
340 LIBS = @LIBS@
341 LIBTOOL = @LIBTOOL@
342 LIPO = @LIPO@
343 LN_S = @LN_S@
344 LTLIBOBJS = @LTLIBOBJS@
345 MAINT = @MAINT@
346 MAKEINFO = @MAKEINFO@
347 MANIFEST_TOOL = @MANIFEST_TOOL@
348 MKDIR_P = @MKDIR_P@
349 MOC = @MOC@
350 MOC2 = @MOC2@
351 NEED__FILE_OFFSET_BITS = @NEED__FILE_OFFSET_BITS@
352 NM = @NM@
353 NMEDIT = @NMEDIT@
354 OBJDUMP = @OBJDUMP@
355 OBJEXT = @OBJEXT@
356 OTOOL = @OTOOL@
357 OTOOL64 = @OTOOL64@
358 PACKAGE = @PACKAGE@
359 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
360 PACKAGE_NAME = @PACKAGE_NAME@
361 PACKAGE_STRING = @PACKAGE_STRING@
362 PACKAGE_TARNAME = @PACKAGE_TARNAME@
363 PACKAGE_URL = @PACKAGE_URL@
364 PACKAGE_VERSION = @PACKAGE_VERSION@
365 PATH_SEPARATOR = @PATH_SEPARATOR@
366 PKG_CONFIG = @PKG_CONFIG@
367 PYTHON = @PYTHON@
368 PYTHONS = @PYTHONS@
369 PYTHON_CPPFLAGS = @PYTHON_CPPFLAGS@
370 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
371 PYTHON_EXTRA_LDFLAGS = @PYTHON_EXTRA_LDFLAGS@
372 PYTHON_EXTRA_LIBS = @PYTHON_EXTRA_LIBS@
373 PYTHON_LDFLAGS = @PYTHON_LDFLAGS@
374 PYTHON_PLATFORM = @PYTHON_PLATFORM@
375 PYTHON_PREFIX = @PYTHON_PREFIX@
376 PYTHON_SITE_PKG = @PYTHON_SITE_PKG@
377 PYTHON_VERSION = @PYTHON_VERSION@
378 QTCHOOSER = @QTCHOOSER@
379 RANLIB = @RANLIB@
380 RC = @RC@
381 SED = @SED@
382 SET_MAKE = @SET_MAKE@
383 SHELL = @SHELL@
384 STRIP = @STRIP@
385 SWIG = @SWIG@
386 SWIG_LIB = @SWIG_LIB@
387 SYSROOT = @SYSROOT@
388 VERSION = @VERSION@
389 VERSION_MAJOR = @VERSION_MAJOR@
390 VERSION_MICRO = @VERSION_MICRO@
391 VERSION_MINOR = @VERSION_MINOR@
392 VERSION_NUMBER = @VERSION_NUMBER@
393 abs_builddir = @abs_builddir@
394 abs_srcdir = @abs_srcdir@
395 abs_top_builddir = @abs_top_builddir@
396 abs_top_srcdir = @abs_top_srcdir@
397 ac_ct_AR = @ac_ct_AR@
398 ac_ct_CC = @ac_ct_CC@
399 ac_ct_CXX = @ac_ct_CXX@
400 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
401 am__include = @am__include@
402 am__leading_dot = @am__leading_dot@
403 am__quote = @am__quote@
404 am__tar = @am__tar@
405 am__untar = @am__untar@
406 bindir = @bindir@
407 build = @build@
408 build_alias = @build_alias@
409 build_cpu = @build_cpu@
410 build_os = @build_os@
411 build_vendor = @build_vendor@
412 builddir = @builddir@
413 datadir = @datadir@
414 datarootdir = @datarootdir@
415 docdir = @docdir@
416 dvidir = @dvidir@
417 emacs_local_vars_begin = @emacs_local_vars_begin@
418 emacs_local_vars_end = @emacs_local_vars_end@
419 emacs_local_vars_read_only = @emacs_local_vars_read_only@
420 exec_prefix = @exec_prefix@
421 host = @host@
422 host_alias = @host_alias@
423 host_cpu = @host_cpu@
424 host_os = @host_os@
425 host_vendor = @host_vendor@
426 htmldir = @htmldir@
427 includedir = @includedir@
428 infodir = @infodir@
429 install_sh = @install_sh@
430 libdir = @libdir@
431 libexecdir = @libexecdir@
432 localedir = @localedir@
433 localstatedir = @localstatedir@
434 mandir = @mandir@
435 mkdir_p = @mkdir_p@
436 oldincludedir = @oldincludedir@
437 pdfdir = @pdfdir@
438 pkgpyexecdir = @pkgpyexecdir@
439 pkgpythondir = @pkgpythondir@
440 prefix = @prefix@
441 program_transform_name = @program_transform_name@
442 psdir = @psdir@
443 pyexecdir = @pyexecdir@
444 pythondir = @pythondir@
445 runstatedir = @runstatedir@
446 sbindir = @sbindir@
447 sharedstatedir = @sharedstatedir@
448 srcdir = @srcdir@
449 sysconfdir = @sysconfdir@
450 target_alias = @target_alias@
451 top_build_prefix = @top_build_prefix@
452 top_builddir = @top_builddir@
453 top_srcdir = @top_srcdir@
454
455 # Location of the released tarball archives.  This is prefixed by
456 # the variable RELEASE_ARCHIVE in ~/.gnupg-autogen.rc.  For example:
457 # RELEASE_ARCHIVE=user@host:archive/tarballs
458 RELEASE_ARCHIVE_SUFFIX = gpgme
459 # The variable RELEASE_SIGNKEY in ~/.gnupg-autogen.rc is used
460 # to specify the key for signing.  For example:
461 # RELEASE_SIGNKEY=D8692123C4065DEA5E0F3AB5249B39D24F25E3B6
462
463 # Autoconf flags
464 ACLOCAL_AMFLAGS = -I m4
465 DISTCHECK_CONFIGURE_FLAGS = 
466 EXTRA_DIST = autogen.sh autogen.rc gpgme.spec.in  \
467              ChangeLog-2011 m4/ChangeLog-2011     \
468              build-aux/libtool-patch.sed          \
469              conf/whatisthis VERSION LICENSES
470
471
472 # This artificial line is to put a dependency to conf/config.h for 'all'
473 BUILT_SOURCES = conf/config.h
474 @RUN_GPG_TESTS_FALSE@tests = 
475 @RUN_GPG_TESTS_TRUE@tests = tests
476 SUBDIRS = src ${tests} doc lang
477 gen_start_date = 2011-12-01T00:00:00
478
479 # Macro to help the release target.
480 RELEASE_NAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
481 all: $(BUILT_SOURCES)
482         $(MAKE) $(AM_MAKEFLAGS) all-recursive
483
484 .SUFFIXES:
485 am--refresh: Makefile
486         @:
487 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
488         @for dep in $?; do \
489           case '$(am__configure_deps)' in \
490             *$$dep*) \
491               echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
492               $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
493                 && exit 0; \
494               exit 1;; \
495           esac; \
496         done; \
497         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
498         $(am__cd) $(top_srcdir) && \
499           $(AUTOMAKE) --gnu Makefile
500 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
501         @case '$?' in \
502           *config.status*) \
503             echo ' $(SHELL) ./config.status'; \
504             $(SHELL) ./config.status;; \
505           *) \
506             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
507             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
508         esac;
509
510 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
511         $(SHELL) ./config.status --recheck
512
513 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
514         $(am__cd) $(srcdir) && $(AUTOCONF)
515 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
516         $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
517 $(am__aclocal_m4_deps):
518
519 conf/config.h: conf/stamp-h1
520         @test -f $@ || rm -f conf/stamp-h1
521         @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) conf/stamp-h1
522
523 conf/stamp-h1: $(top_srcdir)/conf/config.h.in $(top_builddir)/config.status
524         @rm -f conf/stamp-h1
525         cd $(top_builddir) && $(SHELL) ./config.status conf/config.h
526 $(top_srcdir)/conf/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
527         ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
528         rm -f conf/stamp-h1
529         touch $@
530
531 distclean-hdr:
532         -rm -f conf/config.h conf/stamp-h1
533
534 mostlyclean-libtool:
535         -rm -f *.lo
536
537 clean-libtool:
538         -rm -rf .libs _libs
539
540 distclean-libtool:
541         -rm -f libtool config.lt
542
543 # This directory's subdirectories are mostly independent; you can cd
544 # into them and run 'make' without going through this Makefile.
545 # To change the values of 'make' variables: instead of editing Makefiles,
546 # (1) if the variable is set in 'config.status', edit 'config.status'
547 #     (which will cause the Makefiles to be regenerated when you run 'make');
548 # (2) otherwise, pass the desired values on the 'make' command line.
549 $(am__recursive_targets):
550         @fail=; \
551         if $(am__make_keepgoing); then \
552           failcom='fail=yes'; \
553         else \
554           failcom='exit 1'; \
555         fi; \
556         dot_seen=no; \
557         target=`echo $@ | sed s/-recursive//`; \
558         case "$@" in \
559           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
560           *) list='$(SUBDIRS)' ;; \
561         esac; \
562         for subdir in $$list; do \
563           echo "Making $$target in $$subdir"; \
564           if test "$$subdir" = "."; then \
565             dot_seen=yes; \
566             local_target="$$target-am"; \
567           else \
568             local_target="$$target"; \
569           fi; \
570           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
571           || eval $$failcom; \
572         done; \
573         if test "$$dot_seen" = "no"; then \
574           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
575         fi; test -z "$$fail"
576
577 ID: $(am__tagged_files)
578         $(am__define_uniq_tagged_files); mkid -fID $$unique
579 tags: tags-recursive
580 TAGS: tags
581
582 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
583         set x; \
584         here=`pwd`; \
585         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
586           include_option=--etags-include; \
587           empty_fix=.; \
588         else \
589           include_option=--include; \
590           empty_fix=; \
591         fi; \
592         list='$(SUBDIRS)'; for subdir in $$list; do \
593           if test "$$subdir" = .; then :; else \
594             test ! -f $$subdir/TAGS || \
595               set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
596           fi; \
597         done; \
598         $(am__define_uniq_tagged_files); \
599         shift; \
600         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
601           test -n "$$unique" || unique=$$empty_fix; \
602           if test $$# -gt 0; then \
603             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
604               "$$@" $$unique; \
605           else \
606             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
607               $$unique; \
608           fi; \
609         fi
610 ctags: ctags-recursive
611
612 CTAGS: ctags
613 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
614         $(am__define_uniq_tagged_files); \
615         test -z "$(CTAGS_ARGS)$$unique" \
616           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
617              $$unique
618
619 GTAGS:
620         here=`$(am__cd) $(top_builddir) && pwd` \
621           && $(am__cd) $(top_srcdir) \
622           && gtags -i $(GTAGS_ARGS) "$$here"
623 cscope: cscope.files
624         test ! -s cscope.files \
625           || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
626 clean-cscope:
627         -rm -f cscope.files
628 cscope.files: clean-cscope cscopelist
629 cscopelist: cscopelist-recursive
630
631 cscopelist-am: $(am__tagged_files)
632         list='$(am__tagged_files)'; \
633         case "$(srcdir)" in \
634           [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
635           *) sdir=$(subdir)/$(srcdir) ;; \
636         esac; \
637         for i in $$list; do \
638           if test -f "$$i"; then \
639             echo "$(subdir)/$$i"; \
640           else \
641             echo "$$sdir/$$i"; \
642           fi; \
643         done >> $(top_builddir)/cscope.files
644
645 distclean-tags:
646         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
647         -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
648 distdir: $(BUILT_SOURCES)
649         $(MAKE) $(AM_MAKEFLAGS) distdir-am
650
651 distdir-am: $(DISTFILES)
652         $(am__remove_distdir)
653         test -d "$(distdir)" || mkdir "$(distdir)"
654         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
655         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
656         list='$(DISTFILES)'; \
657           dist_files=`for file in $$list; do echo $$file; done | \
658           sed -e "s|^$$srcdirstrip/||;t" \
659               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
660         case $$dist_files in \
661           */*) $(MKDIR_P) `echo "$$dist_files" | \
662                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
663                            sort -u` ;; \
664         esac; \
665         for file in $$dist_files; do \
666           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
667           if test -d $$d/$$file; then \
668             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
669             if test -d "$(distdir)/$$file"; then \
670               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
671             fi; \
672             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
673               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
674               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
675             fi; \
676             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
677           else \
678             test -f "$(distdir)/$$file" \
679             || cp -p $$d/$$file "$(distdir)/$$file" \
680             || exit 1; \
681           fi; \
682         done
683         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
684           if test "$$subdir" = .; then :; else \
685             $(am__make_dryrun) \
686               || test -d "$(distdir)/$$subdir" \
687               || $(MKDIR_P) "$(distdir)/$$subdir" \
688               || exit 1; \
689             dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
690             $(am__relativize); \
691             new_distdir=$$reldir; \
692             dir1=$$subdir; dir2="$(top_distdir)"; \
693             $(am__relativize); \
694             new_top_distdir=$$reldir; \
695             echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
696             echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
697             ($(am__cd) $$subdir && \
698               $(MAKE) $(AM_MAKEFLAGS) \
699                 top_distdir="$$new_top_distdir" \
700                 distdir="$$new_distdir" \
701                 am__remove_distdir=: \
702                 am__skip_length_check=: \
703                 am__skip_mode_fix=: \
704                 distdir) \
705               || exit 1; \
706           fi; \
707         done
708         $(MAKE) $(AM_MAKEFLAGS) \
709           top_distdir="$(top_distdir)" distdir="$(distdir)" \
710           dist-hook
711         -test -n "$(am__skip_mode_fix)" \
712         || find "$(distdir)" -type d ! -perm -755 \
713                 -exec chmod u+rwx,go+rx {} \; -o \
714           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
715           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
716           ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
717         || chmod -R a+r "$(distdir)"
718 dist-gzip: distdir
719         tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
720         $(am__post_remove_distdir)
721 dist-bzip2: distdir
722         tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
723         $(am__post_remove_distdir)
724
725 dist-lzip: distdir
726         tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
727         $(am__post_remove_distdir)
728
729 dist-xz: distdir
730         tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
731         $(am__post_remove_distdir)
732
733 dist-zstd: distdir
734         tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
735         $(am__post_remove_distdir)
736
737 dist-tarZ: distdir
738         @echo WARNING: "Support for distribution archives compressed with" \
739                        "legacy program 'compress' is deprecated." >&2
740         @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
741         tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
742         $(am__post_remove_distdir)
743
744 dist-shar: distdir
745         @echo WARNING: "Support for shar distribution archives is" \
746                        "deprecated." >&2
747         @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
748         shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
749         $(am__post_remove_distdir)
750
751 dist-zip: distdir
752         -rm -f $(distdir).zip
753         zip -rq $(distdir).zip $(distdir)
754         $(am__post_remove_distdir)
755
756 dist dist-all:
757         $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
758         $(am__post_remove_distdir)
759
760 # This target untars the dist file and tries a VPATH configuration.  Then
761 # it guarantees that the distribution is self-contained by making another
762 # tarfile.
763 distcheck: dist
764         case '$(DIST_ARCHIVES)' in \
765         *.tar.gz*) \
766           eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
767         *.tar.bz2*) \
768           bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
769         *.tar.lz*) \
770           lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
771         *.tar.xz*) \
772           xz -dc $(distdir).tar.xz | $(am__untar) ;;\
773         *.tar.Z*) \
774           uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
775         *.shar.gz*) \
776           eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
777         *.zip*) \
778           unzip $(distdir).zip ;;\
779         *.tar.zst*) \
780           zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
781         esac
782         chmod -R a-w $(distdir)
783         chmod u+w $(distdir)
784         mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
785         chmod a-w $(distdir)
786         test -d $(distdir)/_build || exit 0; \
787         dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
788           && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
789           && $(MAKE) $(AM_MAKEFLAGS) distcheck-hook \
790           && am__cwd=`pwd` \
791           && $(am__cd) $(distdir)/_build/sub \
792           && ../../configure \
793             $(AM_DISTCHECK_CONFIGURE_FLAGS) \
794             $(DISTCHECK_CONFIGURE_FLAGS) \
795             --srcdir=../.. --prefix="$$dc_install_base" \
796           && $(MAKE) $(AM_MAKEFLAGS) \
797           && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
798           && $(MAKE) $(AM_MAKEFLAGS) check \
799           && $(MAKE) $(AM_MAKEFLAGS) install \
800           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
801           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
802           && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
803                 distuninstallcheck \
804           && chmod -R a-w "$$dc_install_base" \
805           && ({ \
806                (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
807                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
808                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
809                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
810                     distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
811               } || { rm -rf "$$dc_destdir"; exit 1; }) \
812           && rm -rf "$$dc_destdir" \
813           && $(MAKE) $(AM_MAKEFLAGS) dist \
814           && rm -rf $(DIST_ARCHIVES) \
815           && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
816           && cd "$$am__cwd" \
817           || exit 1
818         $(am__post_remove_distdir)
819         @(echo "$(distdir) archives ready for distribution: "; \
820           list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
821           sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
822 distuninstallcheck:
823         @test -n '$(distuninstallcheck_dir)' || { \
824           echo 'ERROR: trying to run $@ with an empty' \
825                '$$(distuninstallcheck_dir)' >&2; \
826           exit 1; \
827         }; \
828         $(am__cd) '$(distuninstallcheck_dir)' || { \
829           echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
830           exit 1; \
831         }; \
832         test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
833            || { echo "ERROR: files left after uninstall:" ; \
834                 if test -n "$(DESTDIR)"; then \
835                   echo "  (check DESTDIR support)"; \
836                 fi ; \
837                 $(distuninstallcheck_listfiles) ; \
838                 exit 1; } >&2
839 distcleancheck: distclean
840         @if test '$(srcdir)' = . ; then \
841           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
842           exit 1 ; \
843         fi
844         @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
845           || { echo "ERROR: files left in build directory after distclean:" ; \
846                $(distcleancheck_listfiles) ; \
847                exit 1; } >&2
848 check-am: all-am
849 check: $(BUILT_SOURCES)
850         $(MAKE) $(AM_MAKEFLAGS) check-recursive
851 all-am: Makefile
852 installdirs: installdirs-recursive
853 installdirs-am:
854 install: $(BUILT_SOURCES)
855         $(MAKE) $(AM_MAKEFLAGS) install-recursive
856 install-exec: $(BUILT_SOURCES)
857         $(MAKE) $(AM_MAKEFLAGS) install-exec-recursive
858 install-data: install-data-recursive
859 uninstall: uninstall-recursive
860
861 install-am: all-am
862         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
863
864 installcheck: installcheck-recursive
865 install-strip:
866         if test -z '$(STRIP)'; then \
867           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
868             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
869               install; \
870         else \
871           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
872             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
873             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
874         fi
875 mostlyclean-generic:
876
877 clean-generic:
878
879 distclean-generic:
880         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
881         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
882
883 maintainer-clean-generic:
884         @echo "This command is intended for maintainers to use"
885         @echo "it deletes files that may require special tools to rebuild."
886         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
887 clean: clean-recursive
888
889 clean-am: clean-generic clean-libtool mostlyclean-am
890
891 distclean: distclean-recursive
892         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
893         -rm -f Makefile
894 distclean-am: clean-am distclean-generic distclean-hdr \
895         distclean-libtool distclean-tags
896
897 dvi: dvi-recursive
898
899 dvi-am:
900
901 html: html-recursive
902
903 html-am:
904
905 info: info-recursive
906
907 info-am:
908
909 install-data-am:
910
911 install-dvi: install-dvi-recursive
912
913 install-dvi-am:
914
915 install-exec-am:
916
917 install-html: install-html-recursive
918
919 install-html-am:
920
921 install-info: install-info-recursive
922
923 install-info-am:
924
925 install-man:
926
927 install-pdf: install-pdf-recursive
928
929 install-pdf-am:
930
931 install-ps: install-ps-recursive
932
933 install-ps-am:
934
935 installcheck-am:
936
937 maintainer-clean: maintainer-clean-recursive
938         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
939         -rm -rf $(top_srcdir)/autom4te.cache
940         -rm -f Makefile
941 maintainer-clean-am: distclean-am maintainer-clean-generic
942
943 mostlyclean: mostlyclean-recursive
944
945 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
946
947 pdf: pdf-recursive
948
949 pdf-am:
950
951 ps: ps-recursive
952
953 ps-am:
954
955 uninstall-am:
956
957 .MAKE: $(am__recursive_targets) all check install install-am \
958         install-exec install-strip
959
960 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
961         am--refresh check check-am clean clean-cscope clean-generic \
962         clean-libtool cscope cscopelist-am ctags ctags-am dist \
963         dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
964         dist-tarZ dist-xz dist-zip dist-zstd distcheck distclean \
965         distclean-generic distclean-hdr distclean-libtool \
966         distclean-tags distcleancheck distdir distuninstallcheck dvi \
967         dvi-am html html-am info info-am install install-am \
968         install-data install-data-am install-dvi install-dvi-am \
969         install-exec install-exec-am install-html install-html-am \
970         install-info install-info-am install-man install-pdf \
971         install-pdf-am install-ps install-ps-am install-strip \
972         installcheck installcheck-am installdirs installdirs-am \
973         maintainer-clean maintainer-clean-generic mostlyclean \
974         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
975         tags tags-am uninstall uninstall-am
976
977 .PRECIOUS: Makefile
978
979
980 # Fix the version of the spec file.
981 dist-hook: gen-ChangeLog
982         @set -e; \
983         sed -e 's/@pkg_version@/$(PACKAGE_VERSION)/g' \
984             $(top_srcdir)/gpgme.spec.in  > $(distdir)/gpgme.spec
985
986 distcheck-hook:
987         set -e; ( \
988         pref="#+macro: gpgme_" ;\
989         reldate="$$(date -u +%Y-%m-%d)" ;\
990         echo "$${pref}ver  $(PACKAGE_VERSION)"  ;\
991         echo "$${pref}date $${reldate}" ;\
992         list='$(DIST_ARCHIVES)'; for i in $$list; do \
993           case "$$i" in *.tar.bz2) \
994             echo "$${pref}size $$(wc -c <$$i|awk '{print int($$1/1024)}')k" ;\
995             echo "$${pref}sha1 $$(sha1sum <$$i|cut -d' ' -f1)" ;\
996             echo "$${pref}sha2 $$(sha256sum <$$i|cut -d' ' -f1)" ;;\
997           esac;\
998         done ) | tee $(distdir).swdb
999
1000 .PHONY: gen-ChangeLog release sign-release
1001 gen-ChangeLog:
1002         if test -d $(top_srcdir)/.git; then                             \
1003           (cd $(top_srcdir) &&                                          \
1004             $(GITLOG_TO_CHANGELOG) --append-dot --tear-off              \
1005             --amend=build-aux/git-log-fix                               \
1006             --since=$(gen_start_date) ) > $(distdir)/cl-t;              \
1007           cat $(top_srcdir)/build-aux/git-log-footer >> $(distdir)/cl-t;\
1008           rm -f $(distdir)/ChangeLog;                                   \
1009           mv $(distdir)/cl-t $(distdir)/ChangeLog;                      \
1010         fi
1011
1012 release:
1013         +(set -e;\
1014          if [ "$(abs_top_builddir)" = "$(abs_top_srcdir)" ]; then \
1015            echo "error: build directory must not be the source directory" >&2;\
1016            exit 2;\
1017          fi ;\
1018          echo "/* Build started at $$(date -uIseconds) */" ;\
1019          cd $(top_srcdir); \
1020          ./autogen.sh --force; \
1021          cd $(abs_top_builddir); \
1022          rm -rf dist; mkdir dist ; cd dist ; \
1023          $(abs_top_srcdir)/configure --enable-maintainer-mode; \
1024          $(MAKE) distcheck; \
1025          echo "/* Build finished at $$(date -uIseconds) */" ;\
1026          echo "/*" ;\
1027          echo " * Please run the final step interactively:" ;\
1028          echo " *   make sign-release" ;\
1029          echo " */" ;\
1030         ) 2>&1 | tee "$(RELEASE_NAME).buildlog"
1031
1032 sign-release:
1033          +(set -e; \
1034           test $$(pwd | sed 's,.*/,,') = dist || cd dist; \
1035           x=$$(grep '^RELEASE_ARCHIVE=' $$HOME/.gnupg-autogen.rc|cut -d= -f2);\
1036           if [ -z "$$x" ]; then \
1037              echo "error: RELEASE_ARCHIVE missing in ~/.gnupg-autogen.rc">&2; \
1038              exit 2;\
1039           fi;\
1040           myarchive="$$x/$(RELEASE_ARCHIVE_SUFFIX)";\
1041           x=$$(grep '^RELEASE_SIGNKEY=' $$HOME/.gnupg-autogen.rc|cut -d= -f2);\
1042           if [ -z "$$x" ]; then \
1043              echo "error: RELEASE_SIGNKEY missing in ~/.gnupg-autogen.rc">&2; \
1044              exit 2;\
1045           fi;\
1046           mysignkey="$$x";\
1047           files1="$(RELEASE_NAME).tar.bz2" ;\
1048           files2="$(RELEASE_NAME).tar.bz2.sig \
1049                   $(RELEASE_NAME).swdb \
1050                   $(RELEASE_NAME).buildlog" ;\
1051           echo "/* Signing the source tarball ..." ;\
1052           gpg -sbu $$mysignkey $(RELEASE_NAME).tar.bz2 ;\
1053           cat $(RELEASE_NAME).swdb >swdb.snippet;\
1054           echo >>swdb.snippet ;\
1055           sha1sum $${files1} >>swdb.snippet ;\
1056           cat "../$(RELEASE_NAME).buildlog" swdb.snippet \
1057                | gzip >$(RELEASE_NAME).buildlog ;\
1058           echo "Copying to local archive ..." ;\
1059           scp -p $${files1} $${files2} $$myarchive/ || true;\
1060           echo "Uploading documentation ..." ;\
1061           $(MAKE) -C doc online; \
1062           echo '/*' ;\
1063           echo ' * All done; for checksums see dist/swdb.snippet' ;\
1064           echo ' */' ;\
1065          )
1066
1067 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1068 # Otherwise a system limit (for SysV at least) may be exceeded.
1069 .NOEXPORT: