From b0fe6086c3a0d6a4b4927e79ca06833f3ead24df Mon Sep 17 00:00:00 2001 From: Mathias Bauer Date: Wed, 2 Mar 2011 11:54:18 +0100 Subject: CWS gnumake4: convert xmlscript to new build system [hg:d4df54d61f2a] --- xmlscript/prj/build.lst | 11 ++--------- xmlscript/prj/d.lst | 14 -------------- xmlscript/prj/makefile.mk | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 23 deletions(-) create mode 100644 xmlscript/prj/makefile.mk (limited to 'xmlscript/prj') 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 +# +# 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 -- cgit