1*2407af08SAndrew Rist#**************************************************************
2*2407af08SAndrew Rist#
3*2407af08SAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
4*2407af08SAndrew Rist#  or more contributor license agreements.  See the NOTICE file
5*2407af08SAndrew Rist#  distributed with this work for additional information
6*2407af08SAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
7*2407af08SAndrew Rist#  to you under the Apache License, Version 2.0 (the
8*2407af08SAndrew Rist#  "License"); you may not use this file except in compliance
9*2407af08SAndrew Rist#  with the License.  You may obtain a copy of the License at
10*2407af08SAndrew Rist#
11*2407af08SAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12*2407af08SAndrew Rist#
13*2407af08SAndrew Rist#  Unless required by applicable law or agreed to in writing,
14*2407af08SAndrew Rist#  software distributed under the License is distributed on an
15*2407af08SAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*2407af08SAndrew Rist#  KIND, either express or implied.  See the License for the
17*2407af08SAndrew Rist#  specific language governing permissions and limitations
18*2407af08SAndrew Rist#  under the License.
19*2407af08SAndrew Rist#
20*2407af08SAndrew Rist#**************************************************************
21*2407af08SAndrew Rist
22*2407af08SAndrew 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
48cdf0e10cSrcweir#PATCH_FILES=$(PRJ)$/patches$/httpclient.patch
49cdf0e10cSrcweir
50cdf0e10cSrcweir#CONVERTFILES=build.xml
51cdf0e10cSrcweir
52cdf0e10cSrcweirOUT2CLASS=dist$/commons-httpclient.jar
53cdf0e10cSrcweir
54cdf0e10cSrcweirCOMMONS_LOGGING_JAR=..$/..$/..$/..$/$(INPATH)$/class$/commons-logging-1.1.1-SNAPSHOT.jar
55cdf0e10cSrcweirCOMMONS_CODEC_JAR=..$/..$/..$/..$/$/$(INPATH)$/class$/commons-codec-1.3.jar
56cdf0e10cSrcweir
57cdf0e10cSrcweir.IF "$(JAVACISGCJ)"=="yes"
58cdf0e10cSrcweirJAVA_HOME=
59cdf0e10cSrcweir.EXPORT : JAVA_HOME
60cdf0e10cSrcweirBUILD_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
61cdf0e10cSrcweir.ELSE
62cdf0e10cSrcweirBUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)"  -Dcommons-logging.jar=$(COMMONS_LOGGING_JAR) -Dcommons-codec.jar=$(COMMONS_CODEC_JAR) -f $(ANT_BUILDFILE) dist
63cdf0e10cSrcweir.ENDIF
64cdf0e10cSrcweir
65cdf0e10cSrcweir.ENDIF # $(SOLAR_JAVA)!= ""
66cdf0e10cSrcweir
67cdf0e10cSrcweir# --- Targets ------------------------------------------------------
68cdf0e10cSrcweir
69cdf0e10cSrcweir.INCLUDE : set_ext.mk
70cdf0e10cSrcweir.INCLUDE : target.mk
71cdf0e10cSrcweir
72cdf0e10cSrcweir.IF "$(SOLAR_JAVA)" != "" && "$(ENABLE_MEDIAWIKI)" == "YES"
73cdf0e10cSrcweir.INCLUDE : tg_ext.mk
74cdf0e10cSrcweir.ENDIF
75cdf0e10cSrcweir
76