Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 533d516

Browse files
committed
Removed MBFLAGS from makefiles since it's now done in include/config.h.
1 parent d4aab2c commit 533d516

File tree

28 files changed

+81
-83
lines changed

28 files changed

+81
-83
lines changed

src/backend/access/common/Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for access/common
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/access/common/Makefile,v 1.15 1999/12/13 22:32:20 momjian Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/access/common/Makefile,v 1.16 2000/01/19 02:58:50 petere Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -13,10 +13,6 @@ include ../../../Makefile.global
1313

1414
CFLAGS+=-I../..
1515

16-
ifdef MULTIBYTE
17-
CFLAGS+= $(MBFLAGS)
18-
endif
19-
2016
OBJS = heaptuple.o indextuple.o indexvalid.o printtup.o \
2117
scankey.o tupdesc.o
2218

src/backend/bootstrap/Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for the bootstrap module
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.20 2000/01/16 20:04:53 petere Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.21 2000/01/19 02:58:51 petere Exp $
88
#
99
#
1010
# We must build bootparse.c and bootscanner.c with yacc and lex and sed,
@@ -22,9 +22,6 @@ SRCDIR= ../..
2222
include ../../Makefile.global
2323

2424
CFLAGS += -I..
25-
ifdef MULTIBYTE
26-
CFLAGS+= $(MBFLAGS)
27-
endif
2825

2926
ifeq ($(CC), gcc)
3027
CFLAGS+= -Wno-error

src/backend/commands/Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for commands
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/commands/Makefile,v 1.22 1999/12/13 22:32:38 momjian Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/commands/Makefile,v 1.23 2000/01/19 02:58:51 petere Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -13,10 +13,6 @@ include ../../Makefile.global
1313

1414
CFLAGS += -I..
1515

16-
ifdef MULTIBYTE
17-
CFLAGS+= $(MBFLAGS)
18-
endif
19-
2016
OBJS = async.o creatinh.o command.o comment.o copy.o indexcmds.o define.o \
2117
remove.o rename.o vacuum.o view.o cluster.o \
2218
explain.o sequence.o trigger.o user.o proclang.o \

src/backend/libpq/Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for libpq subsystem (backend half of libpq interface)
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/libpq/Makefile,v 1.16 1999/12/13 22:32:43 momjian Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/libpq/Makefile,v 1.17 2000/01/19 02:58:52 petere Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -19,10 +19,6 @@ CFLAGS+= $(KRBFLAGS)
1919
LDFLAGS+= $(KRBLIBS)
2020
endif
2121

22-
ifdef MULTIBYTE
23-
CFLAGS+= $(MBFLAGS)
24-
endif
25-
2622
OBJS = be-dumpdata.o be-fsstubs.o be-pqexec.o portal.o portalbuf.o \
2723
auth.o hba.o crypt.o password.o \
2824
pqcomm.o pqformat.o pqpacket.o pqsignal.o util.o

src/backend/parser/Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for parser
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/parser/Makefile,v 1.23 1999/12/13 22:33:03 momjian Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/parser/Makefile,v 1.24 2000/01/19 02:58:53 petere Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -17,10 +17,6 @@ ifeq ($(CC), gcc)
1717
CFLAGS+= -Wno-error
1818
endif
1919

20-
ifdef MULTIBYTE
21-
CFLAGS+= $(MBFLAGS)
22-
endif
23-
2420
OBJS= analyze.o gram.o keywords.o parser.o parse_agg.o parse_clause.o \
2521
parse_expr.o parse_func.o parse_node.o parse_oper.o parse_relation.o \
2622
parse_type.o parse_coerce.o parse_target.o scan.o scansup.o

src/backend/regex/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for regex
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/regex/Makefile,v 1.11 1999/12/13 22:33:23 momjian Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/regex/Makefile,v 1.12 2000/01/19 02:58:53 petere Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -19,7 +19,6 @@ DEBUGOBJ =
1919
OBJS = regcomp.o regerror.o regexec.o regfree.o
2020

2121
ifdef MULTIBYTE
22-
CFLAGS+= $(MBFLAGS)
2322
DEBUGOBJ += ../utils/mb/SUBSYS.o
2423
endif
2524

src/backend/regex/engine.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
* @(#)engine.c 8.5 (Berkeley) 3/20/94
3838
*/
3939

40+
#include "postgres.h"
41+
4042
/*
4143
* The matching engine and friends. This file is #included by regexec.c
4244
* after suitable #defines of a variety of macros used herein, so that

src/backend/regex/regcomp.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ static char sccsid[] = "@(#)regcomp.c 8.5 (Berkeley) 3/20/94";
4242

4343
#endif /* LIBC_SCCS and not lint */
4444

45+
#include "postgres.h"
46+
4547
#include <sys/types.h>
4648
#include <stdio.h>
4749
#include <string.h>

src/backend/regex/regerror.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ static char sccsid[] = "@(#)regerror.c 8.4 (Berkeley) 3/20/94";
4242

4343
#endif /* LIBC_SCCS and not lint */
4444

45+
#include "postgres.h"
46+
4547
#include <sys/types.h>
4648
#include <stdio.h>
4749
#include <string.h>

src/backend/regex/regexec.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ static char sccsid[] = "@(#)regexec.c 8.3 (Berkeley) 3/20/94";
4242

4343
#endif /* LIBC_SCCS and not lint */
4444

45+
#include "postgres.h"
46+
4547
/*
4648
* the outer shell of regexec()
4749
*

0 commit comments

Comments
 (0)