File tree Expand file tree Collapse file tree 15 files changed +28
-34
lines changed Expand file tree Collapse file tree 15 files changed +28
-34
lines changed Original file line number Diff line number Diff line change 5
5
# Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
6
6
# Portions Copyright (c) 1994, Regents of the University of California
7
7
#
8
- # $PostgreSQL: pgsql/src/bin/initdb/Makefile,v 1.52 2007/01/05 22: 19:47 momjian Exp $
8
+ # $PostgreSQL: pgsql/src/bin/initdb/Makefile,v 1.53 2007/09/27 19:53:43 tgl Exp $
9
9
#
10
10
# -------------------------------------------------------------------------
11
11
@@ -14,7 +14,7 @@ subdir = src/bin/initdb
14
14
top_builddir = ../../..
15
15
include $(top_builddir ) /src/Makefile.global
16
16
17
- override CPPFLAGS := -DFRONTEND - I$(libpq_srcdir ) $(CPPFLAGS )
17
+ override CPPFLAGS := -I$(libpq_srcdir ) $(CPPFLAGS )
18
18
19
19
OBJS = initdb.o $(WIN32RES )
20
20
Original file line number Diff line number Diff line change 4
4
#
5
5
# Copyright (c) 1998-2007, PostgreSQL Global Development Group
6
6
#
7
- # $PostgreSQL: pgsql/src/bin/pg_config/Makefile,v 1.18 2007/01/05 22: 19:48 momjian Exp $
7
+ # $PostgreSQL: pgsql/src/bin/pg_config/Makefile,v 1.19 2007/09/27 19:53:43 tgl Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
@@ -19,7 +19,6 @@ OBJS= pg_config.o $(WIN32RES)
19
19
STD_CPPFLAGS := $(filter-out -I$(top_srcdir ) /src/include -I$(top_builddir ) /src/include,$(CPPFLAGS ) )
20
20
STD_LDFLAGS := $(filter-out -L$(top_builddir ) /src/port,$(LDFLAGS ) )
21
21
22
- override CPPFLAGS += -DFRONTEND
23
22
override CPPFLAGS += -DVAL_CONFIGURE="\"$(configure_args ) \""
24
23
override CPPFLAGS += -DVAL_CC="\"$(CC ) \""
25
24
override CPPFLAGS += -DVAL_CPPFLAGS="\"$(STD_CPPFLAGS ) \""
Original file line number Diff line number Diff line change 4
4
#
5
5
# Copyright (c) 1998-2007, PostgreSQL Global Development Group
6
6
#
7
- # $PostgreSQL: pgsql/src/bin/pg_controldata/Makefile,v 1.15 2007/01/05 22: 19:48 momjian Exp $
7
+ # $PostgreSQL: pgsql/src/bin/pg_controldata/Makefile,v 1.16 2007/09/27 19:53:43 tgl Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
@@ -13,8 +13,6 @@ subdir = src/bin/pg_controldata
13
13
top_builddir = ../../..
14
14
include $(top_builddir ) /src/Makefile.global
15
15
16
- override CPPFLAGS += -DFRONTEND
17
-
18
16
OBJS = pg_controldata.o pg_crc.o $(WIN32RES )
19
17
20
18
all : submake-libpgport pg_controldata
Original file line number Diff line number Diff line change 5
5
# Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
6
6
# Portions Copyright (c) 1994, Regents of the University of California
7
7
#
8
- # $PostgreSQL: pgsql/src/bin/pg_ctl/Makefile,v 1.23 2007/01/05 22: 19:48 momjian Exp $
8
+ # $PostgreSQL: pgsql/src/bin/pg_ctl/Makefile,v 1.24 2007/09/27 19:53:43 tgl Exp $
9
9
#
10
10
# -------------------------------------------------------------------------
11
11
@@ -14,7 +14,7 @@ subdir = src/bin/pg_ctl
14
14
top_builddir = ../../..
15
15
include $(top_builddir ) /src/Makefile.global
16
16
17
- override CPPFLAGS := -DFRONTEND - DDEF_PGPORT=$(DEF_PGPORT ) -I$(libpq_srcdir ) $(CPPFLAGS )
17
+ override CPPFLAGS := -DDEF_PGPORT=$(DEF_PGPORT ) -I$(libpq_srcdir ) $(CPPFLAGS )
18
18
19
19
OBJS = pg_ctl.o $(WIN32RES )
20
20
Original file line number Diff line number Diff line change 5
5
# Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
6
6
# Portions Copyright (c) 1994, Regents of the University of California
7
7
#
8
- # $PostgreSQL: pgsql/src/bin/pg_dump/Makefile,v 1.63 2007/01/05 22: 19:48 momjian Exp $
8
+ # $PostgreSQL: pgsql/src/bin/pg_dump/Makefile,v 1.64 2007/09/27 19:53:43 tgl Exp $
9
9
#
10
10
# -------------------------------------------------------------------------
11
11
@@ -14,7 +14,7 @@ subdir = src/bin/pg_dump
14
14
top_builddir = ../../..
15
15
include $(top_builddir ) /src/Makefile.global
16
16
17
- override CPPFLAGS := -DFRONTEND - I$(libpq_srcdir ) $(CPPFLAGS )
17
+ override CPPFLAGS := -I$(libpq_srcdir ) $(CPPFLAGS )
18
18
19
19
OBJS = pg_backup_archiver.o pg_backup_db.o pg_backup_custom.o \
20
20
pg_backup_files.o pg_backup_null.o pg_backup_tar.o \
Original file line number Diff line number Diff line change 4
4
#
5
5
# Copyright (c) 1998-2007, PostgreSQL Global Development Group
6
6
#
7
- # $PostgreSQL: pgsql/src/bin/pg_resetxlog/Makefile,v 1.17 2007/01/05 22: 19:48 momjian Exp $
7
+ # $PostgreSQL: pgsql/src/bin/pg_resetxlog/Makefile,v 1.18 2007/09/27 19:53:43 tgl Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
@@ -13,8 +13,6 @@ subdir = src/bin/pg_resetxlog
13
13
top_builddir = ../../..
14
14
include $(top_builddir ) /src/Makefile.global
15
15
16
- override CPPFLAGS += -DFRONTEND
17
-
18
16
OBJS = pg_resetxlog.o pg_crc.o $(WIN32RES )
19
17
20
18
all : submake-libpgport pg_resetxlog
Original file line number Diff line number Diff line change 5
5
# Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
6
6
# Portions Copyright (c) 1994, Regents of the University of California
7
7
#
8
- # $PostgreSQL: pgsql/src/bin/psql/Makefile,v 1.58 2007/01/05 22: 19:48 momjian Exp $
8
+ # $PostgreSQL: pgsql/src/bin/psql/Makefile,v 1.59 2007/09/27 19:53:43 tgl Exp $
9
9
#
10
10
# -------------------------------------------------------------------------
11
11
@@ -17,7 +17,7 @@ include $(top_builddir)/src/Makefile.global
17
17
18
18
REFDOCDIR = $(top_srcdir ) /doc/src/sgml/ref
19
19
20
- override CPPFLAGS := -DFRONTEND - I$(srcdir ) -I$(libpq_srcdir ) -I$(top_srcdir ) /src/bin/pg_dump $(CPPFLAGS )
20
+ override CPPFLAGS := -I$(srcdir ) -I$(libpq_srcdir ) -I$(top_srcdir ) /src/bin/pg_dump $(CPPFLAGS )
21
21
22
22
OBJS = command.o common.o help.o input.o stringutils.o mainloop.o copy.o \
23
23
startup.o prompt.o variables.o large_obj.o print.o describe.o \
Original file line number Diff line number Diff line change 5
5
# Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
6
6
# Portions Copyright (c) 1994, Regents of the University of California
7
7
#
8
- # $PostgreSQL: pgsql/src/bin/scripts/Makefile,v 1.37 2007/01/05 22: 19:50 momjian Exp $
8
+ # $PostgreSQL: pgsql/src/bin/scripts/Makefile,v 1.38 2007/09/27 19:53:44 tgl Exp $
9
9
#
10
10
# -------------------------------------------------------------------------
11
11
@@ -16,7 +16,7 @@ include $(top_builddir)/src/Makefile.global
16
16
17
17
PROGRAMS = createdb createlang createuser dropdb droplang dropuser clusterdb vacuumdb reindexdb
18
18
19
- override CPPFLAGS := -DFRONTEND - I$(top_srcdir ) /src/bin/pg_dump -I$(top_srcdir ) /src/bin/psql -I$(libpq_srcdir ) $(CPPFLAGS )
19
+ override CPPFLAGS := -I$(top_srcdir ) /src/bin/pg_dump -I$(top_srcdir ) /src/bin/psql -I$(libpq_srcdir ) $(CPPFLAGS )
20
20
21
21
all : submake-libpq submake-backend $(PROGRAMS )
22
22
Original file line number Diff line number Diff line change 11
11
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
12
12
* Portions Copyright (c) 1995, Regents of the University of California
13
13
*
14
- * $PostgreSQL: pgsql/src/include/postgres_fe.h,v 1.12 2007/01/05 22: 19:50 momjian Exp $
14
+ * $PostgreSQL: pgsql/src/include/postgres_fe.h,v 1.13 2007/09/27 19:53:44 tgl Exp $
15
15
*
16
16
*-------------------------------------------------------------------------
17
17
*/
18
18
#ifndef POSTGRES_FE_H
19
19
#define POSTGRES_FE_H
20
20
21
+ #ifndef FRONTEND
22
+ #define FRONTEND 1
23
+ #endif
24
+
21
25
#include "c.h"
22
26
23
27
#endif /* POSTGRES_FE_H */
Original file line number Diff line number Diff line change 4
4
#
5
5
# Copyright (c) 1994, Regents of the University of California
6
6
#
7
- # $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.47 2007/08/14 10:01:52 meskes Exp $
7
+ # $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.48 2007/09/27 19:53:44 tgl Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
@@ -17,8 +17,7 @@ SO_MAJOR_VERSION= 6
17
17
SO_MINOR_VERSION = 0
18
18
DLTYPE = library
19
19
20
- override CPPFLAGS := -DFRONTEND \
21
- -I../include -I$(top_srcdir ) /src/interfaces/ecpg/include \
20
+ override CPPFLAGS := -I../include -I$(top_srcdir ) /src/interfaces/ecpg/include \
22
21
-I$(libpq_srcdir ) -I$(top_builddir ) /src/port $(CPPFLAGS )
23
22
override CFLAGS += $(PTHREAD_CFLAGS )
24
23
You can’t perform that action at this time.
0 commit comments