mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 21:23:04 +01:00
Move platform specific ld option to platform makefiles.
This commit is contained in:
parent
2708b942c5
commit
a4c2462a73
@ -27,7 +27,7 @@
|
||||
# Contributor(s):
|
||||
#
|
||||
#
|
||||
# $Id: Makefile.in.extlib,v 1.5 2002-12-05 16:15:03 kkuznetsov Exp $
|
||||
# $Id: Makefile.in.extlib,v 1.6 2002-12-29 01:38:20 nmcc Exp $
|
||||
#
|
||||
ROOT=..
|
||||
ObjModuleName=extlib
|
||||
@ -85,7 +85,7 @@ lib_ib_udf: $(UDF)/ib_udf.so
|
||||
|
||||
$(UDF)/ib_udf.so: $(UDF_Objects)
|
||||
# $(LIB_LINK) $(LIB_LINK_SONAME)ib_udf.so $(LIB_LINK_RPATH)/usr/lib -o $@ $^
|
||||
$(LIB_LINK)$(LIB_LINK_OPTIONS) $(LIB_LINK_SONAME)ib_udf.so $(LIB_LINK_RPATH)$(FirebirdInstallPrefix)/lib -o $@ $^
|
||||
$(LIB_LINK) $(LIB_LINK_OPTIONS) $(LIB_LINK_SONAME)ib_udf.so $(LIB_LINK_RPATH)$(FirebirdInstallPrefix)/lib -o $@ $^
|
||||
# -$(LN) $(@F) $(LIBFBINTL_SOBASENAME)
|
||||
# -$(LN) $(notdir $(LIBFBINTL_SOBASENAME)) $(LIBFBINTL_SONAME)
|
||||
|
||||
@ -95,7 +95,7 @@ $(UDF)/ib_udf.so: $(UDF_Objects)
|
||||
lib_fb_udf: $(UDF)/fb_udf.so
|
||||
|
||||
$(UDF)/fb_udf.so: $(FBUDF_Objects)
|
||||
$(LIB_LINK)$(LIB_LINK_OPTIONS) $(LIB_LINK_SONAME)fb_udf.so $(LIB_LINK_RPATH)$(FirebirdInstallPrefix)/lib -o $@ $^
|
||||
$(LIB_LINK) $(LIB_LINK_OPTIONS) $(LIB_LINK_SONAME)fb_udf.so $(LIB_LINK_RPATH)$(FirebirdInstallPrefix)/lib -o $@ $^
|
||||
# -$(LN) $(@F) $(LIBFBINTL_SOBASENAME)
|
||||
# -$(LN) $(notdir $(LIBFBINTL_SOBASENAME)) $(LIBFBINTL_SONAME)
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
# Contributor(s):
|
||||
#
|
||||
#
|
||||
# $Id: make.rules,v 1.10 2002-12-05 16:15:04 kkuznetsov Exp $
|
||||
# $Id: make.rules,v 1.11 2002-12-29 01:38:20 nmcc Exp $
|
||||
#
|
||||
|
||||
#____________________________________________________________________________
|
||||
@ -137,7 +137,7 @@ ifdef UseLibToolForLink
|
||||
STATICEXE_LINK = libtool @CC@ -all-static
|
||||
else
|
||||
|
||||
LIB_LINK= @CC@ -shared
|
||||
LIB_LINK= @CC@
|
||||
STATICLIB_LINK= ar cruvs
|
||||
# LIB_LINK_OPTIONS = -soname libgds.so -rpath /usr/lib
|
||||
# LIB_LINK_OPTIONS = -soname libgds.so.2 -rpath /usr/lib
|
||||
|
@ -15,11 +15,11 @@
|
||||
# All Rights Reserved.
|
||||
# Contributor(s): ______________________________________.
|
||||
# Start of file prefix.darwin: $(VERSION) @PLATFORM@
|
||||
#$Id: prefix.darwin,v 1.5 2002-12-05 16:15:04 kkuznetsov Exp $
|
||||
#$Id: prefix.darwin,v 1.6 2002-12-29 01:38:20 nmcc Exp $
|
||||
# 2 Oct 2002, Nickolay Samofatov - Major Cleanup
|
||||
|
||||
PROD_FLAGS=-O3 -DNDEBUG -DDARWIN -pipe -MMD -p -fPIC
|
||||
DEV_FLAGS=-ggdb -DDARWIN -DDEBUG_GDS_ALLOC -pipe -MMD -p -fPIC -Wall
|
||||
LIB_LINK_OPTIONS:=
|
||||
LIB_LINK_OPTIONS:=-shared
|
||||
LIB_LINK_RPATH:=-Wl,-rpath,
|
||||
LIB_LINK_SONAME:=-Wl,-soname,
|
||||
|
@ -15,11 +15,11 @@
|
||||
# All Rights Reserved.
|
||||
# Contributor(s): ______________________________________.
|
||||
# Start of file prefix.freebsd: $(VERSION) @PLATFORM@
|
||||
#$Id: prefix.freebsd,v 1.3 2002-12-05 16:15:04 kkuznetsov Exp $
|
||||
#$Id: prefix.freebsd,v 1.4 2002-12-29 01:38:20 nmcc Exp $
|
||||
# 2 Oct 2002, Nickolay Samofatov - Major Cleanup
|
||||
|
||||
PROD_FLAGS=-O -DNDEBUG -DFREEBSD -pipe -MMD -p -fPIC
|
||||
DEV_FLAGS=-ggdb -DFREEBSD -DDEBUG_GDS_ALLOC -pipe -MMD -p -fPIC -Wall
|
||||
LIB_LINK_OPTIONS:=
|
||||
LIB_LINK_OPTIONS:=-shared
|
||||
LIB_LINK_RPATH:=-Wl,-rpath,
|
||||
LIB_LINK_SONAME:=-Wl,-soname,
|
||||
|
@ -15,7 +15,7 @@
|
||||
# All Rights Reserved.
|
||||
# Contributor(s): ______________________________________.
|
||||
# Start of file prefix.linux: $(VERSION) $(PLATFORM)
|
||||
#$Id: prefix.linux,v 1.12 2002-12-16 21:19:18 skidder Exp $
|
||||
#$Id: prefix.linux,v 1.13 2002-12-29 01:38:20 nmcc Exp $
|
||||
# 2 Oct 2002, Nickolay Samofatov - Major cleanup
|
||||
|
||||
# The foillowing has been commented out since gcc 3.2 has some problems
|
||||
@ -24,6 +24,6 @@
|
||||
PROD_FLAGS=-O3 -march=i386 -DNDEBUG -DLINUX -pipe -MMD -fPIC
|
||||
DEV_FLAGS=-ggdb -DLINUX -DDEBUG_GDS_ALLOC -pipe -MMD -p -fPIC -Wall -Wno-switch
|
||||
|
||||
LIB_LINK_OPTIONS:=
|
||||
LIB_LINK_OPTIONS:=-shared
|
||||
LIB_LINK_RPATH:=-Wl,-rpath,
|
||||
LIB_LINK_SONAME:=-Wl,-soname,
|
||||
|
@ -23,6 +23,6 @@ PLATFORM_PATH=jrd/os/win32
|
||||
|
||||
JRDBOOT_Extra_Files=isc_sync.cpp thd.cpp
|
||||
|
||||
LIB_LINK_OPTIONS:=
|
||||
LIB_LINK_OPTIONS:=-shared
|
||||
LIB_LINK_RPATH:=-Wl,-rpath,
|
||||
LIB_LINK_SONAME:=-Wl,-soname,
|
||||
|
@ -17,7 +17,7 @@
|
||||
#
|
||||
# Erik Kunze, Philosys GmbH, <kunze@philosys.de>
|
||||
#
|
||||
# $Id: prefix.sinixz,v 1.12 2002-12-10 11:53:43 eku Exp $
|
||||
# $Id: prefix.sinixz,v 1.13 2002-12-29 01:38:20 nmcc Exp $
|
||||
#
|
||||
# 2 Oct 2002, Nickolay Samofatov - Major Cleanup
|
||||
|
||||
@ -34,7 +34,7 @@ DEV_WARNINGS=-Wall -W -Wno-parentheses -Wno-switch
|
||||
PROD_FLAGS=$(PROD_WARNINGS) -DNDEBUG $(COMMON_FLAGS) -pipe -fPIC
|
||||
DEV_FLAGS=$(DEV_WARNINGS) -ggdb -DDEBUG_GDS_ALLOC $(COMMON_FLAGS) -pipe -fPIC
|
||||
|
||||
LIB_LINK_OPTIONS:=
|
||||
LIB_LINK_OPTIONS:=-shared
|
||||
LIB_LINK_RPATH:=-Wl,-rpath,
|
||||
LIB_LINK_SONAME:=-Wl,-soname,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user