blob: 12249d67a046bc7d53269568a4dff3bcd2da71dd [file] [log] [blame]
Noel Grandin5357da32025-02-21 08:52:56 +02001# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2#
Michael Meeksd037b812026-03-26 15:06:16 +00003# This file is part of the Collabora Office project.
Noel Grandin5357da32025-02-21 08:52:56 +02004#
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/.
8#
9# This file incorporates work covered by the following license notice:
10#
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 .
18#
19
20$(eval $(call gb_Library_Library,cairocanvas))
21
22$(eval $(call gb_Library_set_include,cairocanvas,\
23 $$(INCLUDE) \
24 -I$(SRCDIR)/canvas/inc \
25))
26
27$(eval $(call gb_Library_set_precompiled_header,cairocanvas,canvas/inc/pch/precompiled_cairocanvas))
28
29$(eval $(call gb_Library_set_componentfile,cairocanvas,canvas/source/cairo/cairocanvas,services))
30
31$(eval $(call gb_Library_use_sdk_api,cairocanvas))
32
33ifeq ($(OS),MACOSX)
34
35$(eval $(call gb_Library_use_system_darwin_frameworks,cairocanvas,\
36 Cocoa \
37))
38
39endif
40
41$(eval $(call gb_Library_use_libraries,cairocanvas,\
42 sal \
43 cppu \
44 basegfx \
45 cppuhelper \
46 comphelper \
47 vcl \
48 tk \
49 tl \
50 i18nlangtag \
51 canvastools \
52))
53
54$(eval $(call gb_Library_add_exception_objects,cairocanvas,\
55 canvas/source/cairo/cairo_cachedbitmap \
56 canvas/source/cairo/cairo_canvas \
57 canvas/source/cairo/cairo_canvasbitmap \
58 canvas/source/cairo/cairo_canvascustomsprite \
59 canvas/source/cairo/cairo_canvasfont \
60 canvas/source/cairo/cairo_canvashelper \
61 canvas/source/cairo/cairo_canvashelper_text \
62 canvas/source/cairo/cairo_devicehelper \
63 canvas/source/cairo/cairo_spritecanvas \
64 canvas/source/cairo/cairo_spritecanvashelper \
65 canvas/source/cairo/cairo_spritedevicehelper \
66 canvas/source/cairo/cairo_spritehelper \
67 canvas/source/cairo/cairo_textlayout \
68))
69
70$(eval $(call gb_Library_use_externals,cairocanvas,\
71 boost_headers \
72 cairo \
73))
74
75# vim: set noet sw=4 ts=4: