2006-04-23 09:12:58 +08:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# pgrowlocks Makefile
|
|
|
|
#
|
2010-09-21 04:08:53 +08:00
|
|
|
# contrib/pgrowlocks/Makefile
|
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
|