1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28PRJ=..$/..
29
30PRJNAME=apache-commons
31TARGET=commons-lang
32
33# --- Settings -----------------------------------------------------
34
35.INCLUDE :	settings.mk
36
37# override buildfile
38ANT_BUILDFILE=build.xml
39
40.INCLUDE : antsettings.mk
41
42TAR!:=$(GNUTAR)
43
44.IF "$(SOLAR_JAVA)" != "" && "$(ENABLE_MEDIAWIKI)" == "YES"
45# --- Files --------------------------------------------------------
46
47TARFILE_NAME=commons-lang-2.3-src
48TARFILE_MD5=2ae988b339daec234019a7066f96733e
49
50TARFILE_ROOTDIR=commons-lang-2.3-src
51
52#PATCH_FILES=$(PRJ)$/patches$/logging.patch
53
54#CONVERTFILES=build.xml
55
56OUT2CLASS=dist$/commons-lang-2.3.jar
57
58.IF "$(JAVACISGCJ)"=="yes"
59JAVA_HOME=
60.EXPORT : JAVA_HOME
61BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
62.ELSE
63BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -f $(ANT_BUILDFILE) jar
64.ENDIF
65
66.ENDIF # $(SOLAR_JAVA)!= ""
67
68# --- Targets ------------------------------------------------------
69
70.INCLUDE : set_ext.mk
71.INCLUDE : target.mk
72
73.IF "$(SOLAR_JAVA)" != "" && "$(ENABLE_MEDIAWIKI)" == "YES"
74.INCLUDE : tg_ext.mk
75.ENDIF
76
77