diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2013-12-04 12:12:01 -0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-24 09:12:16 +0000 |
commit | 692c724f5e71f685c269085983828e7539274ecb (patch) | |
tree | 6537a43ac630470fda9ec55ac0301d66022af9fa /connectivity | |
parent | 8a6d84fc1a926147884a9cbf234f86c6fb6f8583 (diff) |
fdo#60698: Merge odbcbase into odbc
We odbcbase is just used inside odbc library, so merge them.
Change-Id: I4f4b34873b570ddcf1065c49e5310a1e73092fd6
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/Library_odbc.mk | 22 | ||||
-rw-r--r-- | connectivity/Library_odbcbase.mk | 55 | ||||
-rw-r--r-- | connectivity/Module_connectivity.mk | 4 | ||||
-rw-r--r-- | connectivity/source/drivers/odbc/OConnection.cxx (renamed from connectivity/source/drivers/odbcbase/OConnection.cxx) | 0 | ||||
-rw-r--r-- | connectivity/source/drivers/odbc/ODatabaseMetaData.cxx (renamed from connectivity/source/drivers/odbcbase/ODatabaseMetaData.cxx) | 0 | ||||
-rw-r--r-- | connectivity/source/drivers/odbc/ODatabaseMetaDataResultSet.cxx (renamed from connectivity/source/drivers/odbcbase/ODatabaseMetaDataResultSet.cxx) | 0 | ||||
-rw-r--r-- | connectivity/source/drivers/odbc/ODriver.cxx (renamed from connectivity/source/drivers/odbcbase/ODriver.cxx) | 0 | ||||
-rw-r--r-- | connectivity/source/drivers/odbc/OPreparedStatement.cxx (renamed from connectivity/source/drivers/odbcbase/OPreparedStatement.cxx) | 0 | ||||
-rw-r--r-- | connectivity/source/drivers/odbc/OResultSet.cxx (renamed from connectivity/source/drivers/odbcbase/OResultSet.cxx) | 0 | ||||
-rw-r--r-- | connectivity/source/drivers/odbc/OResultSetMetaData.cxx (renamed from connectivity/source/drivers/odbcbase/OResultSetMetaData.cxx) | 0 | ||||
-rw-r--r-- | connectivity/source/drivers/odbc/OStatement.cxx (renamed from connectivity/source/drivers/odbcbase/OStatement.cxx) | 0 | ||||
-rw-r--r-- | connectivity/source/drivers/odbc/OTools.cxx (renamed from connectivity/source/drivers/odbcbase/OTools.cxx) | 0 |
12 files changed, 21 insertions, 60 deletions
diff --git a/connectivity/Library_odbc.mk b/connectivity/Library_odbc.mk index 82d447c4fc8b..a29ccc29352a 100644 --- a/connectivity/Library_odbc.mk +++ b/connectivity/Library_odbc.mk @@ -20,14 +20,23 @@ $(eval $(call gb_Library_set_include,odbc,\ $$(INCLUDE) \ -I$(SRCDIR)/connectivity/inc \ -I$(SRCDIR)/connectivity/source/inc \ + -I$(WORKDIR)/YaccTarget/connectivity/source/parse \ )) -$(eval $(call gb_Library_use_external,odbc,odbc_headers)) +$(eval $(call gb_Library_add_defs,odbc,\ + -DOOO_DLLIMPLEMENTATION_ODBCBASE \ +)) + +$(eval $(call gb_Library_use_externals,odbc,\ + boost_headers \ + odbc_headers \ +)) $(eval $(call gb_Library_use_libraries,odbc,\ - odbcbase \ cppu \ cppuhelper \ + comphelper \ + dbtools \ sal \ salhelper \ $(gb_UWINAPI) \ @@ -37,6 +46,15 @@ $(eval $(call gb_Library_add_exception_objects,odbc,\ connectivity/source/drivers/odbc/oservices \ connectivity/source/drivers/odbc/ORealDriver \ connectivity/source/drivers/odbc/OFunctions \ + connectivity/source/drivers/odbc/OPreparedStatement \ + connectivity/source/drivers/odbc/OStatement \ + connectivity/source/drivers/odbc/OResultSetMetaData \ + connectivity/source/drivers/odbc/OResultSet \ + connectivity/source/drivers/odbc/OTools \ + connectivity/source/drivers/odbc/ODatabaseMetaDataResultSet \ + connectivity/source/drivers/odbc/ODatabaseMetaData \ + connectivity/source/drivers/odbc/ODriver \ + connectivity/source/drivers/odbc/OConnection \ )) # vim: set noet sw=4 ts=4: diff --git a/connectivity/Library_odbcbase.mk b/connectivity/Library_odbcbase.mk deleted file mode 100644 index 2db582373582..000000000000 --- a/connectivity/Library_odbcbase.mk +++ /dev/null @@ -1,55 +0,0 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- -# -# -# This file is part of the LibreOffice project. -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# - -$(eval $(call gb_Library_Library,odbcbase)) - -$(eval $(call gb_Library_set_warnings_not_errors,odbcbase)) - -$(eval $(call gb_Library_use_sdk_api,odbcbase)) - -$(eval $(call gb_Library_set_include,odbcbase,\ - $$(INCLUDE) \ - -I$(SRCDIR)/connectivity/inc \ - -I$(SRCDIR)/connectivity/source/inc \ - -I$(WORKDIR)/YaccTarget/connectivity/source/parse \ -)) - -$(eval $(call gb_Library_add_defs,odbcbase,\ - -DOOO_DLLIMPLEMENTATION_ODBCBASE \ -)) - -$(eval $(call gb_Library_use_externals,odbcbase,\ - boost_headers \ - odbc_headers \ -)) - -$(eval $(call gb_Library_use_libraries,odbcbase,\ - cppu \ - cppuhelper \ - sal \ - salhelper \ - dbtools \ - comphelper \ - $(gb_UWINAPI) \ -)) - -$(eval $(call gb_Library_add_exception_objects,odbcbase,\ - connectivity/source/drivers/odbcbase/OPreparedStatement \ - connectivity/source/drivers/odbcbase/OStatement \ - connectivity/source/drivers/odbcbase/OResultSetMetaData \ - connectivity/source/drivers/odbcbase/OResultSet \ - connectivity/source/drivers/odbcbase/OTools \ - connectivity/source/drivers/odbcbase/ODatabaseMetaDataResultSet \ - connectivity/source/drivers/odbcbase/ODatabaseMetaData \ - connectivity/source/drivers/odbcbase/ODriver \ - connectivity/source/drivers/odbcbase/OConnection \ -)) - -# vim: set noet sw=4 ts=4: diff --git a/connectivity/Module_connectivity.mk b/connectivity/Module_connectivity.mk index b49a9ad6fd4f..ae3511ca95f5 100644 --- a/connectivity/Module_connectivity.mk +++ b/connectivity/Module_connectivity.mk @@ -23,9 +23,7 @@ $(eval $(call gb_Module_add_targets,connectivity,\ Library_file \ Library_flat \ Library_mysql \ - $(if $(filter ANDROID IOS,$(OS)),, \ - Library_odbc \ - Library_odbcbase) \ + $(if $(filter ANDROID IOS,$(OS)),,Library_odbc) \ Library_sdbc2 \ )) diff --git a/connectivity/source/drivers/odbcbase/OConnection.cxx b/connectivity/source/drivers/odbc/OConnection.cxx index 0a35a58e849f..0a35a58e849f 100644 --- a/connectivity/source/drivers/odbcbase/OConnection.cxx +++ b/connectivity/source/drivers/odbc/OConnection.cxx diff --git a/connectivity/source/drivers/odbcbase/ODatabaseMetaData.cxx b/connectivity/source/drivers/odbc/ODatabaseMetaData.cxx index 63f20e2ee020..63f20e2ee020 100644 --- a/connectivity/source/drivers/odbcbase/ODatabaseMetaData.cxx +++ b/connectivity/source/drivers/odbc/ODatabaseMetaData.cxx diff --git a/connectivity/source/drivers/odbcbase/ODatabaseMetaDataResultSet.cxx b/connectivity/source/drivers/odbc/ODatabaseMetaDataResultSet.cxx index 5d944287f81c..5d944287f81c 100644 --- a/connectivity/source/drivers/odbcbase/ODatabaseMetaDataResultSet.cxx +++ b/connectivity/source/drivers/odbc/ODatabaseMetaDataResultSet.cxx diff --git a/connectivity/source/drivers/odbcbase/ODriver.cxx b/connectivity/source/drivers/odbc/ODriver.cxx index 091efa9a696c..091efa9a696c 100644 --- a/connectivity/source/drivers/odbcbase/ODriver.cxx +++ b/connectivity/source/drivers/odbc/ODriver.cxx diff --git a/connectivity/source/drivers/odbcbase/OPreparedStatement.cxx b/connectivity/source/drivers/odbc/OPreparedStatement.cxx index c0e4f0dfc9cb..c0e4f0dfc9cb 100644 --- a/connectivity/source/drivers/odbcbase/OPreparedStatement.cxx +++ b/connectivity/source/drivers/odbc/OPreparedStatement.cxx diff --git a/connectivity/source/drivers/odbcbase/OResultSet.cxx b/connectivity/source/drivers/odbc/OResultSet.cxx index 1812e8722765..1812e8722765 100644 --- a/connectivity/source/drivers/odbcbase/OResultSet.cxx +++ b/connectivity/source/drivers/odbc/OResultSet.cxx diff --git a/connectivity/source/drivers/odbcbase/OResultSetMetaData.cxx b/connectivity/source/drivers/odbc/OResultSetMetaData.cxx index 15ab4e63584f..15ab4e63584f 100644 --- a/connectivity/source/drivers/odbcbase/OResultSetMetaData.cxx +++ b/connectivity/source/drivers/odbc/OResultSetMetaData.cxx diff --git a/connectivity/source/drivers/odbcbase/OStatement.cxx b/connectivity/source/drivers/odbc/OStatement.cxx index bd55cc168c90..bd55cc168c90 100644 --- a/connectivity/source/drivers/odbcbase/OStatement.cxx +++ b/connectivity/source/drivers/odbc/OStatement.cxx diff --git a/connectivity/source/drivers/odbcbase/OTools.cxx b/connectivity/source/drivers/odbc/OTools.cxx index 8e442f2e4c42..8e442f2e4c42 100644 --- a/connectivity/source/drivers/odbcbase/OTools.cxx +++ b/connectivity/source/drivers/odbc/OTools.cxx |