Fix typo
[LibreOffice.git] / extensions / Library_oleautobridge.mk
blob38bd19eb8f0662e441eefcca4504ea4a9f85352c
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_use_custom_headers,oleautobridge,\
15 officecfg/registry \
18 $(eval $(call gb_Library_set_componentfile,oleautobridge,extensions/source/ole/oleautobridge,services))
20 $(eval $(call gb_Library_use_api,oleautobridge,\
21 offapi \
22 oovbaapi \
23 udkapi \
26 $(eval $(call gb_Library_set_include,oleautobridge,\
27 $(foreach inc,$(ATL_INCLUDE),-I$(inc)) \
28 $$(INCLUDE) \
31 $(eval $(call gb_Library_add_ldflags,oleautobridge,\
32 -LIBPATH:$(ATL_LIB) \
35 $(eval $(call gb_Library_use_external,oleautobridge,boost_headers))
37 $(eval $(call gb_Library_use_libraries,oleautobridge,\
38 comphelper \
39 cppuhelper \
40 cppu \
41 sal \
44 $(eval $(call gb_Library_use_system_win32_libs,oleautobridge,\
45 advapi32 \
46 ole32 \
47 oleaut32 \
48 uuid \
51 ifeq ($(COM),MSC)
52 $(eval $(call gb_Library_add_libs,oleautobridge,\
53 $(ATL_LIB)/atls.lib \
55 endif
57 $(eval $(call gb_Library_add_exception_objects,oleautobridge,\
58 extensions/source/ole/jscriptclasses \
59 extensions/source/ole/ole2uno \
60 extensions/source/ole/oledll \
61 extensions/source/ole/oleobjw \
62 extensions/source/ole/olethread \
63 extensions/source/ole/servprov \
64 extensions/source/ole/servreg \
65 extensions/source/ole/unoobjw \
66 extensions/source/ole/unotypewrapper \
69 # vim:set noet sw=4 ts=4: