Support PGXS.

This commit is contained in:
Takahiro Itagaki
2009-04-22 07:26:12 +00:00
parent e1011e11fe
commit 574b6dc296
4 changed files with 681 additions and 461 deletions

View File

@ -3,16 +3,15 @@
#
# Copyright (c) 2008-2009, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
#
SRCS = \
pg_reorg.c
OBJS = $(SRCS:.c=.o) $(top_builddir)/src/bin/scripts/common.o
SRCS = pg_reorg.c pgut/pgut.c
OBJS = $(SRCS:.c=.o)
PROGRAM = pg_reorg
REGRESS = init reorg
ifdef DEBUG_REORG
PG_CPPFLAGS = -I$(libpq_srcdir) -I$(top_builddir)/src/bin/scripts -DDEBUG_REORG
PG_CPPFLAGS = -I$(libpq_srcdir) -DDEBUG_REORG
else
PG_CPPFLAGS = -I$(libpq_srcdir) -I$(top_builddir)/src/bin/scripts
PG_CPPFLAGS = -I$(libpq_srcdir)
endif
PG_LIBS = $(libpq)