summaryrefslogtreecommitdiff
path: root/sot/prj
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-01-25 17:22:00 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-01-25 17:22:00 +0100
commit04034b8ca71a6d4e6823f71dd092aaac0270a028 (patch)
tree460e41b043f82bbbf6b2a84a13bff1a326e3382e /sot/prj
parentab7f1e09bc55c34c50d01930353bc5bbb55d4fb7 (diff)
gnumake3: adjust sot project to the new build environment
Diffstat (limited to 'sot/prj')
-rw-r--r--sot/prj/build.lst10
-rw-r--r--sot/prj/d.lst15
-rw-r--r--sot/prj/makefile.mk40
3 files changed, 40 insertions, 25 deletions
diff --git a/sot/prj/build.lst b/sot/prj/build.lst
deleted file mode 100644
index 9d6e785898a5..000000000000
--- a/sot/prj/build.lst
+++ /dev/null
@@ -1,10 +0,0 @@
-to sot : LIBXSLT:libxslt tools ucbhelper unotools NULL
-to sot usr1 - all sot_mkout NULL
-to sot\inc nmake - all sot_inc NULL
-to sot\prj get - all sot_prj NULL
-to sot\source\base nmake - all sot_base sot_inc NULL
-to sot\source\sdstor nmake - all sot_sdst sot_inc NULL
-to sot\source\unoolestorage nmake - all sot_unoolestor sot_inc NULL
-to sot\util nmake - all sot_ut sot_base sot_sdst sot_unoolestor NULL
-
-# to sot\qa\complex\olesimplestorage nmake - all sot_complex sot_ut NULL
diff --git a/sot/prj/d.lst b/sot/prj/d.lst
deleted file mode 100644
index ec3166bbea1a..000000000000
--- a/sot/prj/d.lst
+++ /dev/null
@@ -1,15 +0,0 @@
-mkdir: %_DEST%\inc%_EXT%\sot
-..\inc\sot/*.hxx %_DEST%\inc%_EXT%\sot\*.hxx
-..\inc\sot\*.h %_DEST%\inc%_EXT%\sot\*.h
-
-..\%__SRC%\lib\sot.lib %_DEST%\lib%_EXT%\sot.lib
-..\%__SRC%\lib\lib*.so %_DEST%\lib%_EXT%
-..\%__SRC%\lib\lib*.so.* %_DEST%\lib%_EXT%
-..\%__SRC%\lib\*.dylib %_DEST%\lib%_EXT%\*.dylib
-..\%__SRC%\lib\*.sl %_DEST%\lib%_EXT%\*.sl
-..\%__SRC%\lib\*.a %_DEST%\lib%_EXT%\*.a
-..\%__SRC%\slb\sot.lib %_DEST%\lib%_EXT%\xsot.lib
-..\%__SRC%\bin\sot?????.dll %_DEST%\bin%_EXT%\sot?????.dll
-..\%__SRC%\bin\sot?????.sym %_DEST%\bin%_EXT%\sot?????.sym
-..\%__SRC%\misc\sot?????.map %_DEST%\bin%_EXT%\sot?????.map
-..\%__SRC%\misc\sot.component %_DEST%\xml%_EXT%\sot.component
diff --git a/sot/prj/makefile.mk b/sot/prj/makefile.mk
new file mode 100644
index 000000000000..c73a3d944bbf
--- /dev/null
+++ b/sot/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)