2007-07-06 10:02:25 -05:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2008-04-11 01:23:15 -05:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
|
|
|
# Copyright 2008 by Sun Microsystems, Inc.
|
2007-07-06 10:02:25 -05:00
|
|
|
#
|
2008-04-11 01:23:15 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2007-07-06 10:02:25 -05:00
|
|
|
#
|
2008-04-11 01:23:15 -05:00
|
|
|
# $RCSfile: makefile.mk,v $
|
2007-07-06 10:02:25 -05:00
|
|
|
#
|
2008-07-17 07:34:31 -05:00
|
|
|
# $Revision: 1.7 $
|
2007-07-06 10:02:25 -05:00
|
|
|
#
|
2008-04-11 01:23:15 -05:00
|
|
|
# This file is part of OpenOffice.org.
|
2007-07-06 10:02:25 -05:00
|
|
|
#
|
2008-04-11 01:23:15 -05:00
|
|
|
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
# only, as published by the Free Software Foundation.
|
2007-07-06 10:02:25 -05:00
|
|
|
#
|
2008-04-11 01:23:15 -05:00
|
|
|
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU Lesser General Public License version 3 for more details
|
|
|
|
# (a copy is included in the LICENSE file that accompanied this code).
|
2007-07-06 10:02:25 -05:00
|
|
|
#
|
2008-04-11 01:23:15 -05:00
|
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
|
|
# version 3 along with OpenOffice.org. If not, see
|
|
|
|
# <http://www.openoffice.org/license.html>
|
|
|
|
# for a copy of the LGPLv3 License.
|
2007-07-06 10:02:25 -05:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
|
|
|
|
|
|
|
PRJ=..$/..
|
|
|
|
|
|
|
|
PRJNAME=jfreereport
|
|
|
|
TARGET=flute
|
2008-01-14 08:28:27 -06:00
|
|
|
VERSION=-1.3-jfree-20061107
|
2007-07-06 10:02:25 -05:00
|
|
|
|
|
|
|
# --- Settings -----------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : settings.mk
|
|
|
|
|
|
|
|
# override buildfile
|
|
|
|
ANT_BUILDFILE=ant$/build.xml
|
|
|
|
|
|
|
|
.INCLUDE : antsettings.mk
|
|
|
|
|
|
|
|
.IF "$(SOLAR_JAVA)" != ""
|
|
|
|
# --- Files --------------------------------------------------------
|
|
|
|
|
|
|
|
TARFILE_NAME=$(TARGET)
|
|
|
|
|
|
|
|
TARFILE_ROOTDIR=$(TARGET)
|
|
|
|
|
2008-07-17 07:34:31 -05:00
|
|
|
PATCH_FILE_NAME=$(PRJ)$/patches$/$(TARGET).patch
|
2007-08-03 06:46:45 -05:00
|
|
|
|
|
|
|
CONVERTFILES=ant$/build.xml\
|
2008-01-14 08:28:27 -06:00
|
|
|
ant$/build.properties
|
|
|
|
|
|
|
|
OUT2CLASS=$(TARGET)$(VERSION).jar
|
2007-07-06 10:02:25 -05:00
|
|
|
|
|
|
|
.IF "$(JAVACISGCJ)"=="yes"
|
|
|
|
JAVA_HOME=
|
|
|
|
.EXPORT : JAVA_HOME
|
2008-01-14 08:28:27 -06:00
|
|
|
BUILD_ACTION=$(ANT) -Dlibdir="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) compile
|
2007-07-06 10:02:25 -05:00
|
|
|
.ELSE
|
2008-01-14 08:28:27 -06:00
|
|
|
BUILD_ACTION=$(ANT) -Dlibdir="../../../class" -Dbuild.label="build-$(RSCREVISION)" -f $(ANT_BUILDFILE) compile
|
2007-07-06 10:02:25 -05:00
|
|
|
.ENDIF
|
|
|
|
|
|
|
|
.ENDIF # $(SOLAR_JAVA)!= ""
|
|
|
|
|
|
|
|
# --- Targets ------------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : set_ext.mk
|
|
|
|
.INCLUDE : target.mk
|
|
|
|
|
|
|
|
.IF "$(SOLAR_JAVA)" != ""
|
|
|
|
.INCLUDE : tg_ext.mk
|
|
|
|
.ENDIF
|
|
|
|
|