Impress Remote 1.0.5, tag sdremote-1.0.5
[LibreOffice.git] / extensions / Library_oleautobridge.mk
blobadbf359271c99dd0a7f4b57e6a53f24f7c80ca5a
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_sdk_api,oleautobridge))
36 $(eval $(call gb_Library_set_include,oleautobridge,\
37 $(foreach inc,$(ATL_INCLUDE),-I$(inc)) \
38 $$(INCLUDE) \
41 $(eval $(call gb_Library_add_ldflags,oleautobridge,\
42 -LIBPATH:$(ATL_LIB) \
45 $(eval $(call gb_Library_use_libraries,oleautobridge,\
46 comphelper \
47 cppuhelper \
48 cppu \
49 sal \
52 $(eval $(call gb_Library_use_system_win32_libs,oleautobridge,\
53 advapi32 \
54 ole32 \
55 oleaut32 \
56 uuid \
59 ifeq ($(COM),MSC)
60 ifneq ($(USE_DEBUG_RUNTIME),)
61 $(eval $(call gb_Library_add_libs,oleautobridge,\
62 $(ATL_LIB)/atlsd.lib \
64 else
65 $(eval $(call gb_Library_add_libs,oleautobridge,\
66 $(ATL_LIB)/atls.lib \
68 endif
69 endif
71 $(eval $(call gb_Library_add_exception_objects,oleautobridge,\
72 extensions/source/ole/jscriptclasses \
73 extensions/source/ole/ole2uno \
74 extensions/source/ole/oledll \
75 extensions/source/ole/oleobjw \
76 extensions/source/ole/olethread \
77 extensions/source/ole/servprov \
78 extensions/source/ole/servreg \
79 extensions/source/ole/unoobjw \
80 extensions/source/ole/unotypewrapper \
81 extensions/source/ole/windata \
84 # vim:set shiftwidth=4 softtabstop=4 expandtab: