Version 7.5.1.1, tag libreoffice-7.5.1.1
[LibreOffice.git] / sdext / Executable_xpdfimport.mk
blob8c2543cf0cd7dc67541ef3affc46f4833c5c7aef
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 poppler \
17 $(if $(filter-out WNT MACOSX,$(OS)),fontconfig) \
18 zlib \
21 $(eval $(call gb_Executable_add_exception_objects,xpdfimport,\
22 sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl \
23 sdext/source/pdfimport/xpdfwrapper/pnghelper \
24 sdext/source/pdfimport/xpdfwrapper/wrapper_gpl \
27 $(eval $(call gb_Executable_use_system_win32_libs,xpdfimport,\
28 shell32 \
31 $(eval $(call gb_Executable_add_default_nativeres,xpdfimport))
33 ifneq ($(SYSTEM_POPPLER),)
34 # Using system poppler
35 $(eval $(call gb_Executable_add_defs,xpdfimport,\
36 -DSYSTEM_POPPLER \
38 endif
40 # vim:set noet sw=4 ts=4: