Version 3.6.0.4, tag libreoffice-3.6.0.4
[LibreOffice.git] / jfreereport / java / libfonts / makefile.mk
blob69f181c785d41af0214fa7bbf433a7b181f0c47c
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=libfonts
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)-$(LIBFONTS_VERSION)
43 TARFILE_IS_FLAT=true
44 TARFILE_MD5=3bdf40c0d199af31923e900d082ca2dd
45 PATCH_FILES=$(PACKAGE_DIR)/$(TARGET).patch $(PRJ)/patches/$(TARGET)-$(LIBFONTS_VERSION)-deprecated.patch
46 CONVERTFILES=common_build.xml
48 .IF "$(JAVACISGCJ)"=="yes"
49 JAVA_HOME=
50 .EXPORT : JAVA_HOME
51 BUILD_ACTION="$(ANT)" -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dantcontrib.available="true" -Dbuild.id="10682" -Dproject.revision="$(LIBFONTS_VERSION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
52 .ELSE
53 BUILD_ACTION="$(ANT)" -Dlib="../../../class" -Dbuild.label="build-$(RSCREVISION)" -Dantcontrib.available="true" -Dbuild.id="10682" -Dproject.revision="$(LIBFONTS_VERSION)" -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) -f $(ANT_BUILDFILE) jar
54 .ENDIF
56 .ENDIF # $(SOLAR_JAVA)!= ""
57 .ENDIF
58 # --- Targets ------------------------------------------------------
60 .INCLUDE : set_ext.mk
61 .INCLUDE : target.mk
62 .IF "$(L10N_framework)"==""
63 .IF "$(SOLAR_JAVA)" != ""
64 .INCLUDE : tg_ext.mk
66 ALLTAR : $(CLASSDIR)/$(TARGET)-$(LIBFONTS_VERSION).jar
68 $(PACKAGE_DIR)/$(TARGET).patch :
69 @-$(MKDIRHIER) $(PACKAGE_DIR)$(fake_root_dir)
70 ( $(TYPE:s/+//) $(PRJ)/patches/common_build.patch | $(SED) 's/libloader-1.1.3/$(TARGET)-$(LIBFONTS_VERSION)/g' > $(PACKAGE_DIR)/$(TARGET).patch )
71 $(COMMAND_ECHO)$(TOUCH) $(PACKAGE_DIR)/so_converted_$(TARGET).dummy
73 $(CLASSDIR)/$(TARGET)-$(LIBFONTS_VERSION).jar : $(PACKAGE_DIR)/$(INSTALL_FLAG_FILE)
74 $(COPY) $(PACKAGE_DIR)/$(TARFILE_ROOTDIR)/dist/$(TARGET)-$(LIBFONTS_VERSION).jar $(CLASSDIR)/$(TARGET)-$(LIBFONTS_VERSION).jar
76 .ENDIF
77 .ENDIF