[PATCH 1/2] gbuild conversion: rdbmaker module
David Ostrovsky
David.Ostrovsky at gmx.de
Thu Apr 5 11:24:34 PDT 2012
dmake stuff removed
---
Makefile | 2 +-
Repository.mk | 1 +
rdbmaker/Executable_rdbmaker.mk | 53 +++++++++++++++++++++++++++
rdbmaker/Makefile | 7 ++++
rdbmaker/Module_rdbmaker.mk | 34 ++++++++++++++++++
rdbmaker/prj/build.lst | 6 +---
rdbmaker/prj/d.lst | 3 --
rdbmaker/prj/makefile.mk | 1 +
rdbmaker/source/codemaker/makefile.mk | 55 ----------------------------
rdbmaker/source/rdbmaker/makefile.mk | 63 ---------------------------------
10 files changed, 98 insertions(+), 127 deletions(-)
create mode 100644 rdbmaker/Executable_rdbmaker.mk
create mode 100644 rdbmaker/Makefile
create mode 100644 rdbmaker/Module_rdbmaker.mk
create mode 100644 rdbmaker/prj/makefile.mk
delete mode 100644 rdbmaker/source/codemaker/makefile.mk
delete mode 100644 rdbmaker/source/rdbmaker/makefile.mk
diff --git a/Makefile b/Makefile
index ffe3740..057579d 100644
--- a/Makefile
+++ b/Makefile
@@ -87,6 +87,7 @@ psprint_config\
qadevOOo\
regexp\
reportdesign\
+rdbmaker\
ridljar\
rsc\
sal\
@@ -212,7 +213,6 @@ postgresql\
postprocess\
python\
pyuno\
-rdbmaker\
readlicense_oo\
redland\
registry\
diff --git a/Repository.mk b/Repository.mk
index c28a863..17ae5ed 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -40,6 +40,7 @@ $(eval $(call gb_Helper_register_executables,NONE, \
osl_process_child \
pdf2xml \
pdfunzip \
+ rdbmaker \
regcomp \
regsingleton \
rsc \
diff --git a/rdbmaker/Executable_rdbmaker.mk b/rdbmaker/Executable_rdbmaker.mk
new file mode 100644
index 0000000..8ab158a
--- /dev/null
+++ b/rdbmaker/Executable_rdbmaker.mk
@@ -0,0 +1,53 @@
+# -*- Mode: makefile-gmake; 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 David Ostrovsky <d.ostrovsky at gmx.de> (initial developer)
+#
+# All Rights Reserved.
+#
+# 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,rdbmaker))
+
+$(eval $(call gb_Executable_add_api,rdbmaker,\
+ udkapi \
+))
+
+$(eval $(call gb_Executable_add_linked_libs,rdbmaker,\
+ sal \
+ salhelper \
+ reg \
+ cppu \
+ cppuhelper \
+))
+
+$(eval $(call gb_Executable_add_exception_objects,rdbmaker,\
+ rdbmaker/source/rdbmaker/rdbmaker \
+ rdbmaker/source/rdbmaker/rdbtype \
+ rdbmaker/source/rdbmaker/rdboptions \
+ rdbmaker/source/rdbmaker/typeblop \
+ rdbmaker/source/rdbmaker/specialtypemanager \
+ rdbmaker/source/codemaker/global \
+ rdbmaker/source/codemaker/options \
+ rdbmaker/source/codemaker/typemanager \
+ rdbmaker/source/codemaker/dependency \
+))
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/rdbmaker/Makefile b/rdbmaker/Makefile
new file mode 100644
index 0000000..ccb1c85
--- /dev/null
+++ b/rdbmaker/Makefile
@@ -0,0 +1,7 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+
+module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
+
+include $(module_directory)/../solenv/gbuild/partial_build.mk
+
+# vim: set noet sw=4 ts=4:
diff --git a/rdbmaker/Module_rdbmaker.mk b/rdbmaker/Module_rdbmaker.mk
new file mode 100644
index 0000000..2499366
--- /dev/null
+++ b/rdbmaker/Module_rdbmaker.mk
@@ -0,0 +1,34 @@
+# -*- Mode: makefile-gmake; 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.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 David Ostrovsky <d.ostrovsky at gmx.de> (initial developer)
+#
+# All Rights Reserved.
+#
+# 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,rdbmaker))
+
+$(eval $(call gb_Module_add_targets,rdbmaker,\
+ Executable_rdbmaker \
+))
+
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/rdbmaker/prj/build.lst b/rdbmaker/prj/build.lst
index e105222..43b8f84 100644
--- a/rdbmaker/prj/build.lst
+++ b/rdbmaker/prj/build.lst
@@ -1,6 +1,2 @@
rm rdbmaker : cppuhelper NULL
-rm rdbmaker usr1 - all rm_mkout NULL
-rm rdbmaker\inc get - all rm_inc NULL
-rm rdbmaker\prj get - all rm_prj NULL
-rm rdbmaker\source\codemaker nmake - all rm_codemaker NULL
-rm rdbmaker\source\rdbmaker nmake - all rm_rdbmaker rm_codemaker NULL
+rm rdbmaker\prj nmake - all rm_prj NULL
diff --git a/rdbmaker/prj/d.lst b/rdbmaker/prj/d.lst
index 67afbfb..8b13789 100644
--- a/rdbmaker/prj/d.lst
+++ b/rdbmaker/prj/d.lst
@@ -1,4 +1 @@
-..\%__SRC%\bin\rdbmaker.exe %_DEST%\bin\rdbmaker.exe
-..\%__SRC%\bin\rdbmaker.pdb %_DEST%\bin\rdbmaker.pdb
-..\%__SRC%\bin\rdbmaker %_DEST%\bin\rdbmaker
diff --git a/rdbmaker/prj/makefile.mk b/rdbmaker/prj/makefile.mk
new file mode 100644
index 0000000..0997622
--- /dev/null
+++ b/rdbmaker/prj/makefile.mk
@@ -0,0 +1 @@
+.INCLUDE : gbuildbridge.mk
diff --git a/rdbmaker/source/codemaker/makefile.mk b/rdbmaker/source/codemaker/makefile.mk
deleted file mode 100644
index 626b71e..0000000
--- a/rdbmaker/source/codemaker/makefile.mk
+++ /dev/null
@@ -1,55 +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=codemaker
-TARGET=$(PRJNAME)
-
-
-ENABLE_EXCEPTIONS=TRUE
-
-# --- Settings -----------------------------------------------------
-.INCLUDE : settings.mk
-
-# ------------------------------------------------------------------
-
-CXXFILES= \
- global.cxx \
- options.cxx \
- typemanager.cxx \
- dependency.cxx
-
-OBJFILES= \
- $(OBJ)$/global.obj \
- $(OBJ)$/options.obj \
- $(OBJ)$/typemanager.obj \
- $(OBJ)$/dependency.obj
-
-# ------------------------------------------------------------------
-
-.INCLUDE : target.mk
-
diff --git a/rdbmaker/source/rdbmaker/makefile.mk b/rdbmaker/source/rdbmaker/makefile.mk
deleted file mode 100644
index 8b41a93..0000000
--- a/rdbmaker/source/rdbmaker/makefile.mk
+++ /dev/null
@@ -1,63 +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=codemaker
-TARGET=rdbmaker
-TARGETTYPE=CUI
-LIBTARGET=NO
-
-ENABLE_EXCEPTIONS=TRUE
-
-# --- Settings -----------------------------------------------------
-.INCLUDE : settings.mk
-
-OBJFILES= $(OBJ)$/rdbmaker.obj \
- $(OBJ)$/rdboptions.obj \
- $(OBJ)$/typeblop.obj \
- $(OBJ)$/specialtypemanager.obj \
- $(OBJ)$/rdbtype.obj
-
-
-APP1TARGET= $(TARGET)
-
-APP1OBJS= $(OBJFILES)
-
-APP1STDLIBS=\
- $(SALLIB) \
- $(SALHELPERLIB) \
- $(REGLIB) \
- $(CPPULIB) \
- $(CPPUHELPERLIB)
-
-APP1LIBS= \
- $(LB)$/codemaker.lib
-
-APP1RPATH= NONE
-
-.INCLUDE : target.mk
--
1.7.5.4
--------------070800020500070705020609
Content-Type: text/x-patch;
name="0002-gbuild-conversion-rdbmaker-module.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="0002-gbuild-conversion-rdbmaker-module.patch"
More information about the LibreOffice
mailing list