echoping/SRC/plugins/postgresql/Makefile.in

29 lines
559 B
Makefile
Raw Normal View History

PLUGIN=postgresql.so
LDFLAGS=-lpq
DISTFILES=postgresql.c Makefile.in configure.ac configure config.h.in
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:
@echo "Not installing the PostgreSQL plugin"
endif
distdir:
test -d ../${top_distdir}/plugins/postgresql || mkdir ../${top_distdir}/plugins/postgresql
${INSTALL} ${DISTFILES} ../${top_distdir}/plugins/postgresql
# $Id$