postgresql/src/makefiles/Makefile.linux
Peter Eisentraut d129255077 Set SQL man pages to be section 7 by default, and only transform them to
another section if required by the platform (instead of the old way of
building them in section "l" and always transforming them to the
platform-specific section).

This speeds up the installation on common platforms, and it avoids some
funny business with the man page tools and build process.
2008-11-14 10:22:48 +00:00

15 lines
252 B
Makefile

AROPT = crs
export_dynamic = -Wl,-E
rpath = -Wl,-rpath,'$(rpathdir)'
allow_nonpic_in_shlib = yes
DLSUFFIX = .so
ifeq "$(findstring sparc,$(host_cpu))" "sparc"
CFLAGS_SL = -fPIC
else
CFLAGS_SL = -fpic
endif
%.so: %.o
$(CC) $(CFLAGS) -shared -o $@ $<