mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
Removal of bsdi_2_1 port.
This commit is contained in:
@ -1,3 +1,4 @@
|
|||||||
|
X=$(shell sleep 4)
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Makefile.global--
|
# Makefile.global--
|
||||||
@ -7,7 +8,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.44 1996/10/31 05:53:10 momjian Exp $
|
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.45 1996/11/01 01:45:52 momjian Exp $
|
||||||
#
|
#
|
||||||
# NOTES
|
# NOTES
|
||||||
# This is seen by any Makefiles that include mk/postgres.mk. To
|
# This is seen by any Makefiles that include mk/postgres.mk. To
|
||||||
@ -46,8 +47,7 @@
|
|||||||
# linux - Intel x86 on Linux 1.2 and Linux ELF
|
# linux - Intel x86 on Linux 1.2 and Linux ELF
|
||||||
# (For non-ELF Linux, see LINUX_ELF below).
|
# (For non-ELF Linux, see LINUX_ELF below).
|
||||||
# BSD44_derived - OSs derived from 4.4-lite BSD (NetBSD, FreeBSD)
|
# BSD44_derived - OSs derived from 4.4-lite BSD (NetBSD, FreeBSD)
|
||||||
# bsdi - BSD/OS 2.0 and 2.01
|
# bsdi - BSD/OS 2.0, 2.01, 2.1
|
||||||
# bsdi_2_1 - BSD/OS 2.1
|
|
||||||
# aix - IBM on AIX 3.2.5
|
# aix - IBM on AIX 3.2.5
|
||||||
# irix5 - SGI MIPS on IRIX 5.3
|
# irix5 - SGI MIPS on IRIX 5.3
|
||||||
# dgux - DG/UX 5.4R3.10
|
# dgux - DG/UX 5.4R3.10
|
||||||
@ -423,55 +423,38 @@ endif
|
|||||||
ifeq ($(PORTNAME), bsdi)
|
ifeq ($(PORTNAME), bsdi)
|
||||||
MK_PORT= bsdi
|
MK_PORT= bsdi
|
||||||
|
|
||||||
# cc is gcc v1.42
|
|
||||||
# gcc is gcc v2.6.3
|
|
||||||
CC= gcc
|
CC= gcc
|
||||||
|
|
||||||
LEX= flex
|
PRE_BSDI_2_1=N
|
||||||
AROPT= cq
|
ifeq ($(shell uname -r), 2.0)
|
||||||
|
PRE_BSDI_2_1=Y
|
||||||
# use the regex library
|
endif
|
||||||
USE_REGEX = 1
|
ifeq ($(shell uname -r), 2.01)
|
||||||
|
PRE_BSDI_2_1=Y
|
||||||
LDADD_BE= -ldld -lcompat
|
|
||||||
|
|
||||||
#
|
|
||||||
# for postgres.user.mk
|
|
||||||
#
|
|
||||||
SLSUFF= .o
|
|
||||||
|
|
||||||
#
|
|
||||||
# for postgres.mk
|
|
||||||
#
|
|
||||||
CFLAGS_OPT= -g -DUSE_POSIX_SIGNALS # -O2
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#--------------------------------------------------------------------------
|
ifeq ($(PRE_BSDI_2_1), N)
|
||||||
|
|
||||||
ifeq ($(PORTNAME), bsdi_2_1)
|
|
||||||
MK_PORT= bsdi_2_1
|
|
||||||
|
|
||||||
# cc is gcc v1.42
|
# cc is gcc v1.42
|
||||||
# gcc is gcc v2.7.2
|
# gcc is gcc v2.7.2
|
||||||
CC= gcc
|
LEX= lex
|
||||||
|
LD_ADD+= -ltermcap
|
||||||
|
CFLAGS_BE = -DPRE_BSDI_2_1
|
||||||
|
else
|
||||||
|
# cc is gcc v1.42
|
||||||
|
# gcc is gcc v2.6.3
|
||||||
|
LEX= flex
|
||||||
|
# use the regex library
|
||||||
|
USE_REGEX = 1
|
||||||
|
LDADD_BE = -ldld -lcompat
|
||||||
|
endif
|
||||||
|
|
||||||
LEX= lex
|
|
||||||
AROPT= cq
|
AROPT= cq
|
||||||
|
|
||||||
LD_ADD+= -ltermcap
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# for postgres.user.mk
|
# for postgres.user.mk
|
||||||
#
|
#
|
||||||
SLSUFF= .o
|
SLSUFF= .o
|
||||||
|
|
||||||
#
|
|
||||||
# for postgres.mk
|
|
||||||
#
|
|
||||||
CFLAGS_OPT= -O2 -m486
|
|
||||||
CFLAGS_BE = -DUSE_POSIX_SIGNALS
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.11 1996/10/31 07:25:15 scrappy Exp $
|
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.12 1996/11/01 01:46:00 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -64,11 +64,11 @@ LDADD+= -lln
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PORTNAME), bsdi)
|
ifeq ($(PORTNAME), bsdi)
|
||||||
LDADD+= -ldld -lipc
|
ifeq ($(PRE_BSDI_2_1), N)
|
||||||
endif
|
LDADD+= -ldl -lipc
|
||||||
|
else
|
||||||
ifeq ($(PORTNAME), bsdi_2_1)
|
LDADD+= -ldld -lipc
|
||||||
LDADD+= -ldl -lipc
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PORTNAME), hpux)
|
ifeq ($(PORTNAME), hpux)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# Makefile for port/bsdi
|
# Makefile for port/bsdi
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/backend/port/bsdi/Attic/Makefile,v 1.1 1996/10/27 09:49:44 bryanh Exp $
|
# $Header: /cvsroot/pgsql/src/backend/port/bsdi/Attic/Makefile,v 1.2 1996/11/01 01:46:21 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -17,7 +17,7 @@ INCLUDE_OPT = -I../.. \
|
|||||||
|
|
||||||
CFLAGS+=$(INCLUDE_OPT)
|
CFLAGS+=$(INCLUDE_OPT)
|
||||||
|
|
||||||
OBJS = dynloader.o
|
OBJS = dynloader.o port.o
|
||||||
|
|
||||||
all: SUBSYS.o
|
all: SUBSYS.o
|
||||||
|
|
||||||
|
@ -18,14 +18,17 @@
|
|||||||
|
|
||||||
/* dynloader.c */
|
/* dynloader.c */
|
||||||
|
|
||||||
#ifndef LINUX_ELF
|
#include <sys/param.h>
|
||||||
#define pg_dlsym(handle, funcname) ((func_ptr) dld_get_func((funcname)))
|
|
||||||
#define pg_dlclose(handle) ({ dld_unlink_by_file(handle, 1); free(handle); })
|
#if _BSDI_VERSION >= 199510
|
||||||
|
# include <dlfcn.h>
|
||||||
|
# define pg_dlopen(f) dlopen(f, 1)
|
||||||
|
# define pg_dlsym dlsym
|
||||||
|
# define pg_dlclose dlclose
|
||||||
|
# define pg_dlerror dlerror
|
||||||
#else
|
#else
|
||||||
#define pg_dlopen(f) dlopen(f, 1)
|
# define pg_dlsym(handle, funcname) ((func_ptr) dld_get_func((funcname)))
|
||||||
#define pg_dlsym dlsym
|
# define pg_dlclose(handle) ({ dld_unlink_by_file(handle, 1); free(handle); })
|
||||||
#define pg_dlclose dlclose
|
|
||||||
#define pg_dlerror dlerror
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* port.c */
|
/* port.c */
|
||||||
|
@ -1,36 +0,0 @@
|
|||||||
#-------------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Makefile--
|
|
||||||
# Makefile for port/bsdi_2_1
|
|
||||||
#
|
|
||||||
# IDENTIFICATION
|
|
||||||
# $Header: /cvsroot/pgsql/src/backend/port/bsdi_2_1/Attic/Makefile,v 1.1 1996/10/27 09:49:50 bryanh Exp $
|
|
||||||
#
|
|
||||||
#-------------------------------------------------------------------------
|
|
||||||
|
|
||||||
SRCDIR = ../../..
|
|
||||||
include ../../../Makefile.global
|
|
||||||
|
|
||||||
INCLUDE_OPT = -I../.. \
|
|
||||||
-I../../include \
|
|
||||||
-I../../../include
|
|
||||||
|
|
||||||
CFLAGS+=$(INCLUDE_OPT)
|
|
||||||
|
|
||||||
OBJS = port.o
|
|
||||||
|
|
||||||
all: SUBSYS.o
|
|
||||||
|
|
||||||
SUBSYS.o: $(OBJS)
|
|
||||||
$(LD) -r -o SUBSYS.o $(OBJS)
|
|
||||||
|
|
||||||
depend dep:
|
|
||||||
$(CC) -MM $(INCLUDE_OPT) *.c >depend
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f SUBSYS.o $(OBJS)
|
|
||||||
|
|
||||||
ifeq (depend,$(wildcard depend))
|
|
||||||
include depend
|
|
||||||
endif
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
|||||||
/*-------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* machine.h--
|
|
||||||
*
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
|
||||||
*
|
|
||||||
* machine.h,v 1.1.1.1 1994/11/07 05:19:37 andrew Exp
|
|
||||||
*
|
|
||||||
*-------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
#ifndef MACHINE_H
|
|
||||||
#define MACHINE_H
|
|
||||||
|
|
||||||
#define BLCKSZ 8192
|
|
||||||
|
|
||||||
#endif
|
|
@ -1,29 +0,0 @@
|
|||||||
/*-------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* port-protos.h--
|
|
||||||
* port-specific prototypes for SunOS 4
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
|
||||||
*
|
|
||||||
* port-protos.h,v 1.2 1995/05/25 22:51:03 andrew Exp
|
|
||||||
*
|
|
||||||
*-------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
#ifndef PORT_PROTOS_H
|
|
||||||
#define PORT_PROTOS_H
|
|
||||||
|
|
||||||
#include <dlfcn.h>
|
|
||||||
#include "fmgr.h" /* for func_ptr */
|
|
||||||
#include "utils/dynamic_loader.h"
|
|
||||||
|
|
||||||
/* dynloader.c */
|
|
||||||
|
|
||||||
#define pg_dlopen(f) dlopen(f, 1)
|
|
||||||
#define pg_dlsym dlsym
|
|
||||||
#define pg_dlclose dlclose
|
|
||||||
#define pg_dlerror dlerror
|
|
||||||
|
|
||||||
/* port.c */
|
|
||||||
|
|
||||||
#endif /* PORT_PROTOS_H */
|
|
@ -1,13 +0,0 @@
|
|||||||
/*-------------------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* port.c--
|
|
||||||
* Linux-specific routines
|
|
||||||
*
|
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* IDENTIFICATION
|
|
||||||
* /usr/local/devel/pglite/cvs/src/backend/port/linux/port.c,v 1.1.1.1 1994/11/07 05:19:38 andrew Exp
|
|
||||||
*
|
|
||||||
*-------------------------------------------------------------------------
|
|
||||||
*/
|
|
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/bin/psql/Makefile,v 1.6 1996/08/21 04:06:01 scrappy Exp $
|
# $Header: /cvsroot/pgsql/src/bin/psql/Makefile,v 1.7 1996/11/01 01:46:55 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -47,9 +47,6 @@ ifeq ($(USE_READLINE), true)
|
|||||||
ifeq ($(PORTNAME), bsdi)
|
ifeq ($(PORTNAME), bsdi)
|
||||||
LD_ADD += -ltermcap
|
LD_ADD += -ltermcap
|
||||||
else
|
else
|
||||||
ifeq ($(PORTNAME), bsdi_2_1)
|
|
||||||
LD_ADD += -ltermcap
|
|
||||||
else
|
|
||||||
ifeq ($(PORTNAME), BSD44_derived)
|
ifeq ($(PORTNAME), BSD44_derived)
|
||||||
LD_ADD += -ltermcap
|
LD_ADD += -ltermcap
|
||||||
endif
|
endif
|
||||||
@ -58,7 +55,6 @@ ifeq ($(USE_READLINE), true)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
else
|
else
|
||||||
CFLAGS += -DNOREADLINE
|
CFLAGS += -DNOREADLINE
|
||||||
endif
|
endif
|
||||||
|
@ -102,17 +102,13 @@
|
|||||||
#endif /* WIN32 */
|
#endif /* WIN32 */
|
||||||
|
|
||||||
#if defined(BSD44_derived) || \
|
#if defined(BSD44_derived) || \
|
||||||
defined(bsdi_2_1)
|
defined(bsdi)
|
||||||
# define USE_LIMITS_H
|
|
||||||
# define USE_POSIX_TIME
|
|
||||||
# define NEED_CBRT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(bsdi)
|
|
||||||
# define NEED_UNION_SEMUN
|
|
||||||
# define USE_LIMITS_H
|
# define USE_LIMITS_H
|
||||||
# define USE_POSIX_TIME
|
# define USE_POSIX_TIME
|
||||||
# define NEED_CBRT
|
# define NEED_CBRT
|
||||||
|
# ifdef PRE_BSDI_2_1
|
||||||
|
# define NEED_UNION_SEMUN
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(aix)
|
#if defined(aix)
|
||||||
|
Reference in New Issue
Block a user