2004-04-09 13:05:16 +00:00
|
|
|
PLUGIN=postgresql.so
|
2004-05-26 20:12:12 +00:00
|
|
|
LDFLAGS=-lpq
|
|
|
|
DISTFILES=postgresql.c Makefile.in configure.ac configure config.h.in
|
2004-04-09 13:05:16 +00:00
|
|
|
|
|
|
|
include ../Makefile.plugins
|
|
|
|
|
|
|
|
ifeq (@PGSQL_BUILD@,1)
|
|
|
|
all: ${PLUGIN}
|
|
|
|
else
|
|
|
|
all:
|
|
|
|
@echo "Not building the PostgreSQL plugin"
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq (@PGSQL_BUILD@,1)
|
|
|
|
install: all prepare-install
|
|
|
|
${INSTALL} ${PLUGIN} ${DESTDIR}
|
|
|
|
else
|
2004-05-24 20:47:28 +00:00
|
|
|
install:
|
2004-04-09 13:05:16 +00:00
|
|
|
@echo "Not installing the PostgreSQL plugin"
|
|
|
|
endif
|
|
|
|
|
2004-05-25 13:55:30 +00:00
|
|
|
distdir:
|
|
|
|
test -d ../${top_distdir}/plugins/postgresql || mkdir ../${top_distdir}/plugins/postgresql
|
2004-05-26 20:12:12 +00:00
|
|
|
${INSTALL} ${DISTFILES} ../${top_distdir}/plugins/postgresql
|
2004-04-09 13:05:16 +00:00
|
|
|
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
|