1 # -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
3 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License or as specified alternatively below. You may obtain a copy of
8 # the License at http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
15 # The Initial Developer of the Original Code is
16 # Peter Foley <pefoley2@verizon.net>
17 # Portions created by the Initial Developer are Copyright (C) 2011 the
18 # Initial Developer. All Rights Reserved.
20 # Major Contributor(s):
22 # For minor contributions see the git repository.
24 # Alternatively, the contents of this file may be used under the terms of
25 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
26 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
27 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
28 # instead of those above.
31 $(eval
$(call gb_Library_Library
,so_activex_x64
))
33 $(eval
$(call gb_Library_set_x64
,so_activex_x64
,YES
))
35 $(eval
$(call gb_Library_use_custom_headers
,so_activex_x64
,extensions
/source
/activex
/idl
))
37 $(eval
$(call gb_Library_set_include
,so_activex_x64
,\
39 -I
$(SRCDIR
)/extensions
/source
/activex \
40 $(foreach i
,$(ATL_INCLUDE
), -I
$(i
)) \
43 $(eval
$(call gb_Library_use_sdk_api
,so_activex_x64
))
45 $(eval
$(call gb_Library_add_nativeres
,so_activex_x64
,activex_res
))
47 $(eval
$(call gb_Library_add_x64_generated_exception_objects
,so_activex_x64
,\
48 CustomTarget
/extensions
/source
/activex
/so_activex \
49 CustomTarget
/extensions
/source
/activex
/SOActiveX \
50 CustomTarget
/extensions
/source
/activex
/SOComWindowPeer \
51 CustomTarget
/extensions
/source
/activex
/SODispatchInterceptor \
52 CustomTarget
/extensions
/source
/activex
/SOActionsApproval \
53 CustomTarget
/extensions
/source
/activex
/StdAfx2 \
56 $(eval
$(call gb_Library_add_ldflags
,so_activex_x64
,\
57 /DEF
:$(SRCDIR
)/extensions
/source
/activex
/so_activex.def \
58 -LIBPATH
:$(ATL_LIB
)/amd64 \
61 $(eval
$(call gb_Library_use_system_win32_libs
,so_activex_x64
,\
71 ifneq ($(USE_DEBUG_RUNTIME
),)
72 $(eval
$(call gb_Library_add_libs
,so_activex_x64
,\
73 $(ATL_LIB
)/amd64
/atlsd.lib \
76 $(eval
$(call gb_Library_add_libs
,so_activex_x64
,\
77 $(ATL_LIB
)/amd64
/atls.lib \
81 # vim:set shiftwidth=4 softtabstop=4 expandtab: