1############################################################### 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20############################################################### 21 22 23 24$(eval $(call gb_Library_Library,gdipluscanvas)) 25 26$(eval $(call gb_Library_set_componentfile,gdipluscanvas,canvas/source/directx/gdipluscanvas)) 27 28$(eval $(call gb_Library_add_api,gdipluscanvas,\ 29 udkapi \ 30 offapi \ 31)) 32 33$(eval $(call gb_Library_set_include,gdipluscanvas,\ 34 $$(INCLUDE) \ 35 -I$(SRCDIR)/canvas/inc \ 36 -I$(SRCDIR)/canvas/inc/pch \ 37)) 38 39$(eval $(call gb_Library_add_defs,gdipluscanvas,\ 40 -DDIRECTX_VERSION=0x0900 \ 41)) 42 43ifneq ($(strip $(VERBOSE)$(verbose)),) 44$(eval $(call gb_Library_add_defs,gdipluscanvas,\ 45 -DVERBOSE \ 46)) 47endif 48 49$(eval $(call gb_Library_add_linked_libs,gdipluscanvas,\ 50 cppu \ 51 ootk \ 52 sal \ 53 comphelper \ 54 cppuhelper \ 55 stl \ 56 basegfx \ 57 canvastools \ 58 vcl \ 59 tl \ 60 utl \ 61 i18nisolang1 \ 62 $(gb_STDLIBS) \ 63)) 64 65ifeq ($(OS),WNT) 66$(eval $(call gb_Library_add_linked_libs,gdipluscanvas,\ 67 user32 \ 68 gdi32 \ 69 gdiplus \ 70)) 71endif 72 73$(eval $(call gb_Library_add_exception_objects,gdipluscanvas,\ 74 canvas/source/directx/dx_bitmap \ 75 canvas/source/directx/dx_bitmapcanvashelper \ 76 canvas/source/directx/dx_canvas \ 77 canvas/source/directx/dx_canvasbitmap \ 78 canvas/source/directx/dx_canvasfont \ 79 canvas/source/directx/dx_canvashelper \ 80 canvas/source/directx/dx_canvashelper_texturefill \ 81 canvas/source/directx/dx_devicehelper \ 82 canvas/source/directx/dx_gdiplususer \ 83 canvas/source/directx/dx_impltools \ 84 canvas/source/directx/dx_linepolypolygon \ 85 canvas/source/directx/dx_textlayout \ 86 canvas/source/directx/dx_textlayout_drawhelper \ 87 canvas/source/directx/dx_vcltools \ 88)) 89 90# vim: set noet sw=4 ts=4: 91