postgresql/src/makefiles/Makefile.linux

15 lines
252 B
Makefile
Raw Normal View History

AROPT = crs
2003-06-05 18:07:25 +02:00
export_dynamic = -Wl,-E
rpath = -Wl,-rpath,'$(rpathdir)'
allow_nonpic_in_shlib = yes
DLSUFFIX = .so
2003-05-19 19:51:01 +02:00
ifeq "$(findstring sparc,$(host_cpu))" "sparc"
CFLAGS_SL = -fPIC
else
CFLAGS_SL = -fpic
2003-05-19 19:51:01 +02:00
endif
%.so: %.o
$(CC) $(CFLAGS) -shared -o $@ $<