~ubuntu-branches/debian/squeeze/firebird2.0/squeeze

« back to all changes in this revision

Viewing changes to builds/posix/make.platform.solaris.examples

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov
  • Date: 2009-05-04 11:17:29 UTC
  • mfrom: (5.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20090504111729-vrob1xe54hrvf8ij
Tags: 2.0.5.13206-0.ds2-3
change Section to database

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
5
#
 
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.
 
10
#
 
11
# The Original Code was created by Inprise Corporation
 
12
# and its predecessors. Portions created by Inprise Corporation are
 
13
# Copyright (C) Inprise Corporation.
 
14
#
 
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
 
18
#
 
19
# Use SOLX86 to identify x86 version of Solaris.  Neil McCalden
 
20
#  
 
21
# $Id: make.platform.solaris.examples,v 1.1.2.1 2008/09/02 13:22:22 paulbeach Exp $
 
22
#
 
23
# Start of file prefix.solaris X 86 :   $(VERSION)      $(PLATFORM)
 
24
# 2 Oct 2002, Nickolay Samofatov - Major Cleanup
 
25
 
 
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
 
28
 
 
29
SFIO=@SFIO_DIR@
 
30
SFIO_LDFLAGS=@SFIO_LDFLAGS@
 
31
 
 
32
PROD_FLAGS=-DNDEBUG -w $(COMM_SOLX_FLAGS) -O2 -march=pentium 
 
33
DEV_FLAGS=$(COMM_SOLX_FLAGS) -ggdb -g3 -p $(WARNINGS)
 
34
 
 
35
ifdef SFIO
 
36
LINK_LIBS+=$(SFIO_LDFLAGS) -lstdio -lsfio
 
37
STATICLINK_LIBS+=$(SFIO_LDFLAGS) -lstdio -lsfio
 
38
SO_LINK_LIBS+=$(SFIO_LDFLAGS) -lstdio -lsfio
 
39
endif
 
40
 
 
41
LIB_LINK_OPTIONS:= -G 
 
42
LIB_LINK_RPATH:=-R
 
43
LIB_LINK_SONAME:=-h
 
44
LIB_LINK_MAPFILE= -Xlinker -M
 
45