`# $Id: Makefile.host,v 1.9 2012/07/16 18:51:58 ksb Exp $ # platform recipe for pollcisco, msrc 2008 'changequote([,])dnl [Q=' ]changequote(`,') `PROG= pollcisco BIN= ${DESTDIR}/usr/local/libexec DOC= ${DESTDIR}/usr/local/man SRCl= pollcisco.pl MAN= pollcisco.man OTHER= INSTALL README TODO net.cvu swcollect SOURCE= Makefile ITO.spec ${OTHER} ${MAN} ${SRCl} all: ${PROG} pollcisco: pollcisco.pl perl -p -e ${Q}if (! $$^V) { s#^(use\slib)(\s.*\$$\^V.*?\,)(\n)#$$1$$3#; }${Q} $@ perl -w -c $@ && chmod +x $@ clean: FRC rm -f Makefile.bak ${PROG} a.out core errs lint.out tags deinstall: ${MAN} ${DOC} FRC install -R ${BIN}/${PROG} mkcat -r${DOC} -D ${MAN} depend: FRC dirs: ${BIN} ${DOC} distrib: FRC distrib -c ${BIN}/${PROG} HOST install: all dirs FRC install -c ${PROG} ${BIN}/${PROG} lint: FRC mkcat: ${MAN} ${DOC} FRC mkcat -r${DOC} ${MAN} print: source FRC lpr -J"${PROG} source" ${SOURCE} source: ${SOURCE} spotless: clean rcsclean ${SOURCE} tags: FRC ${BIN} ${DOC}: install -dr $@ ${SOURCE}: co -q $@ FRC: 'dnl