summaryrefslogtreecommitdiffstats
path: root/sdext/Library_pdfimport.mk
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:06:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:06:44 +0000
commited5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch)
tree7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /sdext/Library_pdfimport.mk
parentInitial commit. (diff)
downloadlibreoffice-upstream.tar.xz
libreoffice-upstream.zip
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sdext/Library_pdfimport.mk')
-rw-r--r--sdext/Library_pdfimport.mk72
1 files changed, 72 insertions, 0 deletions
diff --git a/sdext/Library_pdfimport.mk b/sdext/Library_pdfimport.mk
new file mode 100644
index 000000000..dc1290cd0
--- /dev/null
+++ b/sdext/Library_pdfimport.mk
@@ -0,0 +1,72 @@
+# -*- 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_Library_Library,pdfimport))
+
+$(eval $(call gb_Library_set_componentfile,pdfimport,sdext/source/pdfimport/pdfimport,services))
+
+$(eval $(call gb_Library_use_sdk_api,pdfimport))
+
+$(eval $(call gb_Library_use_custom_headers,pdfimport,sdext/pdfimport))
+
+$(eval $(call gb_Library_set_include,pdfimport,\
+ -I$(SRCDIR)/sdext/source/pdfimport/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_Library_use_libraries,pdfimport,\
+ basegfx \
+ comphelper \
+ vcl \
+ cppu \
+ cppuhelper \
+ sal \
+ tl \
+ xo \
+ i18nutil \
+))
+
+$(eval $(call gb_Library_use_externals,pdfimport,\
+ boost_headers \
+ icu_headers \
+ zlib \
+ $(if $(filter-out WNT MACOSX,$(OS)),fontconfig) \
+))
+
+ifeq ($(COM),MSC)
+$(eval $(call gb_Library_add_defs,pdfimport, \
+ -D_SILENCE_CXX17_ALLOCATOR_VOID_DEPRECATION_WARNING \
+))
+endif
+
+$(eval $(call gb_Library_add_defs,pdfimport, \
+ -DBOOST_ALL_NO_LIB \
+))
+
+$(eval $(call gb_Library_add_exception_objects,pdfimport,\
+ sdext/source/pdfimport/filterdet \
+ sdext/source/pdfimport/misc/pdfihelper \
+ sdext/source/pdfimport/misc/pwdinteract \
+ sdext/source/pdfimport/odf/odfemitter \
+ sdext/source/pdfimport/pdfiadaptor \
+ sdext/source/pdfimport/pdfparse/pdfentries \
+ sdext/source/pdfimport/pdfparse/pdfparse \
+ sdext/source/pdfimport/sax/emitcontext \
+ sdext/source/pdfimport/sax/saxattrlist \
+ sdext/source/pdfimport/tree/drawtreevisiting \
+ sdext/source/pdfimport/tree/genericelements \
+ sdext/source/pdfimport/tree/imagecontainer \
+ sdext/source/pdfimport/tree/pdfiprocessor \
+ sdext/source/pdfimport/tree/style \
+ sdext/source/pdfimport/tree/treevisitorfactory \
+ sdext/source/pdfimport/tree/writertreevisiting \
+ sdext/source/pdfimport/wrapper/wrapper \
+))
+
+# vim:set noet sw=4 ts=4: