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

« back to all changes in this revision

Viewing changes to builds/posix/prefix.solx86gcc

  • 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:
11
11
# The Original Code was created by Inprise Corporation
12
12
# and its predecessors. Portions created by Inprise Corporation are
13
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: prefix.solx86gcc,v 1.19.4.2 2007/08/31 10:49:16 paulbeach Exp $
 
14
# Contributor(s): Konstantin Kuznetsov
 
15
#                       Neil McCalden
 
16
#                       Paul Beach
 
17
#                       Nickolay Samofatov
 
18
# This file can be used to build Firebird on Solaris 10 using gcc
 
19
#
 
20
# $Id: prefix.solx86gcc,v 1.19.4.6 2008/09/16 09:23:13 robocop Exp $
22
21
#
23
22
# Start of file prefix.solaris X 86 :   $(VERSION)      $(PLATFORM)
24
 
# 2 Oct 2002, Nickolay Samofatov - Major Cleanup
25
23
 
26
24
WARNINGS=-Wall -W -Wno-unused -Wno-parentheses -Wno-switch -Wwrite-strings
27
25
COMM_SOLX_FLAGS:=-DSOLARIS -DSOLARIS_MT -DSOLX86 -DBSD_COMP -fno-omit-frame-pointer -fmessage-length=0 -MMD -fPIC
31
29
SFIO_LDFLAGS=@SFIO_LDFLAGS@
32
30
 
33
31
ifdef SFIO
34
 
COMM_SOLX_FLAGS:= $(COMM_SOLX_FLAGS)  $(SFIO_FLAGS) $(SFIO_LDFLAGS)
 
32
COMM_SOLX_FLAGS+=$(SFIO_FLAGS) 
35
33
endif
36
34
 
37
 
COMM_SOLX_FLAGS:= $(COMM_SOLX_FLAGS) 
38
35
 
39
36
PROD_FLAGS=-DNDEBUG -w $(COMM_SOLX_FLAGS) -O2 -march=pentium 
40
37
DEV_FLAGS=$(COMM_SOLX_FLAGS) -ggdb -g3 -p $(WARNINGS)
 
38
ifdef SFIO
 
39
LINK_LIBS+=$(SFIO_LDFLAGS) -lstdio -lsfio
 
40
STATICLINK_LIBS+=$(SFIO_LDFLAGS) -lstdio -lsfio
 
41
SO_LINK_LIBS+=$(SFIO_LDFLAGS) -lstdio -lsfio
 
42
endif
41
43
 
42
44
OS_ServerFiles=inet_server.cpp
43
45