Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / extensions / Library_oleautobridge.mk
blob6aaf5555e25043392f874e93d340b565b0a61f93
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 \
38 tl \
41 $(eval $(call gb_Library_use_system_win32_libs,oleautobridge,\
42 advapi32 \
43 ole32 \
44 oleaut32 \
45 uuid \
48 ifeq ($(COM),MSC)
49 $(eval $(call gb_Library_add_libs,oleautobridge,\
50 $(ATL_LIB)/atls.lib \
52 endif
54 $(eval $(call gb_Library_add_exception_objects,oleautobridge,\
55 extensions/source/ole/jscriptclasses \
56 extensions/source/ole/ole2uno \
57 extensions/source/ole/oledll \
58 extensions/source/ole/oleobjw \
59 extensions/source/ole/olethread \
60 extensions/source/ole/servprov \
61 extensions/source/ole/servreg \
62 extensions/source/ole/unoobjw \
63 extensions/source/ole/unotypewrapper \
66 # vim:set noet sw=4 ts=4: