xref: /AOO41X/main/apache-commons/java/codec/makefile.mk (revision 97ec3ebd528884f8a0bd5d6739a32148932ce2da)
12407af08SAndrew Rist#**************************************************************
2cdf0e10cSrcweir#
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
10cdf0e10cSrcweir#
112407af08SAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir#
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.
19cdf0e10cSrcweir#
202407af08SAndrew Rist#**************************************************************
212407af08SAndrew Rist
222407af08SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=..$/..
25cdf0e10cSrcweir
26cdf0e10cSrcweirPRJNAME=apache-commons
27cdf0e10cSrcweirTARGET=commons-codec
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"
39cdf0e10cSrcweir# --- Files --------------------------------------------------------
40cdf0e10cSrcweir
41*97ec3ebdSJuergen SchmidtTARFILE_NAME=commons-codec-1.9-src
42*97ec3ebdSJuergen SchmidtTARFILE_MD5=db87f7004cefc9d17f7ac841f86122bd
43*97ec3ebdSJuergen Schmidt#TARFILE_NAME=commons-codec-1.6-src
44*97ec3ebdSJuergen Schmidt#TARFILE_MD5=2e482c7567908d334785ce7d69ddfff7
45cdf0e10cSrcweir
46*97ec3ebdSJuergen SchmidtTARFILE_ROOTDIR=commons-codec-1.9-src
47*97ec3ebdSJuergen Schmidt#TARFILE_ROOTDIR=commons-codec-1.6-src
48cdf0e10cSrcweir
49*97ec3ebdSJuergen Schmidt#PATCH_FILES=
50*97ec3ebdSJuergen Schmidt#PATCH_FILES=$(PRJ)$/patches$/codec.patch
51cdf0e10cSrcweir
52cdf0e10cSrcweir#CONVERTFILES=build.xml
53cdf0e10cSrcweir
54*97ec3ebdSJuergen SchmidtOUT2CLASS=dist$/commons-codec-1.9.jar
55*97ec3ebdSJuergen Schmidt#OUT2CLASS=dist$/commons-codec-1.6-SNAPSHOT.jar
56cdf0e10cSrcweir
57cdf0e10cSrcweir.IF "$(JAVACISGCJ)"=="yes"
58cdf0e10cSrcweirJAVA_HOME=
59cdf0e10cSrcweir.EXPORT : JAVA_HOME
60cdf0e10cSrcweirBUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
61cdf0e10cSrcweir.ELSE
62cdf0e10cSrcweirBUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -f $(ANT_BUILDFILE) jar
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