2010-09-20 22:08:53 +02:00
|
|
|
# contrib/dblink/Makefile
|
2001-06-14 18:49:03 +02:00
|
|
|
|
2001-09-06 12:49:30 +02:00
|
|
|
MODULE_big = dblink
|
|
|
|
PG_CPPFLAGS = -I$(libpq_srcdir)
|
|
|
|
OBJS = dblink.o
|
|
|
|
SHLIB_LINK = $(libpq)
|
2010-11-12 21:15:16 +01:00
|
|
|
SHLIB_PREREQS = submake-libpq
|
2001-06-14 18:49:03 +02:00
|
|
|
|
2010-11-23 21:27:50 +01:00
|
|
|
DATA_built = dblink.sql
|
|
|
|
DATA = uninstall_dblink.sql
|
2002-09-14 22:28:54 +02:00
|
|
|
REGRESS = dblink
|
2002-09-03 06:01:05 +02:00
|
|
|
|
2004-08-20 22:13:10 +02:00
|
|
|
|
|
|
|
ifdef USE_PGXS
|
2007-06-27 00:05:04 +02:00
|
|
|
PG_CONFIG = pg_config
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
2004-08-20 22:13:10 +02:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/dblink
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
2001-09-06 12:49:30 +02:00
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
2004-08-20 22:13:10 +02:00
|
|
|
endif
|