lok: symbolic link to the "include" directory when builddir != srcdir
[LibreOffice.git] / vcl / Library_vclplug_win.mk
blob2e169ded83e797cd2a3daf617b9ea6970149c17d
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_Library_Library,vclplug_win))
22 $(eval $(call gb_Library_set_include,vclplug_win,\
23 $$(INCLUDE) \
24 -I$(SRCDIR)/vcl/inc \
25 -I$(SRCDIR)/vcl/inc/win \
28 $(eval $(call gb_Library_add_defs,vclplug_win,\
29 -DVCLPLUG_WIN_IMPLEMENTATION \
32 $(eval $(call gb_Library_use_custom_headers,vclplug_win,\
33 officecfg/registry \
36 $(eval $(call gb_Library_use_sdk_api,vclplug_win))
38 $(eval $(call gb_Library_use_common_precompiled_header,vclplugin_win))
40 $(eval $(call gb_Library_use_libraries,vclplug_win,\
41 $(call gb_Helper_optional,BREAKPAD, \
42 crashreport) \
43 basegfx \
44 comphelper \
45 cppu \
46 i18nlangtag \
47 i18nutil \
48 sal \
49 salhelper \
50 tl \
51 utl \
52 vcl \
55 $(eval $(call gb_Library_use_externals,vclplug_win,\
56 boost_headers \
57 epoxy \
58 glm_headers \
59 harfbuzz \
60 $(if $(filter SKIA,$(BUILD_TYPE)),skia) \
63 $(eval $(call gb_Library_add_exception_objects,vclplug_win,\
64 vcl/opengl/win/gdiimpl \
65 vcl/opengl/win/winlayout \
66 vcl/win/app/saldata \
67 vcl/win/app/salinfo \
68 vcl/win/app/salinst \
69 vcl/win/app/salshl \
70 vcl/win/app/saltimer \
71 vcl/win/gdi/gdiimpl \
72 vcl/win/gdi/salbmp \
73 vcl/win/gdi/salgdi \
74 vcl/win/gdi/salgdi2 \
75 vcl/win/gdi/salfont \
76 vcl/win/gdi/salgdi_gdiplus \
77 vcl/win/gdi/salnativewidgets-luna \
78 vcl/win/gdi/salprn \
79 vcl/win/gdi/salvd \
80 vcl/win/gdi/winlayout \
81 vcl/win/gdi/DWriteTextRenderer \
82 vcl/win/window/salframe \
83 vcl/win/window/keynames \
84 vcl/win/window/salmenu \
85 vcl/win/window/salobj \
86 $(if $(filter SKIA,$(BUILD_TYPE)), \
87 vcl/skia/win/gdiimpl ) \
90 $(eval $(call gb_Library_use_system_win32_libs,vclplug_win,\
91 d2d1 \
92 dwrite \
93 gdi32 \
94 gdiplus \
95 imm32 \
96 ole32 \
97 shell32 \
98 shlwapi \
99 version \
100 winspool \
103 $(eval $(call gb_Library_add_nativeres,vclplug_win,vcl/salsrc))
105 # HACK: dependency on icon themes so running unit tests don't
106 # prevent delivering these by having open file handles on WNT
107 $(eval $(call gb_Library_use_package,vclplug_win,postprocess_images))
109 # vim: set noet sw=4 ts=4: