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
,\
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 \
39 $(eval
$(call gb_Library_use_system_win32_libs
,so_activex
,\
49 $(eval
$(call gb_Library_add_libs
,so_activex
,\
50 $(ATL_LIB
)/$(if
$(filter 120,$(VCVER
)),atls.lib
,$(if
$(MSVC_USE_DEBUG_RUNTIME
),atlsd.lib
,atls.lib
)) \
53 # vim:set noet sw=4 ts=4: