From 43bb0120d974bbc020e02365e9bf91df3e6324a4 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Sat, 2 Oct 2010 09:28:28 -0400 Subject: Added new module nlpsolver. --- nlpsolver/makefile.mk | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 nlpsolver/makefile.mk (limited to 'nlpsolver/makefile.mk') diff --git a/nlpsolver/makefile.mk b/nlpsolver/makefile.mk new file mode 100644 index 000000000000..3c160c00c1a9 --- /dev/null +++ b/nlpsolver/makefile.mk @@ -0,0 +1,73 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2008 by Sun Microsystems, Inc. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# $RCSfile: makefile.mk,v $ +# +# $Revision: 1.10 $ +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +PRJ=. + +PRJNAME=nlpsolver +TARGET=nlpsolver + +.IF "$(SOLAR_JAVA)"!="" +# --- Settings ----------------------------------------------------- + +.INCLUDE : settings.mk +.INCLUDE : antsettings.mk + +# --- Files -------------------------------------------------------- + +TARFILE_MD5=90401bca927835b6fbae4a707ed187c8 +TARFILE_NAME=nlpsolver-0.9 +TARFILE_ROOTDIR=nlpsolver-0.9 + +#ADDITIONAL_FILES= \ +# toolsrc/org/mozilla/javascript/tools/debugger/OfficeScriptInfo.java + +PATCH_FILES=nlpsolver-0.9.patch + +ANT_FLAGS+=-Dplatforms.JDK_1.5.home=$(JAVA_HOME) -Doffice.program.dir=$(SOLARBINDIR) + +.IF "$(JAVACISGCJ)"=="yes" +JAVA_HOME= +.EXPORT : JAVA_HOME +BUILD_ACTION=$(ANT) $(ANT_FLAGS) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj uno-package +.ELSE +BUILD_ACTION=$(ANT) $(ANT_FLAGS) -Dbuild.label="build-$(RSCREVISION)" -Dplatforms.JDK_1.5.home=$(JAVA_HOME) -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) uno-package +.ENDIF + +# --- Targets ------------------------------------------------------ + +.INCLUDE : set_ext.mk +.INCLUDE : target.mk +.INCLUDE : tg_ext.mk + +.ELSE +all: + @echo java disabled +.ENDIF -- cgit From 4f15e8384562672aa9be332d767d2f0c183d988e Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Sun, 19 Dec 2010 20:10:57 +0100 Subject: Enabling l10n of nlpsolver fdo#30839 Extra translations will be commited to extensions/nlpsolver/locale. Hungarian translation is provided as a sample - more to come soon. Also fixed a typo in en-US text. Signed off by Kohei. --- nlpsolver/makefile.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nlpsolver/makefile.mk') diff --git a/nlpsolver/makefile.mk b/nlpsolver/makefile.mk index 3c160c00c1a9..541802e640d4 100644 --- a/nlpsolver/makefile.mk +++ b/nlpsolver/makefile.mk @@ -53,6 +53,8 @@ PATCH_FILES=nlpsolver-0.9.patch ANT_FLAGS+=-Dplatforms.JDK_1.5.home=$(JAVA_HOME) -Doffice.program.dir=$(SOLARBINDIR) +CONFIGURE_ACTION=cp -rpv ../../../../locale src/ + .IF "$(JAVACISGCJ)"=="yes" JAVA_HOME= .EXPORT : JAVA_HOME -- cgit From 7552a34c76467df8190d248c1bcdc3392afb8f03 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Fri, 21 Jan 2011 12:18:23 +0100 Subject: Remove old RCS lines. --- nlpsolver/makefile.mk | 4 ---- 1 file changed, 4 deletions(-) (limited to 'nlpsolver/makefile.mk') diff --git a/nlpsolver/makefile.mk b/nlpsolver/makefile.mk index 541802e640d4..23b642cb58f6 100644 --- a/nlpsolver/makefile.mk +++ b/nlpsolver/makefile.mk @@ -6,10 +6,6 @@ # # OpenOffice.org - a multi-platform office productivity suite # -# $RCSfile: makefile.mk,v $ -# -# $Revision: 1.10 $ -# # This file is part of OpenOffice.org. # # OpenOffice.org is free software: you can redistribute it and/or modify -- cgit From f49c8e4496ffe24c982d7778c33b534e9b0f9b29 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Tue, 1 Feb 2011 17:37:37 +0100 Subject: Clean up makefiles --- nlpsolver/makefile.mk | 3 --- 1 file changed, 3 deletions(-) (limited to 'nlpsolver/makefile.mk') diff --git a/nlpsolver/makefile.mk b/nlpsolver/makefile.mk index 23b642cb58f6..451e1b377c30 100644 --- a/nlpsolver/makefile.mk +++ b/nlpsolver/makefile.mk @@ -42,9 +42,6 @@ TARFILE_MD5=90401bca927835b6fbae4a707ed187c8 TARFILE_NAME=nlpsolver-0.9 TARFILE_ROOTDIR=nlpsolver-0.9 -#ADDITIONAL_FILES= \ -# toolsrc/org/mozilla/javascript/tools/debugger/OfficeScriptInfo.java - PATCH_FILES=nlpsolver-0.9.patch ANT_FLAGS+=-Dplatforms.JDK_1.5.home=$(JAVA_HOME) -Doffice.program.dir=$(SOLARBINDIR) -- cgit From a15c75dfb12538e9e0658518144fa95b39513e18 Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Fri, 4 Mar 2011 16:38:12 +0100 Subject: fix windows build --- nlpsolver/makefile.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nlpsolver/makefile.mk') diff --git a/nlpsolver/makefile.mk b/nlpsolver/makefile.mk index 451e1b377c30..ec7a06388fae 100644 --- a/nlpsolver/makefile.mk +++ b/nlpsolver/makefile.mk @@ -46,7 +46,7 @@ PATCH_FILES=nlpsolver-0.9.patch ANT_FLAGS+=-Dplatforms.JDK_1.5.home=$(JAVA_HOME) -Doffice.program.dir=$(SOLARBINDIR) -CONFIGURE_ACTION=cp -rpv ../../../../locale src/ +CONFIGURE_ACTION=cp -rv --preserve=timestamps ../../../../locale src/ .IF "$(JAVACISGCJ)"=="yes" JAVA_HOME= -- cgit From c674fc2d7b099ebad95e698ee2e9155d955c983b Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Fri, 20 May 2011 09:22:24 +0200 Subject: Removed GNUism in makefile The --preserve=timestamps is a gnu cp extension, and thus not available on all our platforms. Replaced by equivalent tar hack. --- nlpsolver/makefile.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nlpsolver/makefile.mk') diff --git a/nlpsolver/makefile.mk b/nlpsolver/makefile.mk index ec7a06388fae..a7d099662691 100644 --- a/nlpsolver/makefile.mk +++ b/nlpsolver/makefile.mk @@ -46,7 +46,7 @@ PATCH_FILES=nlpsolver-0.9.patch ANT_FLAGS+=-Dplatforms.JDK_1.5.home=$(JAVA_HOME) -Doffice.program.dir=$(SOLARBINDIR) -CONFIGURE_ACTION=cp -rv --preserve=timestamps ../../../../locale src/ +CONFIGURE_ACTION=(cd ../../../../locale && $(GNUTAR) -cf - .) | (cd src/ && $(GNUTAR) xf -) .IF "$(JAVACISGCJ)"=="yes" JAVA_HOME= -- cgit