875a1bf2e1
…by a simple/static $(gb_UnpackedTarball_workdir)/foo
see also 0c4c84a14b
Change-Id: I8e6aa55c85534c4446556548910c950ddbe7c6fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167163
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
92 lines
3.5 KiB
Makefile
92 lines
3.5 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$(gb_UnpackedTarball_workdir)/gpgmepp/lang/cpp/src \
|
|
-I$(gb_UnpackedTarball_workdir)/gpgmepp/lang/cpp/src/interfaces \
|
|
-I$(gb_UnpackedTarball_workdir)/gpgmepp \
|
|
-I$(gb_UnpackedTarball_workdir)/gpgmepp/src \
|
|
-I$(gb_UnpackedTarball_workdir)/gpgmepp/conf \
|
|
-I$(gb_UnpackedTarball_workdir)/libgpg-error/src \
|
|
$$(INCLUDE) \
|
|
))
|
|
|
|
$(eval $(call gb_Library_add_libs,gpgmepp,\
|
|
ws2_32.lib shell32.lib \
|
|
-LIBPATH:$(gb_UnpackedTarball_workdir)/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/statusconsumerassuantransaction \
|
|
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:
|