gb_LinkTarget_use_clang: only use flto=thin with clang, not with gcc
[LibreOffice.git] / canvas / Library_oglcanvas.mk
blob21a14dc2a72b4a330b969a799bc56ded587d6fcf
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_include,oglcanvas,\
13 $$(INCLUDE) \
14 -I$(SRCDIR)/canvas/inc \
17 $(eval $(call gb_Library_set_precompiled_header,oglcanvas,canvas/inc/pch/precompiled_oglcanvas))
19 $(eval $(call gb_Library_set_componentfile,oglcanvas,canvas/source/opengl/oglcanvas,services))
21 $(eval $(call gb_Library_use_sdk_api,oglcanvas))
23 $(eval $(call gb_Library_use_libraries,oglcanvas,\
24 sal \
25 cppu \
26 basegfx \
27 cppuhelper \
28 comphelper \
29 vcl \
30 tk \
31 tl \
32 i18nlangtag \
33 canvastools \
36 $(eval $(call gb_Library_add_exception_objects,oglcanvas,\
37 canvas/source/opengl/ogl_bitmapcanvashelper \
38 canvas/source/opengl/ogl_canvasbitmap \
39 canvas/source/opengl/ogl_canvascustomsprite \
40 canvas/source/opengl/ogl_canvasfont \
41 canvas/source/opengl/ogl_canvashelper \
42 canvas/source/opengl/ogl_canvastools \
43 canvas/source/opengl/ogl_spritecanvas \
44 canvas/source/opengl/ogl_spritedevicehelper \
45 canvas/source/opengl/ogl_textlayout \
46 canvas/source/opengl/ogl_texturecache \
49 $(eval $(call gb_Library_use_externals,oglcanvas,\
50 boost_headers \
51 epoxy \
54 # vim: set noet sw=4 ts=4: