tdf#111988 Bump OSX version in README
[LibreOffice.git] / extensions / Library_oleautobridge.mk
blobec59f715c5048a549a7241214bea21a4b56b352b
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,oleautobridge))
14 $(eval $(call gb_Library_set_componentfile,oleautobridge,extensions/source/ole/oleautobridge))
16 $(eval $(call gb_Library_use_api,oleautobridge,\
17 offapi \
18 oovbaapi \
19 udkapi \
22 $(eval $(call gb_Library_set_include,oleautobridge,\
23 $(foreach inc,$(ATL_INCLUDE),-I$(inc)) \
24 $$(INCLUDE) \
27 $(eval $(call gb_Library_add_ldflags,oleautobridge,\
28 -LIBPATH:$(ATL_LIB) \
31 $(eval $(call gb_Library_use_external,oleautobridge,boost_headers))
33 $(eval $(call gb_Library_use_libraries,oleautobridge,\
34 comphelper \
35 cppuhelper \
36 cppu \
37 sal \
40 $(eval $(call gb_Library_use_system_win32_libs,oleautobridge,\
41 advapi32 \
42 ole32 \
43 oleaut32 \
44 uuid \
47 ifeq ($(COM),MSC)
48 $(eval $(call gb_Library_add_libs,oleautobridge,\
49 $(ATL_LIB)/atls.lib \
51 endif
53 $(eval $(call gb_Library_add_exception_objects,oleautobridge,\
54 extensions/source/ole/jscriptclasses \
55 extensions/source/ole/ole2uno \
56 extensions/source/ole/oledll \
57 extensions/source/ole/oleobjw \
58 extensions/source/ole/olethread \
59 extensions/source/ole/servprov \
60 extensions/source/ole/servreg \
61 extensions/source/ole/unoobjw \
62 extensions/source/ole/unotypewrapper \
65 # vim:set noet sw=4 ts=4: