connectivity: convert evoab to gbuild

This commit is contained in:
Peter Foley 2011-12-22 16:34:35 -05:00 committed by David Tardon
parent 5bfb6d8b4c
commit 6440284921
4 changed files with 93 additions and 0 deletions

View file

@ -262,6 +262,7 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
ept \
era \
eti \
evoab2 \
exp \
filterconfig \
filtertracer \

View file

@ -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)

View file

@ -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:

View file

@ -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: