8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 16:03:02 +01:00
firebird-mirror/builds/posix/prefix.solx86

58 lines
2.0 KiB
Plaintext
Raw Normal View History

# 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___________________________________.
# This file can be used to build FB on Solaris 8 x 86 with gcc 2.95 and bash
#
# Use SOLX86 to identify x86 version of Solaris. Neil McCalden
#
# $Id: prefix.solx86,v 1.15 2003-02-11 05:13:36 aafemt Exp $
#
# Start of file prefix.solaris X 86 : $(VERSION) $(PLATFORM)
# 2 Oct 2002, Nickolay Samofatov - Major Cleanup
2002-09-26 11:53:42 +02:00
2002-11-01 14:22:35 +01:00
#FirebirdInstallPrefix = @prefix@
2002-11-01 14:22:35 +01:00
2002-09-26 11:53:42 +02:00
WARNINGS=-Wall -W -Wno-unused -Wno-parentheses -Wno-switch
COMM_SOLX_FLAGS:= -DSOLARIS -DSOLARIS26 -DSOLARIS_MT -DSOLX86 -DBSD_COMP -DEXACT_NUMERICS -fwritable-strings
2002-09-25 13:20:30 +02:00
SFIO= /export/home/interbase/SfIO
2002-09-26 11:53:42 +02:00
#SfIO is a pretty portable stdIO
#from http://www.research.att.com/sw/tools/sfio/
2002-09-25 13:20:30 +02:00
STLPort=/export/home/kostik/STL/STLport-4.5.3/stlport
2002-09-26 11:53:42 +02:00
2002-09-26 15:32:44 +02:00
2002-09-25 13:20:30 +02:00
ifdef SFIO
2002-09-26 11:53:42 +02:00
COMM_SOLX_FLAGS:= $(COMM_SOLX_FLAGS) -DSFIO -I$(SFIO)/include
2002-09-25 13:20:30 +02:00
endif
2002-09-26 11:53:42 +02:00
COMM_SOLX_FLAGS:= $(COMM_SOLX_FLAGS) -I$(STLPort)
2002-11-05 14:14:31 +01:00
PROD_FLAGS=-DNDEBUG -w $(COMM_SOLX_FLAGS) -O2 -m486 -MMD -p -fPIC
DEV_FLAGS=$(COMM_SOLX_FLAGS) -ggdb $(WARNINGS) -MMD -p -fPIC
2002-11-01 14:22:35 +01:00
#still ugly hack - becouse can not move it to configure.in
GPRECOMMON_Files= ../jrd/thd.cpp ../jrd/isc_sync.cpp
GPRECommon_Sources= $(GPRECOMMON_Files)
LIB_LINK_OPTIONS:= -G
LIB_LINK_RPATH:=-R
LIB_LINK_SONAME:=-h
#LINK_OPTS:= $(LIB_LINK_RPATH)$(FirebirdInstallPrefix)/lib $(LIB_LINK_RPATH)$(FirebirdInstallPrefix)/intl
Physical_IO_Module=unix.cpp