tdf#124162: Crash when trying to accept changes
[LibreOffice.git] / extensions / Library_so_activex.mk
blob5fc012a0f82d1d1b9128cc2624d400f71e0cb488
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
12 $(eval $(call gb_Library_Library,so_activex))
14 $(eval $(call gb_Library_use_custom_headers,so_activex,extensions/source/activex/idl))
16 $(eval $(call gb_Library_set_include,so_activex,\
17 $$(INCLUDE) \
18 $(foreach i,$(ATL_INCLUDE), -I$(i)) \
21 $(eval $(call gb_Library_use_sdk_api,so_activex))
23 $(eval $(call gb_Library_add_nativeres,so_activex,so_activex))
25 $(eval $(call gb_Library_add_exception_objects,so_activex,\
26 extensions/source/activex/so_activex \
27 extensions/source/activex/SOActiveX \
28 extensions/source/activex/SOComWindowPeer \
29 extensions/source/activex/SODispatchInterceptor \
30 extensions/source/activex/SOActionsApproval \
31 extensions/source/activex/StdAfx2 \
34 $(eval $(call gb_Library_add_ldflags,so_activex,\
35 /DEF:$(SRCDIR)/extensions/source/activex/so_activex.def \
36 -LIBPATH:$(ATL_LIB) \
39 $(eval $(call gb_Library_use_system_win32_libs,so_activex,\
40 advapi32 \
41 gdi32 \
42 ole32 \
43 oleaut32 \
44 shlwapi \
45 urlmon \
46 uuid \
49 $(eval $(call gb_Library_add_libs,so_activex,\
50 $(ATL_LIB)/atls.lib \
53 # vim:set noet sw=4 ts=4: