2009-01-28 14:47:26 +01:00
|
|
|
# The contents of this file are subject to the Interbase 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.Inprise.com/IPL.html
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
# The Original Code was created by Inprise Corporation
|
|
|
|
# and its predecessors. Portions created by Inprise Corporation are
|
|
|
|
#
|
|
|
|
# Copyright (C) 2000 Inprise Corporation
|
|
|
|
# All Rights Reserved.
|
|
|
|
# Contributor(s): ______________________________________.
|
|
|
|
# 2 Oct 2002, Nickolay Samofatov - Major Cleanup
|
|
|
|
# Wed Jan 28 2009 Alex Peshkov - moved common part of prefix.darwin* to separate file
|
|
|
|
|
|
|
|
# Options
|
2009-09-11 12:49:46 +02:00
|
|
|
#FirebirdInstallPrefix=
|
2012-02-27 13:12:47 +01:00
|
|
|
LIB_BUNDLE_OPTIONS=$(LD_FLAGS) -bundle -flat_namespace -undefined suppress
|
|
|
|
LIB_LINK_OPTIONS=$(LD_FLAGS) -dynamiclib -flat_namespace
|
2009-01-28 14:47:26 +01:00
|
|
|
LIB_LINK_SONAME:=-current_version @FIREBIRD_VERSION@ -compatibility_version @FIREBIRD_VERSION@ -seg1addr 0x30000000
|
2012-02-27 13:12:47 +01:00
|
|
|
LIB_LINK_MAPFILE=-Wl,-exported_symbols_list,$(1)
|
2009-08-06 12:45:41 +02:00
|
|
|
|
2011-01-16 15:03:18 +01:00
|
|
|
PLATFORM_PATH=os/darwin
|
2009-01-28 14:47:26 +01:00
|
|
|
PLATFORM_FALLBACK=os/posix
|
2009-08-06 12:45:41 +02:00
|
|
|
|
2009-01-28 14:47:26 +01:00
|
|
|
# Per-library link rules
|
|
|
|
LINK_UDF = $(LIB_LINK) $(LIB_BUNDLE_OPTIONS) -L$(LIB)
|
2010-10-05 14:43:24 +02:00
|
|
|
LINK_UDF_LIBS = -lm $(THR_FLAGS) $(THR_LIBS)
|
2009-01-28 14:47:26 +01:00
|
|
|
|
2014-09-03 13:35:12 +02:00
|
|
|
LINK_IB_UTIL = $(LIB_LINK) $(LINK_IBUTIL_SYMBOLS) $(LIB_LINK_OPTIONS) $(LIB_LINK_RPATH) $(LINK_LIB_SONAME)
|
2009-01-28 14:47:26 +01:00
|
|
|
|
2015-06-15 17:20:24 +02:00
|
|
|
LINK_INTL = $(LIB_LINK) $(LINK_FBINTL_SYMBOLS) $(LIB_LINK_OPTIONS) $(LIB_LINK_SONAME)
|
2009-08-06 12:45:41 +02:00
|
|
|
|
2015-06-15 17:20:24 +02:00
|
|
|
LINK_TRACE = $(LIB_LINK) $(LINK_PLUGIN_SYMBOLS) $(LIB_LINK_OPTIONS) $(LIB_LINK_SONAME)
|
2009-08-06 12:45:41 +02:00
|
|
|
|
2015-06-15 17:20:24 +02:00
|
|
|
LINK_CLIENT = $(LIB_LINK) $(LINK_FIREBIRD_CLIENT_SYMBOLS) $(LIB_LINK_OPTIONS) $(LIB_LINK_IMPLIB)\
|
2009-01-28 14:47:26 +01:00
|
|
|
$(LIB_CLIENT_LINK_OPTIONS) $(LIB_LINK_SONAME)
|
|
|
|
|
2009-10-12 15:44:35 +02:00
|
|
|
STATIC_CXX_SUPPORT = -lsupc++ $(GCCS) -lgcc_eh -lSystem
|
|
|
|
|
2012-02-24 17:55:18 +01:00
|
|
|
INLINE_EDIT_SED:= -i ""
|
2017-07-11 15:12:59 +02:00
|
|
|
|
|
|
|
LIBTOOL = glibtool
|