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
,\
29 -I
$(SRCDIR
)/vcl
/inc
/win \
32 $(eval
$(call gb_Library_add_defs
,vclplug_win
,\
33 -DVCLPLUG_WIN_IMPLEMENTATION \
37 $(eval
$(call gb_Library_use_custom_headers
,vclplug_win
,\
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
, \
60 $(eval
$(call gb_Library_use_externals
,vclplug_win
,\
64 $(if
$(filter SKIA
,$(BUILD_TYPE
)),skia
) \
67 $(eval
$(call gb_Library_add_exception_objects
,vclplug_win
,\
68 vcl
/source
/opengl
/win
/context \
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 \
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 \
100 vcl
/win
/gdi
/salfont \
102 vcl
/win
/gdi
/salgdi2 \
103 vcl
/win
/gdi
/salgdi_gdiplus \
104 vcl
/win
/gdi
/salnativewidgets-luna \
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
,\
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
))
143 # vim: set noet sw=4 ts=4: