8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 19:23:03 +01:00

Export symbols on Darwin properly.

This commit is contained in:
paulbeach 2007-04-05 11:30:23 +00:00
parent b5637233fc
commit 6f0d491d90
4 changed files with 372 additions and 4 deletions

View File

@ -0,0 +1,24 @@
#
# Version script to hide private symbols from Firebird libraries
# This version to support the MacOSX Linker
#
# The contents of this file are subject to the Initial
# Developer's Public License Version 1.0 (the "License");
# you may not use this file except in compliance with the
# License. You may obtain a copy of the License at
# http://www.firebirdsql.org
#
# Software distributed under the License is distributed AS IS,
# WITHOUT WARRANTY OF ANY KIND, either express or implied.
# See the License for the specific language governing rights
# and limitations under the License.
#
# This code was created by Paul Beach, IBPhoenix
# based on code created by Nickolay Samofatov
# for the Firebird Open Source RDBMS project.
#
# All Rights Reserved.
# Contributor(s): ______________________________________.
_LD_lookup_charset
_LD_lookup_texttype

View File

@ -0,0 +1,339 @@
#
# Version script to hide private symbols from Firebird libraries
# This version to support the MacOSX Linker
#
# The contents of this file are subject to the Initial
# Developers Public License Version 1.0 (the "License");
# you may not use this file except in compliance with the
# License. You may obtain a copy of the License at
# http://www.firebirdsql.org/
#
# 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.
#
# This Code was created by Paul Beach, IBPhoenix
# based on original code created by Inprise and Nickolay Somofatov
# based on firebird.vers (Nickolay Samofatov) and fbclient.def (Inprise)
#
# All Rights Reserved.
# Contributor(s): ______________________________________.
#-------------------
# PRIVATE INTERFACE
#-------------------
_gds__alloc
_gds__attach_database
_gds__blob_info
_gds__blob_size
_gds__cancel_blob
_gds__cancel_events
_gds__close
_gds__close_blob
_gds__commit_retaining
_gds__commit_transaction
_gds__compile_request
_gds__compile_request2
_gds__create_blob
_gds__create_blob2
_gds__create_database
_gds__database_cleanup
_gds__database_info
_gds__ddl
_gds__declare
_gds__decode
_gds__decode_date
_gds__describe
_gds__describe_bind
_gds__detach_database
_gds__disable_subsystem
_gds__dsql_finish
_gds__edit
_gds__enable_subsystem
_gds__encode
_gds__encode_date
_gds__event_block
_gds__event_counts
_gds__event_wait
_gds__execute
_gds__execute_immediate
_gds__fetch
_gds__free
_gds__ftof
_gds__get_prefix
_gds__get_segment
_gds__get_slice
_gds__interprete
_gds__log
_gds__log_status
_gds__map_blobs
_gds__msg_close
_gds__msg_format
_gds__msg_lookup
_gds__msg_open
_gds__msg_put
_gds__open
_gds__open_blob
_gds__open_blob2
_gds__parse_bpb
_gds__prefix
_gds__prefix_lock
_gds__prefix_msg
_gds__prepare
_gds__prepare_transaction
_gds__prepare_transaction2
_gds__print_blr
_gds__print_status
_gds__put_error
_gds__put_segment
_gds__put_slice
_gds__qtoq
_gds__que_events
_gds__receive
_gds__reconnect_transaction
_gds__register_cleanup
_gds__release_request
_gds__request_info
_gds__rollback_transaction
_gds__seek_blob
_gds__send
_gds__set_debug
_gds__sqlcode
_gds__start_and_send
_gds__start_multiple
_gds__start_request
_gds__start_transaction
_gds__temp_dir
_gds__temp_file
_gds__thread_enable
_gds__thread_enter
_gds__thread_exit
_gds__thread_start
_gds__to_sqlda
_gds__transaction_cleanup
_gds__transaction_info
_gds__unregister_cleanup
_gds__unwind_request
_gds__validate_lib_path
_gds__vax_integer
_gds__version
_gds__vtof
_gds__vtov
_gds__default_printer
_gds__alloc_debug
_gds_alloc_flag_unfreed
_gds_alloc_report
_perf_format
_perf_get_info
_perf_report
#----------------------------
# PUBLIC INTERFACE, i.e. API
#----------------------------
# Array functions
_isc_array_gen_sdl
_isc_array_get_slice
_isc_array_lookup_bounds
_isc_array_lookup_desc
_isc_array_put_slice
_isc_array_set_desc
_isc_get_slice
_isc_put_slice
# BLOB functions
_isc_blob_default_desc
_isc_blob_gen_bpb
_isc_blob_info
_isc_blob_lookup_desc
_isc_blob_set_desc
_isc_cancel_blob
_isc_close_blob
_isc_create_blob
_isc_create_blob2
_isc_get_segment
_isc_open_blob
_isc_open_blob2
_isc_put_segment
# Database functions
_isc_attach_database
_isc_create_database
_isc_database_info
_isc_detach_database
_isc_drop_database
_isc_expand_dpb
_isc_modify_dpb
_isc_version
_isc_get_client_major_version
_isc_get_client_minor_version
_isc_get_client_version
# Conversion functions
_isc_decode_date
_isc_decode_sql_date
_isc_decode_sql_time
_isc_decode_timestamp
_isc_encode_date
_isc_encode_sql_date
_isc_encode_sql_time
_isc_encode_timestamp
_isc_portable_integer
_isc_vax_integer
# DSQL functions
_isc_dsql_allocate_statement
_isc_dsql_alloc_statement2
_isc_dsql_describe
_isc_dsql_describe_bind
_isc_dsql_execute
_isc_dsql_execute2
_isc_dsql_execute_m
_isc_dsql_execute2_m
_isc_dsql_execute_immediate
_isc_dsql_exec_immed2
_isc_dsql_execute_immediate_m
_isc_dsql_exec_immed2_m
_isc_dsql_exec_immed3_m
_isc_dsql_fetch
_isc_dsql_fetch_a
_isc_dsql_fetch_m
_isc_dsql_finish
_isc_dsql_free_statement
_isc_dsql_insert
_isc_dsql_insert_m
_isc_dsql_prepare
_isc_dsql_prepare_m
_isc_dsql_release
_isc_dsql_set_cursor_name
_isc_dsql_sql_info
# ESQL functions
_isc_embed_dsql_close
_isc_embed_dsql_declare
_isc_embed_dsql_describe
_isc_embed_dsql_describe_bind
_isc_embed_dsql_execute
_isc_embed_dsql_execute2
_isc_embed_dsql_execute_immed
_isc_embed_dsql_exec_immed2
_isc_embed_dsql_fetch
_isc_embed_dsql_fetch_a
_isc_embed_dsql_insert
_isc_embed_dsql_open
_isc_embed_dsql_open2
_isc_embed_dsql_prepare
_isc_embed_dsql_release
# Error-handling functions
_isc_interprete
_fb_interpret
_isc_print_sqlerror
_isc_print_status
_isc_sqlcode
_isc_sql_interprete
# Event functions
_isc_cancel_events
_isc_event_block
_isc_event_counts
_isc_que_events
_isc_wait_for_event
# Security functions
_isc_add_user
_isc_delete_user
_isc_modify_user
# Services functions
_isc_service_attach
_isc_service_detach
_isc_service_query
_isc_service_start
# Transaction control functions
_isc_commit_retaining
_isc_commit_transaction
_isc_prepare_transaction
_isc_prepare_transaction2
_isc_rollback_retaining
_isc_rollback_transaction
_isc_start_multiple
_isc_start_transaction
_isc_transaction_info
# Other functions
_isc_compile_request
_isc_compile_request2
_isc_ddl
_isc_prepare
_isc_receive
_isc_reconnect_transaction
_isc_release_request
_isc_request_info
_isc_seek_blob
_isc_send
_isc_start_and_send
_isc_start_request
_isc_transact_request
_isc_unwind_request
# Other SQL functions
_isc_close
_isc_declare
_isc_describe
_isc_describe_bind
_isc_execute
_isc_execute_immediate
_isc_fetch
_isc_fetch_a
_isc_open
# Other BLOB functions
_BLOB_close
_BLOB_display
_BLOB_dump
_BLOB_edit
_BLOB_get
_BLOB_load
_BLOB_open
_BLOB_put
_BLOB_text_dump
_BLOB_text_load
_Bopen
# Other misc functions
_isc_ftof
_isc_free
_isc_print_blr
_isc_qtoq
_isc_set_debug
_isc_to_sqlda
_isc_vtof
_isc_vtov
#-----------------
# OTHER FUNCTIONS
#-----------------
_CVT_move
_KEYWORD_stringIsAToken
_KEYWORD_getTokens

View File

@ -26,7 +26,7 @@
# Contributor(s): # Contributor(s):
# #
# #
# $Id: make.defaults,v 1.44.4.2 2007-03-07 16:32:05 alexpeshkoff Exp $ # $Id: make.defaults,v 1.44.4.3 2007-04-05 11:30:23 paulbeach Exp $
# #
@ -203,8 +203,13 @@ LIB_LINK_SONAME = -Wl,-soname,
LIB_LINK_MAPFILE= -Wl,--version-script, LIB_LINK_MAPFILE= -Wl,--version-script,
FBEMBED_LINK= -L$(LIB) -lfbembed FBEMBED_LINK= -L$(LIB) -lfbembed
ifeq ($(PLATFORM),DARWIN)
LINK_FIREBIRD_SYMBOLS = $(LIB_LINK_MAPFILE)$(ROOT)/builds/posix/firebird.darwin.vers
LINK_FBINTL_SYMBOLS = $(LIB_LINK_MAPFILE)$(ROOT)/builds/posix/fbintl.darwin.vers
else
LINK_FIREBIRD_SYMBOLS = $(LIB_LINK_MAPFILE)$(ROOT)/builds/posix/firebird.vers LINK_FIREBIRD_SYMBOLS = $(LIB_LINK_MAPFILE)$(ROOT)/builds/posix/firebird.vers
LINK_FBINTL_SYMBOLS = $(LIB_LINK_MAPFILE)$(ROOT)/builds/posix/fbintl.vers LINK_FBINTL_SYMBOLS = $(LIB_LINK_MAPFILE)$(ROOT)/builds/posix/fbintl.vers
endif
FB_SUPER_SERVER = $(BIN)/fbserver$(EXEC_EXT) FB_SUPER_SERVER = $(BIN)/fbserver$(EXEC_EXT)
FB_CLASSIC_SERVER = $(BIN)/fb_inet_server$(EXEC_EXT) FB_CLASSIC_SERVER = $(BIN)/fb_inet_server$(EXEC_EXT)

View File

@ -15,7 +15,7 @@
# All Rights Reserved. # All Rights Reserved.
# Contributor(s): ______________________________________. # Contributor(s): ______________________________________.
# Start of file prefix.darwin: $(VERSION) @PLATFORM@ # Start of file prefix.darwin: $(VERSION) @PLATFORM@
#$Id: prefix.darwin,v 1.14.12.2 2007-03-08 09:19:13 paulbeach Exp $ #$Id: prefix.darwin,v 1.14.12.3 2007-04-05 11:30:23 paulbeach Exp $
# 2 Oct 2002, Nickolay Samofatov - Major Cleanup # 2 Oct 2002, Nickolay Samofatov - Major Cleanup
DYLD_LIBRARY_PATH=$(FIREBIRD)/lib DYLD_LIBRARY_PATH=$(FIREBIRD)/lib
@ -35,7 +35,7 @@ LINK_OPTS:=
LIB_BUNDLE_OPTIONS:=$(LD_FLAGS) -bundle -flat_namespace -undefined suppress LIB_BUNDLE_OPTIONS:=$(LD_FLAGS) -bundle -flat_namespace -undefined suppress
LIB_LINK_OPTIONS:=$(LD_FLAGS) -dynamiclib -flat_namespace LIB_LINK_OPTIONS:=$(LD_FLAGS) -dynamiclib -flat_namespace
LIB_LINK_SONAME:=-current_version 2.0.0 -compatibility_version 2.0.0 -seg1addr 0x30000000 LIB_LINK_SONAME:=-current_version 2.0.0 -compatibility_version 2.0.0 -seg1addr 0x30000000
LIB_LINK_MAPFILE:=-unexported_symbols_list LIB_LINK_MAPFILE:=-Wl,-exported_symbols_list
LIB_LINK_RPATH:=-install_name /Firebird.framework/Versions/A/Libraries/ LIB_LINK_RPATH:=-install_name /Firebird.framework/Versions/A/Libraries/
LIB_EMBED_LINK_OPTIONS:= -install_name Firebird.framework/Versions/A/Firebird LIB_EMBED_LINK_OPTIONS:= -install_name Firebird.framework/Versions/A/Firebird