2007-05-18 03:11:25 +08:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# pageinspect Makefile
|
|
|
|
#
|
2007-11-11 07:59:52 +08:00
|
|
|
# $PostgreSQL: pgsql/contrib/pageinspect/Makefile,v 1.3 2007/11/10 23:59:51 momjian Exp $
|
2007-05-18 03:11:25 +08:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
MODULE_big = pageinspect
|
|
|
|
OBJS = rawpage.o heapfuncs.o btreefuncs.o
|
|
|
|
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
|
|
|
|
|