tdf#113448 fix PDF forms export
[LibreOffice.git] / shell / Library_ooofilt.mk
blobdafee1032bb6c8f0a612978ffe1a8944e2fbf841
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_Library_Library,ooofilt))
12 $(eval $(call gb_Library_set_include,ooofilt,\
13 -I$(SRCDIR)/shell/inc \
14 $$(INCLUDE) \
17 $(eval $(call gb_Library_add_defs,ooofilt,\
18 -DISOLATION_AWARE_ENABLED \
19 -DUNICODE \
20 -DWIN32_LEAN_AND_MEAN \
21 -D_UNICODE \
22 -UNOMINMAX \
25 $(eval $(call gb_Library_use_externals,ooofilt,\
26 expat \
27 zlib \
30 $(eval $(call gb_Library_use_system_win32_libs,ooofilt,\
31 advapi32 \
32 comctl32 \
33 kernel32 \
34 msvcprt \
35 oldnames \
36 ole32 \
37 shell32 \
38 uuid \
41 ifeq ($(ENABLE_DBGUTIL),TRUE)
42 $(eval $(call gb_Library_use_system_win32_libs,ooofilt,\
43 msvcrt \
45 endif
47 $(eval $(call gb_Library_use_static_libraries,ooofilt,\
48 shell_xmlparser \
49 shlxthandler_common \
52 $(eval $(call gb_Library_add_ldflags,ooofilt,\
53 /DEF:$(SRCDIR)/shell/source/win32/shlxthandler/ooofilt/ooofilt.def \
54 /NODEFAULTLIB:libcmt.lib \
57 $(eval $(call gb_Library_add_exception_objects,ooofilt,\
58 shell/source/win32/shlxthandler/ooofilt/ooofilt \
59 shell/source/win32/shlxthandler/ooofilt/propspec \
62 # vim: set shiftwidth=4 tabstop=4 noexpandtab: