1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Move DLSUFFIX, AROPT, and CFLAGS_SL settings from template to

Makefile.port, since they are of no use to configure and much of the
library magic happens in Makefile.port anyway.

Use __alpha, not __alpha__, since the former is universally available.
Remove -DNOFIXADE from the compile command line and put it in the port
include file.
This commit is contained in:
Peter Eisentraut
2000-10-21 22:36:14 +00:00
parent 0968601b1b
commit f8ff1ee5aa
46 changed files with 502 additions and 502 deletions

View File

@@ -1,23 +1,16 @@
AROPT=crs
DLSUFFIX=.so
if test "$GCC" = yes ; then
CFLAGS=-pipe
CXXFLAGS=-pipe
SHARED_LIB=-lc
else # not GCC
case $host_os in
aix3.2.5)
CFLAGS='-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg'
SHARED_LIB='-e _nostart -lc'
;;
aix4.1)
CFLAGS='-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg -qcheck=divzero'
SHARED_LIB='-bnoentry -lc'
;;
aix4.2 | aix4.3)
CFLAGS='-qmaxmem=16384 -qhalt=w -qsrcmsg -qlanglvl=extended -qlonglong'
SHARED_LIB='-lc'
;;
esac
fi # not GCC

View File

@@ -1,4 +1 @@
AROPT=crs
SHARED_LIB='-fpic -DPIC'
CFLAGS='-O2'
DLSUFFIX=.so

View File

@@ -1,4 +1,3 @@
AROPT=cq
CFLAGS='-O2 -pipe'
case $host_cpu in
@@ -11,12 +10,6 @@ esac
case $host_os in
bsdi2.0 | bsdi2.1 | bsdi3*)
SHARED_LIB=
DLSUFFIX=.o
CC=gcc2
;;
*)
SHARED_LIB=-fpic
DLSUFFIX=.so
;;
esac

View File

@@ -1,4 +1 @@
AROPT=crs
CFLAGS=
SHARED_LIB=-fpic
DLSUFFIX=.so

View File

@@ -1,4 +1 @@
AROPT=cq
SHARED_LIB='-fpic -DPIC'
CFLAGS='-O2 -m486 -pipe'
DLSUFFIX=.so

View File

@@ -1,14 +1,8 @@
AROPT=crs
DLSUFFIX=.sl
if test "$GCC" = yes ; then
CFLAGS=-O2
SHARED_LIB=-fPIC
DL_LIB=/usr/lib/libdld.sl
CCC=g++
else
CFLAGS=-Ae
SHARED_LIB=+z
CPP='cc -E -Ae'
CCC=aCC
fi

View File

@@ -1,4 +1 @@
AROPT=crs
CFLAGS=
SHARED_LIB=
DLSUFFIX=.so

View File

@@ -1,7 +1,4 @@
AROPT=crs
CFLAGS=-O2
SHARED_LIB=-fpic
DLSUFFIX=.so
case $host_cpu in
mips*) CFLAGS="$CFLAGS -mips2";;

View File

@@ -1,4 +1 @@
AROPT=cq
SHARED_LIB='-fpic -DPIC'
CFLAGS='-O2 -pipe'
DLSUFFIX=.so

View File

@@ -1,4 +1 @@
AROPT=cq
SHARED_LIB='-fpic -DPIC'
CFLAGS='-O2 -pipe'
DLSUFFIX=.so

View File

@@ -1,21 +1,9 @@
AROPT=crs
# 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.
if test "$GCC" = yes ; then
CFLAGS='-D__alpha__ -DNOFIXADE'
CFLAGS=
CCC=g++
else
CFLAGS='-D__alpha__ -DNOFIXADE -std -O4 -Olimit 2000'
LDFLAGS='-rpath $(libdir)'
CC="$CC -std"
CFLAGS='-O4 -Olimit 2000'
CCC=cxx
CXXFLAGS='-D__alpha__ -DNOFIXADE -O4 -Olimit 2000'
CXXFLAGS='-O4 -Olimit 2000'
fi
DLSUFFIX=.so
SHARED_LIB=

View File

@@ -1,6 +1,3 @@
AROPT=cr
CFLAGS=
LIBS=-lunix
SHARED_LIB=
DLSUFFIX=.so
CXXFLAGS=-I/usr/local/lib/gcc-lib/i386-pc-qnx4/egcs-2.91.60/include/g++

View File

@@ -1,5 +1,2 @@
AROPT=cq
CFLAGS=
SHARED_LIB='-K PIC'
DLSUFFIX=.so
CC="$CC -b elf"

View File

@@ -1,11 +1,6 @@
AROPT=crs
DLSUFFIX=.so
if test "$GCC" = yes ; then
CFLAGS=
SHARED_LIB=-fPIC
else
CC="$CC -Xa" # relaxed ISO C mode
CFLAGS=-v # -v is like gcc -Wall
SHARED_LIB=-KPIC
fi

View File

@@ -1,10 +1 @@
AROPT=cr
DLSUFFIX=.so
if test "$GCC" = yes ; then
CFLAGS=
SHARED_LIB=-fPIC
else
CFLAGS=
SHARED_LIB=-PIC
fi
CFLAGS=

View File

@@ -1,4 +1 @@
AROPT=crs
CFLAGS=
SHARED_LIB=
DLSUFFIX=.so

View File

@@ -1,4 +1 @@
AROPT=crs
CFLAGS=-DNOFIXADE
SHARED_LIB='-G 0'
DLSUFFIX=.so
CFLAGS=

View File

@@ -1,5 +1,2 @@
AROPT=crs
CFLAGS='-v -O -K i486,host,inline,loop_unroll -Dsvr4'
SHARED_LIB='-K PIC'
DLSUFFIX=.so
LIBS=-lc89

View File

@@ -1,6 +1,3 @@
AROPT=crs
CFLAGS='-O -K host,inline,loop_unroll,alloca -Dsvr4'
SHARED_LIB='-K PIC'
SRCH_INC='/opt/include'
SRCH_LIB='/opt/lib'
DLSUFFIX=.so

View File

@@ -1,6 +1,4 @@
AROPT=crs
CFLAGS=-O2
SRCH_INC=/usr/local/include
SRCH_LIB=/usr/local/lib
DLSUFFIX=.dll
LIBS=-lcygipc