1c5c31b006
Remove gpgme.git-4b64774b6d13ffa4f59dddf947a97d61bcfa2f2e.patch.1 as it has applied in 1.18.0. * 0001-cpp-Fix-building-with-C-11.patch.1: fixed error "no matching function for call to object of type "(lambda at importresult.cpp:154:71)"". * w32-include.patch: add missing #include <string> (for std::string). * macos-include.patch: add missing #include <algorithm> (for std::any_of). Change-Id: I45f2ef415d80e6ee848699803e971f154812c9c6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143039 Tested-by: Jenkins Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
91 lines
3.4 KiB
Makefile
91 lines
3.4 KiB
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
#
|
|
# This file is part of the LibreOffice project.
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
#
|
|
|
|
$(eval $(call gb_Library_Library,gpgmepp))
|
|
|
|
$(eval $(call gb_Library_use_unpacked,gpgmepp,gpgmepp))
|
|
|
|
$(eval $(call gb_Library_use_externals,gpgmepp,\
|
|
libgpg-error \
|
|
libassuan \
|
|
))
|
|
|
|
$(eval $(call gb_LinkTarget_use_external_project,\
|
|
$(call gb_Library_get_linktarget,gpgmepp),gpgmepp,full))
|
|
|
|
$(eval $(call gb_Library_set_warnings_disabled,gpgmepp))
|
|
|
|
$(eval $(call gb_Library_set_include,gpgmepp,\
|
|
-I$(call gb_UnpackedTarball_get_dir,gpgmepp)/lang/cpp/src \
|
|
-I$(call gb_UnpackedTarball_get_dir,gpgmepp)/lang/cpp/src/interfaces \
|
|
-I$(call gb_UnpackedTarball_get_dir,gpgmepp) \
|
|
-I$(call gb_UnpackedTarball_get_dir,gpgmepp)/src \
|
|
-I$(call gb_UnpackedTarball_get_dir,gpgmepp)/conf \
|
|
-I$(call gb_UnpackedTarball_get_dir,libgpg-error)/src \
|
|
$$(INCLUDE) \
|
|
))
|
|
|
|
$(eval $(call gb_Library_add_libs,gpgmepp,\
|
|
ws2_32.lib shell32.lib \
|
|
-LIBPATH:$(call gb_UnpackedTarball_get_dir,gpgmepp)/src/.libs libgpgme.lib \
|
|
))
|
|
|
|
$(eval $(call gb_Library_add_defs,gpgmepp,\
|
|
-DHAVE_CONFIG_H \
|
|
-DBUILDING_GPGMEPP \
|
|
-DDLL_EXPORT \
|
|
-DPIC \
|
|
))
|
|
|
|
$(eval $(call gb_Library_set_generated_cxx_suffix,gpgmepp,cpp))
|
|
|
|
$(eval $(call gb_Library_add_generated_exception_objects,gpgmepp,\
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/callbacks \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/configuration \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/context \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/context_vanilla \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/data \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/decryptionresult \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/defaultassuantransaction \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/editinteractor \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/encryptionresult \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/engineinfo \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/eventloopinteractor \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/exception \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/gpgaddexistingsubkeyeditinteractor \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/gpgadduserideditinteractor \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/gpgagentgetinfoassuantransaction \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/gpggencardkeyinteractor \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/gpgrevokekeyeditinteractor \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/gpgsetexpirytimeeditinteractor \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/gpgsetownertrusteditinteractor \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/gpgsignkeyeditinteractor \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/importresult \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/key \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/keygenerationresult \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/keylistresult \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/scdgetinfoassuantransaction \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/signingresult \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/swdbresult \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/tofuinfo \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/trustitem \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/util \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/verificationresult \
|
|
UnpackedTarball/gpgmepp/lang/cpp/src/vfsmountresult \
|
|
))
|
|
|
|
ifeq ($(COM),MSC)
|
|
ifeq ($(COM_IS_CLANG),TRUE)
|
|
$(eval $(call gb_Library_add_cxxflags,gpgmepp, \
|
|
-Wno-c++11-narrowing \
|
|
))
|
|
endif
|
|
endif
|
|
|
|
# vim: set noet sw=4 ts=4:
|