25 lines
588 B
Makefile
Executable File
25 lines
588 B
Makefile
Executable File
#
|
|
# pg_reorg: lib/Makefile
|
|
#
|
|
# Copyright (c) 2008-2010, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
|
|
#
|
|
SRCS = reorg.c pgut/pgut-be.c pgut/pgut-spi.c
|
|
OBJS = $(SRCS:.c=.o)
|
|
MODULE_big = pg_reorg
|
|
DATA_built = pg_reorg.sql
|
|
DATA = uninstall_pg_reorg.sql
|
|
|
|
ifdef USE_PGXS
|
|
PGXS := $(shell pg_config --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = contrib/pg_reorg
|
|
top_builddir = ../../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|
|
|
|
# remove dependency to libxml2 and libxslt
|
|
LIBS := $(filter-out -lxml2, $(LIBS))
|
|
LIBS := $(filter-out -lxslt, $(LIBS))
|