bnc#382137 DocxAttributeOutput: don't store address of local variable
[LibreOffice.git] / shell / Library_ooofilt.mk
blob88f1783b9e0b0817d6824287b800e4c1da37ab5b
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_NTSDK \
22 -D_UNICODE \
24 $(eval $(call gb_Library_add_defs,ooofilt,\
25 -U_WIN32_IE \
26 -D_WIN32_IE=0x501 \
27 -U_WIN32_WINNT \
28 -D_WIN32_WINNT=0x0501 \
29 -UNOMINMAX \
32 $(eval $(call gb_Library_use_externals,ooofilt,\
33 expat \
34 zlib \
37 $(eval $(call gb_Library_use_system_win32_libs,ooofilt,\
38 advapi32 \
39 comctl32 \
40 kernel32 \
41 msvcprt \
42 oldnames \
43 ole32 \
44 shell32 \
45 uuid \
48 ifeq ($(ENABLE_DBGUTIL),TRUE)
49 $(eval $(call gb_Library_use_system_win32_libs,ooofilt,\
50 msvcrt \
52 endif
54 $(eval $(call gb_Library_use_static_libraries,ooofilt,\
55 shell_xmlparser \
56 shlxthandler_common \
59 $(eval $(call gb_Library_add_ldflags,ooofilt,\
60 /EXPORT:DllCanUnloadNow \
61 /EXPORT:DllGetClassObject \
62 /EXPORT:DllRegisterServer \
63 /EXPORT:DllUnregisterServer \
64 /NODEFAULTLIB:libcmt.lib \
67 $(eval $(call gb_Library_add_exception_objects,ooofilt,\
68 shell/source/win32/shlxthandler/ooofilt/ooofilt \
69 shell/source/win32/shlxthandler/ooofilt/propspec \
72 # vim: set shiftwidth=4 tabstop=4 noexpandtab: