summaryrefslogtreecommitdiff
path: root/basctl/prj
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-07-27 19:36:46 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-07-27 19:39:15 +0200
commit9b6b889821c8afc235db4faffe99c1bd81983b0c (patch)
treec47674291f3692a11f9c88d98a58d7953e6be145 /basctl/prj
parentde6f1b0ad43046eb3cb94dcd2e8793bb2a0cff10 (diff)
Convert basctl to gbuild
Diffstat (limited to 'basctl/prj')
-rw-r--r--basctl/prj/build.lst8
-rw-r--r--basctl/prj/d.lst24
-rw-r--r--basctl/prj/makefile.mk40
3 files changed, 41 insertions, 31 deletions
diff --git a/basctl/prj/build.lst b/basctl/prj/build.lst
index 507edfec14bd..a92b34691792 100644
--- a/basctl/prj/build.lst
+++ b/basctl/prj/build.lst
@@ -1,9 +1,3 @@
bc basctl : LIBXSLT:libxslt TRANSLATIONS:translations svx NULL
bc basctl usr1 - all bc_mkout NULL
-bc basctl\inc nmake - all bc_inc NULL
-bc basctl\source\inc get - all bc_sinc NULL
-bc basctl\sdi nmake - all bc_sdi NULL
-bc basctl\source\dlged nmake - all bc_dlg bc_inc NULL
-bc basctl\source\basicide nmake - all bc_bide bc_sdi bc_inc NULL
-bc basctl\source\accessibility nmake - all bc_acc bc_inc NULL
-bc basctl\util nmake - all bc_util bc_bide bc_dlg bc_acc NULL
+bc basctl\prj nmake - all bc_prj NULL
diff --git a/basctl/prj/d.lst b/basctl/prj/d.lst
index 6446d60274e7..e69de29bb2d1 100644
--- a/basctl/prj/d.lst
+++ b/basctl/prj/d.lst
@@ -1,24 +0,0 @@
-mkdir: %COMMON_DEST%\bin\hid
-mkdir: %_DEST%\xml\uiconfig
-mkdir: %_DEST%\xml\uiconfig\modules
-mkdir: %_DEST%\xml\uiconfig\modules\BasicIDE
-mkdir: %_DEST%\xml\uiconfig\modules\BasicIDE\menubar
-mkdir: %_DEST%\xml\uiconfig\modules\BasicIDE\toolbar
-mkdir: %_DEST%\xml\uiconfig\modules\BasicIDE\statusbar
-
-..\%COMMON_OUTDIR%\misc\*.hid %COMMON_DEST%\bin\hid\*.hid
-..\%__SRC%\inc\basslots.ilb %_DEST%\inc\basslots.ilb
-..\%__SRC%\lib\lib*.* %_DEST%\lib\lib*.*
-..\%__SRC%\bin\basctl*.dll %_DEST%\bin\basctl*.dll
-..\%__SRC%\bin\basctl*.res %_DEST%\bin\basctl*.res
-..\%__SRC%\misc\basctl*.map %_DEST%\bin\basctl*.map
-..\%__SRC%\misc\basctl.csv %_DEST%\inc\basctl.csv
-
-mkdir: %_DEST%\inc\basctl
-
-..\util\basctl.xml %_DEST%\xml\basctl.xml
-
-..\uiconfig\basicide\menubar\*.xml %_DEST%\xml\uiconfig\modules\BasicIDE\menubar\*.xml
-..\uiconfig\basicide\toolbar\*.xml %_DEST%\xml\uiconfig\modules\BasicIDE\toolbar\*.xml
-..\uiconfig\basicide\statusbar\*.xml %_DEST%\xml\uiconfig\modules\BasicIDE\statusbar\*.xml
-..\%__SRC%\misc\basctl.component %_DEST%\xml\basctl.component
diff --git a/basctl/prj/makefile.mk b/basctl/prj/makefile.mk
new file mode 100644
index 000000000000..d30ff8a47e6b
--- /dev/null
+++ b/basctl/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