Version 3.6.0.4, tag libreoffice-3.6.0.4
[LibreOffice.git] / jfreereport / java / libformula / makefile.mk
blobd6f108721ee8cd357939b2149c3ed5b0575be59c
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=libformula
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)-$(LIBFORMULA_VERSION)
43 TARFILE_IS_FLAT=true
44 TARFILE_MD5=3404ab6b1792ae5f16bbd603bd1e1d03
45 PATCH_FILES=$(PACKAGE_DIR)$/$(TARGET).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="$(LIBFORMULA_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="$(LIBFORMULA_VERSION)" -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) -f $(ANT_BUILDFILE) jar
54 .ENDIF
57 .ENDIF # $(SOLAR_JAVA)!= ""
58 .ENDIF
59 # --- Targets ------------------------------------------------------
61 .INCLUDE : set_ext.mk
62 .INCLUDE : target.mk
63 .IF "$(L10N_framework)"==""
64 .IF "$(SOLAR_JAVA)" != ""
65 .INCLUDE : tg_ext.mk
67 ALLTAR : $(CLASSDIR)$/$(TARGET)-$(LIBFORMULA_VERSION).jar
69 $(PACKAGE_DIR)$/$(TARGET).patch :
70 @-$(MKDIRHIER) $(PACKAGE_DIR)$(fake_root_dir)
71 ( $(TYPE:s/+//) $(PRJ)$/patches$/common_build.patch | $(SED) 's/libloader-1.1.3/$(TARGET)-$(LIBFORMULA_VERSION)/g' > $(PACKAGE_DIR)$/$(TARGET).patch )
72 $(COMMAND_ECHO)$(TOUCH) $(PACKAGE_DIR)$/so_converted_$(TARGET).dummy
74 $(CLASSDIR)$/$(TARGET)-$(LIBFORMULA_VERSION).jar : $(PACKAGE_DIR)$/$(INSTALL_FLAG_FILE)
75 $(COPY) $(PACKAGE_DIR)$/$(TARFILE_ROOTDIR)$/dist$/$(TARGET)-$(LIBFORMULA_VERSION).jar $(CLASSDIR)$/$(TARGET)-$(LIBFORMULA_VERSION).jar
77 .ENDIF
78 # $(PACKAGE_DIR)$/$(TARFILE_ROOTDIR)$/source$/org$/jfree$/formula$/function$/information$/IsRef-Function.properties :
79 # @@-$(MKDIRHIER) $(@:d)
80 # $(MV) $(PACKAGE_DIR)$/$(TARFILE_ROOTDIR)$/source$/org$/jfree$/formula$/function$/information$/isRef-Function.properties $@
81 .ENDIF