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-logging
28cdf0e10cSrcweir
29cdf0e10cSrcweir# --- Settings -----------------------------------------------------
30cdf0e10cSrcweir
31cdf0e10cSrcweir.INCLUDE :	settings.mk
32cdf0e10cSrcweir
33cdf0e10cSrcweir# override buildfile
34cdf0e10cSrcweirANT_BUILDFILE=build.xml
35cdf0e10cSrcweir
36cdf0e10cSrcweir.INCLUDE : antsettings.mk
37cdf0e10cSrcweir
38cdf0e10cSrcweir.IF "$(SOLAR_JAVA)" != "" && ( "$(ENABLE_MEDIAWIKI)" == "YES" || "$(ENABLE_REPORTBUILDER)" == "YES" )
39cdf0e10cSrcweir# --- Files --------------------------------------------------------
40cdf0e10cSrcweir
41cdf0e10cSrcweirTARFILE_NAME=commons-logging-1.1.1-src
42cdf0e10cSrcweirTARFILE_MD5=3c219630e4302863a9a83d0efde889db
43cdf0e10cSrcweir
44cdf0e10cSrcweirTARFILE_ROOTDIR=commons-logging-1.1.1-src
45cdf0e10cSrcweir
46cdf0e10cSrcweirPATCH_FILES=$(PRJ)$/patches$/logging.patch
47cdf0e10cSrcweir
48cdf0e10cSrcweirCONVERTFILES=build.xml
49cdf0e10cSrcweir
50cdf0e10cSrcweirOUT2CLASS=target$/commons-logging-1.1.1-SNAPSHOT.jar
51cdf0e10cSrcweir
52cdf0e10cSrcweir.IF "$(SYSTEM_TOMCAT)" != "YES"
53cdf0e10cSrcweirSERVLETAPI_JAR := $(SOLARVER)$/$(INPATH)$/bin$(UPDMINOREXT)$/servlet-api.jar
54cdf0e10cSrcweir.ENDIF
55cdf0e10cSrcweir
56cdf0e10cSrcweir.IF "$(JAVACISGCJ)"=="yes"
57cdf0e10cSrcweirJAVA_HOME=
58cdf0e10cSrcweir.EXPORT : JAVA_HOME
59cdf0e10cSrcweirBUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -Dservletapi.jar=$(SERVLETAPI_JAR) -f $(ANT_BUILDFILE) compile build-jar
60cdf0e10cSrcweir.ELSE
61cdf0e10cSrcweirBUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -f $(ANT_BUILDFILE) -Dservletapi.jar=$(SERVLETAPI_JAR) compile build-jar
62cdf0e10cSrcweir.ENDIF
63cdf0e10cSrcweir
64cdf0e10cSrcweir.ENDIF # $(SOLAR_JAVA)!= ""
65cdf0e10cSrcweir
66cdf0e10cSrcweir# --- Targets ------------------------------------------------------
67cdf0e10cSrcweir
68cdf0e10cSrcweir.INCLUDE : set_ext.mk
69cdf0e10cSrcweir.INCLUDE : target.mk
70cdf0e10cSrcweir
71cdf0e10cSrcweir.IF "$(SOLAR_JAVA)" != "" && ( "$(ENABLE_MEDIAWIKI)" == "YES" || "$(ENABLE_REPORTBUILDER)" == "YES" )
72cdf0e10cSrcweir.INCLUDE : tg_ext.mk
73cdf0e10cSrcweir.ENDIF
74cdf0e10cSrcweir
75