diff options
Diffstat (limited to 'src/mk/port')
| -rw-r--r-- | src/mk/port/postgres.mk.BSD44_derived | 48 | ||||
| -rw-r--r-- | src/mk/port/postgres.mk.aix | 57 | ||||
| -rw-r--r-- | src/mk/port/postgres.mk.alpha | 52 | ||||
| -rw-r--r-- | src/mk/port/postgres.mk.bsdi | 40 | ||||
| -rw-r--r-- | src/mk/port/postgres.mk.bsdi_2_1 | 40 | ||||
| -rw-r--r-- | src/mk/port/postgres.mk.dgux | 39 | ||||
| -rw-r--r-- | src/mk/port/postgres.mk.hpux | 64 | ||||
| -rw-r--r-- | src/mk/port/postgres.mk.i386_solaris | 57 | ||||
| -rw-r--r-- | src/mk/port/postgres.mk.irix5 | 53 | ||||
| -rw-r--r-- | src/mk/port/postgres.mk.linux | 54 | ||||
| -rw-r--r-- | src/mk/port/postgres.mk.sparc | 38 | ||||
| -rw-r--r-- | src/mk/port/postgres.mk.sparc_solaris | 57 | ||||
| -rw-r--r-- | src/mk/port/postgres.mk.svr4 | 75 | ||||
| -rw-r--r-- | src/mk/port/postgres.mk.ultrix4 | 34 |
14 files changed, 0 insertions, 708 deletions
diff --git a/src/mk/port/postgres.mk.BSD44_derived b/src/mk/port/postgres.mk.BSD44_derived deleted file mode 100644 index 4a231bda31..0000000000 --- a/src/mk/port/postgres.mk.BSD44_derived +++ /dev/null @@ -1,48 +0,0 @@ -#------------------------------------------------------------------------- -# -# postgres.mk.BSD44_derived-- -# specific rules for OSs derived from 4.4-lite BSD -# e.g. NetBSD, FreeBSD and BSD/OS -# -# Copyright (c) 1994-5, Regents of the University of California -# -# $Id: postgres.mk.BSD44_derived,v 1.3 1996/10/11 03:56:41 scrappy Exp $ -# -#------------------------------------------------------------------------- -ifndef MK_PORT -MK_PORT= BSD44_derived - -# cc is gcc, but never mind about that... -CC= gcc - -INSTALL= /usr/bin/install -RANLIB= /usr/bin/ranlib - -AROPT = cq - -# FreeBSD 2.1R with new Flex v2.5.2 in /usr/local -LEX = flex -LDADD+= -L/usr/local/lib -lfl - -# -# for postgres.user.mk -# -CFLAGS_SL = -fpic -DPIC - -ifeq ($(HOSTTYPE), mips) -#SLSUFF= .so -else -SLSUFF= .so -endif - -%.so: %.o - $(LD) -x -r -o $(objdir)/$(<F).obj $(objdir)/$(<F) - @echo building shared object $(objdir)/$(@F) - @rm -f $(objdir)/$(@F).pic - @${AR} cq $(objdir)/$(@F).pic `lorder $(objdir)/$(<F).obj | tsort` - ${RANLIB} $(objdir)/$(@F).pic - @rm -f $(objdir)/$(@F) - $(LD) -x -Bshareable -Bforcearchive \ - -o $(objdir)/$(@F) $(objdir)/$(@F).pic - -endif diff --git a/src/mk/port/postgres.mk.aix b/src/mk/port/postgres.mk.aix deleted file mode 100644 index 592443e08e..0000000000 --- a/src/mk/port/postgres.mk.aix +++ /dev/null @@ -1,57 +0,0 @@ -#------------------------------------------------------------------------- -# -# postgres.mk.aix-- -# IBM POWER/aix specific rules and variables -# -# Copyright (c) 1994-5, Regents of the University of California -# -# $Id: postgres.mk.aix,v 1.2 1996/07/23 03:24:47 scrappy Exp $ -# -# -#------------------------------------------------------------------------- -ifndef MK_PORT -MK_PORT= aix - -# might want to try installbsd instead -INSTALL= /usr/ucb/install - -# -# for postgres.mk -# - -# the -lm is because "pow" is defined in libbsd.a and we want pow(3m) -LDADD_BE= -lm -lbsd - -# MAKE_EXPORTS is required for svr4 loaders that want a file of -# symbol names to tell them what to export/import. -MAKE_EXPORTS= true - -# -# Random things that must be passed everywhere to enable -# everything to compile. :-/ -# -# The -qmaxmem is because of optimizer limits. -# The HAVE_ANSI_CPP flag indicates that cc isn't ANSI but also doesn't -# have a Reiser (pcc-style) cpp. -# -CFLAGS_BE+= -qchars=signed -qmaxmem=4000 -DHAVE_ANSI_CPP - - -# -# for postgres.user.mk -# -EXPSUFF= .exp -SLSUFF= .so - -MKLDEXPORT=$(srcdir)/backend/port/aix/mkldexport.sh - -%$(EXPSUFF): %.o - $(MKLDEXPORT) $(objdir)/$(<F) `pwd` > $(objdir)/$(@F) - -%.so: %.o %$(EXPSUFF) - @echo The link stage here: - $(LD) -H512 -T512 -o $(objdir)/$(@F) -e _nostart \ - -bI:$(LIBDIR)/postgres$(EXPSUFF) -bE:$*$(EXPSUFF) \ - $*.o -lm -lc 2>/dev/null - -endif diff --git a/src/mk/port/postgres.mk.alpha b/src/mk/port/postgres.mk.alpha deleted file mode 100644 index c3d9071e3d..0000000000 --- a/src/mk/port/postgres.mk.alpha +++ /dev/null @@ -1,52 +0,0 @@ -#------------------------------------------------------------------------- -# -# postgres.mk.alpha-- -# DEC Alpha AXP/OSF specific rules and variables -# -# Copyright (c) 1994-5, Regents of the University of California -# -# $Id: postgres.mk.alpha,v 1.1.1.1 1996/07/09 06:22:20 scrappy Exp $ -# -#------------------------------------------------------------------------- -ifndef MK_PORT -MK_PORT= alpha - - -# -# for postgres.mk -# -CFLAGS_BE+= -DUSE_POSIX_SIGNALS - -# 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. -ifdef ENFORCE_ALIGNMENT -CFLAGS_BE+= -DNOFIXADE -else -CFLAGS_BE+= -DNOPRINTADE -endif - -# use the regex library -USE_REGEX = 1 - -# -# for postgres.user.mk -# -SLSUFF= .so - -# cd into objdir so that so_locations is also in obj -%.so: %.o - cd $(objdir); $(LD) -shared -expect_unresolved '*' -o $(@F) $(<F) - -CLEANFILES+= so_locations - -# -# for postgres.shell.mk -# -DASH_N= -BACKSLASH_C='\\\\c' - -endif diff --git a/src/mk/port/postgres.mk.bsdi b/src/mk/port/postgres.mk.bsdi deleted file mode 100644 index a2aa1df6ae..0000000000 --- a/src/mk/port/postgres.mk.bsdi +++ /dev/null @@ -1,40 +0,0 @@ -#------------------------------------------------------------------------- -# -# postgres.mk.bsdi-- -# Intel x86/BSDi v2.0 specific rules and variables -# -# for questions about the BSD/OS port, contact Kurt Lidl (lidl@pix.com) -# -# Copyright (c) 1994-5, Regents of the University of California -# -# NOTE -# you may remove lines that start with ## which are general comments -#------------------------------------------------------------------------- -ifndef MK_PORT -MK_PORT= bsdi - -# cc is gcc v1.42 -# gcc is gcc v2.6.3 -CC= gcc - -RANLIB= ranlib -INSTALL= install -LEX= flex -AROPT= cq - -# use the regex library -USE_REGEX = 1 - -LDADD_BE= -ldld -lcompat - -# -# for postgres.user.mk -# -SLSUFF= .o - -# -# for postgres.mk -# -CFLAGS_OPT= -g -DUSE_POSIX_SIGNALS # -O2 - -endif diff --git a/src/mk/port/postgres.mk.bsdi_2_1 b/src/mk/port/postgres.mk.bsdi_2_1 deleted file mode 100644 index b35e75b309..0000000000 --- a/src/mk/port/postgres.mk.bsdi_2_1 +++ /dev/null @@ -1,40 +0,0 @@ -#------------------------------------------------------------------------- -# -# postgres.mk.bsdi-- -# Intel x86/BSDi v2.1 specific rules and variables -# -# for questions about the BSD/OS port, contact: -# Bruce Momjian (maillist@candle.pha.pa.us) -# Kurt Lidl (lidl@pix.com) -# -# Copyright (c) 1994-5, Regents of the University of California -# -# NOTE -# you may remove lines that start with ## which are general comments -#------------------------------------------------------------------------- -ifndef MK_PORT -MK_PORT= bsdi_2_1 - -# cc is gcc v1.42 -# gcc is gcc v2.7.2 -CC= gcc - -RANLIB= ranlib -INSTALL= install -LEX= lex -AROPT= cq - -LD_ADD+= -ltermcap - -# -# for postgres.user.mk -# -SLSUFF= .o - -# -# for postgres.mk -# -CFLAGS_OPT= -O2 -m486 -CFLAGS_BE = -DUSE_POSIX_SIGNALS - -endif diff --git a/src/mk/port/postgres.mk.dgux b/src/mk/port/postgres.mk.dgux deleted file mode 100644 index 9569e7d92e..0000000000 --- a/src/mk/port/postgres.mk.dgux +++ /dev/null @@ -1,39 +0,0 @@ -#------------------------------------------------------------------------- -# -# postgres.mk.linux-- -# Intel x86/Linux specific rules and variables -# -# Copyright (c) 1994-5, Regents of the University of California -# -# $Id: postgres.mk.dgux,v 1.1 1996/07/25 20:45:05 scrappy Exp $ -# -# NOTE -# you may remove lines that start with ## which are general comments -#------------------------------------------------------------------------- -ifndef MK_PORT -MK_PORT= linux - -RANLIB= ranlib -SLSUFF= .so -#LDFLAGS+= -rdynamic - - -CFLAGS_SL= -fpic -%.so: %.o - cd $(objdir); $(CC) -shared -o $(@F) $(<F) - -# -# for postgres.mk -# -CC= gcc -CFLAGS_OPT= -O2 -pipe - -CFLAGS_BE= -D__USE_POSIX_SIGNALS -DUSE_POSIX_SIGNALS -O2 -LDADD_BE= -ldl -lfl - -LEX = flex -YACC = bison -y - -INSTALL=/usr/bin/X11/bsdinst - -endif diff --git a/src/mk/port/postgres.mk.hpux b/src/mk/port/postgres.mk.hpux deleted file mode 100644 index c97d5212ee..0000000000 --- a/src/mk/port/postgres.mk.hpux +++ /dev/null @@ -1,64 +0,0 @@ -#------------------------------------------------------------------------- -# -# postgres.mk.hpux-- -# HP PA-RISC/HP-UX specific rules and variables -# -# Copyright (c) 1994-5, Regents of the University of California -# -# $Id: postgres.mk.hpux,v 1.1.1.1 1996/07/09 06:22:20 scrappy Exp $ -# -#------------------------------------------------------------------------- -ifndef MK_PORT -MK_PORT= hpux - -# -# for postgres.mk -# -LDADD_BE= -lBSD - -ifdef ENFORCE_ALIGNMENT -CFLAGS_BE= -DNOFIXADE -else -HPUX_VERS:= $(shell uname -r) -HPUX_MAJOR=${HPUX_VERS:R:E} -HPUX_MINOR=${HPUX_VERS:E} - ifeq ($(HPUX_MAJOR), 08) - CFLAGS_BE+= +u -DHP_S500_ALIGN - LDFLAGS_BE+= +u - else - ifeq ($(HPUX_MAJOR), 09) - ifeq ($(CC), cc) - CFLAGS_BE+= +u4 - LDFLAGS_BE+= +u4 - endif - endif - endif -endif - -# (extended) ANSI flag for cc (-Ae is same as -Aa -D_HPUX_SOURCE) -ifeq ($(CC), cc) -CFLAGS_BE+= -Ae -endif - -# This is a script from the MIT X11 distribution. -INSTALL= bsdinst - -# RANLIB is not used on HP-UX -RANLIB=touch - -# -# for postgres.user.mk -# -CFLAGS_SL= +z -SLSUFF= .sl - -%.sl: %.o - $(LD) -b -o $(objdir)/$(@F) $(objdir)/$(<F) - -# -# for postgres.shell.mk -# -DASH_N= '' -BACKSLASH_C='\\\\c' - -endif
\ No newline at end of file diff --git a/src/mk/port/postgres.mk.i386_solaris b/src/mk/port/postgres.mk.i386_solaris deleted file mode 100644 index f5c3dce7d7..0000000000 --- a/src/mk/port/postgres.mk.i386_solaris +++ /dev/null @@ -1,57 +0,0 @@ -#------------------------------------------------------------------------- -# -# postgres.mk.sparc_solaris-- -# SUN SPARC/solaris specific rules and variables -# -# Copyright (c) 1994-5, Regents of the University of California -# -# $Id: postgres.mk.i386_solaris,v 1.1 1996/07/20 08:36:33 scrappy Exp $ -# -#------------------------------------------------------------------------- -ifndef MK_PORT -MK_PORT= i386_solaris - -# cc won't work! -CC= gcc - -# -# for postgres.mk -# -CFLAGS_BE+= -DUSE_POSIX_SIGNALS - -# RANLIB is not used on solaris -RANLIB=touch - -INSTALL=/usr/ucb/install - -# -# Random things that must be passed everywhere to enable -# everything to compile. :-/ -# -# The extra -I flag is to scoop up extra BSD-emulating headers. -CFLAGS_BE+= -DSYSV_DIRENT -I$(POSTGRESDIR)/src/backend/port/sparc_solaris -LDADD_BE+= -lsocket -lnsl - -LD_ADD+= $(LDADD_BE) - -# -# for postgres.user.mk -# -ifeq ($(CC), cc) -CFLAGS_SL= -K PIC -else -CFLAGS_SL= -fPIC -endif - -SLSUFF= .so - -%.so: %.o - $(LD) -G -Bdynamic -o $(objdir)/$(@F) $(objdir)/$(<F) - -# -# for postgres.shell.mk -# -DASH_N='' -BACKSLASH_C='\\\\c' - -endif diff --git a/src/mk/port/postgres.mk.irix5 b/src/mk/port/postgres.mk.irix5 deleted file mode 100644 index 85a7782449..0000000000 --- a/src/mk/port/postgres.mk.irix5 +++ /dev/null @@ -1,53 +0,0 @@ -#------------------------------------------------------------------------- -# -# postgres.mk.irix5-- -# IRIX5 specific rules and variables. This port is contributed by -# Paul 'Shag' Walmsley <ccshag@everest.cclabs.missouri.edu>. -# -# Copyright (c) 1994-5, Regents of the University of California -# -# postgres.mk.sparc_solaris,v 1.5 1995/04/30 07:51:21 andrew Exp -# -#------------------------------------------------------------------------- -ifndef MK_PORT -MK_PORT= irix5 - -CC= cc - -# -# for postgres.mk -# -CFLAGS_BE+= -DUSE_POSIX_SIGNALS - -# RANLIB is not used on IRIX 5 -RANLIB=touch - -INSTALL=/sbin/bsdinst - -INSTLOPTS= -m 444 -INSTL_EXE_OPTS= -m 555 -INSTL_LIB_OPTS= -m 664 - -# -# Random things that must be passed everywhere to enable -# everything to compile. :-/ -# -CFLAGS_BE+= -DSYSV_DIRENT - -LD_ADD+= $(LDADD_BE) - -SLSUFF= .so - -%.so: %.o - $(LD) -G -Bdynamic -o $(objdir)/$(@F) $(objdir)/$(<F) - -# -# for postgres.shell.mk -# -DASH_N='' -BACKSLASH_C='\\\\c' - -endif - - - diff --git a/src/mk/port/postgres.mk.linux b/src/mk/port/postgres.mk.linux deleted file mode 100644 index 54170b5307..0000000000 --- a/src/mk/port/postgres.mk.linux +++ /dev/null @@ -1,54 +0,0 @@ -#------------------------------------------------------------------------- -# -# postgres.mk.linux-- -# Intel x86/Linux specific rules and variables -# -# Copyright (c) 1994-5, Regents of the University of California -# -# $Id: postgres.mk.linux,v 1.1.1.1 1996/07/09 06:22:20 scrappy Exp $ -# -# NOTE -# you may remove lines that start with ## which are general comments -#------------------------------------------------------------------------- -ifndef MK_PORT -MK_PORT= linux - -# Comment the following flag if you're not using Linux ELF -LINUX_ELF = 1 - -ifndef LINUX_ELF -RANLIB= ranlib -SLSUFF= .o -else -RANLIB= ranlib -SLSUFF= .so -LDFLAGS+= -rdynamic -endif -INSTALL= install -MK_NO_LORDER= true - -# use the regex library -USE_REGEX = 1 - -# -# for postgres.user.mk -# -#CFLAGS_SL= -fPIC -CFLAGS_SL= -fpic -%.so: %.o - cd $(objdir); $(CC) -shared -o $(@F) $(<F) - -# -# for postgres.mk -# -CFLAGS_OPT= -O2 -pipe -m486 - -# The Linux gnulib #defines the problem away for you and calls -# the BSD routines if you give it the right flags. -CFLAGS_BE= -D__USE_BSD -D__USE_BSD_SIGNAL -LDADD_BE= -lbsd - -LEX = flex -#YACC = bison -y - -endif diff --git a/src/mk/port/postgres.mk.sparc b/src/mk/port/postgres.mk.sparc deleted file mode 100644 index 2b9cd788a0..0000000000 --- a/src/mk/port/postgres.mk.sparc +++ /dev/null @@ -1,38 +0,0 @@ -#------------------------------------------------------------------------- -# -# postgres.mk.sparc-- -# SUN SPARC/SunOS 4.x specific rules and variables -# -# Copyright (c) 1994-5, Regents of the University of California -# -# $Id: postgres.mk.sparc,v 1.1.1.1 1996/07/09 06:22:20 scrappy Exp $ -# -#------------------------------------------------------------------------- -ifndef MK_PORT -MK_PORT= sparc - -# cc won't work! -CC= gcc - -# the ar on SunOs is dumb, can't use the s option -AROPT= cq - -INSTALL= /usr/bin/install -RANLIB= /usr/bin/ranlib - -# -# for postgres.user.mk -# -ifeq ($(CC), cc) -CFLAGS_SL= -PIC -else -CFLAGS_SL= -fPIC -endif - -SLSUFF= .so - -%.so: %.o - $(LD) -dc -dp -Bdynamic -o $(objdir)/$(@F) $(objdir)/$(<F) - - -endif diff --git a/src/mk/port/postgres.mk.sparc_solaris b/src/mk/port/postgres.mk.sparc_solaris deleted file mode 100644 index 4f86e1859f..0000000000 --- a/src/mk/port/postgres.mk.sparc_solaris +++ /dev/null @@ -1,57 +0,0 @@ -#------------------------------------------------------------------------- -# -# postgres.mk.sparc_solaris-- -# SUN SPARC/solaris specific rules and variables -# -# Copyright (c) 1994-5, Regents of the University of California -# -# $Id: postgres.mk.sparc_solaris,v 1.2 1996/07/23 03:24:47 scrappy Exp $ -# -#------------------------------------------------------------------------- -ifndef MK_PORT -MK_PORT= sparc_solaris - -# cc won't work! -CC= gcc - -# -# for postgres.mk -# -CFLAGS_BE+= -DUSE_POSIX_SIGNALS - -# RANLIB is not used on solaris -RANLIB=touch - -INSTALL=/usr/ucb/install - -# -# Random things that must be passed everywhere to enable -# everything to compile. :-/ -# -# The extra -I flag is to scoop up extra BSD-emulating headers. -CFLAGS_BE+= -DSYSV_DIRENT -I$(srcdir)/backend/port/sparc_solaris -LDADD_BE+= -lsocket -lnsl - -LD_ADD+= $(LDADD_BE) - -# -# for postgres.user.mk -# -ifeq ($(CC), cc) -CFLAGS_SL= -K PIC -else -CFLAGS_SL= -fPIC -endif - -SLSUFF= .so - -%.so: %.o - $(LD) -G -Bdynamic -o $(objdir)/$(@F) $(objdir)/$(<F) - -# -# for postgres.shell.mk -# -DASH_N='' -BACKSLASH_C='\\\\c' - -endif diff --git a/src/mk/port/postgres.mk.svr4 b/src/mk/port/postgres.mk.svr4 deleted file mode 100644 index f7c132a7d1..0000000000 --- a/src/mk/port/postgres.mk.svr4 +++ /dev/null @@ -1,75 +0,0 @@ -#------------------------------------------------------------------------- -# -# postgres.mk.svr4-- -# Intel x86/Intel SVR4 specific rules and variables -# -# Copyright (c) 1994-5, Regents of the University of California -# -# $Id: postgres.mk.svr4,v 1.2 1996/08/19 13:52:54 scrappy Exp $ -# -# NOTE -# This file has not been tested. -ay 3/95 -# -#------------------------------------------------------------------------- -ifndef MK_PORT -MK_PORT= svr4 - -# cc won't work? -#CC= gcc -CC= cc -W0 -YACC= bison -y - -# -# for postgres.mk -# -CFLAGS_BE+= -DUSE_POSIX_SIGNALS - -# MAKE_EXPORTS is required for svr4 loaders that want a file of -# symbol names to tell them what to export/import. -MAKE_EXPORTS= true - -# RANLIB is not used on svr4 -RANLIB=touch - -# GNU install -INSTALL=/home/tools/bin/install - -# -# Random things that must be passed everywhere to enable -# everything to compile. :-/ -# -# The extra -I flag is to scoop up extra BSD-emulating headers. -CFLAGS_BE+= -DSYSV_DIRENT -I$(POSTGRESDIR)/src/backend/port/svr4 -LDADD_BE+= -lsocket -lnsl -lc /usr/ucblib/libucb.a - -LD_ADD+= $(LDADD_BE) - -# -# for postgres.mk -# -CFLAGS_OPT= -O - -# -# for postgres.user.mk -# -#CFLAGS_SL= -K pic -ifeq ($(CC), cc) -#CFLAGS_SL= -K PIC -else -#CFLAGS_SL= -fPIC -endif - -SLSUFF= .so - -#%.so: %.o -# $(LD) -G $(LDFLAGS) -o $(objdir)/$(@F) $(objdir)/$(<F) -%.so: %.o - $(LD) -G -Bdynamic -o $(objdir)/$(@F) $(objdir)/$(<F) - -# -# for postgres.shell.mk -# -DASH_N='' -BACKSLASH_C='\\\\c' - -endif diff --git a/src/mk/port/postgres.mk.ultrix4 b/src/mk/port/postgres.mk.ultrix4 deleted file mode 100644 index fa63d02aa5..0000000000 --- a/src/mk/port/postgres.mk.ultrix4 +++ /dev/null @@ -1,34 +0,0 @@ -#------------------------------------------------------------------------- -# -# postgres.mk.ultrix4-- -# DEC MIPS/Ultrix 4.x specific rules and variables -# -# Copyright (c) 1994-5, Regents of the University of California -# -# $Id: postgres.mk.ultrix4,v 1.1.1.1 1996/07/09 06:22:20 scrappy Exp $ -# -#------------------------------------------------------------------------- -ifndef MK_PORT -MK_PORT= ultrix4 - -# -# for postgres.mk -# -ifdef ENFORCE_ALIGNMENT -CFLAGS_BE= -DNOFIXADE -endif - -# install creates intermediate directories -NO_BEFOREINSTL= true - -INSTALL= /usr/bin/install -RANLIB= /usr/bin/ranlib - -# -# for postgres.user.mk -# -CFLAGS_SL= -G 0 -SLSUFF= .o - - -endif |
