1
# The contents of this file are subject to the Interbase Public
2
# License Version 1.0 (the "License"); you may not use this file
3
# except in compliance with the License. You may obtain a copy
4
# of the License at http://www.Inprise.com/IPL.html
6
# Software distributed under the License is distributed on an
7
# "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
8
# or implied. See the License for the specific language governing
9
# rights and limitations under the License.
11
# The Original Code was created by Inprise Corporation
12
# and its predecessors. Portions created by Inprise Corporation are
13
# Copyright (C) Inprise Corporation.
15
# All Rights Reserved.
16
# Contributor(s): __Konstantin Kuznetsov___________________________________.
17
# This file can be used to build FB on Solaris 2.6 x 86 with gcc 3.3.3 and bash
19
# Use SOLX86 to identify x86 version of Solaris. Neil McCalden
21
# $Id: make.platform.solaris.examples,v 1.1.2.1 2008/09/02 13:22:22 paulbeach Exp $
23
# Start of file prefix.solaris X 86 : $(VERSION) $(PLATFORM)
24
# 2 Oct 2002, Nickolay Samofatov - Major Cleanup
26
WARNINGS=-Wall -W -Wno-unused -Wno-parentheses -Wno-switch -Wwrite-strings
27
COMM_SOLX_FLAGS:=-DSOLARIS -DSOLARIS_MT -DSOLX86 -DBSD_COMP -fno-omit-frame-pointer -fmessage-length=0 -MMD -fPIC
30
SFIO_LDFLAGS=@SFIO_LDFLAGS@
32
PROD_FLAGS=-DNDEBUG -w $(COMM_SOLX_FLAGS) -O2 -march=pentium
33
DEV_FLAGS=$(COMM_SOLX_FLAGS) -ggdb -g3 -p $(WARNINGS)
36
LINK_LIBS+=$(SFIO_LDFLAGS) -lstdio -lsfio
37
STATICLINK_LIBS+=$(SFIO_LDFLAGS) -lstdio -lsfio
38
SO_LINK_LIBS+=$(SFIO_LDFLAGS) -lstdio -lsfio
44
LIB_LINK_MAPFILE= -Xlinker -M