Bump version to 4.3-4
[LibreOffice.git] / canvas / Library_cairocanvas.mk
blobb4654c0b9438482740b3a6aa176f339e0a2ec729
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_defs,cairocanvas,\
86 -D_WIN32_WINNT=0x0502 \
89 $(eval $(call gb_Library_add_exception_objects,cairocanvas,\
90 canvas/source/cairo/cairo_win32_cairo \
92 $(eval $(call gb_Library_use_libraries,cairocanvas,\
93 gdi32 \
96 else
98 ifneq (,$(filter MACOSX IOS,$(OS)))
99 $(eval $(call gb_Library_add_exception_objects,cairocanvas,\
100 canvas/source/cairo/cairo_quartz_cairo \
102 else ifeq ($(GUIBASE),unx)
103 $(eval $(call gb_Library_add_exception_objects,cairocanvas,\
104 canvas/source/cairo/cairo_xlib_cairo \
107 # freetype? fontconfig? -> test on Solaris
108 $(eval $(call gb_Library_add_libs,cairocanvas,\
109 -lX11 \
111 $(eval $(call gb_Library_use_externals,cairocanvas,\
112 Xrender \
114 endif
116 endif
118 # vim: set noet sw=4 ts=4: