diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-10-12 16:50:09 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-10-12 16:50:31 +0200 |
commit | 53bba96ac0c76e2971532d13a09d9fd90b3299c7 (patch) | |
tree | 31e13062b5ab9a3372832bddb432a0ad4d6ace07 /xmlsecurity/Executable_pdfverify.mk | |
parent | d79ac386cd959eacd25a0e0afbc0e995b08eec18 (diff) |
xmlsecurity: add initial Executable_pdfverify
We have code to verify ODF and OOXML signatures, this adds initial
support for verifying a PDF signature.
Initially this is a standalone executable, need to turn this into a unit
test + hook it into sfx2 in follow-up commits.
Change-Id: Ideb5ec63f761c74fd4527cf1766b0aa739e275ee
Diffstat (limited to 'xmlsecurity/Executable_pdfverify.mk')
-rw-r--r-- | xmlsecurity/Executable_pdfverify.mk | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/xmlsecurity/Executable_pdfverify.mk b/xmlsecurity/Executable_pdfverify.mk new file mode 100644 index 000000000000..c62698f1c4f9 --- /dev/null +++ b/xmlsecurity/Executable_pdfverify.mk @@ -0,0 +1,41 @@ +# -*- 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_Executable_Executable,pdfverify)) + +$(eval $(call gb_Executable_use_sdk_api,pdfverify)) + +$(eval $(call gb_Executable_set_include,pdfverify,\ + $$(INCLUDE) \ +)) + +$(eval $(call gb_Executable_use_libraries,pdfverify,\ + comphelper \ + sal \ + tl \ +)) + +$(eval $(call gb_Executable_add_exception_objects,pdfverify,\ + xmlsecurity/source/pdfio/pdfverify \ +)) + +ifeq ($(OS)-$(COM),WNT-MSC) +$(eval $(call gb_Executable_add_defs,pdfverify,\ + -DXMLSEC_CRYPTO_MSCRYPTO \ +)) +else +$(eval $(call gb_Executable_add_defs,pdfverify,\ + -DXMLSEC_CRYPTO_NSS \ +)) +$(eval $(call gb_Executable_use_externals,pdfverify,\ + nss3 \ +)) +endif + +# vim:set noet sw=4 ts=4: |