summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Repository.mk4
-rw-r--r--connectivity/Library_macab1.mk53
-rw-r--r--connectivity/Library_macabdrv1.mk72
-rw-r--r--connectivity/Module_connectivity.mk9
4 files changed, 137 insertions, 1 deletions
diff --git a/Repository.mk b/Repository.mk
index ce3931f0b4c5..6efe7bec4cf7 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -296,7 +296,9 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
lnth \
log \
lwpft \
- MacOSXSpell \
+ macab1 \
+ macabdrv1 \
+ MacOSXSpell \
merged \
msfilter \
msword \
diff --git a/connectivity/Library_macab1.mk b/connectivity/Library_macab1.mk
new file mode 100644
index 000000000000..39cc46008fd7
--- /dev/null
+++ b/connectivity/Library_macab1.mk
@@ -0,0 +1,53 @@
+# -*- 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,macab1))
+
+$(eval $(call gb_Library_add_package_headers,macab1,connectivity_inc))
+
+$(eval $(call gb_Library_set_componentfile,macab1,connectivity/source/drivers/macab/macab1))
+
+$(eval $(call gb_Library_add_api,macab1,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_Library_add_linked_libs,macab1,\
+ cppu \
+ cppuhelper \
+ dbtools \
+ sal \
+ salhelper \
+ $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Library_add_exception_objects,macab1,\
+ connectivity/source/drivers/macab/MacabDriver \
+ connectivity/source/drivers/macab/MacabServices \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/connectivity/Library_macabdrv1.mk b/connectivity/Library_macabdrv1.mk
new file mode 100644
index 000000000000..d69963abecf2
--- /dev/null
+++ b/connectivity/Library_macabdrv1.mk
@@ -0,0 +1,72 @@
+# -*- 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,macabdrv1))
+
+$(eval $(call gb_Library_add_package_headers,macabdrv1,connectivity_inc))
+
+$(eval $(call gb_Library_add_api,macabdrv1,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_Library_add_libs,macabdrv1,\
+ -framework Carbon \
+ -framework AddressBook \
+))
+
+$(eval $(call gb_Library_add_linked_libs,macabdrv1,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ dbtools \
+ sal \
+ salhelper \
+ $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Library_add_exception_objects,macabdrv1,\
+ connectivity/source/drivers/macab/MacabColumns \
+ connectivity/source/drivers/macab/MacabTable \
+ connectivity/source/drivers/macab/MacabTables \
+ connectivity/source/drivers/macab/MacabCatalog \
+ connectivity/source/drivers/macab/MacabResultSet \
+ connectivity/source/drivers/macab/MacabStatement \
+ connectivity/source/drivers/macab/MacabPreparedStatement \
+ connectivity/source/drivers/macab/MacabDatabaseMetaData \
+ connectivity/source/drivers/macab/MacabConnection \
+ connectivity/source/drivers/macab/MacabResultSetMetaData \
+ connectivity/source/drivers/macab/macabcondition \
+ connectivity/source/drivers/macab/macaborder \
+ connectivity/source/drivers/macab/MacabRecord \
+ connectivity/source/drivers/macab/MacabRecords \
+ connectivity/source/drivers/macab/MacabHeader \
+ connectivity/source/drivers/macab/MacabGroup \
+ connectivity/source/drivers/macab/MacabAddressBook \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/connectivity/Module_connectivity.mk b/connectivity/Module_connectivity.mk
index 8c87804c7e41..cb2be064347d 100644
--- a/connectivity/Module_connectivity.mk
+++ b/connectivity/Module_connectivity.mk
@@ -44,12 +44,21 @@ $(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
+
+ifeq ($(OS),MACOSX)
+$(eval $(call gb_Module_add_targets,connectivity,\
+ Library_macab1 \
+ Library_macabdrv1 \
+))
+endif
+
endif
ifeq ($(GUI),WNT)