Simplify a bit
[LibreOffice.git] / canvas / Library_cairocanvas.mk
blobb7cd8d86b5f02bdceddcd0a84c8e360f6a77e00e
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_include,cairocanvas,\
23 $$(INCLUDE) \
24 -I$(SRCDIR)/canvas/inc \
27 $(eval $(call gb_Library_set_precompiled_header,cairocanvas,canvas/inc/pch/precompiled_cairocanvas))
29 $(eval $(call gb_Library_set_componentfile,cairocanvas,canvas/source/cairo/cairocanvas,services))
31 $(eval $(call gb_Library_use_sdk_api,cairocanvas))
33 ifeq ($(OS),MACOSX)
35 $(eval $(call gb_Library_use_system_darwin_frameworks,cairocanvas,\
36 Cocoa \
39 endif
41 $(eval $(call gb_Library_use_libraries,cairocanvas,\
42 sal \
43 cppu \
44 basegfx \
45 cppuhelper \
46 comphelper \
47 vcl \
48 tk \
49 tl \
50 i18nlangtag \
51 canvastools \
54 $(eval $(call gb_Library_add_exception_objects,cairocanvas,\
55 canvas/source/cairo/cairo_cachedbitmap \
56 canvas/source/cairo/cairo_canvas \
57 canvas/source/cairo/cairo_canvasbitmap \
58 canvas/source/cairo/cairo_canvascustomsprite \
59 canvas/source/cairo/cairo_canvasfont \
60 canvas/source/cairo/cairo_canvashelper \
61 canvas/source/cairo/cairo_canvashelper_text \
62 canvas/source/cairo/cairo_devicehelper \
63 canvas/source/cairo/cairo_spritecanvas \
64 canvas/source/cairo/cairo_spritecanvashelper \
65 canvas/source/cairo/cairo_spritedevicehelper \
66 canvas/source/cairo/cairo_spritehelper \
67 canvas/source/cairo/cairo_textlayout \
70 $(eval $(call gb_Library_use_externals,cairocanvas,\
71 boost_headers \
72 cairo \
75 # vim: set noet sw=4 ts=4: