2011-12-18 15:38:06 -05:00
|
|
|
# -*- 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_Module_Module,connectivity))
|
|
|
|
|
|
|
|
$(eval $(call gb_Module_add_targets,connectivity,\
|
2012-04-06 17:29:02 +02:00
|
|
|
AllLangResTarget_cnr \
|
|
|
|
AllLangResTarget_sdbcl \
|
|
|
|
AllLangResTarget_sdberr \
|
2012-04-06 20:10:17 +02:00
|
|
|
Configuration_calc \
|
|
|
|
Configuration_dbase \
|
|
|
|
Configuration_flat \
|
|
|
|
Configuration_mysql \
|
|
|
|
Configuration_odbc \
|
2011-12-22 16:59:41 -05:00
|
|
|
Library_calc \
|
2012-04-06 17:29:45 +02:00
|
|
|
Library_dbase \
|
|
|
|
Library_dbpool2 \
|
|
|
|
Library_dbtools \
|
2011-12-25 11:40:33 -05:00
|
|
|
Library_file \
|
2011-12-25 11:54:34 -05:00
|
|
|
Library_flat \
|
2012-04-06 17:29:45 +02:00
|
|
|
Library_mysql \
|
2012-10-05 12:30:49 +03:00
|
|
|
$(if $(filter ANDROID IOS,$(OS)),, \
|
|
|
|
Library_odbc \
|
|
|
|
Library_odbcbase) \
|
2012-04-06 17:29:45 +02:00
|
|
|
Library_sdbc2 \
|
2012-04-06 15:55:04 +02:00
|
|
|
Package_generated \
|
2011-12-18 15:38:06 -05:00
|
|
|
))
|
|
|
|
|
2011-12-19 21:21:22 -05:00
|
|
|
ifneq ($(SOLAR_JAVA),)
|
|
|
|
$(eval $(call gb_Module_add_targets,connectivity,\
|
2012-03-27 16:36:31 +02:00
|
|
|
AllLangResTarget_hsqldb \
|
2012-04-06 20:10:17 +02:00
|
|
|
Configuration_hsqldb \
|
|
|
|
Configuration_jdbc \
|
2011-12-22 19:55:36 -05:00
|
|
|
Jar_sdbc_hsqldb \
|
2012-03-27 16:36:31 +02:00
|
|
|
Library_hsqldb \
|
2011-12-25 11:16:20 -05:00
|
|
|
Library_jdbc \
|
2011-12-19 21:21:22 -05:00
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-12-12 01:07:09 +02:00
|
|
|
ifneq ($(OS),WNT)
|
2011-12-21 21:43:58 -05:00
|
|
|
|
2011-12-20 19:41:57 -05:00
|
|
|
ifeq ($(ENABLE_KAB),TRUE)
|
|
|
|
$(eval $(call gb_Module_add_targets,connectivity,\
|
2012-04-06 20:10:17 +02:00
|
|
|
Configuration_kab \
|
2011-12-20 19:41:57 -05:00
|
|
|
Library_kab1 \
|
|
|
|
Library_kabdrv1 \
|
|
|
|
))
|
|
|
|
endif
|
2011-12-21 21:43:58 -05:00
|
|
|
|
2012-08-18 16:17:12 +02:00
|
|
|
ifeq ($(ENABLE_TDEAB),TRUE)
|
2012-05-23 13:58:31 +02:00
|
|
|
$(eval $(call gb_Module_add_targets,connectivity,\
|
|
|
|
Configuration_tdeab \
|
|
|
|
Library_tdeab1 \
|
|
|
|
Library_tdeabdrv1 \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2011-12-21 21:43:58 -05:00
|
|
|
ifeq ($(OS),MACOSX)
|
|
|
|
$(eval $(call gb_Module_add_targets,connectivity,\
|
2012-04-06 20:10:17 +02:00
|
|
|
Configuration_macab \
|
2011-12-21 21:43:58 -05:00
|
|
|
Library_macab1 \
|
|
|
|
Library_macabdrv1 \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2011-12-20 19:41:57 -05:00
|
|
|
endif
|
|
|
|
|
2012-12-12 01:07:09 +02:00
|
|
|
ifeq ($(OS),WNT)
|
2011-12-20 12:15:42 -05:00
|
|
|
$(eval $(call gb_Module_add_targets,connectivity,\
|
2012-04-06 20:10:17 +02:00
|
|
|
Configuration_ado \
|
2011-12-20 12:15:42 -05:00
|
|
|
Library_ado \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2011-12-22 16:34:35 -05:00
|
|
|
ifeq ($(ENABLE_EVOAB2),TRUE)
|
|
|
|
$(eval $(call gb_Module_add_targets,connectivity,\
|
2012-04-14 09:53:48 +02:00
|
|
|
Configuration_evoab \
|
|
|
|
Library_evoab \
|
2011-12-22 16:34:35 -05:00
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-04-05 10:53:08 +02:00
|
|
|
ifeq ($(BUILD_POSTGRESQL_SDBC),YES)
|
|
|
|
$(eval $(call gb_Module_add_targets,connectivity,\
|
2012-04-06 20:10:17 +02:00
|
|
|
Configuration_postgresql \
|
2012-04-05 10:53:08 +02:00
|
|
|
Library_postgresql-sdbc \
|
|
|
|
Library_postgresql-sdbc-impl \
|
|
|
|
Package_postgresql-sdbc \
|
|
|
|
Rdb_postgresql-sdbc \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-09-18 11:23:52 +02:00
|
|
|
ifeq ($(OS),WNT)
|
|
|
|
|
2012-12-04 03:35:14 +01:00
|
|
|
ifeq ($(WITH_MOZAB4WIN),YES)
|
2012-04-05 17:59:36 +02:00
|
|
|
$(eval $(call gb_Module_add_targets,connectivity,\
|
2012-09-18 18:25:29 +02:00
|
|
|
Configuration_mozab \
|
2012-04-05 17:59:36 +02:00
|
|
|
Library_mozab \
|
|
|
|
Library_mozabdrv \
|
|
|
|
))
|
2012-12-05 17:21:40 +01:00
|
|
|
else
|
|
|
|
$(eval $(call gb_Module_add_targets,connectivity,\
|
|
|
|
Library_mozbootstrap \
|
|
|
|
))
|
2012-09-18 11:23:52 +02:00
|
|
|
endif
|
|
|
|
|
2012-10-10 13:06:29 +03:00
|
|
|
else ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
|
2012-09-18 11:23:52 +02:00
|
|
|
|
2012-04-06 20:10:17 +02:00
|
|
|
$(eval $(call gb_Module_add_targets,connectivity,\
|
2012-09-18 11:23:52 +02:00
|
|
|
Configuration_mork \
|
2012-09-18 18:25:29 +02:00
|
|
|
Executable_mork_helper \
|
2012-09-18 11:23:52 +02:00
|
|
|
Library_mork \
|
2012-11-07 13:37:57 +01:00
|
|
|
Library_mozbootstrap \
|
2012-04-06 20:10:17 +02:00
|
|
|
))
|
|
|
|
|
2012-10-10 11:12:37 +01:00
|
|
|
$(eval $(call gb_Module_add_check_targets,connectivity,\
|
|
|
|
CppunitTest_connectivity_mork \
|
|
|
|
))
|
|
|
|
|
2012-04-05 17:59:36 +02:00
|
|
|
endif
|
|
|
|
|
2012-12-12 01:07:09 +02:00
|
|
|
ifeq ($(OS),WNT)
|
2012-11-07 23:15:37 +01:00
|
|
|
$(eval $(call gb_Module_add_check_targets,connectivity,\
|
|
|
|
CppunitTest_connectivity_ado \
|
|
|
|
))
|
|
|
|
endif
|
2012-11-03 09:38:14 +01:00
|
|
|
|
2012-05-25 12:03:17 +02:00
|
|
|
ifneq ($(filter QADEVOOO,$(BUILD_TYPE)),)
|
|
|
|
$(eval $(call gb_Module_add_subsequentcheck_targets,connectivity,\
|
|
|
|
Jar_ConnectivityTools \
|
|
|
|
))
|
2012-05-01 08:55:41 +02:00
|
|
|
# FIXME: Does not work. Convert to JUnit.
|
2012-09-30 19:53:40 +02:00
|
|
|
# JunitTest_complex \
|
2012-05-25 12:03:17 +02:00
|
|
|
|
|
|
|
endif
|
2012-04-07 07:33:39 +02:00
|
|
|
|
2013-02-04 11:12:57 +01:00
|
|
|
# general tests
|
|
|
|
$(eval $(call gb_Module_add_check_targets,connectivity,\
|
|
|
|
CppunitTest_connectivity_commontools \
|
|
|
|
))
|
|
|
|
|
2011-12-18 15:38:06 -05:00
|
|
|
# vim: set noet sw=4 ts=4:
|