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,cppcanvas)) 25 26$(eval $(call gb_Library_add_package_headers,cppcanvas,cppcanvas_inc)) 27 28$(eval $(call gb_Library_add_precompiled_header,cppcanvas,$(SRCDIR)/cppcanvas/inc/pch/precompiled_cppcanvas)) 29 30$(eval $(call gb_Library_add_api,cppcanvas,\ 31 udkapi \ 32 offapi \ 33)) 34 35$(eval $(call gb_Library_set_include,cppcanvas,\ 36 -I$(SRCDIR)/cppcanvas/inc \ 37 -I$(SRCDIR)/cppcanvas/inc/pch \ 38 -I$(SRCDIR)/cppcanvas/source/inc \ 39 $$(INCLUDE) \ 40)) 41 42$(eval $(call gb_Library_add_defs,cppcanvas,\ 43 -DCPPCANVAS_DLLIMPLEMENTATION \ 44)) 45 46$(eval $(call gb_Library_add_linked_libs,cppcanvas,\ 47 tl \ 48 cppu \ 49 sal \ 50 vcl \ 51 stl \ 52 comphelper \ 53 canvastools \ 54 cppuhelper \ 55 basegfx \ 56 i18nisolang1 \ 57 $(gb_STDLIBS) \ 58)) 59 60$(eval $(call gb_Library_add_exception_objects,cppcanvas,\ 61 cppcanvas/source/mtfrenderer/bitmapaction \ 62 cppcanvas/source/mtfrenderer/cachedprimitivebase \ 63 cppcanvas/source/mtfrenderer/implrenderer \ 64 cppcanvas/source/mtfrenderer/lineaction \ 65 cppcanvas/source/mtfrenderer/mtftools \ 66 cppcanvas/source/mtfrenderer/pointaction \ 67 cppcanvas/source/mtfrenderer/polypolyaction \ 68 cppcanvas/source/mtfrenderer/textaction \ 69 cppcanvas/source/mtfrenderer/transparencygroupaction \ 70 cppcanvas/source/tools/canvasgraphichelper \ 71 cppcanvas/source/tools/tools \ 72 cppcanvas/source/wrapper/basegfxfactory \ 73 cppcanvas/source/wrapper/implbitmap \ 74 cppcanvas/source/wrapper/implbitmapcanvas \ 75 cppcanvas/source/wrapper/implcanvas \ 76 cppcanvas/source/wrapper/implcolor \ 77 cppcanvas/source/wrapper/implcustomsprite \ 78 cppcanvas/source/wrapper/implfont \ 79 cppcanvas/source/wrapper/implpolypolygon \ 80 cppcanvas/source/wrapper/implsprite \ 81 cppcanvas/source/wrapper/implspritecanvas \ 82 cppcanvas/source/wrapper/impltext \ 83 cppcanvas/source/wrapper/vclfactory \ 84)) 85 86# vim: set noet sw=4 ts=4: 87