diff options
author | Marc G. Fournier <scrappy@hub.org> | 1997-03-14 06:01:40 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1997-03-14 06:01:40 +0000 |
commit | f749fe49346578793625f1324e90798656b3acfd (patch) | |
tree | 3c2bb0a374eea2a28813b2450cd7500a939b366a /src | |
parent | 94094c05697c47f17135f987e4a6a38452c1ef95 (diff) | |
download | postgresql-f749fe49346578793625f1324e90798656b3acfd.tar.gz postgresql-f749fe49346578793625f1324e90798656b3acfd.zip |
Last of Dan's hidden tar balls :)
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/port/linuxalpha/Makefile | 34 | ||||
-rw-r--r-- | src/backend/port/linuxalpha/machine.h | 18 | ||||
-rw-r--r-- | src/backend/port/linuxalpha/port-protos.h | 25 | ||||
-rw-r--r-- | src/backend/port/linuxalpha/port.c | 13 |
4 files changed, 90 insertions, 0 deletions
diff --git a/src/backend/port/linuxalpha/Makefile b/src/backend/port/linuxalpha/Makefile new file mode 100644 index 00000000000..c3853ef7bd2 --- /dev/null +++ b/src/backend/port/linuxalpha/Makefile @@ -0,0 +1,34 @@ +#------------------------------------------------------------------------- +# +# Makefile-- +# Makefile for port/linux +# +# IDENTIFICATION +# $Header: /cvsroot/pgsql/src/backend/port/linuxalpha/Attic/Makefile,v 1.1 1997/03/14 06:01:11 scrappy Exp $ +# +#------------------------------------------------------------------------- + +SRCDIR = ../../.. +include ../../../Makefile.global + +INCLUDE_OPT = -I../.. \ + -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 diff --git a/src/backend/port/linuxalpha/machine.h b/src/backend/port/linuxalpha/machine.h new file mode 100644 index 00000000000..78d45d41ba9 --- /dev/null +++ b/src/backend/port/linuxalpha/machine.h @@ -0,0 +1,18 @@ +/*------------------------------------------------------------------------- + * + * machine.h-- + * + * + * + * Copyright (c) 1994, Regents of the University of California + * + * $Id: machine.h,v 1.1 1997/03/14 06:01:21 scrappy Exp $ + * + *------------------------------------------------------------------------- + */ +#ifndef MACHINE_H +#define MACHINE_H + +#define BLCKSZ 8192 + +#endif diff --git a/src/backend/port/linuxalpha/port-protos.h b/src/backend/port/linuxalpha/port-protos.h new file mode 100644 index 00000000000..7bcbaf020d1 --- /dev/null +++ b/src/backend/port/linuxalpha/port-protos.h @@ -0,0 +1,25 @@ +/*------------------------------------------------------------------------- + * + * port-protos.h-- + * port-specific prototypes for SunOS 4 + * + * + * Copyright (c) 1994, Regents of the University of California + * + * $Id: port-protos.h,v 1.1 1997/03/14 06:01:33 scrappy Exp $ + * + *------------------------------------------------------------------------- + */ +#ifndef PORT_PROTOS_H +#define PORT_PROTOS_H + +#include "fmgr.h" /* for func_ptr */ +#include "utils/dynamic_loader.h" +#include "dlfcn.h" + +#define pg_dlopen(f) dlopen(f, 2) +#define pg_dlsym dlsym +#define pg_dlclose dlclose +#define pg_dlerror dlerror + +#endif /* PORT_PROTOS_H */ diff --git a/src/backend/port/linuxalpha/port.c b/src/backend/port/linuxalpha/port.c new file mode 100644 index 00000000000..a9886814449 --- /dev/null +++ b/src/backend/port/linuxalpha/port.c @@ -0,0 +1,13 @@ +/*------------------------------------------------------------------------- + * + * port.c-- + * Linux-specific routines + * + * Copyright (c) 1994, Regents of the University of California + * + * + * IDENTIFICATION + * $Header: /cvsroot/pgsql/src/backend/port/linuxalpha/Attic/port.c,v 1.1 1997/03/14 06:01:40 scrappy Exp $ + * + *------------------------------------------------------------------------- + */ |