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 +++++++++++++++++++++++++++++++++++++++++++ nlpsolver/nlpsolver-0.9.patch | 51 ++++++++++++++++++++++++++++++ nlpsolver/prj/build.lst | 3 ++ nlpsolver/prj/d.lst | 1 + 4 files changed, 128 insertions(+) create mode 100644 nlpsolver/makefile.mk create mode 100644 nlpsolver/nlpsolver-0.9.patch create mode 100644 nlpsolver/prj/build.lst create mode 100644 nlpsolver/prj/d.lst 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 diff --git a/nlpsolver/nlpsolver-0.9.patch b/nlpsolver/nlpsolver-0.9.patch new file mode 100644 index 000000000000..0c851bfb8382 --- /dev/null +++ b/nlpsolver/nlpsolver-0.9.patch @@ -0,0 +1,51 @@ +--- misc/nlpsolver-0.9/nbproject/build-uno-impl.xml.old 2009-03-30 18:32:00.000000000 +0200 ++++ misc/build/nlpsolver-0.9/nbproject/build-uno-impl.xml 2009-10-28 18:22:40.000000000 +0100 +@@ -197,7 +197,7 @@ + + + +- ++ + + + +--- misc/nlpsolver-0.9/nbproject/project.properties.old 2009-03-30 18:32:00.000000000 +0200 ++++ misc/build/nlpsolver-0.9/nbproject/project.properties 2009-10-28 18:09:01.000000000 +0100 +@@ -27,8 +27,10 @@ file.reference.EvolutionarySolver.jar=Th + includes=** + jar.compress=false + javac.classpath=\ +- ${libs.StarOffice 9.classpath}:\ +- ${libs.OpenOffice.org 3.0.classpath}:\ ++ ${solar.jar}/juh.jar:\ ++ ${solar.jar}/jurt.jar:\ ++ ${solar.jar}/ridl.jar:\ ++ ${solar.jar}/unoil.jar:\ + ${reference.EvolutionarySolver.jar} + # Space-separated list of extra javac options + javac.compilerargs= +--- misc/nlpsolver-0.9/nbproject/build-impl.xml.old 2009-03-30 18:32:00.000000000 +0200 ++++ misc/build/nlpsolver-0.9/nbproject/build-impl.xml 2009-10-28 18:19:53.000000000 +0100 +@@ -360,6 +360,8 @@ is divided into following sections: + --> + + ++ ++ + + + +--- misc/nlpsolver-0.9/src/description.xml.old 2009-03-30 16:56:42.000000000 +0200 ++++ misc/build/nlpsolver-0.9/src/description.xml 2009-10-28 18:29:13.000000000 +0100 +@@ -12,11 +12,6 @@ + + + +- +- +- +- +- + + + diff --git a/nlpsolver/prj/build.lst b/nlpsolver/prj/build.lst new file mode 100644 index 000000000000..f0bec54048bf --- /dev/null +++ b/nlpsolver/prj/build.lst @@ -0,0 +1,3 @@ +nlpsolver nlpsolver : javaunohelper unoil jurt NULL NULL +nlpsolver nlpsolver usr1 - all nlpsolver_mkout NULL +nlpsolver nlpsolver nmake - all nlpsolver_nlpsolver NULL diff --git a/nlpsolver/prj/d.lst b/nlpsolver/prj/d.lst new file mode 100644 index 000000000000..0e8c13757a6c --- /dev/null +++ b/nlpsolver/prj/d.lst @@ -0,0 +1 @@ +..\%__SRC%\misc\build\nlpsolver-0.9/dist\NLPSolver.oxt %_DEST%\bin%_EXT%\NLPSolver.oxt -- cgit