diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-07-30 23:15:29 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-08-09 15:20:06 +0200 |
commit | dce040cb325db554907c591ba673c9d2e6e8f21c (patch) | |
tree | e5b5bbd11e4e83d51ea0304e90b404d406f52556 /rsc/source | |
parent | 5dbd783731ea0b5c911b9a2e4fb6fd9192a5a5a9 (diff) |
convert rsc to gbuild
Diffstat (limited to 'rsc/source')
-rw-r--r-- | rsc/source/misc/makefile.mk | 52 | ||||
-rw-r--r-- | rsc/source/parser/Makefile | 36 | ||||
-rw-r--r-- | rsc/source/parser/makefile.mk | 72 | ||||
-rw-r--r-- | rsc/source/prj/makefile.mk | 67 | ||||
-rw-r--r-- | rsc/source/res/makefile.mk | 68 | ||||
-rw-r--r-- | rsc/source/rsc/makefile.mk | 41 | ||||
-rw-r--r-- | rsc/source/rscpp/makefile.mk | 79 | ||||
-rw-r--r-- | rsc/source/tools/makefile.mk | 50 |
8 files changed, 36 insertions, 429 deletions
diff --git a/rsc/source/misc/makefile.mk b/rsc/source/misc/makefile.mk deleted file mode 100644 index 02e6a2f887bd..000000000000 --- a/rsc/source/misc/makefile.mk +++ /dev/null @@ -1,52 +0,0 @@ -#************************************************************************* -# -# 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=..$/.. - -PRJNAME=rsc -TARGET=rscmis - -# --- Settings ------------------------------------------------------ - -ENABLE_EXCEPTIONS=true - -.INCLUDE : settings.mk - -.IF "$(BUILD_TYPE)"=="$(BUILD_TYPE:s/DESKTOP//)" -ALL: - @echo No need for this on non-desktop OSes -.ENDIF - -# --- Files --------------------------------------------------------- - -CXXFILES= rsclst.cxx \ - rscdbl.cxx - -OBJFILES= $(OBJ)$/rsclst.obj \ - $(OBJ)$/rscdbl.obj - -.INCLUDE : target.mk diff --git a/rsc/source/parser/Makefile b/rsc/source/parser/Makefile new file mode 100644 index 000000000000..25367e88726c --- /dev/null +++ b/rsc/source/parser/Makefile @@ -0,0 +1,36 @@ +# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*- +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Initial Developer of the Original Code is +# Matúš Kukan <matus.kukan@gmail.com> +# Portions created by the Initial Developer are Copyright (C) 2011 the +# Initial Developer. All Rights Reserved. +# +# Major Contributor(s): +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +BISON := bison + +all : yyrscyacc.cxx +yyrscyacc.cxx : $(realpath $(SRC_ROOT)/rsc/source/parser/rscyacc.y) + $(BISON) -d -o $@ $< + +.PHONY: all +# vim: set noet sw=4 ts=4: diff --git a/rsc/source/parser/makefile.mk b/rsc/source/parser/makefile.mk deleted file mode 100644 index b128bbfd94e4..000000000000 --- a/rsc/source/parser/makefile.mk +++ /dev/null @@ -1,72 +0,0 @@ -#************************************************************************* -# -# 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=..$/.. - -PROJECTPCH=parser -PROJECTPCHSOURCE=parser -PRJNAME=rsc -TARGET=rscpar - -# --- Settings ----------------------------------------------------- - -#prjpch=T - -ENABLE_EXCEPTIONS=true - -.INCLUDE : settings.mk - -.IF "$(BUILD_TYPE)"=="$(BUILD_TYPE:s/DESKTOP//)" -ALL: - @echo No need for this on non-desktop OSes -.ENDIF - -# --- Files -------------------------------------------------------- - -YACCTARGET= $(INCCOM)$/yyrscyacc.cxx -YACCFILES= rscyacc.y - -OBJFILES= $(OBJ)$/rscpar.obj \ - $(OBJ)$/rscyacc.obj \ - $(OBJ)$/rsclex.obj \ - $(OBJ)$/erscerr.obj \ - $(OBJ)$/rsckey.obj \ - $(OBJ)$/rscinit.obj \ - $(OBJ)$/rscibas.obj \ - $(OBJ)$/rscdb.obj \ - $(OBJ)$/rscicpx.obj - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk - -$(OBJ)$/rscibas.obj : $(YACCTARGET) -$(OBJ)$/rscinit.obj : $(YACCTARGET) -$(OBJ)$/rscicpx.obj : $(YACCTARGET) -$(OBJ)$/rsclex.obj : $(YACCTARGET) -$(OBJ)$/rscyacc.obj : $(YACCTARGET) - diff --git a/rsc/source/prj/makefile.mk b/rsc/source/prj/makefile.mk deleted file mode 100644 index f703d3e45b53..000000000000 --- a/rsc/source/prj/makefile.mk +++ /dev/null @@ -1,67 +0,0 @@ -#************************************************************************* -# -# 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=..$/.. - -PRJNAME=rsc -TARGETTYPE=CUI -TARGET=rsc -LIBTARGET=NO - -# --- Settings ----------------------------------------------------------- - -ENABLE_EXCEPTIONS=true - -.INCLUDE : settings.mk - -.IF "$(BUILD_TYPE)"=="$(BUILD_TYPE:s/DESKTOP//)" -ALL: - @echo No need for this on non-desktop OSes -.ENDIF - -# --- Files -------------------------------------------------------------- - -OBJFILES= $(OBJ)$/gui.obj \ - $(OBJ)$/start.obj - -APP1TARGET= rsc -APP1STDLIBS=$(TOOLSLIB) $(I18NISOLANGLIB) $(SALLIB) # $(RTLLIB) -APP1LIBS= $(LB)$/rscmis.lib \ - $(LB)$/rscpar.lib \ - $(LB)$/rscres.lib \ - $(LB)$/rscrsc.lib \ - $(LB)$/rscpp.lib \ - $(LB)$/rsctoo.lib -APP1OBJS= $(OBJ)$/start.obj \ - $(OBJ)$/gui.obj -APP1STACK=64000 -APP1RPATH=NONE - -# --- Targets ------------------------------------------------------------ - -.INCLUDE : target.mk - diff --git a/rsc/source/res/makefile.mk b/rsc/source/res/makefile.mk deleted file mode 100644 index 9f65263b57d0..000000000000 --- a/rsc/source/res/makefile.mk +++ /dev/null @@ -1,68 +0,0 @@ -#************************************************************************* -# -# 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=..$/.. - -PRJNAME=rsc -TARGET=rscres - -# --- Settings ------------------------------------------------------ - -ENABLE_EXCEPTIONS=true - -.INCLUDE : settings.mk - -.IF "$(BUILD_TYPE)"=="$(BUILD_TYPE:s/DESKTOP//)" -ALL: - @echo No need for this on non-desktop OSes -.ENDIF - -OBJFILES= $(OBJ)$/rscclobj.obj \ - $(OBJ)$/rsccont.obj \ - $(OBJ)$/rsctop.obj \ - $(OBJ)$/rscrange.obj \ - $(OBJ)$/rscconst.obj \ - $(OBJ)$/rscflag.obj \ - $(OBJ)$/rscstr.obj \ - $(OBJ)$/rscall.obj \ - $(OBJ)$/rscmgr.obj \ - $(OBJ)$/rscclass.obj \ - $(OBJ)$/rscarray.obj - -CXXFILES= rscclobj.cxx \ - rsctop.cxx \ - rscrange.cxx \ - rscconst.cxx \ - rscflag.cxx \ - rscstr.cxx \ - rscall.cxx \ - rsccont.cxx \ - rscclass.cxx \ - rscmgr.cxx \ - rscarray.cxx - -.INCLUDE : target.mk diff --git a/rsc/source/rsc/makefile.mk b/rsc/source/rsc/makefile.mk deleted file mode 100644 index 95f7c84c9de7..000000000000 --- a/rsc/source/rsc/makefile.mk +++ /dev/null @@ -1,41 +0,0 @@ -#************************************************************************* -# -# 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=..$/.. - -PRJNAME=rsc -TARGET=rscrsc - -# --- Settings ------------------------------------------------------- - -ENABLE_EXCEPTIONS=true - -.INCLUDE : settings.mk - -OBJFILES= $(OBJ)$/rsc.obj - -.INCLUDE : target.mk diff --git a/rsc/source/rscpp/makefile.mk b/rsc/source/rscpp/makefile.mk deleted file mode 100644 index dc78ee53f886..000000000000 --- a/rsc/source/rscpp/makefile.mk +++ /dev/null @@ -1,79 +0,0 @@ -#************************************************************************* -# -# 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=..$/.. - -TARGETTYPE=CUI -NO_DEFAULT_STL=TRUE - -PRJNAME=rsc -TARGET=rscpp - -.IF "$(cpp)" != "" -PRJNAME=CPP -TARGET=cpp -.ENDIF - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -.IF "$(BUILD_TYPE)"=="$(BUILD_TYPE:s/DESKTOP//)" -ALL: - @echo No need for this on non-desktop OSes -.ENDIF - -CDEFS+=-DSOLAR - -.IF "$(cpp)" != "" -CDEFS+=-DNOMAIN -.ENDIF - -# --- Files -------------------------------------------------------- - -OBJFILES= \ - $(OBJ)$/cpp1.obj \ - $(OBJ)$/cpp2.obj \ - $(OBJ)$/cpp3.obj \ - $(OBJ)$/cpp4.obj \ - $(OBJ)$/cpp5.obj \ - $(OBJ)$/cpp6.obj \ - -.IF "$(GUI)"=="UNX" -CDEFS+=-Dunix -.ENDIF - -.IF "$(OS)$(CPU)"=="SOLARISI" -# cc: Sun C 5.5 Patch 112761-10 2004/08/10 -# Solaris x86 compiler ICE -# "cpp6.c", [get]:ube: internal error -# remove after compiler upgrade -NOOPTFILES=$(OBJ)$/cpp6.obj -.ENDIF - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk diff --git a/rsc/source/tools/makefile.mk b/rsc/source/tools/makefile.mk deleted file mode 100644 index a7e79abd1ff1..000000000000 --- a/rsc/source/tools/makefile.mk +++ /dev/null @@ -1,50 +0,0 @@ -#************************************************************************* -# -# 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=..$/.. - -PRJNAME=rsc -TARGET=rsctoo - -# --- Settings ------------------------------------------------------ - -ENABLE_EXCEPTIONS=true - -.INCLUDE : settings.mk - -.IF "$(BUILD_TYPE)"=="$(BUILD_TYPE:s/DESKTOP//)" -ALL: - @echo No need for this on non-desktop OSes -.ENDIF - -OBJFILES= $(OBJ)$/rschash.obj \ - $(OBJ)$/rsctree.obj \ - $(OBJ)$/rsctools.obj \ - $(OBJ)$/rscchar.obj \ - $(OBJ)$/rscdef.obj - -.INCLUDE : target.mk |