summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Repository.mk7
-rw-r--r--connectivity/Library_flat.mk71
-rw-r--r--connectivity/Module_connectivity.mk1
3 files changed, 76 insertions, 3 deletions
diff --git a/Repository.mk b/Repository.mk
index 9197425d0650..a5ec3e3c8be6 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -266,9 +266,10 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
evoab2 \
exp \
file \
- filterconfig \
- filtertracer \
- flash \
+ filterconfig \
+ filtertracer \
+ flash \
+ flat \
for \
frm \
fwe \
diff --git a/connectivity/Library_flat.mk b/connectivity/Library_flat.mk
new file mode 100644
index 000000000000..c69623a07573
--- /dev/null
+++ b/connectivity/Library_flat.mk
@@ -0,0 +1,71 @@
+# -*- 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,flat))
+
+$(eval $(call gb_Library_set_componentfile,flat,connectivity/source/drivers/flat/flat))
+
+$(eval $(call gb_Library_add_api,flat,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_Library_set_include,flat,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/connectivity/inc \
+ -I$(SRCDIR)/connectivity/source/inc \
+))
+
+$(eval $(call gb_Library_add_linked_libs,flat,\
+ cppu \
+ cppuhelper \
+ tl \
+ svl \
+ utl \
+ sal \
+ salhelper \
+ dbtools \
+ file \
+ comphelper \
+ $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Library_add_exception_objects,flat,\
+ connectivity/source/drivers/flat/EResultSet \
+ connectivity/source/drivers/flat/EStatement \
+ connectivity/source/drivers/flat/EPreparedStatement \
+ connectivity/source/drivers/flat/ETable \
+ connectivity/source/drivers/flat/EDatabaseMetaData \
+ connectivity/source/drivers/flat/ECatalog \
+ connectivity/source/drivers/flat/EColumns \
+ connectivity/source/drivers/flat/ETables \
+ connectivity/source/drivers/flat/EConnection \
+ connectivity/source/drivers/flat/Eservices \
+ connectivity/source/drivers/flat/EDriver \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/connectivity/Module_connectivity.mk b/connectivity/Module_connectivity.mk
index c3d52624cef2..5b6db0f05dd4 100644
--- a/connectivity/Module_connectivity.mk
+++ b/connectivity/Module_connectivity.mk
@@ -39,6 +39,7 @@ $(eval $(call gb_Module_add_targets,connectivity,\
Library_odbc \
Library_mysql \
Library_file \
+ Library_flat \
))
ifneq ($(SOLAR_JAVA),)