File tree Expand file tree Collapse file tree 4 files changed +90
-0
lines changed
src/backend/port/linuxalpha Expand file tree Collapse file tree 4 files changed +90
-0
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 */
Original file line number Diff line number Diff line change
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
+ */
You can’t perform that action at this time.
0 commit comments