2003-11-28 08:11:52 -06:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2008-04-11 01:01:54 -05:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
2010-02-12 08:01:35 -06:00
|
|
|
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
2003-11-28 08:11:52 -06:00
|
|
|
#
|
2008-04-11 01:01:54 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2003-11-28 08:11:52 -06:00
|
|
|
#
|
2008-04-11 01:01:54 -05:00
|
|
|
# This file is part of OpenOffice.org.
|
2003-11-28 08:11:52 -06:00
|
|
|
#
|
2008-04-11 01:01:54 -05:00
|
|
|
# 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.
|
2003-11-28 08:11:52 -06:00
|
|
|
#
|
2008-04-11 01:01:54 -05:00
|
|
|
# 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).
|
2003-11-28 08:11:52 -06:00
|
|
|
#
|
2008-04-11 01:01:54 -05:00
|
|
|
# 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.
|
2003-11-28 08:11:52 -06:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
|
|
|
|
|
|
|
PRJ=.
|
2005-03-01 06:11:19 -06:00
|
|
|
|
|
|
|
PRJNAME=ooo_rhino
|
|
|
|
TARGET=ooo_rhino
|
2003-11-28 08:11:52 -06:00
|
|
|
|
2004-11-09 04:50:38 -06:00
|
|
|
.IF "$(SOLAR_JAVA)"!=""
|
2005-03-01 06:11:19 -06:00
|
|
|
# --- Settings -----------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : settings.mk
|
2008-01-04 08:29:26 -06:00
|
|
|
.INCLUDE : antsettings.mk
|
2005-03-01 06:11:19 -06:00
|
|
|
|
|
|
|
# --- Files --------------------------------------------------------
|
|
|
|
|
2008-01-04 08:22:44 -06:00
|
|
|
TARFILE_NAME=rhino1_5R5
|
2010-01-15 07:55:12 -06:00
|
|
|
TARFILE_MD5=798b2ffdc8bcfe7bca2cf92b62caf685
|
2008-01-04 08:22:44 -06:00
|
|
|
TARFILE_ROOTDIR=rhino1_5R5
|
2005-04-22 05:38:21 -05:00
|
|
|
|
2008-01-04 08:22:44 -06:00
|
|
|
ADDITIONAL_FILES= \
|
|
|
|
toolsrc/org/mozilla/javascript/tools/debugger/OfficeScriptInfo.java
|
2005-04-22 05:38:21 -05:00
|
|
|
|
2009-10-29 12:45:35 -05:00
|
|
|
PATCH_FILES=rhino1_5R5.patch \
|
2011-02-23 03:40:48 -06:00
|
|
|
rhino1_5R5-find_swing.patch \
|
|
|
|
rhino1_5R5-updateToolTip.patch
|
2005-03-01 06:11:19 -06:00
|
|
|
|
2011-05-20 18:42:19 -05:00
|
|
|
.IF "$(OS_FOR_BUILD)"=="WNT"
|
2011-04-11 02:26:49 -05:00
|
|
|
FIXED_TARFILE_LOCATION=`cygpath -m -s "$(TARFILE_LOCATION)"`
|
|
|
|
.ELSE
|
|
|
|
FIXED_TARFILE_LOCATION=$(TARFILE_LOCATION)
|
|
|
|
.ENDIF
|
|
|
|
|
2008-01-04 08:22:44 -06:00
|
|
|
.IF "$(JAVACISGCJ)"=="yes"
|
|
|
|
JAVA_HOME=
|
|
|
|
.EXPORT : JAVA_HOME
|
2011-11-11 09:45:58 -06:00
|
|
|
BUILD_ACTION=$(ANT) -DTARFILE_LOCATION="$(FIXED_TARFILE_LOCATION)" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj jar
|
2008-01-04 08:22:44 -06:00
|
|
|
.ELSE
|
2011-11-11 09:45:58 -06:00
|
|
|
BUILD_ACTION=$(ANT) -DTARFILE_LOCATION="$(FIXED_TARFILE_LOCATION)" -Dbuild.label="build-$(RSCREVISION)" -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) jar
|
2008-01-04 08:22:44 -06:00
|
|
|
.ENDIF
|
2005-03-01 06:11:19 -06:00
|
|
|
|
|
|
|
# --- Targets ------------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : set_ext.mk
|
|
|
|
.INCLUDE : target.mk
|
|
|
|
.INCLUDE : tg_ext.mk
|
|
|
|
|
2004-11-09 04:50:38 -06:00
|
|
|
.ELSE
|
|
|
|
all:
|
|
|
|
@echo java disabled
|
|
|
|
.ENDIF
|