summaryrefslogtreecommitdiff
path: root/xmlsecurity/Executable_pdfverify.mk
blob: 9364e390ea76a4b6447ac16131e72cf298f35e94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# -*- 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_use_externals,pdfverify,\
	pdfium \
))

$(eval $(call gb_Executable_set_include,pdfverify,\
    $$(INCLUDE) \
    -I$(SRCDIR)/xmlsecurity/inc \
))

$(eval $(call gb_Executable_use_libraries,pdfverify,\
    comphelper \
    cppu \
    cppuhelper \
    sal \
    tl \
    vcl \
    xmlsecurity \
))

$(eval $(call gb_Executable_add_exception_objects,pdfverify,\
    xmlsecurity/workben/pdfverify \
))

# Library_xmlsecurity links against Library_xsec_gpg (on certain OS), which
# links against gpgmepp dynamic library from external project gpgmepp, which
# (for non-SYSTEM_GPGMEPP) is delivered to instdir/program in
# ExternalPackage_gpgme, and at least the Linux linker wants to see all
# (recursively) linked libraries when linking an executable:
ifneq ($(filter-out WNT MACOSX ANDROID IOS,$(OS)),)
ifneq ($(SYSTEM_GPGMEPP),TRUE)
$(call gb_Executable_get_target,pdfverify): \
    $(call gb_ExternalPackage_get_target,gpgme)
endif
endif

# vim:set noet sw=4 ts=4: