Home GnuPG

Add files for building the project with autotools

Description

Add files for building the project with autotools

* COPYING, COPYING.LESSER, INSTALL, README.GIT, autogen.sh,
build-aux/compile, build-aux/config.guess, build-aux/config.sub,
build-aux/depcomp, build-aux/install-sh, build-aux/libtool-patch.sed,
build-aux/ltmain.sh, build-aux/missing, build-aux/mkinstalldirs,
m4/ax_cxx_compile_stdcxx.m4, m4/ax_gcc_func_attribute.m4,
m4/gpg-error.m4, m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4,
m4/ltversion.m4, m4/lt~obsolete.m4: New.
* .gitignore, AUTHORS, COPYING.LIB, ChangeLog, NEWS, autogen.rc,
configure.ac: New.
* Makefile.am (EXTRA_DIST): Add autogen.sh, autogen.rc,
build-aux/libtool-patch.sed, doc/DCO, doc/HACKING, VERSION.
(RELEASE_ARCHIVE_SUFFIX, ACLOCAL_AMFLAGS, dist-hook, distcheck-hook,
.PHONY, gen_start_date, gen-ChangeLog, RELEASE_NAME, release,
sign-release): New (copied with minor adjustments from gpgme's top-level
Makefile.am).
* build-aux/git-hooks/commit-msg: New.
* build-aux/git-log-footer: New (copied with some adjustments from
gpgme).
* doc/DCO, doc/HACKING: New (copied with some adjustments from gpgme).
* m4/gpgme.m4: New (copied from gpgme/src/gpgme.m4).
* src/GpgmeppConfig-w32.cmake.in.in, src/GpgmeppConfig.cmake.in.in:
Remove @LIBASSUAN_LIBS@ from the INTERFACE_LINK_LIBRARIES property of
gpgmepp.
* src/Makefile.am (AM_CPPFLAGS): Replace include path of gpgme relative
to top_builddir with @GPGME_CFLAGS@. Replace @GPGME_CPP_CFLAGS@ with
@GPGMEPP_CFLAGS@. Remove unneeded @LIBASSUAN_CFLAGS@.
(libgpgmepp_la_LIBADD): Replace relative paths of libgpgme.la with
@GPGME_LIBS@. Remove unneeded @LIBASSUAN_LIBS@.
* tests/Makefile.am (LDADD): Adjust paths of libgpgmepp.la. Replace
relative paths of libgpgme.la with @GPGME_LIBS@.
(AM_CPPFLAGS): Adjust include paths of source files. Replace relative
include paths of gpgme with @GPGME_CFLAGS@. Remove unneeded
@LIBASSUAN_CFLAGS@. Remove unneeded define of TOP_SRCDIR.

This commit enables building gpgmepp with autotools. See README.GIT.

AUTHORS is based on gpgme's AUTHORS file. License information was
adjusted. Some copyright information was updated (i.e. the years).
Copyright information and author information that doesn't apply to
gpgmepp's sources was removed.

configure.ac is based heavily on gpgme's configure.ac.

Copied files were taken from gpgme rev. 7a42ec5d