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
,cairocanvas
))
22 $(eval
$(call gb_Library_set_componentfile
,cairocanvas
,canvas
/source
/cairo
/cairocanvas
))
24 $(eval
$(call gb_Library_use_sdk_api
,cairocanvas
))
28 $(eval
$(call gb_Library_add_cxxflags
,cairocanvas
,\
32 $(eval
$(call gb_Library_use_system_darwin_frameworks
,cairocanvas
,\
40 $(eval
$(call gb_Library_add_cxxflags
,cairocanvas
,\
46 $(eval
$(call gb_Library_use_libraries
,cairocanvas
,\
60 $(eval
$(call gb_Library_add_exception_objects
,cairocanvas
,\
61 canvas
/source
/cairo
/cairo_cachedbitmap \
62 canvas
/source
/cairo
/cairo_cairo \
63 canvas
/source
/cairo
/cairo_canvas \
64 canvas
/source
/cairo
/cairo_canvasbitmap \
65 canvas
/source
/cairo
/cairo_canvascustomsprite \
66 canvas
/source
/cairo
/cairo_canvasfont \
67 canvas
/source
/cairo
/cairo_canvashelper \
68 canvas
/source
/cairo
/cairo_canvashelper_text \
69 canvas
/source
/cairo
/cairo_devicehelper \
70 canvas
/source
/cairo
/cairo_services \
71 canvas
/source
/cairo
/cairo_spritecanvas \
72 canvas
/source
/cairo
/cairo_spritecanvashelper \
73 canvas
/source
/cairo
/cairo_spritedevicehelper \
74 canvas
/source
/cairo
/cairo_spritehelper \
75 canvas
/source
/cairo
/cairo_textlayout \
78 $(eval
$(call gb_Library_use_externals
,cairocanvas
,\
85 $(eval
$(call gb_Library_add_exception_objects
,cairocanvas
,\
86 canvas
/source
/cairo
/cairo_win32_cairo \
88 $(eval
$(call gb_Library_use_libraries
,cairocanvas
,\
94 ifneq (,$(filter MACOSX IOS
,$(OS
)))
95 $(eval
$(call gb_Library_add_exception_objects
,cairocanvas
,\
96 canvas
/source
/cairo
/cairo_quartz_cairo \
98 else ifeq ($(GUIBASE
),unx
)
99 $(eval
$(call gb_Library_add_exception_objects
,cairocanvas
,\
100 canvas
/source
/cairo
/cairo_xlib_cairo \
103 # freetype? fontconfig? -> test on Solaris
104 $(eval
$(call gb_Library_add_libs
,cairocanvas
,\
107 $(eval
$(call gb_Library_use_externals
,cairocanvas
,\
114 # vim: set noet sw=4 ts=4: