1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 # Copyright 2000, 2011 Oracle and/or its affiliates.
8 # OpenOffice.org - a multi-platform office productivity suite
10 # This file is part of OpenOffice.org.
12 # OpenOffice.org is free software: you can redistribute it and/or modify
13 # it under the terms of the GNU Lesser General Public License version 3
14 # only, as published by the Free Software Foundation.
16 # OpenOffice.org is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU Lesser General Public License version 3 for more details
20 # (a copy is included in the LICENSE file that accompanied this code).
22 # You should have received a copy of the GNU Lesser General Public License
23 # version 3 along with OpenOffice.org. If not, see
24 # <http://www.openoffice.org/license.html>
25 # for a copy of the LGPLv3 License.
27 #*************************************************************************
29 $(eval
$(call gb_Library_Library
,canvastools
))
31 $(eval
$(call gb_Library_add_package_headers
,canvastools
,canvas_inc
))
33 $(eval
$(call gb_Library_add_precompiled_header
,canvastools
,$(SRCDIR
)/canvas
/inc
/pch
/precompiled_canvas
))
35 $(eval
$(call gb_Library_set_include
,canvastools
,\
37 -I
$(realpath
$(SRCDIR
)/canvas
/inc
) \
38 -I
$(realpath
$(SRCDIR
)/canvas
/inc
/pch
) \
41 $(eval
$(call gb_Library_add_api
,canvastools
,\
46 $(eval
$(call gb_Library_add_defs
,canvastools
,\
47 -DCANVASTOOLS_DLLIMPLEMENTATION \
50 $(eval
$(call gb_Library_add_linked_libs
,canvastools
,\
62 $(eval
$(call gb_Library_add_exception_objects
,canvastools
,\
63 canvas
/source
/tools
/cachedprimitivebase \
64 canvas
/source
/tools
/canvascustomspritehelper \
65 canvas
/source
/tools
/canvastools \
66 canvas
/source
/tools
/elapsedtime \
67 canvas
/source
/tools
/page \
68 canvas
/source
/tools
/pagemanager \
69 canvas
/source
/tools
/parametricpolypolygon \
70 canvas
/source
/tools
/prioritybooster \
71 canvas
/source
/tools
/propertysethelper \
72 canvas
/source
/tools
/spriteredrawmanager \
73 canvas
/source
/tools
/surface \
74 canvas
/source
/tools
/surfaceproxy \
75 canvas
/source
/tools
/surfaceproxymanager \
76 canvas
/source
/tools
/verifyinput \
79 ifeq ($(strip $(ENABLE_AGG
)),YES
)
80 $(eval
$(call gb_Library_add_exception_objects
,canvastools
,\
81 canvas
/source
/tools
/bitmap \
82 canvas
/source
/tools
/image \
84 $(eval
$(call gb_Library_add_linked_libs
,canvastools
,\
87 ifneq ($(strip $(AGG_VERSION
)),)
88 $(eval
$(call gb_Library_add_defs
,canvastools
,\
89 -DAGG_VERSION
=$(AGG_VERSION
) \
95 $(eval
$(call gb_Library_add_linked_libs
,canvastools
,\
100 # vim: set noet sw=4 ts=4: