merge the formfield patch from ooo-build
[ooovba.git] / jfreereport / java / sac / makefile.mk
blob437b78e86f163d1284aeec321a8d83f94f2ce4f8
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.4 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..$/..
34 PRJNAME=jfreereport
35 TARGET=sac-1.3
37 # --- Settings -----------------------------------------------------
39 .INCLUDE : settings.mk
41 .IF "$(L10N_framework)"==""
43 # override buildfile
44 ANT_BUILDFILE=build.xml
46 .INCLUDE : antsettings.mk
48 .IF "$(SOLAR_JAVA)" != ""
49 # --- Files --------------------------------------------------------
51 TARFILE_NAME=sacjava-1.3
53 TARFILE_ROOTDIR=$(TARGET)
55 PATCH_FILES=$(PRJ)$/patches$/sac.patch
57 ADDITIONAL_FILES=build.xml
59 # CONVERTFILES=build.xml
61 .IF "$(JAVACISGCJ)"=="yes"
62 JAVA_HOME=
63 .EXPORT : JAVA_HOME
64 BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) all
65 .ELSE
66 BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) -f $(ANT_BUILDFILE) all
67 .ENDIF
69 .ENDIF # $(SOLAR_JAVA)!= ""
70 .ENDIF # L10N_framework
71 # --- Targets ------------------------------------------------------
73 .INCLUDE : set_ext.mk
74 .INCLUDE : target.mk
76 .IF "$(L10N_framework)"==""
77 .IF "$(SOLAR_JAVA)" != ""
78 .INCLUDE : tg_ext.mk
80 ALLTAR : $(CLASSDIR)$/sac.jar
82 $(CLASSDIR)$/sac.jar : $(PACKAGE_DIR)$/$(INSTALL_FLAG_FILE)
83 $(COPY) $(PACKAGE_DIR)$/$(TARFILE_ROOTDIR)$/build$/lib$/sac.jar $(CLASSDIR)$/sac.jar
84 .ENDIF
85 .ENDIF # L10N_framework