File tree 35 files changed +383
-322
lines changed
35 files changed +383
-322
lines changed Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.54 1997/12/17 04:44:50 scrappy Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.55 1997/12/19 02:05:33 scrappy Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
54
54
#include <sys/resource.h>
55
55
#endif
56
56
57
- /* #include <port-protos.h> */
57
+ /* #include <port-protos.h> */ /* Why? */
58
58
59
59
extern int BlowawayRelationBuffers (Relation rdesc , BlockNumber block );
60
60
Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.10 1997/12/17 04:59:10 scrappy Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.11 1997/12/19 02:05:42 scrappy Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
22
22
#include "miscadmin.h"
23
23
#include "bootstrap/bootstrap.h" /* for BootstrapMain() */
24
24
#include "tcop/tcopprot.h" /* for PostgresMain() */
25
- /* #include "port-protos.h" */ /* for init_address_fixup() */
25
+ #if defined(NOFIXADE ) || defined(NOPRINTADE )
26
+ # include "port-protos.h" /* for init_address_fixup() */
27
+ #endif
26
28
27
29
#define NOROOTEXEC "\
28
30
\n\"root\" execution of the PostgreSQL backend is not permitted\n\n\
Original file line number Diff line number Diff line change 5
5
#
6
6
# Copyright (c) 1994, Regents of the University of California
7
7
#
8
- # $Id: Makefile,v 1.7 1997/04/21 04:26:47 vadim Exp $
8
+ # $Id: Makefile,v 1.8 1997/12/19 02:05:51 scrappy Exp $
9
9
#
10
10
# -------------------------------------------------------------------------
11
11
12
12
SRCDIR = ../../..
13
13
include ../../../Makefile.global
14
14
15
- INCLUDE_OPT = -I../.. \
16
- -I../../port/$(PORTNAME ) \
17
- -I../../../include
15
+ INCLUDE_OPT = -I../..
16
+
17
+ ifdef PORTNAME
18
+ INCLUDE_OPT+ =-I../../port/$(PORTNAME )
19
+ endif
18
20
19
21
CFLAGS+ =$(INCLUDE_OPT )
20
22
Original file line number Diff line number Diff line change 4
4
# Makefile for optimizer/path
5
5
#
6
6
# IDENTIFICATION
7
- # $Header: /cvsroot/pgsql/src/backend/optimizer/path/Makefile,v 1.3 1996/11/09 06:18:10 momjian Exp $
7
+ # $Header: /cvsroot/pgsql/src/backend/optimizer/path/Makefile,v 1.4 1997/12/19 02:05:59 scrappy Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
11
11
SRCDIR = ../../..
12
12
include ../../../Makefile.global
13
13
14
- INCLUDE_OPT = -I../.. \
15
- -I../../port/$(PORTNAME ) \
16
- -I../../../include
14
+ INCLUDE_OPT = -I../..
15
+
16
+ ifdef PORTNAME
17
+ INCLUDE_OPT+ =-I../../port/$(PORTNAME )
18
+ endif
17
19
18
20
CFLAGS+ =$(INCLUDE_OPT )
19
21
Original file line number Diff line number Diff line change 4
4
# Makefile for optimizer/plan
5
5
#
6
6
# IDENTIFICATION
7
- # $Header: /cvsroot/pgsql/src/backend/optimizer/plan/Makefile,v 1.3 1996/11/09 06:18:17 momjian Exp $
7
+ # $Header: /cvsroot/pgsql/src/backend/optimizer/plan/Makefile,v 1.4 1997/12/19 02: 06:07 scrappy Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
11
11
SRCDIR = ../../..
12
12
include ../../../Makefile.global
13
13
14
- INCLUDE_OPT = -I../.. \
15
- -I../../port/$(PORTNAME ) \
16
- -I../../../include
14
+ INCLUDE_OPT = -I../..
15
+
16
+ ifdef PORTNAME
17
+ INCLUDE_OPT+ =-I../../port/$(PORTNAME )
18
+ endif
17
19
18
20
CFLAGS+ =$(INCLUDE_OPT )
19
21
Original file line number Diff line number Diff line change 4
4
# Makefile for optimizer/prep
5
5
#
6
6
# IDENTIFICATION
7
- # $Header: /cvsroot/pgsql/src/backend/optimizer/prep/Makefile,v 1.4 1997/11/21 18:10:39 momjian Exp $
7
+ # $Header: /cvsroot/pgsql/src/backend/optimizer/prep/Makefile,v 1.5 1997/12/19 02:06:10 scrappy Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
11
11
SRCDIR = ../../..
12
12
include ../../../Makefile.global
13
13
14
- INCLUDE_OPT = -I../.. \
15
- -I../../port/$(PORTNAME ) \
16
- -I../../../include
14
+ INCLUDE_OPT = -I../..
15
+
16
+ ifdef PORTNAME
17
+ INCLUDE_OPT+ =-I../../port/$(PORTNAME )
18
+ endif
17
19
18
20
CFLAGS+ =$(INCLUDE_OPT )
19
21
Original file line number Diff line number Diff line change 4
4
# Makefile for optimizer/util
5
5
#
6
6
# IDENTIFICATION
7
- # $Header: /cvsroot/pgsql/src/backend/optimizer/util/Makefile,v 1.3 1996/11/06 09:29:18 scrappy Exp $
7
+ # $Header: /cvsroot/pgsql/src/backend/optimizer/util/Makefile,v 1.4 1997/12/19 02:06:17 scrappy Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
11
11
SRCDIR = ../../..
12
12
include ../../../Makefile.global
13
13
14
- INCLUDE_OPT = -I../.. \
15
- -I../../port/$(PORTNAME ) \
16
- -I../../../include
14
+ INCLUDE_OPT = -I../..
15
+
16
+ ifdef PORTNAME
17
+ INCLUDE_OPT+ =-I../../port/$(PORTNAME )
18
+ endif
17
19
18
20
CFLAGS+ =$(INCLUDE_OPT )
19
21
Original file line number Diff line number Diff line change 19
19
# be converted to Method 2.
20
20
#
21
21
# IDENTIFICATION
22
- # $Header: /cvsroot/pgsql/src/backend/port/Attic/Makefile.in,v 1.4 1997/04/15 17:39:23 scrappy Exp $
22
+ # $Header: /cvsroot/pgsql/src/backend/port/Attic/Makefile.in,v 1.5 1997/12/19 02:06:24 scrappy Exp $
23
23
#
24
24
# -------------------------------------------------------------------------
25
25
26
26
SRCDIR =../..
27
27
include ../../Makefile.global
28
28
29
- ifndef PORTNAME
30
- .DEFAULT all :
31
- @echo " Error: Must invoke make with PORTNAME= argument."
32
- @false
33
- else
34
-
35
- OBJS = $(PORTNAME ) /SUBSYS.o @INET_ATON@ @STRERROR@
29
+ OBJS = @PORTNAME@/SUBSYS.o @INET_ATON@ @STRERROR@
36
30
37
31
all : submake SUBSYS.o
38
32
@@ -42,19 +36,16 @@ SUBSYS.o: $(OBJS)
42
36
.PHONY : submake clean dep
43
37
44
38
submake :
45
- $(MAKE ) -C $( PORTNAME ) SUBSYS.o
39
+ $(MAKE ) -C @ PORTNAME@ SUBSYS.o
46
40
47
41
clean :
48
42
rm -f SUBSYS.o $(OBJS )
49
- $(MAKE ) -C $( PORTNAME ) clean
43
+ $(MAKE ) -C @ PORTNAME@ clean
50
44
51
45
depend dep :
52
46
$(CC ) -MM $(INCLUDE_OPT ) * .c > depend
53
- $(MAKE ) -C $( PORTNAME ) $@
47
+ $(MAKE ) -C @ PORTNAME@ $@
54
48
55
49
ifeq (depend,$(wildcard depend) )
56
50
include depend
57
51
endif
58
-
59
- endif
60
-
Original file line number Diff line number Diff line change 4
4
# Makefile for postmaster
5
5
#
6
6
# IDENTIFICATION
7
- # $Header: /cvsroot/pgsql/src/backend/postmaster/Makefile,v 1.5 1997/04/02 18:12:39 scrappy Exp $
7
+ # $Header: /cvsroot/pgsql/src/backend/postmaster/Makefile,v 1.6 1997/12/19 02:06:34 scrappy Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
11
11
SRCDIR = ../..
12
12
include ../../Makefile.global
13
13
14
- INCLUDE_OPT = -I.. \
15
- -I../port/$(PORTNAME ) \
16
- -I../../include
14
+ INCLUDE_OPT = -I..
15
+
16
+ ifdef PORTNAME
17
+ INCLUDE_OPT+ =-I../port/$(PORTNAME )
18
+ endif
17
19
18
20
CFLAGS+ =$(INCLUDE_OPT )
19
21
Original file line number Diff line number Diff line change 10
10
*
11
11
*
12
12
* IDENTIFICATION
13
- * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.67 1997/12/15 22:03:59 momjian Exp $
13
+ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.68 1997/12/19 02:06:37 scrappy Exp $
14
14
*
15
15
* NOTES
16
16
*
87
87
#include "utils/mcxt.h"
88
88
#include "storage/proc.h"
89
89
#include "utils/elog.h"
90
- #include "port-protos.h" /* For gethostname() */
90
+ #ifndef HAVE_GETHOSTNAME
91
+ # include "port-protos.h" /* For gethostname() */
92
+ #endif
91
93
#include "storage/fd.h"
92
94
93
95
#if defined(DBX_VERSION )
Original file line number Diff line number Diff line change 4
4
# Makefile for regex
5
5
#
6
6
# IDENTIFICATION
7
- # $Header: /cvsroot/pgsql/src/backend/regex/Makefile,v 1.2 1996/11/09 06:20:58 momjian Exp $
7
+ # $Header: /cvsroot/pgsql/src/backend/regex/Makefile,v 1.3 1997/12/19 02: 06:41 scrappy Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
11
11
SRCDIR = ../..
12
12
include ../../Makefile.global
13
13
14
- INCLUDE_OPT = -I.. \
15
- -I../port/$(PORTNAME ) \
16
- -I../../include
14
+ INCLUDE_OPT = -I..
15
+
16
+ ifdef PORTNAME
17
+ INCLUDE_OPT+ =-I../port/$(PORTNAME )
18
+ endif
17
19
18
20
CFLAGS+ =$(INCLUDE_OPT )
19
21
CFLAGS+ =-DPOSIX_MISTAKE
20
22
21
-
22
23
OBJS = regcomp.o regerror.o regexec.o regfree.o
23
24
24
25
all : SUBSYS.o
Original file line number Diff line number Diff line change 4
4
# Makefile for rewrite
5
5
#
6
6
# IDENTIFICATION
7
- # $Header: /cvsroot/pgsql/src/backend/rewrite/Makefile,v 1.3 1996/11/09 06:21:12 momjian Exp $
7
+ # $Header: /cvsroot/pgsql/src/backend/rewrite/Makefile,v 1.4 1997/12/19 02: 06:48 scrappy Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
11
11
SRCDIR = ../..
12
12
include ../../Makefile.global
13
13
14
- INCLUDE_OPT = -I.. \
15
- -I../port/$(PORTNAME ) \
16
- -I../../include
14
+ INCLUDE_OPT = -I..
15
+
16
+ ifdef PORTNAME
17
+ INCLUDE_OPT+ =-I../port/$(PORTNAME )
18
+ endif
17
19
18
20
CFLAGS+ =$(INCLUDE_OPT )
19
21
Original file line number Diff line number Diff line change 4
4
# Makefile for storage/buffer
5
5
#
6
6
# IDENTIFICATION
7
- # $Header: /cvsroot/pgsql/src/backend/storage/buffer/Makefile,v 1.3 1996/11/09 06:21:30 momjian Exp $
7
+ # $Header: /cvsroot/pgsql/src/backend/storage/buffer/Makefile,v 1.4 1997/12/19 02: 06:56 scrappy Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
11
11
SRCDIR = ../../..
12
12
include ../../../Makefile.global
13
13
14
- INCLUDE_OPT = -I../.. \
15
- -I../../port/$(PORTNAME ) \
16
- -I../../../include
14
+ INCLUDE_OPT = -I../..
15
+
16
+ ifdef PORTNAME
17
+ INCLUDE+ =-I../../port/$(PORTNAME )
18
+ endif
17
19
18
20
CFLAGS+ =$(INCLUDE_OPT )
19
21
Original file line number Diff line number Diff line change 4
4
# Makefile for storage/file
5
5
#
6
6
# IDENTIFICATION
7
- # $Header: /cvsroot/pgsql/src/backend/storage/file/Makefile,v 1.2 1996/11/09 06:21:38 momjian Exp $
7
+ # $Header: /cvsroot/pgsql/src/backend/storage/file/Makefile,v 1.3 1997/12/19 02:07:04 scrappy Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
11
11
SRCDIR = ../../..
12
12
include ../../../Makefile.global
13
13
14
- INCLUDE_OPT = -I../.. \
15
- -I../../port/$(PORTNAME ) \
16
- -I../../../include
14
+ INCLUDE_OPT = -I../..
15
+
16
+ ifdef PORTNAME
17
+ INCLUDE+ =-I../../port/$(PORTNAME )
18
+ endif
17
19
18
20
CFLAGS+ =$(INCLUDE_OPT )
19
21
Original file line number Diff line number Diff line change 4
4
# Makefile for storage/ipc
5
5
#
6
6
# IDENTIFICATION
7
- # $Header: /cvsroot/pgsql/src/backend/storage/ipc/Makefile,v 1.4 1997/09/18 14:20:08 momjian Exp $
7
+ # $Header: /cvsroot/pgsql/src/backend/storage/ipc/Makefile,v 1.5 1997/12/19 02:07:13 scrappy Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
11
11
SRCDIR = ../../..
12
12
include ../../../Makefile.global
13
13
14
- INCLUDE_OPT = -I../.. \
15
- -I../../port/$(PORTNAME ) \
16
- -I../../../include
14
+ INCLUDE_OPT = -I../..
15
+
16
+ ifdef PORTNAME
17
+ INCLUDE+ =-I../../port/$(PORTNAME )
18
+ endif
17
19
18
20
CFLAGS+ =$(INCLUDE_OPT )
19
21
Original file line number Diff line number Diff line change 4
4
# Makefile for storage/large_object
5
5
#
6
6
# IDENTIFICATION
7
- # $Header: /cvsroot/pgsql/src/backend/storage/large_object/Makefile,v 1.3 1996/11/09 06:21:59 momjian Exp $
7
+ # $Header: /cvsroot/pgsql/src/backend/storage/large_object/Makefile,v 1.4 1997/12/19 02:07:20 scrappy Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
11
11
SRCDIR = ../../..
12
12
include ../../../Makefile.global
13
13
14
- INCLUDE_OPT = -I../.. \
15
- -I../../port/$(PORTNAME ) \
16
- -I../../../include
14
+ INCLUDE_OPT = -I../..
15
+
16
+ ifdef PORTNAME
17
+ INCLUDE+ =-I../../port/$(PORTNAME )
18
+ endif
17
19
18
20
CFLAGS+ =$(INCLUDE_OPT )
19
21
You can’t perform that action at this time.
0 commit comments