office-gobmx/scripting/Module_scripting.mk
Tor Lillqvist 9ecac3874d Replace DISABLE_SCRIPTING with HAVE_FEATURE_SCRIPTING
Feature test macros that govern conditional compilation should be
defined in config_*.h include files, not on the compilation command
line.

Change-Id: I40575a4762fd2564f10927b6f38a112dd9f9a3d7
2014-10-22 09:30:23 +03:00

48 lines
1.2 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_Module_Module,scripting))
ifneq ($(filter SCRIPTING,$(BUILD_TYPE)),)
$(eval $(call gb_Module_add_targets,scripting,\
$(if $(ENABLE_JAVA),\
Jar_HelloWorld \
Jar_Highlight \
Jar_MemoryUsage \
Jar_ScriptFramework \
$(if $(ENABLE_SCRIPTING_BEANSHELL),\
Jar_ScriptProviderForBeanShell \
Rdb_scriptproviderforbeanshell \
) \
Jar_ScriptProviderForJava \
$(if $(ENABLE_SCRIPTING_JAVASCRIPT),\
Jar_ScriptProviderForJavaScript \
Rdb_scriptproviderforjavascript \
) \
Package_java \
Package_java_jars \
) \
Package_scriptbindinglib \
Package_scriptproviderforpython \
Package_ScriptsBeanShell \
Package_ScriptsJavaScript \
Package_ScriptsPython \
Library_basprov \
Library_dlgprov \
Library_protocolhandler \
Library_scriptframe \
Library_stringresource \
Library_vbaevents \
Pyuno_mailmerge \
))
endif
# vim: set noet sw=4 ts=4: