summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2011-12-25 12:05:01 -0500
committerDavid Tardon <dtardon@redhat.com>2012-05-29 07:24:33 +0200
commit85778230cb006cd29d35f3f1eab0e4b84f43a848 (patch)
treebb049c9b15c4136c853854843d0bb1353fea08ae
parent9956f6d00668c4107e8d98b60f7344b7982c4626 (diff)
connectivity: convert dbase to gbuild
-rw-r--r--Repository.mk1
-rw-r--r--connectivity/Library_dbase.mk80
-rw-r--r--connectivity/Module_connectivity.mk1
3 files changed, 82 insertions, 0 deletions
diff --git a/Repository.mk b/Repository.mk
index a5ec3e3c8be6..806536214950 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -244,6 +244,7 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
ctl \
cui \
dba \
+ dbase \
dbaxml \
dbmm \
dbp \
diff --git a/connectivity/Library_dbase.mk b/connectivity/Library_dbase.mk
new file mode 100644
index 000000000000..69b3490176e2
--- /dev/null
+++ b/connectivity/Library_dbase.mk
@@ -0,0 +1,80 @@
+# -*- 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) 2011 Peter Foley <pefoley2@verizon.net> (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_Library_Library,dbase))
+
+$(eval $(call gb_Library_set_componentfile,dbase,connectivity/source/drivers/dbase/dbase))
+
+$(eval $(call gb_Library_add_api,dbase,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_Library_set_include,dbase,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/connectivity/inc \
+ -I$(SRCDIR)/connectivity/source/inc \
+))
+
+$(eval $(call gb_Library_add_linked_libs,dbase,\
+ cppu \
+ cppuhelper \
+ svl \
+ tl \
+ ucbhelper \
+ sal \
+ salhelper \
+ dbtools \
+ file \
+ utl \
+ comphelper \
+ $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Library_add_exception_objects,dbase,\
+ connectivity/source/drivers/dbase/DCode \
+ connectivity/source/drivers/dbase/DResultSet \
+ connectivity/source/drivers/dbase/DStatement \
+ connectivity/source/drivers/dbase/DPreparedStatement \
+ connectivity/source/drivers/dbase/dindexnode \
+ connectivity/source/drivers/dbase/DIndexIter \
+ connectivity/source/drivers/dbase/DDatabaseMetaData \
+ connectivity/source/drivers/dbase/DCatalog \
+ connectivity/source/drivers/dbase/DColumns \
+ connectivity/source/drivers/dbase/DIndexColumns \
+ connectivity/source/drivers/dbase/DIndex \
+ connectivity/source/drivers/dbase/DIndexes \
+ connectivity/source/drivers/dbase/DTables \
+ connectivity/source/drivers/dbase/DConnection \
+ connectivity/source/drivers/dbase/Dservices \
+ connectivity/source/drivers/dbase/DDriver \
+ connectivity/source/drivers/dbase/DTable \
+))
+
+#connectivity/source/drivers/dbase/DTable disable optimization?
+
+# vim: set noet sw=4 ts=4:
diff --git a/connectivity/Module_connectivity.mk b/connectivity/Module_connectivity.mk
index 5b6db0f05dd4..6f242fd9aa22 100644
--- a/connectivity/Module_connectivity.mk
+++ b/connectivity/Module_connectivity.mk
@@ -40,6 +40,7 @@ $(eval $(call gb_Module_add_targets,connectivity,\
Library_mysql \
Library_file \
Library_flat \
+ Library_dbase \
))
ifneq ($(SOLAR_JAVA),)