1 # -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
2 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License or as specified alternatively below. You may obtain a copy of
7 # the License at http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
14 # The Initial Developer of the Original Code is
15 # Matúš Kukan <matus.kukan@gmail.com>
16 # Portions created by the Initial Developer are Copyright (C) 2011 the
17 # Initial Developer. All Rights Reserved.
19 # Major Contributor(s):
21 # For minor contributions see the git repository.
23 # Alternatively, the contents of this file may be used under the terms of
24 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
25 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
26 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
27 # instead of those above.
29 $(eval
$(call gb_Jar_Jar
,ScriptProviderForBeanShell
))
31 $(eval
$(call gb_Jar_add_jars
,ScriptProviderForBeanShell
,\
32 $(OUTDIR
)/bin
/juh.jar \
33 $(OUTDIR
)/bin
/jurt.jar \
34 $(OUTDIR
)/bin
/ridl.jar \
35 $(OUTDIR
)/bin
/unoil.jar \
36 $(OUTDIR
)/bin
/ScriptFramework.jar \
39 $(eval
$(call gb_Jar_use_externals
,ScriptProviderForBeanShell
,\
43 $(eval
$(call gb_Jar_set_manifest
,ScriptProviderForBeanShell
,$(SRCDIR
)/scripting
/java
/com
/sun
/star
/script
/framework
/provider
/beanshell
/MANIFEST.MF
))
45 #TODO: Ensure "file://$(BSH_JAR)" is a proper file URL:
46 ifeq ($(SYSTEM_BSH
),YES
)
47 $(eval
$(call gb_Jar_set_jarclasspath
,ScriptProviderForBeanShell
, \
48 ScriptFramework.jar file
://$(BSH_JAR
)))
50 $(eval
$(call gb_Jar_set_jarclasspath
,ScriptProviderForBeanShell
, \
51 ScriptFramework.jar bsh.jar
))
54 $(eval
$(call gb_Jar_set_componentfile
,ScriptProviderForBeanShell
,scripting
/java
/ScriptProviderForBeanShell
,OOO
))
56 $(eval
$(call gb_Jar_set_packageroot
,ScriptProviderForBeanShell
,com
))
58 $(eval
$(call gb_Jar_add_sourcefiles
,ScriptProviderForBeanShell
,\
59 scripting
/java
/com
/sun
/star
/script
/framework
/provider
/beanshell
/PlainSourceView \
60 scripting
/java
/com
/sun
/star
/script
/framework
/provider
/beanshell
/ScriptEditorForBeanShell \
61 scripting
/java
/com
/sun
/star
/script
/framework
/provider
/beanshell
/ScriptProviderForBeanShell \
62 scripting
/java
/com
/sun
/star
/script
/framework
/provider
/beanshell
/ScriptSourceModel \
63 scripting
/java
/com
/sun
/star
/script
/framework
/provider
/beanshell
/ScriptSourceView \
66 $(eval
$(call gb_Jar_add_packagefile
,ScriptProviderForBeanShell
,\
67 com
/sun
/star
/script
/framework
/provider
/beanshell
/template.bsh
,\
68 $(SRCDIR
)/scripting
/java
/com
/sun
/star
/script
/framework
/provider
/beanshell
/template.bsh \
71 # vim: set noet sw=4 ts=4: