summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Repository.mk1
-rw-r--r--RepositoryExternal.mk11
-rw-r--r--connectivity/Library_evoab2.mk75
-rw-r--r--connectivity/Module_connectivity.mk6
4 files changed, 93 insertions, 0 deletions
diff --git a/Repository.mk b/Repository.mk
index 6efe7bec4cf7..6efdf9cb7ea9 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -262,6 +262,7 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
ept \
era \
eti \
+ evoab2 \
exp \
filterconfig \
filtertracer \
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index c3ebc6d84286..e99786d20821 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -1209,6 +1209,17 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO,\
endif # SYSTEM_CLUCENE
+define gb_LinkTarget__use_gobject
+$(call gb_LinkTarget_add_libs,$(1),\
+ $(GOBJECT_LIBS) \
+)
+
+$(call gb_LinkTarget_set_include,$(1),\
+ $$(INCLUDE) \
+ $(GOBJECT_CFLAGS) \
+)
+endef
+
# MacOSX-only frameworks ############################################
# (in alphabetical order)
diff --git a/connectivity/Library_evoab2.mk b/connectivity/Library_evoab2.mk
new file mode 100644
index 000000000000..62fe736d1d11
--- /dev/null
+++ b/connectivity/Library_evoab2.mk
@@ -0,0 +1,75 @@
+# -*- 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,evoab2))
+
+$(eval $(call gb_Library_add_package_headers,evoab2,connectivity_inc))
+
+$(eval $(call gb_Library_use_externals,evoab2,\
+ gtk \
+ gobject \
+))
+
+$(eval $(call gb_Library_set_componentfile,evoab2,connectivity/source/drivers/evoab2/evoab))
+
+$(eval $(call gb_Library_add_api,evoab2,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_Library_add_linked_libs,evoab2,\
+ cppu \
+ cppuhelper \
+ svl \
+ tl \
+ utl \
+ ucbhelper \
+ sal \
+ salhelper \
+ dbtools \
+ dbfile \
+ $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Library_add_exception_objects,evoab2,\
+ connectivity/source/drivers/evoab2/NDriver \
+ connectivity/source/drivers/evoab2/NTable \
+ connectivity/source/drivers/evoab2/NColumns \
+ connectivity/source/drivers/evoab2/NTables \
+ connectivity/source/drivers/evoab2/NCatalog \
+ connectivity/source/drivers/evoab2/NConnection \
+ connectivity/source/drivers/evoab2/NDatabaseMetaData \
+ connectivity/source/drivers/evoab2/NStatement \
+ connectivity/source/drivers/evoab2/NPreparedStatement \
+ connectivity/source/drivers/evoab2/NServices \
+ connectivity/source/drivers/evoab2/NResultSet \
+ connectivity/source/drivers/evoab2/NResultSetMetaData \
+ connectivity/source/drivers/evoab2/EApi \
+ connectivity/source/drivers/evoab2/NDebug \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/connectivity/Module_connectivity.mk b/connectivity/Module_connectivity.mk
index cb2be064347d..c47925000635 100644
--- a/connectivity/Module_connectivity.mk
+++ b/connectivity/Module_connectivity.mk
@@ -67,4 +67,10 @@ $(eval $(call gb_Module_add_targets,connectivity,\
))
endif
+ifeq ($(ENABLE_EVOAB2),TRUE)
+$(eval $(call gb_Module_add_targets,connectivity,\
+ Library_evoab2 \
+))
+endif
+
# vim: set noet sw=4 ts=4: