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
,\
65 $(if
$(filter SKIA
,$(BUILD_TYPE
)),skia
) \
68 $(eval
$(call gb_Library_add_exception_objects
,vclplug_win
,\
69 vcl
/source
/opengl
/win
/context \
74 vcl
/win
/app
/saltimer \
75 vcl
/win
/dtrans
/APNDataObject \
76 vcl
/win
/dtrans
/clipboardmanager \
77 vcl
/win
/dtrans
/DataFmtTransl \
78 vcl
/win
/dtrans
/DOTransferable \
79 vcl
/win
/dtrans
/DtObjFactory \
80 vcl
/win
/dtrans
/DTransHelper \
82 vcl
/win
/dtrans
/FetcList \
83 vcl
/win
/dtrans
/FmtFilter \
84 vcl
/win
/dtrans
/ftransl \
85 vcl
/win
/dtrans
/generic_clipboard \
86 vcl
/win
/dtrans
/globals \
87 vcl
/win
/dtrans
/idroptarget \
88 vcl
/win
/dtrans
/ImplHelper \
89 vcl
/win
/dtrans
/MtaOleClipb \
90 vcl
/win
/dtrans
/source \
91 vcl
/win
/dtrans
/sourcecontext \
92 vcl
/win
/dtrans
/target \
93 vcl
/win
/dtrans
/targetdragcontext \
94 vcl
/win
/dtrans
/targetdropcontext \
95 vcl
/win
/dtrans
/TxtCnvtHlp \
96 vcl
/win
/dtrans
/WinClipboard \
97 vcl
/win
/dtrans
/XNotifyingDataObject \
98 vcl
/win
/dtrans
/XTDataObject \
101 vcl
/win
/gdi
/salfont \
103 vcl
/win
/gdi
/salgdi2 \
104 vcl
/win
/gdi
/salgdi_gdiplus \
105 vcl
/win
/gdi
/salnativewidgets-luna \
108 vcl
/win
/gdi
/winlayout \
109 vcl
/win
/gdi
/DWriteTextRenderer \
110 vcl
/win
/window
/keynames \
111 vcl
/win
/window
/salframe \
112 vcl
/win
/window
/salmenu \
113 vcl
/win
/window
/salobj \
114 $(if
$(filter SKIA
,$(BUILD_TYPE
)), \
115 vcl
/skia
/win
/gdiimpl
) \
118 $(eval
$(call gb_Library_use_system_win32_libs
,vclplug_win
,\
136 $(eval
$(call gb_Library_add_nativeres
,vclplug_win
,vcl
/salsrc
))
138 # HACK: dependency on icon themes so running unit tests don't
139 # prevent delivering these by having open file handles on WNT
140 ifeq ($(gb_Side
),host
)
141 $(eval
$(call gb_Library_use_package
,vclplug_win
,postprocess_images
))
144 # vim: set noet sw=4 ts=4: