12407af08SAndrew Rist#**************************************************************
22407af08SAndrew Rist#
32407af08SAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
42407af08SAndrew Rist#  or more contributor license agreements.  See the NOTICE file
52407af08SAndrew Rist#  distributed with this work for additional information
62407af08SAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
72407af08SAndrew Rist#  to you under the Apache License, Version 2.0 (the
82407af08SAndrew Rist#  "License"); you may not use this file except in compliance
92407af08SAndrew Rist#  with the License.  You may obtain a copy of the License at
102407af08SAndrew Rist#
112407af08SAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
122407af08SAndrew Rist#
132407af08SAndrew Rist#  Unless required by applicable law or agreed to in writing,
142407af08SAndrew Rist#  software distributed under the License is distributed on an
152407af08SAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
162407af08SAndrew Rist#  KIND, either express or implied.  See the License for the
172407af08SAndrew Rist#  specific language governing permissions and limitations
182407af08SAndrew Rist#  under the License.
192407af08SAndrew Rist#
202407af08SAndrew Rist#**************************************************************
212407af08SAndrew Rist
222407af08SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=..$/..
25cdf0e10cSrcweir
26cdf0e10cSrcweirPRJNAME=apache-commons
27cdf0e10cSrcweirTARGET=commons-httpclient
28cdf0e10cSrcweir
29cdf0e10cSrcweir# --- Settings -----------------------------------------------------
30cdf0e10cSrcweir
31cdf0e10cSrcweir.INCLUDE :	settings.mk
32cdf0e10cSrcweir
33cdf0e10cSrcweir# override buildfile
34cdf0e10cSrcweirANT_BUILDFILE=build.xml
35cdf0e10cSrcweir
36cdf0e10cSrcweir.INCLUDE : antsettings.mk
37cdf0e10cSrcweir
38cdf0e10cSrcweirTAR!:=$(GNUTAR)
39cdf0e10cSrcweir
40cdf0e10cSrcweir.IF "$(SOLAR_JAVA)" != "" && "$(ENABLE_MEDIAWIKI)" == "YES"
41cdf0e10cSrcweir# --- Files --------------------------------------------------------
42cdf0e10cSrcweir
43cdf0e10cSrcweirTARFILE_NAME=commons-httpclient-3.1-src
44cdf0e10cSrcweirTARFILE_MD5=2c9b0f83ed5890af02c0df1c1776f39b
45cdf0e10cSrcweir
46cdf0e10cSrcweirTARFILE_ROOTDIR=commons-httpclient-3.1
47cdf0e10cSrcweir
48d889ac6bSAndre FischerPATCH_FILES=									\
49d889ac6bSAndre Fischer	$(PRJ)$/patches$/httpclient.patch			\
50d889ac6bSAndre Fischer	$(PRJ)$/patches$/httpclient_no_javadoc.patch
51cdf0e10cSrcweir
52cdf0e10cSrcweir#CONVERTFILES=build.xml
53d889ac6bSAndre Fischer
54cdf0e10cSrcweirOUT2CLASS=dist$/commons-httpclient.jar
55cdf0e10cSrcweir
56*f0339755SJuergen SchmidtCOMMONS_LOGGING_JAR=..$/..$/..$/..$/$(INPATH)$/class$/commons-logging-1.1.3.jar
57*f0339755SJuergen SchmidtCOMMONS_CODEC_JAR=..$/..$/..$/..$/$/$(INPATH)$/class$/commons-codec-1.9.jar
58cdf0e10cSrcweir
59cdf0e10cSrcweir.IF "$(JAVACISGCJ)"=="yes"
60cdf0e10cSrcweirJAVA_HOME=
61cdf0e10cSrcweir.EXPORT : JAVA_HOME
62cdf0e10cSrcweirBUILD_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
63cdf0e10cSrcweir.ELSE
64cdf0e10cSrcweirBUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)"  -Dcommons-logging.jar=$(COMMONS_LOGGING_JAR) -Dcommons-codec.jar=$(COMMONS_CODEC_JAR) -f $(ANT_BUILDFILE) dist
65cdf0e10cSrcweir.ENDIF
66cdf0e10cSrcweir
67cdf0e10cSrcweir.ENDIF # $(SOLAR_JAVA)!= ""
68cdf0e10cSrcweir
69cdf0e10cSrcweir# --- Targets ------------------------------------------------------
70cdf0e10cSrcweir
71cdf0e10cSrcweir.INCLUDE : set_ext.mk
72cdf0e10cSrcweir.INCLUDE : target.mk
73cdf0e10cSrcweir
74cdf0e10cSrcweir.IF "$(SOLAR_JAVA)" != "" && "$(ENABLE_MEDIAWIKI)" == "YES"
75cdf0e10cSrcweir.INCLUDE : tg_ext.mk
76cdf0e10cSrcweir.ENDIF
77cdf0e10cSrcweir
78