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
,\
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
,\
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
, \
55 $(eval
$(call gb_Library_use_externals
,vclplug_win
,\
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 \
70 vcl
/win
/app
/saltimer \
76 vcl
/win
/gdi
/salgdi_gdiplus \
77 vcl
/win
/gdi
/salnativewidgets-luna \
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
,\
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: