2012-03-14 15:08:03 -05:00
|
|
|
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
|
|
|
|
#
|
|
|
|
#
|
2013-04-19 15:10:42 -05:00
|
|
|
# This file is part of the LibreOffice project.
|
2012-03-14 15:08:03 -05:00
|
|
|
#
|
2013-04-19 15:10:42 -05:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2012-03-14 15:08:03 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_StaticLibrary_StaticLibrary,directxcanvas))
|
|
|
|
|
2013-01-26 14:19:13 -06:00
|
|
|
$(eval $(call gb_StaticLibrary_use_external,directxcanvas,boost_headers))
|
|
|
|
|
2012-04-07 16:22:08 -05:00
|
|
|
$(eval $(call gb_StaticLibrary_use_api,directxcanvas,\
|
2012-03-14 15:08:03 -05:00
|
|
|
offapi \
|
|
|
|
udkapi \
|
|
|
|
))
|
|
|
|
|
|
|
|
# clear NOMINMAX because GdiplusTypes.h uses those macros :(
|
|
|
|
$(eval $(call gb_StaticLibrary_add_defs,directxcanvas,\
|
|
|
|
-DDIRECTX_VERSION=0x0900 \
|
|
|
|
-UNOMINMAX \
|
|
|
|
))
|
|
|
|
|
2012-08-24 14:52:09 -05:00
|
|
|
ifeq ($(WINDOWS_SDK_VERSION),80)
|
|
|
|
$(eval $(call gb_StaticLibrary_add_defs,directxcanvas,\
|
|
|
|
-DWIN8_SDK=1 \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-03-17 15:51:21 -05:00
|
|
|
$(eval $(call gb_StaticLibrary_add_exception_objects,directxcanvas,\
|
2012-03-14 15:08:03 -05:00
|
|
|
canvas/source/directx/dx_bitmap \
|
|
|
|
canvas/source/directx/dx_bitmapcanvashelper \
|
|
|
|
canvas/source/directx/dx_canvasbitmap \
|
|
|
|
canvas/source/directx/dx_canvasfont \
|
|
|
|
canvas/source/directx/dx_canvashelper \
|
|
|
|
canvas/source/directx/dx_canvashelper_texturefill \
|
|
|
|
canvas/source/directx/dx_devicehelper \
|
|
|
|
canvas/source/directx/dx_gdiplususer \
|
|
|
|
canvas/source/directx/dx_impltools \
|
|
|
|
canvas/source/directx/dx_linepolypolygon \
|
|
|
|
canvas/source/directx/dx_textlayout \
|
|
|
|
canvas/source/directx/dx_textlayout_drawhelper \
|
|
|
|
canvas/source/directx/dx_vcltools \
|
|
|
|
))
|
|
|
|
|
2013-01-26 15:19:07 -06:00
|
|
|
# vim:set noet sw=4 ts=4:
|