2013-10-17 05:24:59 -05:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
|
|
#
|
|
|
|
# This file is part of the LibreOffice project.
|
|
|
|
#
|
|
|
|
# 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/.
|
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_Library,chartopengl))
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_set_include,chartopengl,\
|
|
|
|
-I$(SRCDIR)/chart2/inc \
|
|
|
|
-I$(SRCDIR)/chart2/source/model/inc \
|
|
|
|
-I$(SRCDIR)/chart2/source/view/inc \
|
|
|
|
-I$(SRCDIR)/chart2/source/inc \
|
|
|
|
$$(INCLUDE) \
|
|
|
|
))
|
|
|
|
|
2014-05-06 11:23:16 -05:00
|
|
|
$(eval $(call gb_Library_set_precompiled_header,chartopengl,$(SRCDIR)/chart2/inc/pch/precompiled_chartopengl))
|
|
|
|
|
2013-10-22 13:00:30 -05:00
|
|
|
$(eval $(call gb_Library_use_externals,chartopengl,\
|
2014-03-14 15:51:05 -05:00
|
|
|
boost_headers \
|
2013-12-08 20:43:33 -06:00
|
|
|
glm_headers \
|
2014-01-05 10:40:16 -06:00
|
|
|
glew \
|
2013-10-22 13:00:30 -05:00
|
|
|
))
|
|
|
|
|
2013-10-17 05:24:59 -05:00
|
|
|
$(eval $(call gb_Library_use_sdk_api,chartopengl))
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_use_libraries,chartopengl,\
|
2013-12-23 21:37:42 -06:00
|
|
|
basegfx \
|
2013-10-17 05:24:59 -05:00
|
|
|
chartcore \
|
2013-12-23 21:37:42 -06:00
|
|
|
comphelper \
|
2013-10-17 05:24:59 -05:00
|
|
|
cppu \
|
|
|
|
cppuhelper \
|
2013-12-23 21:37:42 -06:00
|
|
|
drawinglayer \
|
|
|
|
editeng \
|
|
|
|
fwe \
|
|
|
|
i18nlangtag \
|
2013-10-17 05:24:59 -05:00
|
|
|
sal \
|
2013-12-23 21:37:42 -06:00
|
|
|
sfx \
|
|
|
|
svl \
|
|
|
|
svt \
|
|
|
|
svxcore \
|
|
|
|
tl \
|
2014-01-03 04:41:27 -06:00
|
|
|
tk \
|
2013-12-23 21:37:42 -06:00
|
|
|
ucbhelper \
|
|
|
|
utl \
|
2013-10-22 06:49:15 -05:00
|
|
|
vcl \
|
2013-10-17 05:24:59 -05:00
|
|
|
$(gb_UWINAPI) \
|
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,chartopengl,\
|
|
|
|
chart2/source/view/main/OpenglShapeFactory \
|
|
|
|
chart2/source/view/main/DummyXShape \
|
2014-03-16 23:06:00 -05:00
|
|
|
chart2/source/view/main/OpenGLRender \
|
2013-10-17 05:24:59 -05:00
|
|
|
))
|
2014-03-16 23:06:00 -05:00
|
|
|
|
|
|
|
ifeq ($(strip $(OS)),WNT)
|
|
|
|
$(eval $(call gb_Library_use_system_win32_libs,chartopengl,\
|
|
|
|
opengl32 \
|
|
|
|
gdi32 \
|
|
|
|
))
|
|
|
|
else ifeq ($(OS),MACOSX)
|
|
|
|
$(eval $(call gb_Library_use_system_darwin_frameworks,chartopengl,\
|
|
|
|
OpenGL \
|
|
|
|
))
|
2015-12-11 18:24:07 -06:00
|
|
|
else ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
|
2014-03-16 23:06:00 -05:00
|
|
|
$(eval $(call gb_Library_add_libs,chartopengl,\
|
2015-12-11 18:24:07 -06:00
|
|
|
$(DLOPEN_LIBS) \
|
2014-03-16 23:06:00 -05:00
|
|
|
-lGL \
|
|
|
|
-lX11 \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2013-10-17 05:24:59 -05:00
|
|
|
# vim: set noet sw=4 ts=4:
|