1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24PRJ=. 25 26PRJNAME=ooo_rhino 27TARGET=ooo_rhino 28 29.IF "$(SOLAR_JAVA)"=="" 30all: 31 @echo java disabled 32 33.ELIF "$(ENABLE_JAVASCRIPT)"!="YES" 34all: 35 @echo javascript support disabled 36.ELSE 37 38# --- Settings ----------------------------------------------------- 39 40.INCLUDE : settings.mk 41.INCLUDE : antsettings.mk 42 43# --- Files -------------------------------------------------------- 44 45#.IF "$(DISABLE_RHINO)" == "" 46 47TARFILE_NAME=rhino1_7R3 48TARFILE_MD5=99d94103662a8d0b571e247a77432ac5 49TARFILE_ROOTDIR=rhino1_7R3 50 51ADDITIONAL_FILES= \ 52 toolsrc/org/mozilla/javascript/tools/debugger/OfficeScriptInfo.java 53 54PATCH_FILES=rhino1_7R3.patch 55 56.IF "$(JAVACISGCJ)"=="yes" 57JAVA_HOME= 58.EXPORT : JAVA_HOME 59BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -Dno-xmlbeans=true jar 60.ELSE 61BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dno-xmlbeans=true jar 62.ENDIF 63 64# --- Targets ------------------------------------------------------ 65 66.INCLUDE : set_ext.mk 67.INCLUDE : target.mk 68.INCLUDE : tg_ext.mk 69 70.ENDIF 71