Version 4.2.0.1, tag libreoffice-4.2.0.1
[LibreOffice.git] / embeddedobj / Library_emboleobj.mk
blob96f03ee16ca5f1b59ad92afc353faf0df400411f
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/.
11 $(eval $(call gb_Library_Library,emboleobj))
13 $(eval $(call gb_Library_set_componentfile,emboleobj,embeddedobj/source/msole/emboleobj$(if $(filter WNT,$(OS)),.windows)))
15 $(eval $(call gb_Library_set_include,emboleobj,\
16 -I$(SRCDIR)/embeddedobj/source/inc \
17 $$(INCLUDE) \
20 $(eval $(call gb_Library_add_defs,emboleobj,\
21 -D_WIN32_WINNT=0x0502 \
24 $(eval $(call gb_Library_use_external,emboleobj,boost_headers))
26 $(eval $(call gb_Library_use_sdk_api,emboleobj))
28 $(eval $(call gb_Library_use_libraries,emboleobj,\
29 comphelper \
30 cppu \
31 cppuhelper \
32 sal \
33 tl \
34 utl \
35 $(gb_UWINAPI) \
38 $(eval $(call gb_Library_add_exception_objects,emboleobj,\
39 embeddedobj/source/msole/closepreventer \
40 embeddedobj/source/msole/oleembed \
41 embeddedobj/source/msole/olemisc \
42 embeddedobj/source/msole/olepersist \
43 embeddedobj/source/msole/oleregister \
44 embeddedobj/source/msole/olevisual \
45 embeddedobj/source/msole/ownview \
46 embeddedobj/source/msole/xolefactory \
49 ifeq ($(OS),WNT)
51 $(eval $(call gb_Library_use_libraries,emboleobj,\
52 embobj \
55 $(eval $(call gb_Library_use_system_win32_libs,emboleobj,\
56 gdi32 \
57 ole32 \
58 oleaut32 \
59 uuid \
62 $(eval $(call gb_Library_add_exception_objects,emboleobj,\
63 embeddedobj/source/msole/advisesink \
64 embeddedobj/source/msole/graphconvert \
65 embeddedobj/source/msole/olecomponent \
66 embeddedobj/source/msole/olewrapclient \
67 embeddedobj/source/msole/xdialogcreator \
70 endif
72 # vim: set noet sw=4 ts=4: