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