Branch libreoffice-5-0-4
[LibreOffice.git] / canvas / Library_gdipluscanvas.mk
blobfdb3927a7fdf526844c5fb8b51a70a9362717150
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,gdipluscanvas))
22 $(eval $(call gb_Library_set_componentfile,gdipluscanvas,canvas/source/directx/gdipluscanvas))
24 $(eval $(call gb_Library_use_external,gdipluscanvas,boost_headers))
26 $(eval $(call gb_Library_use_sdk_api,gdipluscanvas))
28 # clear NOMINMAX because GdiplusTypes.h uses those macros :(
29 $(eval $(call gb_Library_add_defs,gdipluscanvas,\
30 -UNOMINMAX \
33 ifneq ($(strip $(VERBOSE)$(verbose)),)
34 $(eval $(call gb_Library_add_defs,gdipluscanvas,\
35 -DVERBOSE \
37 endif
39 $(eval $(call gb_Library_use_libraries,gdipluscanvas,\
40 cppu \
41 tk \
42 sal \
43 comphelper \
44 cppuhelper \
45 basegfx \
46 canvastools \
47 vcl \
48 tl \
49 utl \
50 i18nlangtag \
51 $(gb_UWINAPI) \
54 $(eval $(call gb_Library_use_system_win32_libs,gdipluscanvas,\
55 gdi32 \
56 gdiplus \
59 $(eval $(call gb_Library_use_static_libraries,gdipluscanvas,\
60 directxcanvas \
63 $(eval $(call gb_Library_add_exception_objects,gdipluscanvas,\
64 canvas/source/directx/dx_canvas \
67 # vim: set noet sw=4 ts=4: