2005-12-09 22:19:36 +01:00
|
|
|
# $PostgreSQL: pgsql/src/makefiles/Makefile.solaris,v 1.13 2005/12/09 21:19:36 petere Exp $
|
2000-10-22 00:36:14 +02:00
|
|
|
|
|
|
|
AROPT = crs
|
2000-10-21 01:57:34 +02:00
|
|
|
|
|
|
|
ifeq ($(with_gnu_ld), yes)
|
|
|
|
export_dynamic = -Wl,-E
|
2005-12-09 22:19:36 +01:00
|
|
|
rpath = -Wl,-rpath,'$(rpathdir)'
|
2000-10-28 01:59:39 +02:00
|
|
|
else
|
2005-12-09 22:19:36 +01:00
|
|
|
rpath = -Wl,-R'$(rpathdir)'
|
2000-10-21 01:57:34 +02:00
|
|
|
endif
|
2000-10-28 01:59:39 +02:00
|
|
|
|
2000-10-22 00:36:14 +02:00
|
|
|
DLSUFFIX = .so
|
|
|
|
ifeq ($(GCC), yes)
|
|
|
|
CFLAGS_SL = -fPIC
|
|
|
|
else
|
|
|
|
CFLAGS_SL = -KPIC
|
|
|
|
endif
|
|
|
|
|
2000-10-10 23:22:29 +02:00
|
|
|
%.so: %.o
|
|
|
|
$(LD) -G -Bdynamic -o $@ $<
|
2001-08-29 21:14:40 +02:00
|
|
|
|
|
|
|
sqlmansect = 5sql
|