2006-04-23 09:12:58 +08:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# pgrowlocks Makefile
|
|
|
|
#
|
2009-04-29 01:07:50 +08:00
|
|
|
# $PostgreSQL: pgsql/contrib/pgrowlocks/Makefile,v 1.6 2009/04/28 17:07:50 momjian Exp $
|
2006-04-23 09:12:58 +08:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
MODULE_big = pgrowlocks
|
2006-10-20 01:40:03 +08:00
|
|
|
OBJS = pgrowlocks.o
|
2006-04-23 09:12:58 +08:00
|
|
|
DATA_built = pgrowlocks.sql
|
2006-10-01 02:08:32 +08:00
|
|
|
DATA = uninstall_pgrowlocks.sql
|
2006-04-23 09:12:58 +08:00
|
|
|
|
|
|
|
ifdef USE_PGXS
|
2007-06-27 06:05:04 +08:00
|
|
|
PG_CONFIG = pg_config
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
2006-04-23 09:12:58 +08:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/pgrowlocks
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
|
|
endif
|