2007-05-18 03:11:25 +08:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# pageinspect Makefile
|
|
|
|
#
|
2008-09-30 18:52:14 +08:00
|
|
|
# $PostgreSQL: pgsql/contrib/pageinspect/Makefile,v 1.4 2008/09/30 10:52:09 heikki Exp $
|
2007-05-18 03:11:25 +08:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
MODULE_big = pageinspect
|
2008-09-30 18:52:14 +08:00
|
|
|
OBJS = rawpage.o heapfuncs.o btreefuncs.o fsmfuncs.o
|
2007-05-18 03:11:25 +08:00
|
|
|
DATA_built = pageinspect.sql
|
|
|
|
DATA = uninstall_pageinspect.sql
|
|
|
|
|
|
|
|
ifdef USE_PGXS
|
2007-06-27 06:05:04 +08:00
|
|
|
PG_CONFIG = pg_config
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
2007-05-18 03:11:25 +08:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/pageinspect
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
|
|
endif
|
|
|
|
|