2006-09-11 01:38:26 +04:00
|
|
|
# $PostgreSQL: pgsql/contrib/dblink/Makefile,v 1.12 2006/09/10 21:38:26 tgl Exp $
|
2001-06-14 20:49:03 +04:00
|
|
|
|
2001-09-06 14:49:30 +04:00
|
|
|
MODULE_big = dblink
|
|
|
|
PG_CPPFLAGS = -I$(libpq_srcdir)
|
|
|
|
OBJS = dblink.o
|
|
|
|
SHLIB_LINK = $(libpq)
|
2001-06-14 20:49:03 +04:00
|
|
|
|
2001-09-06 14:49:30 +04:00
|
|
|
DATA_built = dblink.sql
|
2006-02-27 15:54:39 +03:00
|
|
|
DATA = uninstall_dblink.sql
|
2001-09-06 14:49:30 +04:00
|
|
|
DOCS = README.dblink
|
2002-09-15 00:28:54 +04:00
|
|
|
REGRESS = dblink
|
2002-09-03 08:01:05 +04:00
|
|
|
|
2004-08-21 00:13:10 +04:00
|
|
|
|
|
|
|
ifdef USE_PGXS
|
2005-09-27 21:13:14 +04:00
|
|
|
PGXS := $(shell pg_config --pgxs)
|
2004-08-21 00:13:10 +04:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/dblink
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
2001-09-06 14:49:30 +04:00
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
2004-08-21 00:13:10 +04:00
|
|
|
endif
|
2006-09-11 01:38:26 +04:00
|
|
|
|
|
|
|
# Apparently AIX requires that we mention everything libpq depends on :-(
|
|
|
|
SHLIB_LINK += $(filter -lintl -lssl -lcrypto, $(LIBS))
|