Updated core
[LibreOffice.git] / canvas / StaticLibrary_directxcanvas.mk
blob7258ec23185052e2d9c193ea15c13450a8609999
1 # -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 $(eval $(call gb_StaticLibrary_StaticLibrary,directxcanvas))
13 $(eval $(call gb_StaticLibrary_use_external,directxcanvas,boost_headers))
15 $(eval $(call gb_StaticLibrary_use_api,directxcanvas,\
16 offapi \
17 udkapi \
20 # clear NOMINMAX because GdiplusTypes.h uses those macros :(
21 $(eval $(call gb_StaticLibrary_add_defs,directxcanvas,\
22 -DDIRECTX_VERSION=0x0900 \
23 -UNOMINMAX \
26 ifeq ($(WINDOWS_SDK_VERSION),80)
27 $(eval $(call gb_StaticLibrary_add_defs,directxcanvas,\
28 -DWIN8_SDK=1 \
30 endif
32 $(eval $(call gb_StaticLibrary_add_exception_objects,directxcanvas,\
33 canvas/source/directx/dx_bitmap \
34 canvas/source/directx/dx_bitmapcanvashelper \
35 canvas/source/directx/dx_canvasbitmap \
36 canvas/source/directx/dx_canvasfont \
37 canvas/source/directx/dx_canvashelper \
38 canvas/source/directx/dx_canvashelper_texturefill \
39 canvas/source/directx/dx_devicehelper \
40 canvas/source/directx/dx_gdiplususer \
41 canvas/source/directx/dx_impltools \
42 canvas/source/directx/dx_linepolypolygon \
43 canvas/source/directx/dx_textlayout \
44 canvas/source/directx/dx_textlayout_drawhelper \
45 canvas/source/directx/dx_vcltools \
48 # vim:set noet sw=4 ts=4: