Kaydet (Commit) a116d39d authored tarafından Matúš Kukan's avatar Matúš Kukan

finished converting scripting to gbuild

üst a79a9372
...@@ -249,11 +249,11 @@ my_components += component/framework/util/lomenubar ...@@ -249,11 +249,11 @@ my_components += component/framework/util/lomenubar
.IF "$(SOLAR_JAVA)" == "TRUE" .IF "$(SOLAR_JAVA)" == "TRUE"
my_components += \ my_components += \
LuceneHelpWrapper \ LuceneHelpWrapper \
ScriptFramework \
ScriptProviderForJava \
XMergeBridge \ XMergeBridge \
component/filter/source/xsltfilter/XSLTFilter.jar \ component/filter/source/xsltfilter/XSLTFilter.jar \
component/filter/source/xsltvalidate/XSLTValidate \ component/filter/source/xsltvalidate/XSLTValidate \
component/scripting/java/ScriptFramework \
component/scripting/java/ScriptProviderForJava \
component/wizards/com/sun/star/wizards/agenda/agenda \ component/wizards/com/sun/star/wizards/agenda/agenda \
component/wizards/com/sun/star/wizards/fax/fax \ component/wizards/com/sun/star/wizards/fax/fax \
component/wizards/com/sun/star/wizards/form/form \ component/wizards/com/sun/star/wizards/form/form \
...@@ -367,7 +367,7 @@ my_components += evoab ...@@ -367,7 +367,7 @@ my_components += evoab
my_components += component/avmedia/source/gstreamer/avmediagstreamer my_components += component/avmedia/source/gstreamer/avmediagstreamer
.END .END
my_ooo_components = mailmerge my_ooo_components = component/scripting/source/pyprov/mailmerge
.INCLUDE: target.mk .INCLUDE: target.mk
......
...@@ -46,9 +46,9 @@ File gid_File_Lib_Basprov ...@@ -46,9 +46,9 @@ File gid_File_Lib_Basprov
Styles = (PACKED); Styles = (PACKED);
Dir = SCP2_OOO_BIN_DIR; Dir = SCP2_OOO_BIN_DIR;
#ifdef UNX #ifdef UNX
Name = STRING(CONCAT4(basprov,DLLPOSTFIX,.uno,UNXSUFFIX)); Name = STRING(CONCAT3(basprov,.uno,UNXSUFFIX));
#else #else
Name = STRING(CONCAT4(basprov,DLLPOSTFIX,.uno,.dll)); Name = STRING(CONCAT3(basprov,.uno,.dll));
#endif #endif
End End
...@@ -57,9 +57,9 @@ File gid_File_Lib_Vbaevent ...@@ -57,9 +57,9 @@ File gid_File_Lib_Vbaevent
Styles = (PACKED); Styles = (PACKED);
Dir = SCP2_OOO_BIN_DIR; Dir = SCP2_OOO_BIN_DIR;
#ifdef UNX #ifdef UNX
Name = STRING(CONCAT4(vbaevents,DLLPOSTFIX,.uno,UNXSUFFIX)); Name = STRING(CONCAT3(vbaevents,.uno,UNXSUFFIX));
#else #else
Name = STRING(CONCAT4(vbaevents,DLLPOSTFIX,.uno,.dll)); Name = STRING(CONCAT3(vbaevents,.uno,.dll));
#endif #endif
End End
...@@ -320,9 +320,9 @@ File gid_File_Lib_Dlgprov ...@@ -320,9 +320,9 @@ File gid_File_Lib_Dlgprov
Styles = (PACKED); Styles = (PACKED);
Dir = SCP2_OOO_BIN_DIR; Dir = SCP2_OOO_BIN_DIR;
#ifdef UNX #ifdef UNX
Name = STRING(CONCAT4(dlgprov,DLLPOSTFIX,.uno,UNXSUFFIX)); Name = STRING(CONCAT3(dlgprov,.uno,UNXSUFFIX));
#else #else
Name = STRING(CONCAT4(dlgprov,DLLPOSTFIX,.uno,.dll)); Name = STRING(CONCAT3(dlgprov,.uno,.dll));
#endif #endif
End End
...@@ -331,9 +331,9 @@ File gid_File_Lib_Stringresource ...@@ -331,9 +331,9 @@ File gid_File_Lib_Stringresource
Styles = (PACKED); Styles = (PACKED);
Dir = SCP2_OOO_BIN_DIR; Dir = SCP2_OOO_BIN_DIR;
#ifdef UNX #ifdef UNX
Name = STRING(CONCAT4(stringresource,DLLPOSTFIX,.uno,UNXSUFFIX)); Name = STRING(CONCAT3(stringresource,.uno,UNXSUFFIX));
#else #else
Name = STRING(CONCAT4(stringresource,DLLPOSTFIX,.uno,.dll)); Name = STRING(CONCAT3(stringresource,.uno,.dll));
#endif #endif
End End
......
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Initial Developer of the Original Code is
# Matúš Kukan <matus.kukan@gmail.com>
# Portions created by the Initial Developer are Copyright (C) 2011 the
# Initial Developer. All Rights Reserved.
#
# Major Contributor(s):
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Extension_Extension,script-provider-for-beanshell,scripting/util/provider/beanshell))
$(eval $(call gb_Extension_add_file,script-provider-for-beanshell,ScriptProviderForBeanShell.jar,\
$(call gb_Jar_get_target,ScriptProviderForBeanShell)))
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Initial Developer of the Original Code is
# Matúš Kukan <matus.kukan@gmail.com>
# Portions created by the Initial Developer are Copyright (C) 2011 the
# Initial Developer. All Rights Reserved.
#
# Major Contributor(s):
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Extension_Extension,script-provider-for-javascript,scripting/util/provider/javascript))
$(eval $(call gb_Extension_add_file,script-provider-for-javascript,ScriptProviderForJavaScript.jar,\
$(call gb_Jar_get_target,ScriptProviderForJavaScript)))
# vim: set noet sw=4 ts=4:
...@@ -26,11 +26,9 @@ ...@@ -26,11 +26,9 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
$(eval $(call gb_Zip_Zip,pythonscript,$(SRCDIR)/scripting/source/pyprov)) $(eval $(call gb_Extension_Extension,script-provider-for-python,scripting/source/pyprov))
$(eval $(call gb_Zip_add_files,pythonscript,\ $(eval $(call gb_Extension_add_file,script-provider-for-python,pythonscript.py,\
description.xml \ $(SRCDIR)/scripting/source/pyprov/pythonscript.py))
pythonscript.py \
))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+ # Version: MPL 1.1 / GPLv3+ / LGPLv3+
# #
# The contents of this file are subject to the Mozilla Public License Version # The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with # 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at # the License or as specified alternatively below. You may obtain a copy of
# http://www.mozilla.org/MPL/ # the License at http://www.mozilla.org/MPL/
# #
# Software distributed under the License is distributed on an "AS IS" basis, # Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
...@@ -11,11 +12,13 @@ ...@@ -11,11 +12,13 @@
# License. # License.
# #
# The Initial Developer of the Original Code is # The Initial Developer of the Original Code is
# Red Hat, Inc. # Matúš Kukan <matus.kukan@gmail.com>
# Portions created by the Initial Developer are Copyright (C) 2010 the # Portions created by the Initial Developer are Copyright (C) 2011 the
# Initial Developer. All Rights Reserved. # Initial Developer. All Rights Reserved.
# #
# Contributor(s): David Tardon <dtardon@redhat.com> # Major Contributor(s):
#
# For minor contributions see the git repository.
# #
# Alternatively, the contents of this file may be used under the terms of # Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
...@@ -23,38 +26,17 @@ ...@@ -23,38 +26,17 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
PRJ=..$/..$/.. $(eval $(call gb_Jar_Jar,HelloWorld,SRCDIR))
PRJNAME=scripting
TARGET=jsprov
.INCLUDE : settings.mk
.IF "$(L10N_framework)"=="" && "$(SOLAR_JAVA)"!=""
EXTENSIONNAME:=ScriptProviderForJavaScript
EXTENSION_ZIPNAME:=script-provider-for-javascript
COMPONENT_JARFILES=$(EXTENSIONDIR)$/$(EXTENSIONNAME).jar
EXTENSION_PACKDEPS=$(SOLARBINDIR)$/js.jar
.IF "$(ENABLE_SCRIPTING_JAVASCRIPT)" != "YES"
@all:
@echo "Script Provider for JavaScript build disabled."
.ENDIF
.INCLUDE : extension_pre.mk
.INCLUDE : target.mk
.INCLUDE : extension_post.mk
ALLTAR : $(EXTENSIONDIR)$/js.jar
$(EXTENSIONDIR)$/js.jar : $(SOLARBINDIR)$/js.jar
@@-$(MKDIRHIER) $(@:d)
$(COMMAND_ECHO)$(COPY) $< $@
.ELSE $(eval $(call gb_Jar_add_jars,HelloWorld,\
$(OUTDIR)/bin/juh.jar \
$(OUTDIR)/bin/jurt.jar \
$(OUTDIR)/bin/ridl.jar \
$(OUTDIR)/bin/unoil.jar \
))
.INCLUDE : target.mk $(eval $(call gb_Jar_add_sourcefiles,HelloWorld,\
scripting/examples/java/HelloWorld/HelloWorld \
))
.ENDIF # vim: set noet sw=4 ts=4:
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+ # Version: MPL 1.1 / GPLv3+ / LGPLv3+
# #
# The contents of this file are subject to the Mozilla Public License Version # The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with # 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at # the License or as specified alternatively below. You may obtain a copy of
# http://www.mozilla.org/MPL/ # the License at http://www.mozilla.org/MPL/
# #
# Software distributed under the License is distributed on an "AS IS" basis, # Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
...@@ -11,11 +12,13 @@ ...@@ -11,11 +12,13 @@
# License. # License.
# #
# The Initial Developer of the Original Code is # The Initial Developer of the Original Code is
# Red Hat, Inc. # Matúš Kukan <matus.kukan@gmail.com>
# Portions created by the Initial Developer are Copyright (C) 2010 the # Portions created by the Initial Developer are Copyright (C) 2011 the
# Initial Developer. All Rights Reserved. # Initial Developer. All Rights Reserved.
# #
# Contributor(s): David Tardon <dtardon@redhat.com> # Major Contributor(s):
#
# For minor contributions see the git repository.
# #
# Alternatively, the contents of this file may be used under the terms of # Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
...@@ -23,44 +26,17 @@ ...@@ -23,44 +26,17 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
PRJ=..$/..$/.. $(eval $(call gb_Jar_Jar,Highlight,SRCDIR))
PRJNAME=scripting
TARGET=bshprov
.INCLUDE : settings.mk
.IF "$(L10N_framework)"=="" && "$(SOLAR_JAVA)"!=""
EXTENSIONNAME:=ScriptProviderForBeanShell
EXTENSION_ZIPNAME:=script-provider-for-beanshell
COMPONENT_JARFILES=$(EXTENSIONDIR)$/$(EXTENSIONNAME).jar
.IF "$(SYSTEM_BSH)" != "YES"
EXTENSION_PACKDEPS=$(SOLARBINDIR)$/bsh.jar
.ENDIF
.IF "$(ENABLE_SCRIPTING_BEANSHELL)" != "YES"
@all:
@echo "Script Provider for BeanShell build disabled."
.ENDIF
.INCLUDE : extension_pre.mk
.INCLUDE : target.mk
.INCLUDE : extension_post.mk
.IF "$(SYSTEM_BSH)" != "YES"
ALLTAR : $(EXTENSIONDIR)$/bsh.jar
$(EXTENSIONDIR)$/bsh.jar : $(SOLARBINDIR)$/bsh.jar
@@-$(MKDIRHIER) $(@:d)
$(COMMAND_ECHO)$(COPY) $< $@
.ENDIF
.ELSE $(eval $(call gb_Jar_add_jars,Highlight,\
$(OUTDIR)/bin/juh.jar \
$(OUTDIR)/bin/jurt.jar \
$(OUTDIR)/bin/ridl.jar \
$(OUTDIR)/bin/unoil.jar \
))
.INCLUDE : target.mk $(eval $(call gb_Jar_add_sourcefiles,Highlight,\
scripting/examples/java/Highlight/HighlightText \
))
.ENDIF # vim: set noet sw=4 ts=4:
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Initial Developer of the Original Code is
# Matúš Kukan <matus.kukan@gmail.com>
# Portions created by the Initial Developer are Copyright (C) 2011 the
# Initial Developer. All Rights Reserved.
#
# Major Contributor(s):
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Jar_Jar,MemoryUsage,SRCDIR))
$(eval $(call gb_Jar_add_jars,MemoryUsage,\
$(OUTDIR)/bin/juh.jar \
$(OUTDIR)/bin/jurt.jar \
$(OUTDIR)/bin/ridl.jar \
$(OUTDIR)/bin/unoil.jar \
))
$(eval $(call gb_Jar_add_sourcefiles,MemoryUsage,\
scripting/examples/java/MemoryUsage/MemoryUsage \
))
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Initial Developer of the Original Code is
# Matúš Kukan <matus.kukan@gmail.com>
# Portions created by the Initial Developer are Copyright (C) 2011 the
# Initial Developer. All Rights Reserved.
#
# Major Contributor(s):
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Jar_Jar,ScriptFramework,SRCDIR))
$(eval $(call gb_Jar_add_jars,ScriptFramework,\
$(OUTDIR)/bin/juh.jar \
$(OUTDIR)/bin/jurt.jar \
$(OUTDIR)/bin/ridl.jar \
$(OUTDIR)/bin/unoil.jar \
))
$(eval $(call gb_Jar_set_componentfile,ScriptFramework,scripting/java/ScriptFramework,OOO))
$(eval $(call gb_Jar_set_packageroot,ScriptFramework,com))
$(eval $(call gb_Jar_add_sourcefiles,ScriptFramework,\
scripting/java/com/sun/star/script/framework/browse/DialogFactory \
scripting/java/com/sun/star/script/framework/browse/ParcelBrowseNode \
scripting/java/com/sun/star/script/framework/browse/PkgProviderBrowseNode \
scripting/java/com/sun/star/script/framework/browse/ProviderBrowseNode \
scripting/java/com/sun/star/script/framework/browse/ScriptBrowseNode \
scripting/java/com/sun/star/script/framework/container/DeployedUnoPackagesDB \
scripting/java/com/sun/star/script/framework/container/ParcelContainer \
scripting/java/com/sun/star/script/framework/container/ParcelDescriptor \
scripting/java/com/sun/star/script/framework/container/Parcel \
scripting/java/com/sun/star/script/framework/container/ParsedScriptUri \
scripting/java/com/sun/star/script/framework/container/ScriptEntry \
scripting/java/com/sun/star/script/framework/container/ScriptMetaData \
scripting/java/com/sun/star/script/framework/container/UnoPkgContainer \
scripting/java/com/sun/star/script/framework/container/XMLParserFactory \
scripting/java/com/sun/star/script/framework/container/XMLParser \
scripting/java/com/sun/star/script/framework/io/UCBStreamHandler \
scripting/java/com/sun/star/script/framework/io/XInputStreamImpl \
scripting/java/com/sun/star/script/framework/io/XInputStreamWrapper \
scripting/java/com/sun/star/script/framework/io/XOutputStreamWrapper \
scripting/java/com/sun/star/script/framework/io/XStorageHelper \
scripting/java/com/sun/star/script/framework/log/LogUtils \
scripting/java/com/sun/star/script/framework/provider/ClassLoaderFactory \
scripting/java/com/sun/star/script/framework/provider/EditorScriptContext \
scripting/java/com/sun/star/script/framework/provider/NoSuitableClassLoaderException \
scripting/java/com/sun/star/script/framework/provider/PathUtils \
scripting/java/com/sun/star/script/framework/provider/ScriptContext \
scripting/java/com/sun/star/script/framework/provider/ScriptEditor \
scripting/java/com/sun/star/script/framework/provider/ScriptProvider \
scripting/java/com/sun/star/script/framework/provider/SwingInvocation \
scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog \
))
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Initial Developer of the Original Code is
# Matúš Kukan <matus.kukan@gmail.com>
# Portions created by the Initial Developer are Copyright (C) 2011 the
# Initial Developer. All Rights Reserved.
#
# Major Contributor(s):
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Jar_Jar,ScriptProviderForBeanShell,SRCDIR))
$(eval $(call gb_Jar_add_jars,ScriptProviderForBeanShell,\
$(OUTDIR)/bin/juh.jar \
$(OUTDIR)/bin/jurt.jar \
$(OUTDIR)/bin/ridl.jar \
$(OUTDIR)/bin/unoil.jar \
$(OUTDIR)/bin/ScriptFramework.jar \
$(OUTDIR)/bin/bsh.jar \
))
$(eval $(call gb_Jar_set_packageroot,ScriptProviderForBeanShell,com))
$(eval $(call gb_Jar_add_sourcefiles,ScriptProviderForBeanShell,\
scripting/java/com/sun/star/script/framework/provider/beanshell/PlainSourceView \
scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell \
scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptProviderForBeanShell \
scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptSourceModel \
scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptSourceView \
))
$(eval $(call gb_Jar_add_packagefile,ScriptProviderForBeanShell,\
com/sun/star/script/framework/provider/beanshell/template.bsh,\
$(SRCDIR)/scripting/java/com/sun/star/script/framework/provider/beanshell/template.bsh \
))
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Initial Developer of the Original Code is
# Matúš Kukan <matus.kukan@gmail.com>
# Portions created by the Initial Developer are Copyright (C) 2011 the
# Initial Developer. All Rights Reserved.
#
# Major Contributor(s):
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Jar_Jar,ScriptProviderForJava,SRCDIR))
$(eval $(call gb_Jar_add_jars,ScriptProviderForJava,\
$(OUTDIR)/bin/juh.jar \
$(OUTDIR)/bin/jurt.jar \
$(OUTDIR)/bin/ridl.jar \
$(OUTDIR)/bin/unoil.jar \
$(OUTDIR)/bin/ScriptFramework.jar \
))
$(eval $(call gb_Jar_set_componentfile,ScriptProviderForJava,scripting/java/ScriptProviderForJava,OOO))
$(eval $(call gb_Jar_set_packageroot,ScriptProviderForJava,com))
$(eval $(call gb_Jar_add_sourcefiles,ScriptProviderForJava,\
scripting/java/com/sun/star/script/framework/provider/java/Resolver \
scripting/java/com/sun/star/script/framework/provider/java/ScriptDescriptor \
scripting/java/com/sun/star/script/framework/provider/java/ScriptProviderForJava \
scripting/java/com/sun/star/script/framework/provider/java/ScriptProxy \
scripting/java/com/sun/star/script/framework/provider/java/StrictResolver \
))
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Initial Developer of the Original Code is
# Matúš Kukan <matus.kukan@gmail.com>
# Portions created by the Initial Developer are Copyright (C) 2011 the
# Initial Developer. All Rights Reserved.
#
# Major Contributor(s):
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Jar_Jar,ScriptProviderForJavaScript,SRCDIR))
$(eval $(call gb_Jar_add_jars,ScriptProviderForJavaScript,\
$(OUTDIR)/bin/juh.jar \
$(OUTDIR)/bin/jurt.jar \
$(OUTDIR)/bin/ridl.jar \
$(OUTDIR)/bin/unoil.jar \
$(OUTDIR)/bin/ScriptFramework.jar \
$(OUTDIR)/bin/js.jar \
))
$(eval $(call gb_Jar_set_packageroot,ScriptProviderForJavaScript,com))
$(eval $(call gb_Jar_add_sourcefiles,ScriptProviderForJavaScript,\
scripting/java/com/sun/star/script/framework/provider/javascript/ScriptEditorForJavaScript \
scripting/java/com/sun/star/script/framework/provider/javascript/ScriptProviderForJavaScript \
))
$(eval $(call gb_Jar_add_packagefile,ScriptProviderForJavaScript,\
com/sun/star/script/framework/provider/javascript/template.js,\
$(SRCDIR)/scripting/java/com/sun/star/script/framework/provider/javascript/template.js \
))
# vim: set noet sw=4 ts=4:
...@@ -29,6 +29,22 @@ ...@@ -29,6 +29,22 @@
$(eval $(call gb_Module_Module,scripting)) $(eval $(call gb_Module_Module,scripting))
$(eval $(call gb_Module_add_targets,scripting,\ $(eval $(call gb_Module_add_targets,scripting,\
$(if $(SOLAR_JAVA),\
$(if $(filter $(ENABLE_SCRIPTING_JAVASCRIPT),YES),\
Extension_ScriptProviderForJavaScript) \
$(if $(filter $(ENABLE_SCRIPTING_BEANSHELL),YES),\
Extension_ScriptProviderForBeanShell) \
Jar_HelloWorld \
Jar_Highlight \
Jar_MemoryUsage \
Jar_ScriptFramework \
Jar_ScriptProviderForBeanShell \
Jar_ScriptProviderForJava \
Jar_ScriptProviderForJavaScript \
Zip_ScriptsJava \
) \
$(if $(filter $(ENABLE_SCRIPTING_PYTHON),YES),\
Extension_ScriptProviderForPython) \
Library_basprov \ Library_basprov \
Library_dlgprov \ Library_dlgprov \
Library_protocolhandler \ Library_protocolhandler \
...@@ -41,7 +57,5 @@ $(eval $(call gb_Module_add_targets,scripting,\ ...@@ -41,7 +57,5 @@ $(eval $(call gb_Module_add_targets,scripting,\
Zip_ScriptsJavaScript \ Zip_ScriptsJavaScript \
Zip_ScriptsPython \ Zip_ScriptsPython \
)) ))
# TODO:
# $(if $(SOLAR_JAVA),Zip_ScriptsJava) \
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -26,19 +26,44 @@ ...@@ -26,19 +26,44 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
# first we need to convert examples/java/makefile.mk $(eval $(call gb_Zip_Zip,ScriptsJava,$(WORKDIR)/Zip/ScriptsJava))
#$(eval $(call gb_Zip_Zip,ScriptsJava,$(WORKDIR)/...))
$(eval $(call gb_Zip_add_file,ScriptsJava,java/HelloWorld/HelloWorld.jar,\
#$(eval $(call gb_Zip_add_files,ScriptsJava,\ $(OUTDIR)/bin/HelloWorld.jar \
java/Highlight/Highlight.jar \ ))
java/Highlight/HighlightText.java \
java/Highlight/parcel-descriptor.xml \ $(eval $(call gb_Zip_add_file,ScriptsJava,java/HelloWorld/HelloWorld.java,\
java/MemoryUsage/MemoryUsage.java \ $(SRCDIR)/scripting/examples/java/HelloWorld/HelloWorld.java \
java/MemoryUsage/parcel-descriptor.xml \ ))
java/MemoryUsage/MemoryUsage.jar \
java/HelloWorld/HelloWorld.java \ $(eval $(call gb_Zip_add_file,ScriptsJava,java/HelloWorld/parcel-descriptor.xml,\
java/HelloWorld/HelloWorld.jar \ $(SRCDIR)/scripting/examples/java/HelloWorld/parcel-descriptor.xml \
java/HelloWorld/parcel-descriptor.xml \ ))
$(eval $(call gb_Zip_add_file,ScriptsJava,java/Highlight/Highlight.jar,\
$(OUTDIR)/bin/Highlight.jar \
))
$(eval $(call gb_Zip_add_file,ScriptsJava,java/Highlight/HighlightText.java,\
$(SRCDIR)/scripting/examples/java/Highlight/HighlightText.java \
))
$(eval $(call gb_Zip_add_file,ScriptsJava,java/Highlight/parcel-descriptor.xml,\
$(SRCDIR)/scripting/examples/java/Highlight/parcel-descriptor.xml \
))
$(eval $(call gb_Zip_add_file,ScriptsJava,java/MemoryUsage/MemoryUsage.jar,\
$(OUTDIR)/bin/MemoryUsage.jar \
))
$(eval $(call gb_Zip_add_file,ScriptsJava,java/MemoryUsage/MemoryUsage.java,\
$(SRCDIR)/scripting/examples/java/MemoryUsage/MemoryUsage.java \
))
$(eval $(call gb_Zip_add_file,ScriptsJava,java/MemoryUsage/parcel-descriptor.xml,\
$(SRCDIR)/scripting/examples/java/MemoryUsage/parcel-descriptor.xml \
)) ))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
Copyright 2000, 2010 Oracle and/or its affiliates.
OpenOffice.org - a multi-platform office productivity suite
This file is part of OpenOffice.org.
OpenOffice.org is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License version 3
only, as published by the Free Software Foundation.
OpenOffice.org is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License version 3 for more details
(a copy is included in the LICENSE file that accompanied this code).
You should have received a copy of the GNU Lesser General Public License
version 3 along with OpenOffice.org. If not, see
<http://www.openoffice.org/license.html>
for a copy of the LGPLv3 License.
-->
<project name="Scripting Framework Java Examples" default="all" basedir=".">
<!-- =================== Environmental Properties ======================= -->
<property name="prj" value="../.."/>
<property environment="env"/>
<property name="outdir" value="${out}/class/examples/java"/>
<!-- ==================== classpath setting ============================ -->
<path id="idlclasspath">
<pathelement location="${solar.jar}/unoil.jar"/>
<pathelement location="${solar.jar}/jurt.jar"/>
<pathelement location="${solar.jar}/juh.jar"/>
<pathelement location="${solar.jar}/ridl.jar"/>
<pathelement location="${out}/class/ScriptFramework.jar"/>
</path>
<!-- ===================== HelloWorld example =========================== -->
<target name="HelloWorld">
<mkdir dir="${outdir}/HelloWorld"/>
<javac srcdir="HelloWorld" destdir="${outdir}/HelloWorld"
includes="**/*.java" classpathref="idlclasspath"
debug="${debug}" optimize="${optimize}" deprecation="on" includeantruntime="false"/>
<copy file="HelloWorld/HelloWorld.java" todir="${outdir}/HelloWorld"/>
<copy file="HelloWorld/parcel-descriptor.xml" todir="${outdir}/HelloWorld"/>
<jar jarfile="${outdir}/HelloWorld/HelloWorld.jar"
basedir="${outdir}/HelloWorld"
includes="**/*.class"
excludes="${outdir}/HelloWorld/HelloWorld.jar">
</jar>
<delete file="${outdir}/HelloWorld/HelloWorld.class"/>
</target>
<!-- ===================== Highlight example ========================== -->
<target name="Highlight">
<mkdir dir="${outdir}/Highlight"/>
<javac srcdir="Highlight" destdir="${outdir}/Highlight"
includes="**/*.java" classpathref="idlclasspath"
debug="${debug}" optimize="${optimize}" deprecation="on" includeantruntime="false"/>
<copy file="Highlight/HighlightText.java" todir="${outdir}/Highlight"/>
<copy file="Highlight/parcel-descriptor.xml" todir="${outdir}/Highlight"/>
<jar jarfile="${outdir}/Highlight/Highlight.jar"
basedir="${outdir}/Highlight"
includes="**/*.class"
excludes="${outdir}/Highlight/Highlight.jar">
</jar>
<delete file="${outdir}/Highlight/HighlightText.class"/>
</target>
<!-- ===================== MemoryUsage example ========================== -->
<target name="MemoryUsage">
<mkdir dir="${outdir}/MemoryUsage"/>
<javac srcdir="MemoryUsage" destdir="${outdir}/MemoryUsage"
includes="**/*.java" classpathref="idlclasspath"
debug="${debug}" optimize="${optimize}" deprecation="on" includeantruntime="false"/>
<copy file="MemoryUsage/MemoryUsage.java" todir="${outdir}/MemoryUsage"/>
<copy file="MemoryUsage/parcel-descriptor.xml" todir="${outdir}/MemoryUsage"/>
<jar jarfile="${outdir}/MemoryUsage/MemoryUsage.jar"
basedir="${outdir}/MemoryUsage"
includes="**/*.class"
excludes="${outdir}/MemoryUsage/MemoryUsage.jar">
</jar>
<delete file="${outdir}/MemoryUsage/MemoryUsage.class"/>
</target>
<!-- ===================== selector example ========================== -->
<target name="selector">
<mkdir dir="${outdir}/selector"/>
<javac srcdir="selector" destdir="${outdir}/selector"
includes="**/*.java" classpathref="idlclasspath"
debug="${debug}" optimize="${optimize}" deprecation="on"/>
<copy todir="${outdir}/selector">
<fileset dir="selector">
<include name="**/*.java"/>
<include name="*.xml"/>
<include name="*.gif"/>
</fileset>
</copy>
<jar jarfile="${outdir}/selector/selector.jar"
basedir="${outdir}/selector" includes="*.class,*.gif">
</jar>
<delete>
<fileset dir="${outdir}/selector" includes="*.class,*.gif"/>
</delete>
</target>
<!-- ========================= All In One Build ======================= -->
<target name="all" depends="HelloWorld,Highlight,MemoryUsage"/>
</project>
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..
PRJNAME=scripting
TARGET=javaexamples
.INCLUDE : ant.mk
.IF "$(SOLAR_JAVA)"!=""
.IF "$(L10N_framework)"==""
ALLTAR : ANTBUILD
.ENDIF
.ENDIF
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..
PRJNAME=scriptinginstaller
TARGET=scriptinginstaller
no_common_build_zip=true
.INCLUDE : settings.mk
.IF "$(L10N_framework)"==""
.IF "$(SOLAR_JAVA)"!=""
ZIP1FLAGS=-r
ZIP1TARGET=ScriptsJava
ZIP1DIR=$(OUT)$/class$/examples
ZIP1LIST=java
.ENDIF
ZIP2FLAGS=-r
ZIP2TARGET=ScriptsBeanShell
ZIP2LIST=beanshell/HelloWorld beanshell/Highlight beanshell/WordCount beanshell/Capitalise beanshell/MemoryUsage
ZIP3FLAGS=-r
ZIP3TARGET=ScriptsJavaScript
ZIP3LIST=javascript
ZIP4FLAGS=-r
ZIP4TARGET=ScriptsPython
ZIP4LIST=python/HelloWorld.py python/Capitalise.py python/pythonSamples
ZIP5FLAGS=-r
ZIP5TARGET=scriptbindinglib
ZIP5DIR=$(PRJ)$/workben$/bindings
ZIP5LIST=*.xlb Highlight.xdl
.ENDIF
.INCLUDE : target.mk
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..
PRJNAME=scripting
TARGET=inc
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
# --- Targets -------------------------------------------------------
.INCLUDE : target.mk
.IF "$(ENABLE_PCH)"!=""
ALLTAR : \
$(SLO)$/precompiled.pch \
$(SLO)$/precompiled_ex.pch
.ENDIF # "$(ENABLE_PCH)"!=""
jedit.install.dir=/scde/soperm/projects/scripting/build-dependencies
install.dir=/scde/soperm/projects/scripting/build-dependencies
netbeans.home=/scde/soperm/projects/scripting/build-dependencies
This diff is collapsed.
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..
PRJNAME=scripting
TARGET=scriptruntimeforjava
.INCLUDE : ant.mk
.IF "$(L10N_framework)"==""
.IF "$(SOLAR_JAVA)"!=""
ALLTAR : ANTBUILD
.ENDIF
.ENDIF
ALLTAR : \
$(MISC)/ScriptFramework.component \
$(MISC)/ScriptProviderForJava.component \
$(MISC)/ScriptFramework.component .ERRREMOVE : \
$(SOLARENV)/bin/createcomponent.xslt ScriptFramework.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_JAVA)ScriptFramework.jar' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt ScriptFramework.component
$(MISC)/ScriptProviderForJava.component .ERRREMOVE : \
$(SOLARENV)/bin/createcomponent.xslt ScriptProviderForJava.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_JAVA)ScriptProviderForJava.jar' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt ScriptProviderForJava.component
tc scripting : filter oovbaapi vbahelper bridges DESKTOP:rdbmaker vcl xmlscript basic sfx2 rhino BSH:beanshell javaunohelper LIBXSLT:libxslt NULL tc scripting : filter oovbaapi vbahelper bridges DESKTOP:rdbmaker vcl xmlscript basic sfx2 rhino BSH:beanshell javaunohelper LIBXSLT:libxslt NULL
tc scripting\source\pyprov nmake - all tc1_scriptingpyprov NULL tc scripting\prj nmake - all tc1_prj NULL
tc scripting\java nmake - all tc1_scriptingjava NULL
tc scripting\examples\java nmake - all tc1_scriptingexamplesjava tc1_scriptingjava NULL
tc scripting\examples nmake - all tc1_scriptingexamples tc1_scriptingexamplesjava NULL
tc scripting\util\provider\javascript nmake - all tc1_scriptingjsprov tc1_scriptingjava NULL
tc scripting\util\provider\beanshell nmake - all tc1_scriptingbshprov tc1_scriptingjava NULL
mkdir: %_DEST%\inc\scripting
mkdir: %_DEST%\lib\pyuno
mkdir: %_DEST%\bin\pyuno
..\%__SRC%\bin\*.dll %_DEST%\bin\*
..\%__SRC%\bin\*.zip %COMMON_DEST%\pck\*
..\%__SRC%\class\*.jar %_DEST%\bin\*
..\%__SRC%\lib\*.so %_DEST%\lib\*
..\%__SRC%\bin\*.py %_DEST%\bin\pyuno\*
..\%__SRC%\lib\*.py %_DEST%\lib\pyuno\*
..\%__SRC%\lib\*.dylib %_DEST%\lib\*.dylib
..\%__SRC%\bin\*.rdb %_DEST%\rdb\*
..\%__SRC%\lib\lib*static*.dylib %_DEST%\lib\lib*static*.dylib
..\%__SRC%\misc\mailmerge.component %_DEST%\xml\mailmerge.component
..\%__SRC%\misc\ScriptFramework.component %_DEST%\xml\ScriptFramework.component
..\%__SRC%\misc\ScriptProviderForJava.component %_DEST%\xml\ScriptProviderForJava.component
# Extensions
..\%__SRC%\bin\*.oxt %_DEST%\bin\*.oxt
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..
PRJNAME=scripting
TARGET=basprov
ENABLE_EXCEPTIONS=TRUE
VISIBILITY_HIDDEN=TRUE
COMP1TYPELIST=$(TARGET)
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
DLLPRE =
# ------------------------------------------------------------------
SLOFILES= \
$(SLO)$/basprov.obj \
$(SLO)$/basscript.obj \
$(SLO)$/baslibnode.obj \
$(SLO)$/basmodnode.obj \
$(SLO)$/basmethnode.obj
SHL1TARGET= $(TARGET)$(DLLPOSTFIX).uno
SHL1IMPLIB= i$(TARGET)
SHL1VERSIONMAP=$(SOLARENV)/src/component.map
SHL1DEF=$(MISC)$/$(SHL1TARGET).def
DEF1NAME=$(SHL1TARGET)
SHL1STDLIBS= \
$(SFX2LIB) \
$(BASICLIB) \
$(VCLLIB) \
$(SVLLIB) \
$(TOOLSLIB) \
$(UCBHELPERLIB) \
$(COMPHELPERLIB) \
$(CPPUHELPERLIB) \
$(CPPULIB) \
$(SALLIB)
SHL1DEPN=
SHL1LIBS=$(SLB)$/$(TARGET).lib
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
ALLTAR : $(MISC)/basprov.component
$(MISC)/basprov.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
basprov.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt basprov.component
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..
PRJNAME=scripting
TARGET=dlgprov
ENABLE_EXCEPTIONS=TRUE
COMP1TYPELIST=$(TARGET)
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
DLLPRE =
# ------------------------------------------------------------------
SLOFILES= \
$(SLO)$/dlgprov.obj \
$(SLO)$/DialogModelProvider.obj \
$(SLO)$/dlgevtatt.obj
SHL1TARGET= $(TARGET)$(DLLPOSTFIX).uno
SHL1IMPLIB= i$(TARGET)
SHL1VERSIONMAP=$(SOLARENV)/src/component.map
SHL1DEF=$(MISC)$/$(SHL1TARGET).def
DEF1NAME=$(SHL1TARGET)
SHL1STDLIBS= \
$(SFX2LIB) \
$(VCLLIB) \
$(TOOLSLIB) \
$(XMLSCRIPTLIB) \
$(CPPUHELPERLIB) \
$(COMPHELPERLIB) \
$(UCBHELPERLIB) \
$(VBAHELPERLIB) \
$(CPPULIB) \
$(BASICLIB) \
$(SALLIB)
SHL1DEPN=
SHL1LIBS=$(SLB)$/$(TARGET).lib
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
# ------------------------------------------------------------------
ALLTAR : \
$(MISC)$/$(TARGET).don \
$(SLOFILES) : $(MISC)$/$(TARGET).don
$(MISC)$/$(TARGET).don : $(SOLARBINDIR)$/oovbaapi.rdb
+$(CPPUMAKER) -O$(INCCOM)$/$(TARGET) -BUCR $(SOLARBINDIR)$/oovbaapi.rdb -X$(SOLARBINDIR)$/types.rdb && echo > $@
echo $@
ALLTAR : $(MISC)/dlgprov.component
$(MISC)/dlgprov.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
dlgprov.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt dlgprov.component
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..
PRJNAME= scripting
TARGET= protocolhandler
USE_DEFFILE= TRUE
ENABLE_EXCEPTIONS=TRUE
COMP1TYPELIST=$(TARGET)
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# ------------------------------------------------------------------
SLOFILES=\
$(SLO)$/scripthandler.obj\
SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
SHL1STDLIBS= \
$(SFXLIB) \
$(FWELIB) \
$(CPPULIB) \
$(CPPUHELPERLIB) \
$(VCLLIB) \
$(SALLIB)
SHL1DEPN=
SHL1IMPLIB= i$(TARGET)
SHL1LIBS= $(SLB)$/$(TARGET).lib
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
DEF1NAME= $(SHL1TARGET)
DEF1EXPORTFILE= exports.dxp
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
ALLTAR : $(MISC)/protocolhandler.component
$(MISC)/protocolhandler.component .ERRREMOVE : \
$(SOLARENV)/bin/createcomponent.xslt protocolhandler.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt protocolhandler.component
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..
PRJNAME= scripting
TARGET= provider
USE_DEFFILE= TRUE
ENABLE_EXCEPTIONS=TRUE
VISIBILITY_HIDDEN=TRUE
COMP1TYPELIST=$(TARGET)
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# ------------------------------------------------------------------
SLOFILES=\
$(SLO)$/MasterScriptProvider.obj\
$(SLO)$/URIHelper.obj\
$(SLO)$/ActiveMSPList.obj\
$(SLO)$/ProviderCache.obj\
$(SLO)$/MasterScriptProviderFactory.obj\
$(SLO)$/BrowseNodeFactoryImpl.obj\
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..
PRJNAME=scripting
TARGET=pyprov
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Targets ------------------------------------------------------
# mailmerge is put in an extra services.rdb
# simply do not fiddle with that. cws sb123, sb129
ALL : ALLTAR \
$(DLLDEST)$/officehelper.py \
$(DLLDEST)$/msgbox.py \
$(DLLDEST)$/mailmerge.py
$(DLLDEST)$/%.py: %.py
cp $? $@
ALLTAR : $(MISC)/mailmerge.component
$(MISC)/mailmerge.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
mailmerge.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_PYTHON)mailmerge' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt mailmerge.component
# scripting provider extension
.IF "$(L10N_framework)"=="" && "$(ENABLE_SCRIPTING_PYTHON)" == "YES"
EXTENSIONNAME:=ScriptProviderForPython
EXTENSION_ZIPNAME:=script-provider-for-python
COMPONENT_FILES=$(EXTENSIONDIR)$/pythonscript.py
.INCLUDE : extension_pre.mk
.INCLUDE : target.mk
.INCLUDE : extension_post.mk
.ELSE
.INCLUDE : target.mk
.ENDIF
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..
PRJNAME=scripting
TARGET=stringresource
ENABLE_EXCEPTIONS=TRUE
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
DLLPRE =
# ------------------------------------------------------------------
SLOFILES= \
$(SLO)$/stringresource.obj \
SHL1TARGET= $(TARGET)$(DLLPOSTFIX).uno
SHL1IMPLIB= i$(TARGET)
SHL1VERSIONMAP=$(SOLARENV)/src/component.map
SHL1DEF=$(MISC)$/$(SHL1TARGET).def
DEF1NAME=$(SHL1TARGET)
SHL1STDLIBS= \
$(TOOLSLIB) \
$(CPPUHELPERLIB) \
$(CPPULIB) \
$(SALLIB)
SHL1DEPN=
SHL1LIBS=$(SLB)$/$(TARGET).lib
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
ALLTAR : $(MISC)/stringresource.component
$(MISC)/stringresource.component .ERRREMOVE : \
$(SOLARENV)/bin/createcomponent.xslt stringresource.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt stringresource.component
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2008 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..
PRJNAME=scripting
TARGET=vbaevents
VISIBILITY_HIDDEN=TRUE
NO_BSYMBOLIC= TRUE
ENABLE_EXCEPTIONS=TRUE
COMP1TYPELIST=$(TARGET)
COMPRDB=$(SOLARBINDIR)$/types.rdb
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
DLLPRE =
# ------------------------------------------------------------------
SLOFILES= \
$(SLO)$/service.obj \
$(SLO)$/eventhelper.obj
SHL1TARGET= $(TARGET)$(DLLPOSTFIX).uno
SHL1IMPLIB= i$(TARGET)
SHL1VERSIONMAP=$(SOLARENV)/src/component.map
SHL1DEF=$(MISC)$/$(SHL1TARGET).def
DEF1NAME=$(SHL1TARGET)
SHL1STDLIBS= \
$(CPPUHELPERLIB) \
$(BASICLIB) \
$(COMPHELPERLIB) \
$(SFXLIB) \
$(MSFILTERLIB) \
$(CPPULIB) \
$(TOOLSLIB) \
$(SALLIB)
SHL1DEPN=
SHL1LIBS=$(SLB)$/$(TARGET).lib
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
# ------------------------------------------------------------------
ALLTAR : \
$(MISC)$/$(TARGET).don \
$(SLOFILES) : $(MISC)$/$(TARGET).don
$(MISC)$/$(TARGET).don : $(SOLARBINDIR)$/oovbaapi.rdb
+$(CPPUMAKER) -O$(INCCOM)$/$(TARGET) -BUCR $(SOLARBINDIR)$/oovbaapi.rdb -X$(SOLARBINDIR)$/types.rdb && echo > $@
echo $@
ALLTAR : $(MISC)/vbaevents.component
$(MISC)/vbaevents.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
vbaevents.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt vbaevents.component
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..
ENABLE_EXCEPTIONS=TRUE
VISIBILITY_HIDDEN=TRUE
PRJNAME=scripting
TARGET=scriptframe
USE_DEFFILE= TRUE
NO_BSYMBOLIC= TRUE
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Allgemein ----------------------------------------------------
LIB1TARGET= $(SLB)$/$(TARGET).lib
LIB1FILES= $(SLB)/provider.lib
SHL1TARGET= $(TARGET)
SHL1IMPLIB= $(TARGET)
SHL1STDLIBS+=\
$(TOOLSLIB) \
$(CPPULIB) \
$(CPPUHELPERLIB) \
$(COMPHELPERLIB) \
$(UCBHELPERLIB) \
$(SALLIB)
SHL1LIBS= $(SLB)$/$(TARGET).lib
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
DEF1NAME =$(SHL1TARGET)
DEF1EXPORTFILE= exports.dxp
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
ALLTAR : $(MISC)/scriptframe.component
$(MISC)/scriptframe.component .ERRREMOVE : \
$(SOLARENV)/bin/createcomponent.xslt scriptframe.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt scriptframe.component
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment