Bump for 3.6-28
[LibreOffice.git] / extensions / Library_oleautobridge.mk
blob668e9167ea4db368297376f3bf3553e8b240f949
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
13 # License.
15 # Major Contributor(s):
16 # [ Copyright (C) 2011 Red Hat, Inc., Michael Stahl <mstahl@redhat.com> (initial developer) ]
17 # [ Copyright (C) 2011 Peter Foley <pefoley2@verizon.net> ]
19 # All Rights Reserved.
21 # For minor contributions see the git repository.
23 # Alternatively, the contents of this file may be used under the terms of
24 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
25 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
26 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
27 # instead of those above.
30 $(eval $(call gb_Library_Library,oleautobridge))
32 $(eval $(call gb_Library_set_componentfile,oleautobridge,extensions/source/ole/oleautobridge))
34 $(eval $(call gb_Library_use_api,oleautobridge,\
35 udkapi \
36 offapi \
39 $(eval $(call gb_Library_set_include,oleautobridge,\
40 $(foreach inc,$(ATL_INCLUDE),-I$(inc)) \
41 $$(INCLUDE) \
44 $(eval $(call gb_Library_use_libraries,oleautobridge,\
45 cppuhelper \
46 cppu \
47 sal \
48 advapi32 \
49 ole32 \
50 oleaut32 \
51 uuid \
54 ifeq ($(COM),MSC)
55 ifneq ($(USE_DEBUG_RUNTIME),)
56 $(eval $(call gb_Library_add_libs,oleautobridge,\
57 $(ATL_LIB)/atlsd.lib \
59 else
60 $(eval $(call gb_Library_add_libs,oleautobridge,\
61 $(ATL_LIB)/atls.lib \
63 endif
64 endif
66 $(eval $(call gb_Library_add_exception_objects,oleautobridge,\
67 extensions/source/ole/jscriptclasses \
68 extensions/source/ole/ole2uno \
69 extensions/source/ole/oledll \
70 extensions/source/ole/oleobjw \
71 extensions/source/ole/olethread \
72 extensions/source/ole/servprov \
73 extensions/source/ole/servreg \
74 extensions/source/ole/unoobjw \
75 extensions/source/ole/unotypewrapper \
76 extensions/source/ole/windata \
79 # vim:set shiftwidth=4 softtabstop=4 expandtab: