odk: don't run compiler -dumpversion for eaach include of settings.mk
[LibreOffice.git] / shell / Library_ooofilt.mk
blobf8b4361a12cc7e95af56e9cb0747ed520f393c92
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 -DWIN32_LEAN_AND_MEAN \
20 -UNOMINMAX \
23 $(eval $(call gb_Library_use_externals,ooofilt,\
24 expat \
25 zlib \
28 $(eval $(call gb_Library_use_system_win32_libs,ooofilt,\
29 advapi32 \
30 comctl32 \
31 kernel32 \
32 msvcprt \
33 oldnames \
34 ole32 \
35 shell32 \
36 uuid \
39 ifeq ($(ENABLE_DBGUTIL),TRUE)
40 $(eval $(call gb_Library_use_system_win32_libs,ooofilt,\
41 msvcrt \
43 endif
45 $(eval $(call gb_Library_use_static_libraries,ooofilt,\
46 shell_xmlparser \
47 shlxthandler_common \
50 $(eval $(call gb_Library_add_ldflags,ooofilt,\
51 /DEF:$(SRCDIR)/shell/source/win32/shlxthandler/ooofilt/ooofilt.def \
52 /NODEFAULTLIB:libcmt.lib \
55 $(eval $(call gb_Library_add_exception_objects,ooofilt,\
56 shell/source/win32/shlxthandler/ooofilt/ooofilt \
57 shell/source/win32/shlxthandler/ooofilt/propspec \
60 # vim: set shiftwidth=4 tabstop=4 noexpandtab: