fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / canvas / Library_oglcanvas.mk
blob7f859f696e5dec98913267600f5a7501c9104278
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/.
10 $(eval $(call gb_Library_Library,oglcanvas))
12 $(eval $(call gb_Library_set_componentfile,oglcanvas,canvas/source/opengl/oglcanvas))
14 $(eval $(call gb_Library_use_sdk_api,oglcanvas))
16 $(eval $(call gb_Library_use_libraries,oglcanvas,\
17 sal \
18 cppu \
19 basegfx \
20 cppuhelper \
21 comphelper \
22 vcl \
23 tk \
24 tl \
25 i18nlangtag \
26 canvastools \
27 $(gb_UWINAPI) \
30 $(eval $(call gb_Library_add_exception_objects,oglcanvas,\
31 canvas/source/opengl/ogl_bitmapcanvashelper \
32 canvas/source/opengl/ogl_canvasbitmap \
33 canvas/source/opengl/ogl_canvascustomsprite \
34 canvas/source/opengl/ogl_canvasfont \
35 canvas/source/opengl/ogl_canvashelper \
36 canvas/source/opengl/ogl_canvastools \
37 canvas/source/opengl/ogl_spritecanvas \
38 canvas/source/opengl/ogl_spritedevicehelper \
39 canvas/source/opengl/ogl_textlayout \
40 canvas/source/opengl/ogl_texturecache \
43 $(eval $(call gb_Library_use_externals,oglcanvas,\
44 boost_headers \
45 glew \
46 mesa_headers \
49 ifeq ($(strip $(OS)),MACOSX)
50 $(eval $(call gb_Library_use_system_darwin_frameworks,oglcanvas,\
51 Cocoa \
52 OpenGL \
55 else ifeq ($(strip $(OS)),WNT)
56 $(eval $(call gb_Library_use_system_win32_libs,oglcanvas,\
57 gdi32 \
58 glu32 \
59 opengl32 \
62 else
63 $(eval $(call gb_Library_add_libs,oglcanvas,\
64 -lGL \
65 -lX11 \
67 endif
69 # vim: set noet sw=4 ts=4: