summaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.solaris
blob: 8c08f79e038afac43bdc84d1470c4fb8530bf3b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $Header: /cvsroot/pgsql/src/makefiles/Makefile.solaris,v 1.3 2000/10/21 22:36:13 petere Exp $

AROPT = crs

ifeq ($(with_gnu_ld), yes)
export_dynamic = -Wl,-E
endif

DLSUFFIX = .so
ifeq ($(GCC), yes)
CFLAGS_SL = -fPIC
else
CFLAGS_SL = -KPIC
endif

%.so: %.o
	$(LD) -G -Bdynamic -o $@ $<