summaryrefslogtreecommitdiff
path: root/basic/prj
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-07-28 18:17:31 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-07-30 10:39:20 +0200
commitc8e76fbfed9b39f51e19572ae348aab47b41ad28 (patch)
treeb00cf6abe99fc8217fb5360510d112e6704c380d /basic/prj
parent409bb26b28f062d0dc1407a70f349533dcf611d2 (diff)
convert basic to gbuild
Diffstat (limited to 'basic/prj')
-rw-r--r--basic/prj/build.lst12
-rw-r--r--basic/prj/d.lst29
-rw-r--r--basic/prj/makefile.mk40
3 files changed, 41 insertions, 40 deletions
diff --git a/basic/prj/build.lst b/basic/prj/build.lst
index d097760283e1..81f7ef51ad5f 100644
--- a/basic/prj/build.lst
+++ b/basic/prj/build.lst
@@ -1,13 +1,3 @@
sb basic : TRANSLATIONS:translations offapi oovbaapi svtools xmlscript framework salhelper LIBXSLT:libxslt NULL
sb basic usr1 - all sb_mkout NULL
-sb basic\inc nmake - all sb_inc NULL
-sb basic\source\app nmake - all sb_app sb_class sb_inc NULL
-sb basic\source\basmgr nmake - all sb_mgr sb_inc NULL
-sb basic\source\classes nmake - all sb_class sb_inc NULL
-sb basic\source\comp nmake - all sb_comp sb_inc NULL
-sb basic\source\runtime nmake - all sb_rt sb_inc sb_class NULL
-sb basic\source\sample nmake - all sb_samp sb_inc NULL
-sb basic\source\sbx nmake - all sb_sbx sb_inc NULL
-sb basic\source\uno nmake - all sb_uno sb_inc NULL
-sb basic\util nmake - all sb_util sb_app sb_class sb_comp sb_mgr sb_rt sb_samp sb_sbx sb_uno NULL
-
+sb basic\prj nmake - all sb_prj NULL
diff --git a/basic/prj/d.lst b/basic/prj/d.lst
index 8aa0b8399c78..e69de29bb2d1 100644
--- a/basic/prj/d.lst
+++ b/basic/prj/d.lst
@@ -1,29 +0,0 @@
-mkdir: %COMMON_DEST%\bin\hid
-mkdir: %COMMON_DEST%\res
-
-..\%COMMON_OUTDIR%\misc\*.hid %COMMON_DEST%\bin\hid\*.hid
-..\%__SRC%\lib\basic.lib %_DEST%\lib\basic.lib
-..\%__SRC%\lib\lib*.so %_DEST%\lib
-..\%__SRC%\lib\*.dylib %_DEST%\lib\*.dylib
-..\%__SRC%\lib\*.a %_DEST%\lib\*.a
-..\%__SRC%\slb\sb.lib %_DEST%\lib\xsb.lib
-..\%__SRC%\srs\classes.srs %_DEST%\res\basic.srs
-..\%COMMON_OUTDIR%\srs\classes_srs.hid %COMMON_DEST%\res\basic_srs.hid
-..\%__SRC%\bin\sb?????.dll %_DEST%\bin\sb?????.dll
-..\%__SRC%\bin\sb?????.sym %_DEST%\bin\sb?????.sym
-..\%__SRC%\misc\sb?????.map %_DEST%\bin\sb?????.map
-..\%__SRC%\bin\stt*.res %_DEST%\bin\stt*.res
-..\%__SRC%\bin\sb*.res %_DEST%\bin\sb*.res
-..\%__SRC%\lib\app.lib %_DEST%\lib\app.lib
-..\%__SRC%\lib\libapp.a %_DEST%\lib\libapp.a
-..\%__SRC%\lib\sample.lib %_DEST%\lib\sample.lib
-..\%__SRC%\lib\libsample.a %_DEST%\lib\libsample.a
-
-mkdir: %_DEST%\inc\basic
-..\inc\basic\*.hxx %_DEST%\inc\basic\*.hxx
-..\inc\basic\*.hrc %_DEST%\inc\basic\*.hrc
-..\inc\basic\*.h %_DEST%\inc\basic\*.h
-
-..\inc\modsizeexceeded.hxx %_DEST%\inc\basic\modsizeexceeded.hxx
-..\%__SRC%\misc\sb.component %_DEST%\xml\sb.component
-
diff --git a/basic/prj/makefile.mk b/basic/prj/makefile.mk
new file mode 100644
index 000000000000..d30ff8a47e6b
--- /dev/null
+++ b/basic/prj/makefile.mk
@@ -0,0 +1,40 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# 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
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+PRJ=..
+TARGET=prj
+
+.INCLUDE : settings.mk
+
+.IF "$(VERBOSE)"!=""
+VERBOSEFLAG :=
+.ELSE
+VERBOSEFLAG := -s
+.ENDIF
+
+all:
+ cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog