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_x64
))
14 $(eval
$(call gb_Library_set_x64
,so_activex_x64
,YES
))
16 $(eval
$(call gb_Library_use_custom_headers
,so_activex_x64
,extensions
/source
/activex
/idl
))
18 $(eval
$(call gb_Library_set_include
,so_activex_x64
,\
20 -I
$(SRCDIR
)/extensions
/source
/activex \
21 $(foreach i
,$(ATL_INCLUDE
), -I
$(i
)) \
24 $(eval
$(call gb_Library_use_sdk_api
,so_activex_x64
))
26 $(eval
$(call gb_Library_add_nativeres
,so_activex_x64
,so_activex
))
28 $(eval
$(call gb_Library_add_x64_generated_exception_objects
,so_activex_x64
,\
29 CustomTarget
/extensions
/source
/activex
/so_activex \
30 CustomTarget
/extensions
/source
/activex
/SOActiveX \
31 CustomTarget
/extensions
/source
/activex
/SOComWindowPeer \
32 CustomTarget
/extensions
/source
/activex
/SODispatchInterceptor \
33 CustomTarget
/extensions
/source
/activex
/SOActionsApproval \
34 CustomTarget
/extensions
/source
/activex
/StdAfx2 \
37 $(eval
$(call gb_Library_add_ldflags
,so_activex_x64
,\
38 /DEF
:$(SRCDIR
)/extensions
/source
/activex
/so_activex.def \
39 -LIBPATH
:$(ATL_LIB
)/amd64 \
42 $(eval
$(call gb_Library_use_system_win32_libs
,so_activex_x64
,\
52 $(eval
$(call gb_Library_add_libs
,so_activex_x64
,\
53 $(subst /x86
,/x64
,$(ATL_LIB
)/atls.lib
)) \
56 # vim:set noet sw=4 ts=4: