postgresql/src/makefiles/Makefile.linux

18 lines
286 B
Makefile
Raw Normal View History

AROPT = crs
2003-06-05 12:07:25 -04:00
export_dynamic = -Wl,-E
rpath = -Wl,-rpath,$(libdir)
shlib_symbolic = -Wl,-Bsymbolic
allow_nonpic_in_shlib = yes
DLSUFFIX = .so
2003-05-19 13:51:01 -04:00
ifeq "$(findstring sparc,$(host_cpu))" "sparc"
CFLAGS_SL = -fPIC
else
CFLAGS_SL = -fpic
2003-05-19 13:51:01 -04:00
endif
%.so: %.o
$(CC) -shared -o $@ $<
sqlmansect = 7