2008-02-04 08:02:15 +00:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2008-04-11 10:14:05 +00:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
2010-02-12 15:01:35 +01:00
|
|
|
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
2008-02-04 08:02:15 +00:00
|
|
|
#
|
2008-04-11 10:14:05 +00:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2008-02-04 08:02:15 +00:00
|
|
|
#
|
2008-04-11 10:14:05 +00:00
|
|
|
# This file is part of OpenOffice.org.
|
2008-02-04 08:02:15 +00:00
|
|
|
#
|
2008-04-11 10:14:05 +00: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.
|
2008-02-04 08:02:15 +00:00
|
|
|
#
|
2008-04-11 10:14:05 +00: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).
|
2008-02-04 08:02:15 +00:00
|
|
|
#
|
2008-04-11 10:14:05 +00: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.
|
2008-02-04 08:02:15 +00:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
|
|
|
|
|
|
|
PRJ=..$/..
|
|
|
|
|
|
|
|
PRJNAME=apache-commons
|
|
|
|
TARGET=commons-httpclient
|
|
|
|
|
|
|
|
# --- Settings -----------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : settings.mk
|
|
|
|
|
|
|
|
# override buildfile
|
|
|
|
ANT_BUILDFILE=build.xml
|
|
|
|
|
|
|
|
.INCLUDE : antsettings.mk
|
|
|
|
|
2009-04-23 15:52:08 +00:00
|
|
|
TAR!:=$(GNUTAR)
|
|
|
|
|
2009-03-23 13:41:17 +00:00
|
|
|
.IF "$(SOLAR_JAVA)" != "" && "$(ENABLE_MEDIAWIKI)" == "YES"
|
2008-02-04 08:02:15 +00:00
|
|
|
# --- Files --------------------------------------------------------
|
|
|
|
|
|
|
|
TARFILE_NAME=commons-httpclient-3.1-src
|
2010-01-15 14:55:12 +01:00
|
|
|
TARFILE_MD5=2c9b0f83ed5890af02c0df1c1776f39b
|
2008-02-04 08:02:15 +00:00
|
|
|
|
|
|
|
TARFILE_ROOTDIR=commons-httpclient-3.1
|
|
|
|
|
|
|
|
OUT2CLASS=dist$/commons-httpclient.jar
|
|
|
|
|
|
|
|
COMMONS_LOGGING_JAR=..$/..$/..$/..$/$(INPATH)$/class$/commons-logging-1.1.1-SNAPSHOT.jar
|
|
|
|
COMMONS_CODEC_JAR=..$/..$/..$/..$/$/$(INPATH)$/class$/commons-codec-1.3.jar
|
|
|
|
|
2010-09-16 18:30:58 +02:00
|
|
|
ANT_OPTS+="-Dfile.encoding=ISO-8859-1"
|
|
|
|
.EXPORT : ANT_OPTS
|
|
|
|
|
2008-02-04 08:02:15 +00:00
|
|
|
.IF "$(JAVACISGCJ)"=="yes"
|
|
|
|
JAVA_HOME=
|
|
|
|
.EXPORT : JAVA_HOME
|
2012-07-10 13:06:47 +02:00
|
|
|
BUILD_ACTION="$(ANT)" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -Dcommons-logging.jar=$(COMMONS_LOGGING_JAR) -Dcommons-codec.jar=$(COMMONS_CODEC_JAR) -f $(ANT_BUILDFILE) dist
|
2008-02-04 08:02:15 +00:00
|
|
|
.ELSE
|
2012-07-10 13:06:47 +02:00
|
|
|
BUILD_ACTION="$(ANT)" -Dbuild.label="build-$(RSCREVISION)" -Dcommons-logging.jar=$(COMMONS_LOGGING_JAR) -Dcommons-codec.jar=$(COMMONS_CODEC_JAR) -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) -f $(ANT_BUILDFILE) dist
|
2008-02-04 08:02:15 +00:00
|
|
|
.ENDIF
|
|
|
|
|
|
|
|
.ENDIF # $(SOLAR_JAVA)!= ""
|
|
|
|
|
|
|
|
# --- Targets ------------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : set_ext.mk
|
|
|
|
.INCLUDE : target.mk
|
|
|
|
|
2009-03-23 13:41:17 +00:00
|
|
|
.IF "$(SOLAR_JAVA)" != "" && "$(ENABLE_MEDIAWIKI)" == "YES"
|
2008-02-04 08:02:15 +00:00
|
|
|
.INCLUDE : tg_ext.mk
|
|
|
|
.ENDIF
|
|
|
|
|