convert rsc to gbuild
This commit is contained in:
104
rsc/Executable_rsc.mk
Normal file
104
rsc/Executable_rsc.mk
Normal file
@@ -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:
|
@@ -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=..$/..
|
||||
ifeq ($(strip $(SOLARENV)),)
|
||||
$(error No environment set!)
|
||||
endif
|
||||
|
||||
PRJNAME=rsc
|
||||
TARGET=rscmis
|
||||
gb_PARTIALBUILD := T
|
||||
GBUILDDIR := $(SOLARENV)/gbuild
|
||||
include $(GBUILDDIR)/gbuild.mk
|
||||
|
||||
# --- Settings ------------------------------------------------------
|
||||
$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
|
||||
|
||||
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
|
||||
# vim: set noet sw=4 ts=4:
|
40
rsc/Module_rsc.mk
Normal file
40
rsc/Module_rsc.mk
Normal file
@@ -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:
|
33
rsc/Package_inc.mk
Normal file
33
rsc/Package_inc.mk
Normal file
@@ -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:
|
32
rsc/Package_yacc.mk
Normal file
32
rsc/Package_yacc.mk
Normal file
@@ -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:
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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=..$/..
|
||||
PRJ=..
|
||||
TARGET=prj
|
||||
|
||||
PRJNAME=rsc
|
||||
TARGET=rscrsc
|
||||
.INCLUDE : settings.mk
|
||||
|
||||
# --- Settings -------------------------------------------------------
|
||||
.IF "$(VERBOSE)"!=""
|
||||
VERBOSEFLAG :=
|
||||
.ELSE
|
||||
VERBOSEFLAG := -s
|
||||
.ENDIF
|
||||
|
||||
ENABLE_EXCEPTIONS=true
|
||||
|
||||
.INCLUDE : settings.mk
|
||||
|
||||
OBJFILES= $(OBJ)$/rsc.obj
|
||||
|
||||
.INCLUDE : target.mk
|
||||
all:
|
||||
cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog
|
36
rsc/source/parser/Makefile
Normal file
36
rsc/source/parser/Makefile
Normal file
@@ -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:
|
@@ -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)
|
||||
|
@@ -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
|
||||
|
@@ -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
|
@@ -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
|
@@ -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
|
Reference in New Issue
Block a user