Stop leaking all ScPostIt instances.
[LibreOffice.git] / shell / Library_shlxthdl.mk
blobf79dc85f12499941ff355e59af98275ac9a65b7e
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,shlxthdl))
12 $(eval $(call gb_Library_set_include,shlxthdl,\
13 -I$(SRCDIR)/shell/inc \
14 $$(INCLUDE) \
17 $(eval $(call gb_Library_add_defs,shlxthdl,\
18 -DISOLATION_AWARE_ENABLED \
19 -DUNICODE \
20 -DWIN32_LEAN_AND_MEAN \
21 -D_UNICODE \
22 -UNOMINMAX \
23 -D_WIN32_IE=0x700 \
24 -D_WIN32_WINNT=0x0502 \
27 $(eval $(call gb_Library_use_externals,shlxthdl,\
28 expat \
29 zlib \
32 $(eval $(call gb_Library_use_system_win32_libs,shlxthdl,\
33 advapi32 \
34 comctl32 \
35 gdi32 \
36 gdiplus \
37 kernel32 \
38 ole32 \
39 oleaut32 \
40 shell32 \
41 shlwapi \
42 uuid \
45 $(eval $(call gb_Library_use_static_libraries,shlxthdl,\
46 shlxthandler_common \
47 shell_xmlparser \
50 $(eval $(call gb_Library_add_nativeres,shlxthdl,shlxthdl))
52 $(eval $(call gb_Library_add_ldflags,shlxthdl,\
53 /EXPORT:DllCanUnloadNow \
54 /EXPORT:DllGetClassObject \
55 /EXPORT:DllRegisterServer \
56 /EXPORT:DllUnregisterServer \
57 /NODEFAULTLIB:libcmt.lib \
60 $(eval $(call gb_Library_add_exception_objects,shlxthdl,\
61 shell/source/win32/shlxthandler/classfactory \
62 shell/source/win32/shlxthandler/columninfo/columninfo \
63 shell/source/win32/shlxthandler/infotips/infotips \
64 shell/source/win32/shlxthandler/propsheets/document_statistic \
65 shell/source/win32/shlxthandler/propsheets/listviewbuilder \
66 shell/source/win32/shlxthandler/propsheets/propsheets \
67 shell/source/win32/shlxthandler/shlxthdl \
68 shell/source/win32/shlxthandler/thumbviewer/thumbviewer \
71 # vim: set shiftwidth=4 tabstop=4 noexpandtab: