diff options
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/Executable_rsc.mk | 104 | ||||
-rw-r--r-- | rsc/Makefile (renamed from rsc/source/misc/makefile.mk) | 35 | ||||
-rw-r--r-- | rsc/Module_rsc.mk | 40 | ||||
-rw-r--r-- | rsc/Package_inc.mk | 33 | ||||
-rw-r--r-- | rsc/Package_yacc.mk | 32 | ||||
-rw-r--r-- | rsc/prj/build.lst | 9 | ||||
-rw-r--r-- | rsc/prj/d.lst | 5 | ||||
-rw-r--r-- | rsc/prj/makefile.mk (renamed from rsc/source/rsc/makefile.mk) | 23 | ||||
-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/rscpp/makefile.mk | 79 | ||||
-rw-r--r-- | rsc/source/tools/makefile.mk | 50 |
14 files changed, 268 insertions, 385 deletions
diff --git a/rsc/Executable_rsc.mk b/rsc/Executable_rsc.mk new file mode 100644 index 000000000000..1ed63c9965ee --- /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@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/source/misc/makefile.mk b/rsc/Makefile index 02e6a2f887bd..a1b344d72564 100644 --- a/rsc/source/misc/makefile.mk +++ b/rsc/Makefile @@ -1,8 +1,9 @@ +# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*- #************************************************************************* # # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# Copyright 2000, 2011 Oracle and/or its affiliates. # # OpenOffice.org - a multi-platform office productivity suite # @@ -25,28 +26,14 @@ # #************************************************************************* -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 +ifeq ($(strip $(SOLARENV)),) +$(error No environment set!) +endif -# --- Files --------------------------------------------------------- +gb_PARTIALBUILD := T +GBUILDDIR := $(SOLARENV)/gbuild +include $(GBUILDDIR)/gbuild.mk -CXXFILES= rsclst.cxx \ - rscdbl.cxx +$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk))) -OBJFILES= $(OBJ)$/rsclst.obj \ - $(OBJ)$/rscdbl.obj - -.INCLUDE : target.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 000000000000..a04b23b50222 --- /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@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 000000000000..24474a89f4cf --- /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@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 000000000000..18d02d5b210d --- /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@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 d9e775d28e66..40c393898e4e 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 9c670b37b25c..e69de29bb2d1 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/source/rsc/makefile.mk b/rsc/prj/makefile.mk index 95f7c84c9de7..d30ff8a47e6b 100644 --- a/rsc/source/rsc/makefile.mk +++ b/rsc/prj/makefile.mk @@ -1,7 +1,7 @@ #************************************************************************* # # 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 @@ -25,17 +25,16 @@ # #************************************************************************* -PRJ=..$/.. - -PRJNAME=rsc -TARGET=rscrsc - -# --- Settings ------------------------------------------------------- - -ENABLE_EXCEPTIONS=true +PRJ=.. +TARGET=prj -.INCLUDE : settings.mk +.INCLUDE : settings.mk -OBJFILES= $(OBJ)$/rsc.obj +.IF "$(VERBOSE)"!="" +VERBOSEFLAG := +.ELSE +VERBOSEFLAG := -s +.ENDIF -.INCLUDE : target.mk +all: + cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog 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/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 |