diff options
author | Peter Foley <pefoley2@verizon.net> | 2011-12-20 19:41:57 -0500 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-05-29 07:24:29 +0200 |
commit | 07d512eff12fc89adbfb73e546b3946494f21472 (patch) | |
tree | 925e609061bc9b4f158c755794af86ca38c1368d /connectivity | |
parent | 0ea09fa7717809d86c5d5ea80ecb1e9523ec1f62 (diff) |
connectivity: convert kab to gbuild
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/Library_kab1.mk | 56 | ||||
-rw-r--r-- | connectivity/Library_kabdrv1.mk | 68 | ||||
-rw-r--r-- | connectivity/Module_connectivity.mk | 9 |
3 files changed, 133 insertions, 0 deletions
diff --git a/connectivity/Library_kab1.mk b/connectivity/Library_kab1.mk new file mode 100644 index 000000000000..c4f503c31ad0 --- /dev/null +++ b/connectivity/Library_kab1.mk @@ -0,0 +1,56 @@ +# -*- 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,kab1)) + +$(eval $(call gb_Library_add_package_headers,kab1,connectivity_inc)) + +$(eval $(call gb_Library_use_externals,kab1,kde)) + +$(eval $(call gb_Library_set_componentfile,kab1,connectivity/source/drivers/kab/kab1)) + +$(eval $(call gb_Library_add_api,kab1,\ + offapi \ + udkapi \ +)) + +$(eval $(call gb_Library_add_linked_libs,kab1,\ + comphelper \ + cppu \ + cppuhelper \ + dbtools \ + sal \ + salhelper \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_add_exception_objects,kab1,\ + connectivity/source/drivers/kab/KDriver \ + connectivity/source/drivers/kab/KServices \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/connectivity/Library_kabdrv1.mk b/connectivity/Library_kabdrv1.mk new file mode 100644 index 000000000000..2885ef98569a --- /dev/null +++ b/connectivity/Library_kabdrv1.mk @@ -0,0 +1,68 @@ +# -*- 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,kabdrv1)) + +$(eval $(call gb_Library_add_package_headers,kabdrv1,connectivity_inc)) + +$(eval $(call gb_Library_add_api,kabdrv1,\ + offapi \ + udkapi \ +)) + +$(eval $(call gb_Library_add_libs,kabdrv1,\ + -lkabc \ +)) + +$(eval $(call gb_Library_add_linked_libs,kabdrv1,\ + cppu \ + cppuhelper \ + sal \ + salhelper \ + dbtools \ + comphelper \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_add_exception_objects,kabdrv1,\ + 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: diff --git a/connectivity/Module_connectivity.mk b/connectivity/Module_connectivity.mk index d268be1b5703..8c87804c7e41 100644 --- a/connectivity/Module_connectivity.mk +++ b/connectivity/Module_connectivity.mk @@ -43,6 +43,15 @@ $(eval $(call gb_Module_add_targets,connectivity,\ )) endif +ifeq ($(GUI),UNX) +ifeq ($(ENABLE_KAB),TRUE) +$(eval $(call gb_Module_add_targets,connectivity,\ + Library_kab1 \ + Library_kabdrv1 \ +)) +endif +endif + ifeq ($(GUI),WNT) $(eval $(call gb_Module_add_targets,connectivity,\ Library_ado \ |