summaryrefslogtreecommitdiff
path: root/xmlscript/prj
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2011-03-02 11:54:18 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-06-17 00:59:06 +0200
commitb0fe6086c3a0d6a4b4927e79ca06833f3ead24df (patch)
tree3fa905f5795f10b0f55eda70f850d50605e3497a /xmlscript/prj
parent270dd44c43555643a08bde21cb792e105a86ce72 (diff)
CWS gnumake4: convert xmlscript to new build system [hg:d4df54d61f2a]
Diffstat (limited to 'xmlscript/prj')
-rw-r--r--xmlscript/prj/build.lst11
-rw-r--r--xmlscript/prj/d.lst14
-rw-r--r--xmlscript/prj/makefile.mk40
3 files changed, 42 insertions, 23 deletions
diff --git a/xmlscript/prj/build.lst b/xmlscript/prj/build.lst
index 388a59f134ff..ea87780c3832 100644
--- a/xmlscript/prj/build.lst
+++ b/xmlscript/prj/build.lst
@@ -1,10 +1,3 @@
xt xmlscript : comphelper tools offapi LIBXSLT:libxslt NULL
-xt xmlscript usr1 - all xt_mkout NULL
-xt xmlscript\inc nmake - all xt_inc NULL
-xt xmlscript\source\xml_helper nmake - all xt_xml_helper xt_inc NULL
-xt xmlscript\source\xmldlg_imexp nmake - all xt_xmldlg_imexp xt_inc NULL
-xt xmlscript\source\xmllib_imexp nmake - all xt_xmllib_imexp xt_inc NULL
-xt xmlscript\source\xmlmod_imexp nmake - all xt_xmlmod_imexp xt_inc NULL
-xt xmlscript\source\xmlflat_imexp nmake - all xt_xmlflat_imexp xt_inc NULL
-xt xmlscript\source\misc nmake - all xt_misc xt_inc NULL
-xt xmlscript\util nmake - all xt_util xt_xml_helper xt_xmldlg_imexp xt_xmllib_imexp xt_xmlmod_imexp xt_xmlflat_imexp xt_misc NULL
+xt xmlscript\prj nmake - all xt_prj NULL
+
diff --git a/xmlscript/prj/d.lst b/xmlscript/prj/d.lst
index 2f1ff7e37785..e69de29bb2d1 100644
--- a/xmlscript/prj/d.lst
+++ b/xmlscript/prj/d.lst
@@ -1,14 +0,0 @@
-mkdir: %_DEST%\inc%_EXT%\xmlscript
-..\%__SRC%\bin\*.dll %_DEST%\bin%_EXT%\*.dll
-..\%__SRC%\lib\*.lib %_DEST%\lib%_EXT%\*.lib
-..\%__SRC%\lib\lib*.so %_DEST%\lib%_EXT%\lib*.so
-..\%__SRC%\lib\*.dylib %_DEST%\lib%_EXT%\*.dylib
-
-..\inc\xmlscript\xml_helper.hxx %_DEST%\inc%_EXT%\xmlscript\xml_helper.hxx
-..\inc\xmlscript\xmldlg_imexp.hxx %_DEST%\inc%_EXT%\xmlscript\xmldlg_imexp.hxx
-..\inc\xmlscript\xmllib_imexp.hxx %_DEST%\inc%_EXT%\xmlscript\xmllib_imexp.hxx
-..\inc\xmlscript\xmlmod_imexp.hxx %_DEST%\inc%_EXT%\xmlscript\xmlmod_imexp.hxx
-..\inc\xmlscript\xmlns.h %_DEST%\inc%_EXT%\xmlscript\xmlns.h
-
-..\dtd\*.dtd %_DEST%\bin%_EXT%\*.dtd
-..\%__SRC%\misc\xcr.component %_DEST%\xml%_EXT%\xcr.component
diff --git a/xmlscript/prj/makefile.mk b/xmlscript/prj/makefile.mk
new file mode 100644
index 000000000000..88cd9dfe08b8
--- /dev/null
+++ b/xmlscript/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