Avoid potential negative array index access to cached text.
[LibreOffice.git] / sdext / Executable_xpdfimport.mk
blobffd5d79197bbd83c4b2fbba5ebc245e4d8442ab4
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_Executable_Executable,xpdfimport))
12 $(eval $(call gb_Executable_use_externals,xpdfimport,\
13 boost_headers \
14 expat \
15 freetype \
16 libpng \
17 poppler \
18 $(if $(filter-out WNT MACOSX,$(OS)),fontconfig) \
19 zlib \
22 $(eval $(call gb_Executable_add_exception_objects,xpdfimport,\
23 sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl \
24 sdext/source/pdfimport/xpdfwrapper/pnghelper \
25 sdext/source/pdfimport/xpdfwrapper/wrapper_gpl \
28 $(eval $(call gb_Executable_use_system_win32_libs,xpdfimport,\
29 shell32 \
32 $(eval $(call gb_Executable_add_default_nativeres,xpdfimport))
34 ifneq ($(SYSTEM_POPPLER),)
35 # Using system poppler
36 $(eval $(call gb_Executable_add_defs,xpdfimport,\
37 -DSYSTEM_POPPLER \
39 endif
41 # vim:set noet sw=4 ts=4: