tdf#158789: sc_mathematical_functions: Add unittest
[LibreOffice.git] / external / gpgmepp / Library_gpgmepp.mk
blobe9a677c2d0eb6dcbc02beb99b213d0af8c5f4f4e
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Library_Library,gpgmepp))
12 $(eval $(call gb_Library_use_unpacked,gpgmepp,gpgmepp))
14 $(eval $(call gb_Library_use_externals,gpgmepp,\
15 libgpg-error \
16 libassuan \
19 $(eval $(call gb_LinkTarget_use_external_project,\
20 $(call gb_Library_get_linktarget,gpgmepp),gpgmepp,full))
22 $(eval $(call gb_Library_set_warnings_disabled,gpgmepp))
24 $(eval $(call gb_Library_set_include,gpgmepp,\
25 -I$(gb_UnpackedTarball_workdir)/gpgmepp/lang/cpp/src \
26 -I$(gb_UnpackedTarball_workdir)/gpgmepp/lang/cpp/src/interfaces \
27 -I$(gb_UnpackedTarball_workdir)/gpgmepp \
28 -I$(gb_UnpackedTarball_workdir)/gpgmepp/src \
29 -I$(gb_UnpackedTarball_workdir)/gpgmepp/conf \
30 -I$(gb_UnpackedTarball_workdir)/libgpg-error/src \
31 $$(INCLUDE) \
34 $(eval $(call gb_Library_add_libs,gpgmepp,\
35 ws2_32.lib shell32.lib \
36 -LIBPATH:$(gb_UnpackedTarball_workdir)/gpgmepp/src/.libs libgpgme.lib \
39 $(eval $(call gb_Library_add_defs,gpgmepp,\
40 -DHAVE_CONFIG_H \
41 -DBUILDING_GPGMEPP \
42 -DDLL_EXPORT \
43 -DPIC \
46 $(eval $(call gb_Library_set_generated_cxx_suffix,gpgmepp,cpp))
48 $(eval $(call gb_Library_add_generated_exception_objects,gpgmepp,\
49 UnpackedTarball/gpgmepp/lang/cpp/src/callbacks \
50 UnpackedTarball/gpgmepp/lang/cpp/src/configuration \
51 UnpackedTarball/gpgmepp/lang/cpp/src/context \
52 UnpackedTarball/gpgmepp/lang/cpp/src/context_vanilla \
53 UnpackedTarball/gpgmepp/lang/cpp/src/data \
54 UnpackedTarball/gpgmepp/lang/cpp/src/decryptionresult \
55 UnpackedTarball/gpgmepp/lang/cpp/src/defaultassuantransaction \
56 UnpackedTarball/gpgmepp/lang/cpp/src/editinteractor \
57 UnpackedTarball/gpgmepp/lang/cpp/src/encryptionresult \
58 UnpackedTarball/gpgmepp/lang/cpp/src/engineinfo \
59 UnpackedTarball/gpgmepp/lang/cpp/src/eventloopinteractor \
60 UnpackedTarball/gpgmepp/lang/cpp/src/exception \
61 UnpackedTarball/gpgmepp/lang/cpp/src/gpgaddexistingsubkeyeditinteractor \
62 UnpackedTarball/gpgmepp/lang/cpp/src/gpgadduserideditinteractor \
63 UnpackedTarball/gpgmepp/lang/cpp/src/gpgagentgetinfoassuantransaction \
64 UnpackedTarball/gpgmepp/lang/cpp/src/gpggencardkeyinteractor \
65 UnpackedTarball/gpgmepp/lang/cpp/src/gpgrevokekeyeditinteractor \
66 UnpackedTarball/gpgmepp/lang/cpp/src/gpgsetexpirytimeeditinteractor \
67 UnpackedTarball/gpgmepp/lang/cpp/src/gpgsetownertrusteditinteractor \
68 UnpackedTarball/gpgmepp/lang/cpp/src/gpgsignkeyeditinteractor \
69 UnpackedTarball/gpgmepp/lang/cpp/src/importresult \
70 UnpackedTarball/gpgmepp/lang/cpp/src/key \
71 UnpackedTarball/gpgmepp/lang/cpp/src/keygenerationresult \
72 UnpackedTarball/gpgmepp/lang/cpp/src/keylistresult \
73 UnpackedTarball/gpgmepp/lang/cpp/src/scdgetinfoassuantransaction \
74 UnpackedTarball/gpgmepp/lang/cpp/src/signingresult \
75 UnpackedTarball/gpgmepp/lang/cpp/src/statusconsumerassuantransaction \
76 UnpackedTarball/gpgmepp/lang/cpp/src/swdbresult \
77 UnpackedTarball/gpgmepp/lang/cpp/src/tofuinfo \
78 UnpackedTarball/gpgmepp/lang/cpp/src/trustitem \
79 UnpackedTarball/gpgmepp/lang/cpp/src/util \
80 UnpackedTarball/gpgmepp/lang/cpp/src/verificationresult \
81 UnpackedTarball/gpgmepp/lang/cpp/src/vfsmountresult \
84 ifeq ($(COM),MSC)
85 ifeq ($(COM_IS_CLANG),TRUE)
86 $(eval $(call gb_Library_add_cxxflags,gpgmepp, \
87 -Wno-c++11-narrowing \
89 endif
90 endif
92 # vim: set noet sw=4 ts=4: