1# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2#
3# This file is part of the LibreOffice project.
4#
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/.
8#
9
10$(eval $(call gb_Library_Library,propertyhdl_x64))
11
12$(eval $(call gb_Library_set_x64,propertyhdl_x64,YES))
13
14$(eval $(call gb_Library_use_custom_headers,propertyhdl_x64,\
15	shell/source \
16))
17
18$(eval $(call gb_Library_set_include,propertyhdl_x64,\
19	-I$(SRCDIR)/shell/inc \
20	$$(INCLUDE) \
21))
22
23$(eval $(call gb_Library_add_defs,propertyhdl_x64,\
24	-DISOLATION_AWARE_ENABLED \
25	-DWIN32_LEAN_AND_MEAN \
26	-UNOMINMAX \
27))
28
29$(eval $(call gb_Library_use_externals,propertyhdl_x64,\
30	expat_x64 \
31	zlib_x64 \
32))
33
34$(eval $(call gb_Library_use_system_win32_libs,propertyhdl_x64,\
35	advapi32 \
36	comctl32 \
37	gdi32 \
38	gdiplus \
39	kernel32 \
40	msvcprt \
41	msvcrt \
42	oldnames \
43	ole32 \
44	oleaut32 \
45	propsys \
46	shell32 \
47	shlwapi \
48	user32 \
49	uuid \
50))
51
52$(eval $(call gb_Library_use_static_libraries,propertyhdl_x64,\
53	shell_xmlparser_x64 \
54	shlxthandler_common_x64 \
55))
56
57$(eval $(call gb_Library_add_ldflags,propertyhdl_x64,\
58	/DEF:$(SRCDIR)/shell/source/win32/shlxthandler/prophdl/propertyhdl.def \
59	/NODEFAULTLIB:libcmt.lib \
60))
61
62$(eval $(call gb_Library_add_x64_generated_exception_objects,propertyhdl_x64,\
63    CustomTarget/shell/source/win32/shlxthandler/prophdl/propertyhdl \
64))
65
66# vim: set shiftwidth=4 tabstop=4 noexpandtab:
67