Version 3.6.0.4, tag libreoffice-3.6.0.4
[LibreOffice.git] / jfreereport / java / flute / makefile.mk
blob63731fda89975911121ffe45d5e7da3a2021ad32
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
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.
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).
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.
26 #*************************************************************************
28 PRJ=..$/..
30 PRJNAME=jfreereport
31 TARGET=flute
33 # --- Settings -----------------------------------------------------
35 .INCLUDE : settings.mk
36 .INCLUDE : antsettings.mk
37 .INCLUDE : $(PRJ)$/version.mk
39 .IF "$(SOLAR_JAVA)" != ""
40 # --- Files --------------------------------------------------------
41 .IF "$(L10N_framework)"==""
42 TARFILE_NAME=$(TARGET)-$(FLUTE_VERSION)
43 TARFILE_MD5=d8bd5eed178db6e2b18eeed243f85aa8
44 # TARFILE_ROOTDIR=$(TARGET)
45 TARFILE_IS_FLAT=true
46 PATCH_FILES=$(PACKAGE_DIR)$/$(TARGET).patch
47 CONVERTFILES=common_build.xml
49 .IF "$(JAVACISGCJ)"=="yes"
50 JAVA_HOME=
51 .EXPORT : JAVA_HOME
52 BUILD_ACTION="$(ANT)" -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dantcontrib.available="true" -Dbuild.id="10682" -Dproject.revision="$(FLUTE_VERSION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
53 .ELSE
54 BUILD_ACTION="$(ANT)" -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dantcontrib.available="true" -Dbuild.id="10682" -Dproject.revision="$(FLUTE_VERSION)" -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) -f $(ANT_BUILDFILE) jar
55 .ENDIF
57 .ENDIF # $(SOLAR_JAVA)!= ""
59 # --- Targets ------------------------------------------------------
60 .ENDIF
62 .INCLUDE : set_ext.mk
63 .INCLUDE : target.mk
65 .IF "$(SOLAR_JAVA)" != ""
66 .INCLUDE : tg_ext.mk
67 .IF "$(L10N_framework)"==""
68 ALLTAR : $(CLASSDIR)$/$(TARGET)-$(FLUTE_VERSION).jar
70 $(PACKAGE_DIR)$/$(TARGET).patch :
71 @-$(MKDIRHIER) $(PACKAGE_DIR)$(fake_root_dir)
72 ( $(TYPE:s/+//) $(PRJ)$/patches$/common_build.patch | $(SED) 's/libloader-1.1.3/$(TARGET)-$(FLUTE_VERSION)/g' > $(PACKAGE_DIR)$/$(TARGET).patch )
73 $(COMMAND_ECHO)$(TOUCH) $(PACKAGE_DIR)$/so_converted_$(TARGET).dummy
75 $(CLASSDIR)$/$(TARGET)-$(FLUTE_VERSION).jar : $(PACKAGE_DIR)$/$(INSTALL_FLAG_FILE)
76 $(COPY) $(PACKAGE_DIR)$/$(TARFILE_ROOTDIR)$/dist$/$(TARGET)-$(FLUTE_VERSION).jar $(CLASSDIR)$/$(TARGET)-$(FLUTE_VERSION).jar
77 .ENDIF
78 .ENDIF