diff options
| author | Tom Lane | 2007-09-27 19:53:44 +0000 |
|---|---|---|
| committer | Tom Lane | 2007-09-27 19:53:44 +0000 |
| commit | 314ed5de6db214600595ddf46eacffb23d0a72e1 (patch) | |
| tree | e5e71a0556b44d0b60d72d4e85681c867edb3391 /src/interfaces | |
| parent | 77c166ba6cf6fe8f7e9737b7fe1793d886dd5cf8 (diff) | |
Define the FRONTEND symbol in postgres_fe.h, which allows us to eliminate
duplicative -DFRONTEND flags from many Makefiles. We still need Makefile
control of the symbol in a few places that compile frontend-or-backend
src/port/ files, but it's a lot cleaner than before.
Hiroshi Saito
Diffstat (limited to 'src/interfaces')
| -rw-r--r-- | src/interfaces/ecpg/ecpglib/Makefile | 5 | ||||
| -rw-r--r-- | src/interfaces/ecpg/include/Makefile | 3 | ||||
| -rw-r--r-- | src/interfaces/ecpg/pgtypeslib/Makefile | 5 |
3 files changed, 5 insertions, 8 deletions
diff --git a/src/interfaces/ecpg/ecpglib/Makefile b/src/interfaces/ecpg/ecpglib/Makefile index f60207e23c..d95054fb32 100644 --- a/src/interfaces/ecpg/ecpglib/Makefile +++ b/src/interfaces/ecpg/ecpglib/Makefile @@ -4,7 +4,7 @@ # # Copyright (c) 1994, Regents of the University of California # -# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.47 2007/08/14 10:01:52 meskes Exp $ +# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.48 2007/09/27 19:53:44 tgl Exp $ # #------------------------------------------------------------------------- @@ -17,8 +17,7 @@ SO_MAJOR_VERSION= 6 SO_MINOR_VERSION= 0 DLTYPE= library -override CPPFLAGS := -DFRONTEND \ - -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \ +override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \ -I$(libpq_srcdir) -I$(top_builddir)/src/port $(CPPFLAGS) override CFLAGS += $(PTHREAD_CFLAGS) diff --git a/src/interfaces/ecpg/include/Makefile b/src/interfaces/ecpg/include/Makefile index 2e587aac6b..a77c5c7e23 100644 --- a/src/interfaces/ecpg/include/Makefile +++ b/src/interfaces/ecpg/include/Makefile @@ -2,8 +2,7 @@ subdir = src/interfaces/ecpg/include top_builddir = ../../../.. include $(top_builddir)/src/Makefile.global -override CPPFLAGS := -DFRONTEND \ - -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \ +override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \ -I$(libpq_srcdir) -I$(top_builddir)/src/port $(CPPFLAGS) informix_esql_dir = $(pkgincludedir)/informix/esql diff --git a/src/interfaces/ecpg/pgtypeslib/Makefile b/src/interfaces/ecpg/pgtypeslib/Makefile index e136b91599..c02291d68a 100644 --- a/src/interfaces/ecpg/pgtypeslib/Makefile +++ b/src/interfaces/ecpg/pgtypeslib/Makefile @@ -4,7 +4,7 @@ # # Copyright (c) 1994, Regents of the University of California # -# $PostgreSQL: pgsql/src/interfaces/ecpg/pgtypeslib/Makefile,v 1.32 2007/01/20 17:16:17 petere Exp $ +# $PostgreSQL: pgsql/src/interfaces/ecpg/pgtypeslib/Makefile,v 1.33 2007/09/27 19:53:44 tgl Exp $ # #------------------------------------------------------------------------- @@ -17,8 +17,7 @@ SO_MAJOR_VERSION= 2 SO_MINOR_VERSION= 3 DLTYPE= library -override CPPFLAGS := -DFRONTEND \ - -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \ +override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \ -I$(top_srcdir)/src/include/utils -I$(libpq_srcdir) $(CPPFLAGS) override CFLAGS += $(PTHREAD_CFLAGS) |
