Version 3.6.0.4, tag libreoffice-3.6.0.4
[LibreOffice.git] / jfreereport / java / libloader / makefile.mk
blob811d382d72b99ac8d356e5cb1ee70d3b0d1a077d
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=libloader
33 # --- Settings -----------------------------------------------------
35 .INCLUDE : settings.mk
36 .INCLUDE : antsettings.mk
37 .INCLUDE : $(PRJ)/version.mk
39 .IF "$(SOLAR_JAVA)" != ""
40 # --- Files --------------------------------------------------------
42 TARFILE_NAME=$(TARGET)-$(LIBLOADER_VERSION)
43 TARFILE_IS_FLAT=true
44 TARFILE_MD5=97b2d4dba862397f446b217e2b623e71
45 PATCH_FILES=$(PACKAGE_DIR)/$(TARGET).patch $(PRJ)/patches/$(TARGET)-$(LIBLOADER_VERSION)-deprecated.patch
46 CONVERTFILES=common_build.xml
48 .IF "$(L10N_framework)"==""
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="$(LIBLOADER_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="$(LIBLOADER_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)!= ""
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)-$(LIBLOADER_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)-$(LIBLOADER_VERSION)/g' > $(PACKAGE_DIR)/$(TARGET).patch )
72 $(COMMAND_ECHO)$(TOUCH) $(PACKAGE_DIR)/so_converted_$(TARGET).dummy
74 $(CLASSDIR)/$(TARGET)-$(LIBLOADER_VERSION).jar : $(PACKAGE_DIR)/$(INSTALL_FLAG_FILE)
75 $(COPY) $(PACKAGE_DIR)/$(TARFILE_ROOTDIR)/dist/$(TARGET)-$(LIBLOADER_VERSION).jar $(CLASSDIR)/$(TARGET)-$(LIBLOADER_VERSION).jar
77 .ENDIF
78 .ENDIF