office-gobmx/scp2/InstallModule_impress.mk
Tor Lillqvist e13aead8a1 Reduce ENABLE_OPENGL / ENABLE_HEADLESS confusion
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
2016-08-03 22:36:36 +03:00

40 lines
1.1 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_InstallModule_InstallModule,scp2/impress))
$(eval $(call gb_InstallModule_use_auto_install_libs,scp2/impress,\
impress \
impress_brand \
ogltrans \
))
$(eval $(call gb_InstallModule_define_if_set,scp2/impress,\
ENABLE_MACOSX_SANDBOX \
))
$(eval $(call gb_InstallModule_add_templates,scp2/impress,\
scp2/source/templates/module_langpack_impress \
))
$(eval $(call gb_InstallModule_add_scpfiles,scp2/impress,\
scp2/source/impress/file_impress \
))
$(eval $(call gb_InstallModule_add_scpfiles,scp2/impress,\
$(if $(filter TRUE,$(ENABLE_OPENGL_TRANSITIONS)),\
scp2/source/impress/module_ogltrans \
) \
))
$(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/impress,\
scp2/source/impress/module_impress \
))
# vim: set shiftwidth=4 tabstop=4 noexpandtab: