From c62b29a6034b1cb16abef7012f475fbe6fedc3d5 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 18 Oct 2005 01:30:49 +0000 Subject: Fix several contrib makefiles that failed in VPATH builds, particularly when not using gcc (which has slightly nonstandard inclusion rules). --- contrib/seg/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'contrib/seg/Makefile') diff --git a/contrib/seg/Makefile b/contrib/seg/Makefile index 564ffe63c8..face0c4177 100644 --- a/contrib/seg/Makefile +++ b/contrib/seg/Makefile @@ -1,4 +1,4 @@ -# $PostgreSQL: pgsql/contrib/seg/Makefile,v 1.13 2005/09/27 17:13:09 tgl Exp $ +# $PostgreSQL: pgsql/contrib/seg/Makefile,v 1.14 2005/10/18 01:30:48 tgl Exp $ MODULE_big = seg OBJS = seg.o segparse.o @@ -8,6 +8,8 @@ REGRESS = seg EXTRA_CLEAN = segparse.c segparse.h segscan.c y.tab.c y.tab.h +PG_CPPFLAGS = -I. + ifdef USE_PGXS PGXS := $(shell pg_config --pgxs) include $(PGXS) -- cgit v1.2.1