Kaydet (Commit) aa99f076 authored tarafından David Tardon's avatar David Tardon

connectivity: convert tdeab to gbuild

Change-Id: I6653686ef251bdf64610ff9bab7e27e39acee799
üst b4e3d59c
......@@ -1122,6 +1122,21 @@ $(call gb_LinkTarget_set_include,$(1),\
)
endef
ifeq ($(ENABLE_TDE),YES)
define gb_LinkTarget__use_tde
$(call gb_LinkTarget_add_libs,$(1),\
$(TDE_LIBS) \
)
$(call gb_LinkTarget_set_include,$(1),\
$$(INCLUDE) \
$(TDE_CFLAGS) \
)
endef
endif # ENABLE_TDE
define gb_LinkTarget__use_gobject
$(call gb_LinkTarget_add_libs,$(1),\
$(GOBJECT_LIBS) \
......
# -*- 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 Red Hat, Inc., David Tardon <dtardon@redhat.com>
# (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_Configuration_Configuration,driver_tdeab))
$(eval $(call gb_Configuration_add_spool_modules,driver_tdeab,connectivity/registry/tdeab,\
org/openoffice/Office/DataAccess/Drivers-tab.xcu \
))
$(eval $(call gb_Configuration_add_localized_datas,driver_tdeab,connectivity/registry/tdeab,\
org/openoffice/Office/DataAccess/Drivers.xcu \
))
# vim: set noet sw=4 ts=4:
# -*- 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,tdeab1))
$(eval $(call gb_Library_use_externals,tdeab1,\
tde \
))
$(eval $(call gb_Library_set_componentfile,tdeab1,connectivity/source/drivers/kab/tdeab1))
$(eval $(call gb_Library_use_api,tdeab1,\
offapi \
udkapi \
))
$(eval $(call gb_Library_use_libraries,tdeab1,\
comphelper \
cppu \
cppuhelper \
dbtools \
sal \
salhelper \
$(gb_STDLIBS) \
))
$(eval $(call gb_Library_add_exception_objects,tdeab1,\
connectivity/source/drivers/kab/KDriver \
connectivity/source/drivers/kab/KServices \
))
# vim: set noet sw=4 ts=4:
# -*- 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,tdeabdrv1))
$(eval $(call gb_Library_use_api,tdeabdrv1,\
offapi \
udkapi \
))
$(eval $(call gb_Library_add_libs,tdeabdrv1,\
-lkabc \
))
$(eval $(call gb_Library_use_libraries,tdeabdrv1,\
cppu \
cppuhelper \
sal \
salhelper \
dbtools \
comphelper \
$(gb_STDLIBS) \
))
$(eval $(call gb_Library_add_exception_objects,tdeabdrv1,\
connectivity/source/drivers/kab/KColumns \
connectivity/source/drivers/kab/KTable \
connectivity/source/drivers/kab/KTables \
connectivity/source/drivers/kab/KCatalog \
connectivity/source/drivers/kab/KResultSet \
connectivity/source/drivers/kab/KStatement \
connectivity/source/drivers/kab/KPreparedStatement \
connectivity/source/drivers/kab/KDatabaseMetaData \
connectivity/source/drivers/kab/KConnection \
connectivity/source/drivers/kab/KResultSetMetaData \
connectivity/source/drivers/kab/kcondition \
connectivity/source/drivers/kab/korder \
connectivity/source/drivers/kab/kfields \
connectivity/source/drivers/kab/KDEInit \
))
# vim: set noet sw=4 ts=4:
......@@ -73,6 +73,14 @@ $(eval $(call gb_Module_add_targets,connectivity,\
))
endif
ifeq ($(ENABLE_TAB),TRUE)
$(eval $(call gb_Module_add_targets,connectivity,\
Configuration_tdeab \
Library_tdeab1 \
Library_tdeabdrv1 \
))
endif
ifeq ($(OS),MACOSX)
$(eval $(call gb_Module_add_targets,connectivity,\
Configuration_macab \
......
......@@ -25,8 +25,8 @@
* for a copy of the LGPLv3 License.
*
************************************************************************ -->
<oor:component-data oor:name="Drivers" oor:package="org.openoffice.Office.DataAccess" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<node oor:name="Installed">
<oor:component-data oor:name="Drivers" oor:package="org.openoffice.Office.DataAccess" xmlns:install="http://openoffice.org/2004/installation" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<node oor:name="Installed" install:module="tdeab">
<node oor:name="sdbc:address:tdeab" oor:op="replace">
<prop oor:name="Driver">
<value>com.sun.star.comp.sdbc.tdeab.Driver</value>
......
......@@ -247,7 +247,7 @@ my_components += component/ucb/source/ucp/gvfs/ucpgvfs
.END
.IF "$(ENABLE_TDEAB)" != ""
my_components += tdeab1
my_components += component/connectivity/source/drivers/kab/tdeab1
.END
.IF "$(ENABLE_TDE)" != ""
......
......@@ -340,7 +340,7 @@ MY_FILES_main += \
MY_DRIVERS += hsqldb jdbc
.END
.IF "$(ENABLE_TDEAB)" == "TRUE"
MY_FILES_main += $(MY_MOD)/DataAccess/tdeab.xcu
MY_FILES_main += $(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-tdeab.xcu
.END
.IF "$(ENABLE_KAB)" == "TRUE"
MY_FILES_main += $(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-kab.xcu
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment