postgresql/src/makefiles
Andres Freund 2473cb9ff3 autoconf: Rely on ar supporting index creation
This way we don't need RANLIB anymore, making it a bit simpler for the meson
build to generate Makefile.global for PGXS compatibility.

FreeBSD, NetBSD, OpenBSD, the only platforms where we didn't use AROPT=crs,
all have supported the 's' option for a long time.

On macOS we ran ranlib after installing a static library. This was added a
long time ago, in 58ad65ec2d. I cannot reproduce an issue in more recent
macOS versions. This is removed now.

Based on discussion with Tom, I left the 'touch' at the end of static
libraries generation, added in 826eff57c4, in place. While it looks like
current versions of Apple's ar/ranlib don't need it, it was needed not too
long ago.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/20221005200710.luvw5evhwf6clig6@awork3.anarazel.de
2022-10-07 11:53:39 -07:00
..
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
Makefile.aix autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
Makefile.cygwin autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
Makefile.darwin autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
Makefile.freebsd autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
Makefile.linux autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
Makefile.netbsd autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
Makefile.openbsd autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
Makefile.solaris autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
Makefile.win32 autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
pgxs.mk Default to hidden visibility for extension libraries where possible 2022-07-17 17:49:51 -07:00