summaryrefslogtreecommitdiff
path: root/writerperfect/prj
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-07-28 17:35:02 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-07-30 10:38:46 +0200
commitf50f28cfb26741bf2a6146a257868d90aa6984f0 (patch)
treeb1f33e0d4d8e03129ddc31385ab8afad55e50a5a /writerperfect/prj
parent5ed204f4b8f1f7af35ab3a240e0857000f5485ca (diff)
convert writerperfect to gbuild
Diffstat (limited to 'writerperfect/prj')
-rw-r--r--writerperfect/prj/build.lst12
-rw-r--r--writerperfect/prj/d.lst5
-rw-r--r--writerperfect/prj/makefile.mk40
3 files changed, 43 insertions, 14 deletions
diff --git a/writerperfect/prj/build.lst b/writerperfect/prj/build.lst
index 4c732907a81f..23f35dcc25cf 100644
--- a/writerperfect/prj/build.lst
+++ b/writerperfect/prj/build.lst
@@ -1,9 +1,3 @@
-wp writerperfect : LIBWPG:libwpg LIBWPS:libwps LIBWPD:libwpd LIBVISIO:libvisio sot comphelper xmloff svtools sfx2 LIBXSLT:libxslt NULL
-wp writerperfect usr1 - all wp_mkout NULL
-wp writerperfect\source\stream nmake - all wp_stream NULL
-wp writerperfect\source\filter nmake - all wp_filter NULL
-wp writerperfect\source\wpdimp nmake - all wp_wpdimp NULL
-wp writerperfect\source\wpsimp nmake - all wp_wpsimp NULL
-wp writerperfect\source\wpgimp nmake - all wp_wpgimp NULL
-wp writerperfect\source\vsdimp nmake - all wp_vsdimp NULL
-wp writerperfect\util nmake - all wp_util wp_vsdimp wp_wpgimp wp_wpsimp wp_wpdimp wp_filter wp_stream NULL
+wp writerperfect : LIBWPG:libwpg LIBWPS:libwps LIBWPD:libwpd LIBVISIO:libvisio sot comphelper xmloff svtools sfx2 LIBXSLT:libxslt NULL
+wp writerperfect usr1 - all wp_mkout NULL
+wp writerperfect\prj nmake - all wp_prj NULL
diff --git a/writerperfect/prj/d.lst b/writerperfect/prj/d.lst
index 8f7590ca3b08..e69de29bb2d1 100644
--- a/writerperfect/prj/d.lst
+++ b/writerperfect/prj/d.lst
@@ -1,5 +0,0 @@
-..\%__SRC%\lib\lib*.so %_DEST%\lib
-..\%__SRC%\bin\*.dll %_DEST%\bin
-..\%__SRC%\bin\wpftgo.dll %_DEST%\bin\wpftgo.dll
-..\%__SRC%\lib\*.dylib %_DEST%\lib\*.dylib
-..\%__SRC%\misc\*.component %_DEST%\xml\*.component
diff --git a/writerperfect/prj/makefile.mk b/writerperfect/prj/makefile.mk
new file mode 100644
index 000000000000..d30ff8a47e6b
--- /dev/null
+++ b/writerperfect/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