fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / chart2 / Library_chartopengl.mk
blob83d52d8bfa8d3b45f2697f507036ee2d0d5c70d4
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,chartopengl))
12 $(eval $(call gb_Library_set_include,chartopengl,\
13 -I$(SRCDIR)/chart2/inc \
14 -I$(SRCDIR)/chart2/source/model/inc \
15 -I$(SRCDIR)/chart2/source/view/inc \
16 -I$(SRCDIR)/chart2/source/inc \
17 $$(INCLUDE) \
20 $(eval $(call gb_Library_set_precompiled_header,chartopengl,$(SRCDIR)/chart2/inc/pch/precompiled_chartopengl))
22 $(eval $(call gb_Library_use_externals,chartopengl,\
23 boost_headers \
24 glm_headers \
25 mesa_headers \
26 glew \
29 $(eval $(call gb_Library_use_sdk_api,chartopengl))
31 $(eval $(call gb_Library_use_libraries,chartopengl,\
32 basegfx \
33 chartcore \
34 comphelper \
35 cppu \
36 cppuhelper \
37 drawinglayer \
38 editeng \
39 fwe \
40 i18nlangtag \
41 sal \
42 sfx \
43 svl \
44 svt \
45 svxcore \
46 tl \
47 tk \
48 ucbhelper \
49 utl \
50 vcl \
51 $(gb_UWINAPI) \
54 $(eval $(call gb_Library_add_exception_objects,chartopengl,\
55 chart2/source/view/main/OpenglShapeFactory \
56 chart2/source/view/main/DummyXShape \
57 chart2/source/view/main/OpenGLRender \
60 ifeq ($(strip $(OS)),WNT)
61 $(eval $(call gb_Library_use_system_win32_libs,chartopengl,\
62 opengl32 \
63 gdi32 \
65 else ifeq ($(OS),MACOSX)
66 $(eval $(call gb_Library_use_system_darwin_frameworks,chartopengl,\
67 OpenGL \
69 else ifeq ($(OS),LINUX)
70 $(eval $(call gb_Library_add_libs,chartopengl,\
71 -ldl \
72 -lGL \
73 -lX11 \
75 endif
77 # vim: set noet sw=4 ts=4: