bump product version to 4.1.6.2
[LibreOffice.git] / canvas / Library_cairocanvas.mk
blob45c4824f7ab89ac08e1811135152cd480bd18f3f
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))
26 ifeq ($(OS),MACOSX)
28 $(eval $(call gb_Library_add_cxxflags,cairocanvas,\
29 $(gb_OBJCXXFLAGS) \
32 $(eval $(call gb_Library_use_system_darwin_frameworks,cairocanvas,\
33 Cocoa \
36 endif
38 ifeq ($(OS),IOS)
40 $(eval $(call gb_Library_add_cxxflags,cairocanvas,\
41 $(gb_OBJCXXFLAGS) \
44 endif
46 $(eval $(call gb_Library_use_libraries,cairocanvas,\
47 sal \
48 cppu \
49 basegfx \
50 cppuhelper \
51 comphelper \
52 vcl \
53 tk \
54 tl \
55 i18nlangtag \
56 canvastools \
57 $(gb_UWINAPI) \
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,\
79 boost_headers \
80 cairo \
83 ifeq ($(OS),WNT)
85 $(eval $(call gb_Library_add_exception_objects,cairocanvas,\
86 canvas/source/cairo/cairo_win32_cairo \
88 $(eval $(call gb_Library_use_libraries,cairocanvas,\
89 gdi32 \
92 else
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,\
105 -lX11 \
107 $(eval $(call gb_Library_use_externals,cairocanvas,\
108 Xrender \
110 endif
112 endif
114 # vim: set noet sw=4 ts=4: