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
,canvastools
))
22 $(eval
$(call gb_Library_set_include
,canvastools
,\
24 -I
$(SRCDIR
)/canvas
/inc \
27 $(eval
$(call gb_Library_set_precompiled_header
,canvastools
,canvas
/inc
/pch
/precompiled_canvastools
))
29 $(eval
$(call gb_Library_use_sdk_api
,canvastools
))
31 $(eval
$(call gb_Library_add_defs
,canvastools
,\
32 -DCANVASTOOLS_DLLIMPLEMENTATION \
35 $(eval
$(call gb_Library_use_external
,canvastools
,boost_headers
))
37 $(eval
$(call gb_Library_use_libraries
,canvastools
,\
48 $(eval
$(call gb_Library_add_exception_objects
,canvastools
,\
49 canvas
/source
/tools
/cachedprimitivebase \
50 canvas
/source
/tools
/canvascustomspritehelper \
51 canvas
/source
/tools
/canvastools \
52 canvas
/source
/tools
/elapsedtime \
53 canvas
/source
/tools
/page \
54 canvas
/source
/tools
/pagemanager \
55 canvas
/source
/tools
/parametricpolypolygon \
56 canvas
/source
/tools
/propertysethelper \
57 canvas
/source
/tools
/spriteredrawmanager \
58 canvas
/source
/tools
/surface \
59 canvas
/source
/tools
/surfaceproxy \
60 canvas
/source
/tools
/surfaceproxymanager \
61 canvas
/source
/tools
/verifyinput \
64 ifeq ($(strip $(ENABLE_AGG
)),YES
)
65 $(eval
$(call gb_Library_add_exception_objects
,canvastools
,\
66 canvas
/source
/tools
/bitmap \
67 canvas
/source
/tools
/image \
69 $(eval
$(call gb_Library_use_libraries
,canvastools
,\
72 ifneq ($(strip $(AGG_VERSION
)),)
73 $(eval
$(call gb_Library_add_defs
,canvastools
,\
74 -DAGG_VERSION
=$(AGG_VERSION
) \
79 # vim: set noet sw=4 ts=4: