~ubuntu-branches/ubuntu/lucid/postgresql-8.4/lucid-proposed

« back to all changes in this revision

Viewing changes to src/makefiles/Makefile.bsdi

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-03-20 12:00:13 UTC
  • Revision ID: james.westby@ubuntu.com-20090320120013-hogj7egc5mjncc5g
Tags: upstream-8.4~0cvs20090328
ImportĀ upstreamĀ versionĀ 8.4~0cvs20090328

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
AROPT = cr
 
2
 
 
3
# bsdi 4.0 and later is ELF
 
4
DLSUFFIX = .so
 
5
ifeq ($(host_os), bsdi2.0)
 
6
DLSUFFIX = .o
 
7
endif
 
8
ifeq ($(host_os), bsdi2.1)
 
9
DLSUFFIX = .o
 
10
endif
 
11
ifeq ($(findstring bsdi3, $(host_os)), bsdi3)
 
12
DLSUFFIX = .o
 
13
endif
 
14
 
 
15
ifeq ($(DLSUFFIX), .so)
 
16
CFLAGS_SL = -fpic
 
17
rpath = -Wl,-rpath,'$(rpathdir)'
 
18
export_dynamic = -Wl,-export-dynamic
 
19
else
 
20
CFLAGS_SL =
 
21
endif
 
22
 
 
23
%.so: %.o
 
24
        $(CC) $(CFLAGS) -shared -o $@ $<