mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 00:03:02 +01:00
48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
# 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) Inprise Corporation.
|
|
#
|
|
# All Rights Reserved.
|
|
# Contributor(s): Konstantin Kuznetsov
|
|
# Neil McCalden
|
|
# Paul Beach
|
|
# Nickolay Samofatov
|
|
# This file can be used to build Firebird on Solaris 10 using gcc
|
|
#
|
|
# Start of file prefix.solaris X 86 : $(VERSION) $(PLATFORM)
|
|
|
|
WARNINGS=-Werror=delete-incomplete -Wall -W -Wno-unused -Wno-parentheses -Wno-switch -Wwrite-strings -Wno-non-virtual-dtor
|
|
COMM_SOLX_FLAGS:=-DSOLARIS -DSOLX86 -DBSD_COMP -fno-omit-frame-pointer -fmessage-length=0 -MMD -fPIC
|
|
|
|
SFIO=@SFIO_DIR@
|
|
SFIO_FLAGS=@SFIO_FLAGS@
|
|
SFIO_LDFLAGS=@SFIO_LDFLAGS@
|
|
|
|
ifdef SFIO
|
|
COMM_SOLX_FLAGS+=$(SFIO_FLAGS)
|
|
endif
|
|
|
|
PROD_FLAGS=-w $(COMM_SOLX_FLAGS) -O2 -march=pentium
|
|
DEV_FLAGS=$(COMM_SOLX_FLAGS) -ggdb -g3 -p $(WARNINGS)
|
|
ifdef SFIO
|
|
LINK_LIBS+=$(SFIO_LDFLAGS) -lstdio -lsfio
|
|
SO_LINK_LIBS+=$(SFIO_LDFLAGS) -lstdio -lsfio
|
|
endif
|
|
|
|
LIB_LINK_OPTIONS= -G
|
|
LIB_PLATFORM_RPATH= -R $(1)
|
|
LIB_LINK_SONAME= -h $(1)
|
|
LIB_LINK_MAPFILE= -Xlinker -M$(1)
|
|
|
|
UNDEF_PLATFORM = -Wl,-z,defs
|