mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08:00
Last of Dan's hidden tar balls :)
This commit is contained in:
parent
94094c0569
commit
f749fe4934
34
src/backend/port/linuxalpha/Makefile
Normal file
34
src/backend/port/linuxalpha/Makefile
Normal file
@ -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
|
18
src/backend/port/linuxalpha/machine.h
Normal file
18
src/backend/port/linuxalpha/machine.h
Normal file
@ -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
|
25
src/backend/port/linuxalpha/port-protos.h
Normal file
25
src/backend/port/linuxalpha/port-protos.h
Normal file
@ -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 */
|
13
src/backend/port/linuxalpha/port.c
Normal file
13
src/backend/port/linuxalpha/port.c
Normal file
@ -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 $
|
||||||
|
*
|
||||||
|
*-------------------------------------------------------------------------
|
||||||
|
*/
|
Loading…
Reference in New Issue
Block a user