mirror of
https://github.com/postgres/postgres.git
synced 2025-08-05 07:41:25 +03:00
One helluva mess.
Further extended Makefile.global/build/configure so that we can have a 'template' file for each OS (and each version of OS, as in BSDi) which is used as much as possible to generate Makefile.global Any future ports should look at using the template file as a basis, before moving over to Makefile.global. This will most probably break alot of the ports, atho I've tried to be very neat about it...
This commit is contained in:
8
src/template/aix
Normal file
8
src/template/aix
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:cq
|
||||
BACKEND:-qchars=signed -qmaxmem=4000
|
||||
SHARED_LIB:
|
||||
ALL:
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.so
|
14
src/template/alpha
Normal file
14
src/template/alpha
Normal file
@@ -0,0 +1,14 @@
|
||||
AROPT:cq
|
||||
# NOFIXADE disallows unaligned access.
|
||||
# on Ultrix and OSF/1 it invokes an explicit syscall.
|
||||
# on HP-UX it turns off certain compiler options.
|
||||
# This is defined here because a bunch of clients include tmp/c.h,
|
||||
# which is where the work is done on HP-UX. It only affects the
|
||||
# backend on Ultrix and OSF/1.
|
||||
BACKEND:-DNOFIXADE
|
||||
SHARED_LIB:
|
||||
ALL:
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.so
|
8
src/template/bsdi
Normal file
8
src/template/bsdi
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:crs
|
||||
BACKEND:-DPRE_BSDI_2_1
|
||||
SHARED_LIB:
|
||||
ALL:
|
||||
SRCH_INC:/usr/local/include
|
||||
SRCH_LIB:/usr/local/lib
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.o
|
8
src/template/bsdi-2.1
Normal file
8
src/template/bsdi-2.1
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:crs
|
||||
BACKEND:
|
||||
SHARED_LIB:
|
||||
ALL:
|
||||
SRCH_INC:/usr/local/include
|
||||
SRCH_LIB:/usr/local/lib
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.o
|
8
src/template/dgux
Normal file
8
src/template/dgux
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:cq
|
||||
BACKEND:
|
||||
SHARED_LIB:-fpic
|
||||
ALL:
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.so
|
8
src/template/freebsd
Normal file
8
src/template/freebsd
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:crs
|
||||
BACKEND:
|
||||
SHARED_LIB:-fpic -DPIC
|
||||
ALL:-O2 -m486 -pipe
|
||||
SRCH_INC:/usr/local/include
|
||||
SRCH_LIB:/usr/local/lib
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.so
|
8
src/template/generic
Normal file
8
src/template/generic
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:cq
|
||||
BACKEND:
|
||||
SHARED_LIB:
|
||||
ALL:
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.so
|
8
src/template/hpux-cc
Normal file
8
src/template/hpux-cc
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:cq
|
||||
BACKEND:-W l,-E -Ae -DNOFIXADE
|
||||
SHARED_LIB:+z
|
||||
ALL:
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.sl
|
9
src/template/hpux-gcc
Normal file
9
src/template/hpux-gcc
Normal file
@@ -0,0 +1,9 @@
|
||||
AROPT:cq
|
||||
BACKEND:-DNOFIXADE
|
||||
SHARED_LIB:
|
||||
ALL:
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DL_LIB:/usr/lib/libdld.sl
|
||||
DLSUFFIX:.sl
|
8
src/template/i386_solaris
Normal file
8
src/template/i386_solaris
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:cq
|
||||
BACKEND:-I$(SRCDIR)/backend/port/sparc_solaris
|
||||
SHARED_LIB:-K PIC
|
||||
ALL:
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.so
|
8
src/template/i386_solaris-cc
Normal file
8
src/template/i386_solaris-cc
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:cq
|
||||
BACKEND:-I$(SRCDIR)/backend/port/sparc_solaris
|
||||
SHARED_LIB:-fPIC
|
||||
ALL:
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.so
|
8
src/template/irix5
Normal file
8
src/template/irix5
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:cq
|
||||
BACKEND:
|
||||
SHARED_LIB:
|
||||
ALL:
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.so
|
8
src/template/linux
Normal file
8
src/template/linux
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:cq
|
||||
BACKEND:
|
||||
SHARED_LIB:-fpic
|
||||
ALL:
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.so
|
8
src/template/linux-elf
Normal file
8
src/template/linux-elf
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:cq
|
||||
BACKEND:
|
||||
SHARED_LIB:-fpic
|
||||
ALL:
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX=.o
|
8
src/template/nextstep
Normal file
8
src/template/nextstep
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:rc
|
||||
BACKEND:
|
||||
SHARED_LIB:
|
||||
ALL:
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.o
|
8
src/template/sparc
Normal file
8
src/template/sparc
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:crs
|
||||
BACKEND:
|
||||
SHARED_LIB:
|
||||
ALL:
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.so
|
8
src/template/sparc_solaris
Normal file
8
src/template/sparc_solaris
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:cq
|
||||
BACKEND:
|
||||
SHARED_LIB:
|
||||
ALL:
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.so
|
8
src/template/sparc_solaris-cc
Normal file
8
src/template/sparc_solaris-cc
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:cq
|
||||
BACKEND:-I$(SRCDIR)/backend/port/sparc_solaris
|
||||
SHARED_LIB:-K PIC
|
||||
ALL:
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.so
|
8
src/template/sparc_solaris-gcc
Normal file
8
src/template/sparc_solaris-gcc
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:cq
|
||||
BACKEND:-I$(SRCDIR)/backend/port/sparc_solaris
|
||||
SHARED_LIB:-fPIC
|
||||
ALL:
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.so
|
8
src/template/sunos4-cc
Normal file
8
src/template/sunos4-cc
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:cq
|
||||
BACKEND:
|
||||
SHARED_LIB:-PIC
|
||||
ALL:
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.so
|
8
src/template/sunos4-gcc
Normal file
8
src/template/sunos4-gcc
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:cq
|
||||
BACKEND:
|
||||
SHARED_LIB:-fPIC
|
||||
ALL:
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.so
|
8
src/template/svr4
Normal file
8
src/template/svr4
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:cq
|
||||
BACKEND:-I$(SRCDIR)/backend/port/svr4
|
||||
SHARED_LIB:
|
||||
ALL:+W0
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.so
|
8
src/template/ultrix4
Normal file
8
src/template/ultrix4
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:cq
|
||||
BACKEND:-DNOFIXADE
|
||||
SHARED_LIB:-G 0
|
||||
ALL:
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.o
|
8
src/template/univel
Normal file
8
src/template/univel
Normal file
@@ -0,0 +1,8 @@
|
||||
AROPT:cq
|
||||
BACKEND:-I$(SRCDIR)/backend/port/univel
|
||||
SHARED_LIB:-fPIC
|
||||
ALL:-DHAVE_RUSAGE -m486 -Dsvr4
|
||||
SRCH_INC:
|
||||
SRCH_LIB:
|
||||
USE_LOCALE:no
|
||||
DLSUFFIX:.so
|
Reference in New Issue
Block a user