2011-08-10 02:12:48 +09:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
2011-02-25 16:51:24 +01:00
|
|
|
#
|
2013-05-16 21:56:04 +01:00
|
|
|
# This file is part of the LibreOffice project.
|
2011-04-13 16:11:41 +00:00
|
|
|
#
|
2013-05-16 21:56:04 +01:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2011-02-25 16:51:24 +01:00
|
|
|
#
|
2013-05-16 21:56:04 +01:00
|
|
|
# This file incorporates work covered by the following license notice:
|
2011-02-25 16:51:24 +01:00
|
|
|
#
|
2013-05-16 21:56:04 +01:00
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
# contributor license agreements. See the NOTICE file distributed
|
|
|
|
# with this work for additional information regarding copyright
|
|
|
|
# ownership. The ASF licenses this file to you under the Apache
|
|
|
|
# License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
# except in compliance with the License. You may obtain a copy of
|
|
|
|
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
2011-02-25 16:51:24 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_Library,canvastools))
|
|
|
|
|
2012-07-02 13:00:50 +01:00
|
|
|
$(eval $(call gb_Library_use_sdk_api,canvastools))
|
2011-02-25 16:51:24 +01:00
|
|
|
|
2011-04-13 16:11:41 +00:00
|
|
|
$(eval $(call gb_Library_add_defs,canvastools,\
|
2011-02-25 16:51:24 +01:00
|
|
|
-DCANVASTOOLS_DLLIMPLEMENTATION \
|
|
|
|
))
|
|
|
|
|
2013-01-26 21:19:13 +01:00
|
|
|
$(eval $(call gb_Library_use_external,canvastools,boost_headers))
|
|
|
|
|
2012-04-07 23:22:08 +02:00
|
|
|
$(eval $(call gb_Library_use_libraries,canvastools,\
|
2011-02-25 16:51:24 +01:00
|
|
|
basegfx \
|
|
|
|
comphelper \
|
2011-06-20 13:24:14 +02:00
|
|
|
cppu \
|
|
|
|
cppuhelper \
|
|
|
|
sal \
|
2011-02-25 16:51:24 +01:00
|
|
|
tk \
|
|
|
|
tl \
|
2011-06-20 13:24:14 +02:00
|
|
|
vcl \
|
2012-09-26 23:45:28 +02:00
|
|
|
$(gb_UWINAPI) \
|
2011-02-25 16:51:24 +01:00
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,canvastools,\
|
|
|
|
canvas/source/tools/cachedprimitivebase \
|
|
|
|
canvas/source/tools/canvascustomspritehelper \
|
|
|
|
canvas/source/tools/canvastools \
|
|
|
|
canvas/source/tools/elapsedtime \
|
|
|
|
canvas/source/tools/page \
|
|
|
|
canvas/source/tools/pagemanager \
|
|
|
|
canvas/source/tools/parametricpolypolygon \
|
|
|
|
canvas/source/tools/propertysethelper \
|
|
|
|
canvas/source/tools/spriteredrawmanager \
|
|
|
|
canvas/source/tools/surface \
|
|
|
|
canvas/source/tools/surfaceproxy \
|
|
|
|
canvas/source/tools/surfaceproxymanager \
|
|
|
|
canvas/source/tools/verifyinput \
|
|
|
|
))
|
|
|
|
|
2011-04-13 16:11:41 +00:00
|
|
|
ifeq ($(strip $(ENABLE_AGG)),YES)
|
2011-02-25 16:51:24 +01:00
|
|
|
$(eval $(call gb_Library_add_exception_objects,canvastools,\
|
|
|
|
canvas/source/tools/bitmap \
|
|
|
|
canvas/source/tools/image \
|
|
|
|
))
|
2012-04-07 23:22:08 +02:00
|
|
|
$(eval $(call gb_Library_use_libraries,canvastools,\
|
2011-02-25 16:51:24 +01:00
|
|
|
agg \
|
|
|
|
))
|
2011-04-13 16:11:41 +00:00
|
|
|
ifneq ($(strip $(AGG_VERSION)),)
|
|
|
|
$(eval $(call gb_Library_add_defs,canvastools,\
|
2011-02-25 16:51:24 +01:00
|
|
|
-DAGG_VERSION=$(AGG_VERSION) \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(OS),WNT)
|
2012-09-28 15:31:46 +02:00
|
|
|
$(eval $(call gb_Library_use_system_win32_libs,canvastools,\
|
2011-02-25 16:51:24 +01:00
|
|
|
winmm \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
|
|
|
# vim: set noet sw=4 ts=4:
|