[Libreoffice-commits] .: rsc/Executable_rsc.mk rsc/Makefile rsc/Module_rsc.mk rsc/Package_inc.mk rsc/Package_yacc.mk rsc/prj rsc/source

Matus Kukan mkukan at kemper.freedesktop.org
Tue Aug 9 06:20:25 PDT 2011


 rsc/Executable_rsc.mk         |  104 ++++++++++++++++++++++++++++++++++++++++++
 rsc/Makefile                  |   39 +++++++++++++++
 rsc/Module_rsc.mk             |   40 ++++++++++++++++
 rsc/Package_inc.mk            |   33 +++++++++++++
 rsc/Package_yacc.mk           |   32 ++++++++++++
 rsc/prj/build.lst             |    9 ---
 rsc/prj/d.lst                 |    5 --
 rsc/prj/makefile.mk           |   40 ++++++++++++++++
 rsc/source/misc/makefile.mk   |   52 ---------------------
 rsc/source/parser/Makefile    |   36 ++++++++++++++
 rsc/source/parser/makefile.mk |   72 -----------------------------
 rsc/source/prj/makefile.mk    |   67 ---------------------------
 rsc/source/res/makefile.mk    |   68 ---------------------------
 rsc/source/rsc/makefile.mk    |   41 ----------------
 rsc/source/rscpp/makefile.mk  |   79 -------------------------------
 rsc/source/tools/makefile.mk  |   50 --------------------
 16 files changed, 325 insertions(+), 442 deletions(-)

New commits:
commit dce040cb325db554907c591ba673c9d2e6e8f21c
Author: Matúš Kukan <matus.kukan at gmail.com>
Date:   Sat Jul 30 23:15:29 2011 +0200

    convert rsc to gbuild

diff --git a/rsc/Executable_rsc.mk b/rsc/Executable_rsc.mk
new file mode 100644
index 0000000..1ed63c9
--- /dev/null
+++ b/rsc/Executable_rsc.mk
@@ -0,0 +1,104 @@
+# -*- 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 at 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.
+
+$(eval $(call gb_Executable_Executable,rsc))
+
+$(eval $(call gb_Executable_add_package_headers,rsc,rsc_yacc))
+
+$(eval $(call gb_Executable_set_include,rsc,\
+	$$(INCLUDE) \
+	-I$(realpath $(SRCDIR)/rsc/inc) \
+	-I$(realpath $(SRCDIR)/rsc/inc/pch) \
+	-I$(realpath $(WORKDIR))/CustomTarget/rsc/source/parser \
+))
+
+$(eval $(call gb_Executable_add_api,rsc,\
+	udkapi \
+	offapi \
+))
+
+$(eval $(call gb_Executable_add_defs,rsc,\
+	-DSOLAR \
+))
+
+$(eval $(call gb_Executable_add_linked_libs,rsc,\
+	i18nisolang1 \
+	sal \
+	tl \
+	$(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Executable_add_exception_objects,rsc,\
+	rsc/source/misc/rscdbl \
+	rsc/source/misc/rsclst \
+	rsc/source/parser/erscerr \
+	rsc/source/parser/rscdb \
+	rsc/source/parser/rscibas \
+	rsc/source/parser/rscicpx \
+	rsc/source/parser/rscinit \
+	rsc/source/parser/rsckey \
+	rsc/source/parser/rsclex \
+	rsc/source/parser/rscpar \
+	rsc/source/parser/rscyacc \
+	rsc/source/prj/gui \
+	rsc/source/prj/start \
+	rsc/source/res/rscall \
+	rsc/source/res/rscarray \
+	rsc/source/res/rscclass \
+	rsc/source/res/rscclobj \
+	rsc/source/res/rscconst \
+	rsc/source/res/rsccont \
+	rsc/source/res/rscflag \
+	rsc/source/res/rscmgr \
+	rsc/source/res/rscrange \
+	rsc/source/res/rscstr \
+	rsc/source/res/rsctop \
+	rsc/source/rsc/rsc \
+	rsc/source/tools/rscchar \
+	rsc/source/tools/rscdef \
+	rsc/source/tools/rschash \
+	rsc/source/tools/rsctools \
+	rsc/source/tools/rsctree \
+))
+
+$(eval $(call gb_Executable_add_cobjects,rsc,\
+	rsc/source/rscpp/cpp1 \
+	rsc/source/rscpp/cpp2 \
+	rsc/source/rscpp/cpp3 \
+	rsc/source/rscpp/cpp4 \
+	rsc/source/rscpp/cpp5 \
+	rsc/source/rscpp/cpp6 \
+))
+
+ifeq ($(GUI),UNX)
+$(eval $(call gb_Executable_add_defs,rsc,\
+	-Dunix \
+))
+endif
+
+# vim: set noet sw=4 ts=4:
diff --git a/rsc/Makefile b/rsc/Makefile
new file mode 100644
index 0000000..a1b344d
--- /dev/null
+++ b/rsc/Makefile
@@ -0,0 +1,39 @@
+# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2011 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.
+#
+#*************************************************************************
+
+ifeq ($(strip $(SOLARENV)),)
+$(error No environment set!)
+endif
+
+gb_PARTIALBUILD := T
+GBUILDDIR := $(SOLARENV)/gbuild
+include $(GBUILDDIR)/gbuild.mk
+
+$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
+
+# vim: set noet sw=4 ts=4:
diff --git a/rsc/Module_rsc.mk b/rsc/Module_rsc.mk
new file mode 100644
index 0000000..a04b23b
--- /dev/null
+++ b/rsc/Module_rsc.mk
@@ -0,0 +1,40 @@
+# -*- 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 at 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.
+
+$(eval $(call gb_Module_Module,rsc))
+
+$(eval $(call gb_Module_add_targets,rsc,\
+	Package_inc \
+))
+
+$(if $(filter DESKTOP,$(BUILD_TYPE)),$(eval $(call gb_Module_add_targets,rsc,\
+	Executable_rsc \
+	Package_yacc \
+)))
+
+# vim: set noet sw=4 ts=4:
diff --git a/rsc/Package_inc.mk b/rsc/Package_inc.mk
new file mode 100644
index 0000000..24474a8
--- /dev/null
+++ b/rsc/Package_inc.mk
@@ -0,0 +1,33 @@
+# -*- 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 at 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.
+
+$(eval $(call gb_Package_Package,rsc_inc,$(SRCDIR)/rsc/inc))
+
+$(eval $(call gb_Package_add_file,rsc_inc,inc/rsc/rscsfx.hxx,rsc/rscsfx.hxx))
+
+# vim: set noet sw=4 ts=4:
diff --git a/rsc/Package_yacc.mk b/rsc/Package_yacc.mk
new file mode 100644
index 0000000..18d02d5
--- /dev/null
+++ b/rsc/Package_yacc.mk
@@ -0,0 +1,32 @@
+# -*- 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 at 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.
+
+$(eval $(call gb_Package_Package,rsc_yacc,$(WORKDIR)/rsc/source/parser))
+$(eval $(call gb_Package_add_customtarget,rsc_yacc,rsc/source/parser,SRCDIR))
+
+# vim: set noet sw=4 ts=4:
diff --git a/rsc/prj/build.lst b/rsc/prj/build.lst
index d9e775d..40c3938 100644
--- a/rsc/prj/build.lst
+++ b/rsc/prj/build.lst
@@ -1,9 +1,2 @@
 r	rsc	:	tools NULL
-r	rsc										usr1	-	all	rsc_mkout NULL
-r	rsc\source\misc							nmake	-	all	rsc_misc NULL
-r	rsc\source\tools						nmake	-	all	rsc_tool NULL
-r	rsc\source\res							nmake	-	all	rsc_res NULL
-r	rsc\source\parser						nmake	-	all	rsc_pars NULL
-r	rsc\source\rsc							nmake	-	all	rsc_rsc NULL
-r	rsc\source\rscpp						nmake	-	all	rsc_cpp NULL
-r	rsc\source\prj							nmake	-	all	rsc_sprj rsc_cpp rsc_misc rsc_pars rsc_res rsc_rsc rsc_tool NULL
+r	rsc\prj		nmake	-	all	rsc_prj NULL
diff --git a/rsc/prj/d.lst b/rsc/prj/d.lst
index 9c670b3..e69de29 100644
--- a/rsc/prj/d.lst
+++ b/rsc/prj/d.lst
@@ -1,5 +0,0 @@
-..\%__SRC%\bin\rsc.exe %_DEST%\bin\rsc.exe
-..\%__SRC%\bin\rsc %_DEST%\bin\rsc
-
-mkdir: %_DEST%\inc\rsc
-..\inc\rsc/rscsfx.hxx %_DEST%\inc\rsc\rscsfx.hxx
diff --git a/rsc/prj/makefile.mk b/rsc/prj/makefile.mk
new file mode 100644
index 0000000..d30ff8a
--- /dev/null
+++ b/rsc/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
diff --git a/rsc/source/misc/makefile.mk b/rsc/source/misc/makefile.mk
deleted file mode 100644
index 02e6a2f..0000000
--- 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 0000000..25367e8
--- /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 at 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 b128bbf..0000000
--- 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 f703d3e..0000000
--- 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 9f65263..0000000
--- 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 95f7c84..0000000
--- 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 dc78ee5..0000000
--- 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 a7e79ab..0000000
--- 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


More information about the Libreoffice-commits mailing list