summaryrefslogtreecommitdiff
path: root/rsc/prj
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-07-30 23:15:29 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-08-09 15:20:06 +0200
commitdce040cb325db554907c591ba673c9d2e6e8f21c (patch)
treee5b5bbd11e4e83d51ea0304e90b404d406f52556 /rsc/prj
parent5dbd783731ea0b5c911b9a2e4fb6fd9192a5a5a9 (diff)
convert rsc to gbuild
Diffstat (limited to 'rsc/prj')
-rw-r--r--rsc/prj/build.lst9
-rw-r--r--rsc/prj/d.lst5
-rw-r--r--rsc/prj/makefile.mk40
3 files changed, 41 insertions, 13 deletions
diff --git a/rsc/prj/build.lst b/rsc/prj/build.lst
index d9e775d28e66..40c393898e4e 100644
--- a/rsc/prj/build.lst
+++ b/rsc/prj/build.lst
@@ -1,9 +1,2 @@
r rsc : tools NULL
-r rsc usr1 - all rsc_mkout NULL
-r rsc\source\misc nmake - all rsc_misc NULL
-r rsc\source\tools nmake - all rsc_tool NULL
-r rsc\source\res nmake - all rsc_res NULL
-r rsc\source\parser nmake - all rsc_pars NULL
-r rsc\source\rsc nmake - all rsc_rsc NULL
-r rsc\source\rscpp nmake - all rsc_cpp NULL
-r rsc\source\prj nmake - all rsc_sprj rsc_cpp rsc_misc rsc_pars rsc_res rsc_rsc rsc_tool NULL
+r rsc\prj nmake - all rsc_prj NULL
diff --git a/rsc/prj/d.lst b/rsc/prj/d.lst
index 9c670b37b25c..e69de29bb2d1 100644
--- a/rsc/prj/d.lst
+++ b/rsc/prj/d.lst
@@ -1,5 +0,0 @@
-..\%__SRC%\bin\rsc.exe %_DEST%\bin\rsc.exe
-..\%__SRC%\bin\rsc %_DEST%\bin\rsc
-
-mkdir: %_DEST%\inc\rsc
-..\inc\rsc/rscsfx.hxx %_DEST%\inc\rsc\rscsfx.hxx
diff --git a/rsc/prj/makefile.mk b/rsc/prj/makefile.mk
new file mode 100644
index 000000000000..d30ff8a47e6b
--- /dev/null
+++ b/rsc/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