Remove duplicated include
[LibreOffice.git] / vcl / Library_vclplug_win.mk
blobd4656302d4ce841aa99fd3417133eb0b9b6951a2
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_plugin_for,vclplug_win,vcl))
24 $(eval $(call gb_Library_set_componentfile,vclplug_win,vcl/vclplug_win,services))
26 $(eval $(call gb_Library_set_include,vclplug_win,\
27 $$(INCLUDE) \
28 -I$(SRCDIR)/vcl/inc \
29 -I$(SRCDIR)/vcl/inc/win \
32 $(eval $(call gb_Library_add_defs,vclplug_win,\
33 -DVCLPLUG_WIN_IMPLEMENTATION \
34 -DVCL_INTERNALS \
37 $(eval $(call gb_Library_use_custom_headers,vclplug_win,\
38 officecfg/registry \
41 $(eval $(call gb_Library_use_sdk_api,vclplug_win))
43 $(eval $(call gb_Library_use_common_precompiled_header,vclplugin_win))
45 $(eval $(call gb_Library_use_libraries,vclplug_win,\
46 $(call gb_Helper_optional,BREAKPAD, \
47 crashreport) \
48 basegfx \
49 comphelper \
50 cppu \
51 cppuhelper \
52 i18nlangtag \
53 i18nutil \
54 sal \
55 salhelper \
56 tl \
57 utl \
60 $(eval $(call gb_Library_use_externals,vclplug_win,\
61 boost_headers \
62 epoxy \
63 harfbuzz \
64 $(if $(filter SKIA,$(BUILD_TYPE)),skia) \
67 $(eval $(call gb_Library_add_exception_objects,vclplug_win,\
68 vcl/source/opengl/win/context \
69 vcl/win/app/saldata \
70 vcl/win/app/salinfo \
71 vcl/win/app/salinst \
72 vcl/win/app/salshl \
73 vcl/win/app/saltimer \
74 vcl/win/dtrans/APNDataObject \
75 vcl/win/dtrans/clipboardmanager \
76 vcl/win/dtrans/DataFmtTransl \
77 vcl/win/dtrans/DOTransferable \
78 vcl/win/dtrans/DtObjFactory \
79 vcl/win/dtrans/DTransHelper \
80 vcl/win/dtrans/Fetc \
81 vcl/win/dtrans/FetcList \
82 vcl/win/dtrans/FmtFilter \
83 vcl/win/dtrans/ftransl \
84 vcl/win/dtrans/generic_clipboard \
85 vcl/win/dtrans/globals \
86 vcl/win/dtrans/idroptarget \
87 vcl/win/dtrans/ImplHelper \
88 vcl/win/dtrans/MtaOleClipb \
89 vcl/win/dtrans/source \
90 vcl/win/dtrans/sourcecontext \
91 vcl/win/dtrans/target \
92 vcl/win/dtrans/targetdragcontext \
93 vcl/win/dtrans/targetdropcontext \
94 vcl/win/dtrans/TxtCnvtHlp \
95 vcl/win/dtrans/WinClipboard \
96 vcl/win/dtrans/XNotifyingDataObject \
97 vcl/win/dtrans/XTDataObject \
98 vcl/win/gdi/gdiimpl \
99 vcl/win/gdi/salbmp \
100 vcl/win/gdi/salfont \
101 vcl/win/gdi/salgdi \
102 vcl/win/gdi/salgdi2 \
103 vcl/win/gdi/salgdi_gdiplus \
104 vcl/win/gdi/salnativewidgets-luna \
105 vcl/win/gdi/salprn \
106 vcl/win/gdi/salvd \
107 vcl/win/gdi/winlayout \
108 vcl/win/gdi/DWriteTextRenderer \
109 vcl/win/window/keynames \
110 vcl/win/window/salframe \
111 vcl/win/window/salmenu \
112 vcl/win/window/salobj \
113 $(if $(filter SKIA,$(BUILD_TYPE)), \
114 vcl/skia/win/gdiimpl ) \
117 $(eval $(call gb_Library_use_system_win32_libs,vclplug_win,\
118 advapi32 \
119 d2d1 \
120 dwmapi \
121 dwrite \
122 gdi32 \
123 gdiplus \
124 imm32 \
125 ole32 \
126 oleaut32 \
127 shell32 \
128 shlwapi \
129 uuid \
130 uxtheme \
131 version \
132 winspool \
135 $(eval $(call gb_Library_add_nativeres,vclplug_win,vcl/salsrc))
137 # HACK: dependency on icon themes so running unit tests don't
138 # prevent delivering these by having open file handles on WNT
139 ifeq ($(gb_Side),host)
140 $(eval $(call gb_Library_use_package,vclplug_win,postprocess_images))
141 endif
143 # vim: set noet sw=4 ts=4: