Version 6.1.4.1, tag libreoffice-6.1.4.1
[LibreOffice.git] / extensions / Library_oleautobridge.mk
blob70b518c50d41c875b3d34868043f715c1497224a
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_sdk_api,oleautobridge))
18 $(eval $(call gb_Library_set_include,oleautobridge,\
19 $(foreach inc,$(ATL_INCLUDE),-I$(inc)) \
20 $$(INCLUDE) \
23 $(eval $(call gb_Library_add_ldflags,oleautobridge,\
24 -LIBPATH:$(ATL_LIB) \
27 $(eval $(call gb_Library_use_external,oleautobridge,boost_headers))
29 $(eval $(call gb_Library_use_libraries,oleautobridge,\
30 comphelper \
31 cppuhelper \
32 cppu \
33 sal \
36 $(eval $(call gb_Library_use_system_win32_libs,oleautobridge,\
37 advapi32 \
38 ole32 \
39 oleaut32 \
40 uuid \
43 ifeq ($(COM),MSC)
44 $(eval $(call gb_Library_add_libs,oleautobridge,\
45 $(ATL_LIB)/atls.lib \
47 endif
49 $(eval $(call gb_Library_add_exception_objects,oleautobridge,\
50 extensions/source/ole/jscriptclasses \
51 extensions/source/ole/ole2uno \
52 extensions/source/ole/oledll \
53 extensions/source/ole/oleobjw \
54 extensions/source/ole/olethread \
55 extensions/source/ole/servprov \
56 extensions/source/ole/servreg \
57 extensions/source/ole/unoobjw \
58 extensions/source/ole/unotypewrapper \
61 # vim:set noet sw=4 ts=4: