postgresql/src/template
Peter Eisentraut 23119d51a1 Refactor DLSUFFIX handling
Move DLSUFFIX from makefiles into header files for all platforms.
Move the DLSUFFIX assignment from src/makefiles/ to src/templates/,
have configure read it, and then substitute it into Makefile.global
and pg_config.h.  This avoids the need for all makefile rules that
need it to locally set CPPFLAGS.  It also resolves an inconsistent
setup between the two Windows build systems.

Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://www.postgresql.org/message-id/2f9861fb-8969-9005-7518-b8e60f2bead9@enterprisedb.com
2022-03-25 08:56:02 +01:00
..
aix Select CFLAGS_SL at configure time, not in platform-specific Makefiles. 2019-10-21 12:32:35 -04:00
cygwin Refactor DLSUFFIX handling 2022-03-25 08:56:02 +01:00
darwin Further tweaking of PG_SYSROOT heuristics for macOS. 2021-01-20 12:07:23 -05:00
freebsd Select CFLAGS_SL at configure time, not in platform-specific Makefiles. 2019-10-21 12:32:35 -04:00
hpux Refactor DLSUFFIX handling 2022-03-25 08:56:02 +01:00
linux Select CFLAGS_SL at configure time, not in platform-specific Makefiles. 2019-10-21 12:32:35 -04:00
netbsd Makefile comment: remove reference to tools/thread/thread_test 2020-10-27 14:00:50 -04:00
openbsd Select CFLAGS_SL at configure time, not in platform-specific Makefiles. 2019-10-21 12:32:35 -04:00
solaris Select CFLAGS_SL at configure time, not in platform-specific Makefiles. 2019-10-21 12:32:35 -04:00
win32 Refactor DLSUFFIX handling 2022-03-25 08:56:02 +01:00