e13aead8a1
ENABLE_OPENGL means whether to enable the OpenGL slideshow transition code. It does not mean whether to enable use of OpenGL in general. So rename it to ENABLE_OPENGL_TRANSITIONS while at it. ENABLE_HEADLESS means whether to disable use of X11 and OpenGL on X11 (and Wayland) platforms, I think, meaning Linux and maybe Solaris and the BSDs. Maybe it should be renamed to DISABLE_X11_AND_OPENGL. Change-Id: Ibb30f51646b1bcc477fe691a3fa38c7a1e3944ae
64 lines
1.3 KiB
Makefile
64 lines
1.3 KiB
Makefile
# -*- 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_Executable_Executable,vcldemo))
|
|
|
|
$(eval $(call gb_Executable_use_api,vcldemo,\
|
|
offapi \
|
|
udkapi \
|
|
))
|
|
|
|
$(eval $(call gb_Executable_use_externals,vcldemo,\
|
|
boost_headers \
|
|
glm_headers \
|
|
))
|
|
ifeq ($(ENABLE_HEADLESS),)
|
|
$(eval $(call gb_Executable_use_externals,vcldemo,\
|
|
glew \
|
|
))
|
|
endif
|
|
|
|
$(eval $(call gb_Executable_set_include,vcldemo,\
|
|
$$(INCLUDE) \
|
|
-I$(SRCDIR)/vcl/inc \
|
|
))
|
|
|
|
$(eval $(call gb_Executable_use_libraries,vcldemo,\
|
|
basegfx \
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
tl \
|
|
sal \
|
|
salhelper \
|
|
vcl \
|
|
))
|
|
|
|
$(eval $(call gb_Executable_add_exception_objects,vcldemo,\
|
|
vcl/workben/vcldemo \
|
|
))
|
|
|
|
$(eval $(call gb_Executable_use_static_libraries,vcldemo,\
|
|
vclmain \
|
|
))
|
|
|
|
ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
|
|
$(eval $(call gb_Executable_add_libs,vcldemo,\
|
|
-lm $(DLOPEN_LIBS) \
|
|
-lpthread \
|
|
-lX11 \
|
|
))
|
|
|
|
$(eval $(call gb_Executable_use_static_libraries,vcldemo,\
|
|
glxtest \
|
|
))
|
|
endif
|
|
|
|
# vim: set noet sw=4 ts=4:
|