1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval
$(call gb_ExternalProject_ExternalProject
,rhino
))
12 $(eval
$(call gb_ExternalProject_register_targets
,rhino
,\
16 $(call gb_ExternalProject_get_state_target
,rhino
,build
) :
17 $(call gb_Trace_StartRange
,rhino
,EXTERNAL
)
18 $(call gb_ExternalProject_run
,build
,\
19 mkdir
$(gb_UnpackedTarball_workdir
)/rhino
/build \
20 && cd
$(gb_UnpackedTarball_workdir
)/rhino \
21 && $(call gb_JavaClassSet_JAVACCOMMAND
,$(JAVA_TARGET_VER
)) $(gb_JavaClassSet_JAVACDEBUG
) \
22 -d
$(gb_UnpackedTarball_workdir
)/rhino
/build
/content \
23 @
$(SRCDIR
)/external
/rhino
/filelist.txt \
24 && mkdir
$(gb_UnpackedTarball_workdir
)/rhino
/build
/content
/META-INF \
25 && cp
$(gb_UnpackedTarball_workdir
)/rhino
/LICENSE.txt \
26 $(gb_UnpackedTarball_workdir
)/rhino
/NOTICE-tools.txt \
27 $(gb_UnpackedTarball_workdir
)/rhino
/NOTICE.txt \
28 $(gb_UnpackedTarball_workdir
)/rhino
/build
/content
/META-INF
/ \
29 && $(gb_Jar_JARCOMMAND
) -cf
$(gb_UnpackedTarball_workdir
)/rhino
/build
/js.jar \
30 -C
$(gb_UnpackedTarball_workdir
)/rhino
/build
/content . \
31 -C
$(gb_UnpackedTarball_workdir
)/rhino
/src \
32 org
/mozilla
/javascript
/commonjs
/module
/package.html \
33 -C
$(gb_UnpackedTarball_workdir
)/rhino
/src \
34 org
/mozilla
/javascript
/commonjs
/module
/provider
/package.html \
35 -C
$(gb_UnpackedTarball_workdir
)/rhino
/src \
36 org
/mozilla
/javascript
/resources
/Messages.properties \
37 -C
$(gb_UnpackedTarball_workdir
)/rhino
/src \
38 org
/mozilla
/javascript
/resources
/Messages_en.properties \
39 -C
$(gb_UnpackedTarball_workdir
)/rhino
/src \
40 org
/mozilla
/javascript
/resources
/Messages_fr.properties \
41 -C
$(gb_UnpackedTarball_workdir
)/rhino
/src \
42 org
/mozilla
/javascript
/tools
/debugger
/test.js \
43 -C
$(gb_UnpackedTarball_workdir
)/rhino
/src \
44 org
/mozilla
/javascript
/tools
/resources
/Messages.properties \
46 $(call gb_Trace_EndRange
,rhino
,EXTERNAL
)
48 # vim: set noet sw=4 ts=4: