Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f749fe4

Browse files
committed
Last of Dan's hidden tar balls :)
1 parent 94094c0 commit f749fe4

File tree

4 files changed

+90
-0
lines changed

4 files changed

+90
-0
lines changed

src/backend/port/linuxalpha/Makefile

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#-------------------------------------------------------------------------
2+
#
3+
# Makefile--
4+
# Makefile for port/linux
5+
#
6+
# IDENTIFICATION
7+
# $Header: /cvsroot/pgsql/src/backend/port/linuxalpha/Attic/Makefile,v 1.1 1997/03/14 06:01:11 scrappy Exp $
8+
#
9+
#-------------------------------------------------------------------------
10+
11+
SRCDIR = ../../..
12+
include ../../../Makefile.global
13+
14+
INCLUDE_OPT = -I../.. \
15+
-I../../../include
16+
17+
CFLAGS+=$(INCLUDE_OPT)
18+
19+
OBJS = port.o
20+
21+
all: SUBSYS.o
22+
23+
SUBSYS.o: $(OBJS)
24+
$(LD) -r -o SUBSYS.o $(OBJS)
25+
26+
depend dep:
27+
$(CC) -MM $(INCLUDE_OPT) *.c >depend
28+
29+
clean:
30+
rm -f SUBSYS.o $(OBJS)
31+
32+
ifeq (depend,$(wildcard depend))
33+
include depend
34+
endif

src/backend/port/linuxalpha/machine.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*-------------------------------------------------------------------------
2+
*
3+
* machine.h--
4+
*
5+
*
6+
*
7+
* Copyright (c) 1994, Regents of the University of California
8+
*
9+
* $Id: machine.h,v 1.1 1997/03/14 06:01:21 scrappy Exp $
10+
*
11+
*-------------------------------------------------------------------------
12+
*/
13+
#ifndef MACHINE_H
14+
#define MACHINE_H
15+
16+
#define BLCKSZ 8192
17+
18+
#endif
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/*-------------------------------------------------------------------------
2+
*
3+
* port-protos.h--
4+
* port-specific prototypes for SunOS 4
5+
*
6+
*
7+
* Copyright (c) 1994, Regents of the University of California
8+
*
9+
* $Id: port-protos.h,v 1.1 1997/03/14 06:01:33 scrappy Exp $
10+
*
11+
*-------------------------------------------------------------------------
12+
*/
13+
#ifndef PORT_PROTOS_H
14+
#define PORT_PROTOS_H
15+
16+
#include "fmgr.h" /* for func_ptr */
17+
#include "utils/dynamic_loader.h"
18+
#include "dlfcn.h"
19+
20+
#define pg_dlopen(f) dlopen(f, 2)
21+
#define pg_dlsym dlsym
22+
#define pg_dlclose dlclose
23+
#define pg_dlerror dlerror
24+
25+
#endif /* PORT_PROTOS_H */

src/backend/port/linuxalpha/port.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*-------------------------------------------------------------------------
2+
*
3+
* port.c--
4+
* Linux-specific routines
5+
*
6+
* Copyright (c) 1994, Regents of the University of California
7+
*
8+
*
9+
* IDENTIFICATION
10+
* $Header: /cvsroot/pgsql/src/backend/port/linuxalpha/Attic/port.c,v 1.1 1997/03/14 06:01:40 scrappy Exp $
11+
*
12+
*-------------------------------------------------------------------------
13+
*/

0 commit comments

Comments
 (0)