`# $Id: Makefile.host,v 2.3 2012/07/16 18:51:58 ksb Exp $ # platform recipe for pollcsm 'changequote([,])dnl [Q=' ]changequote(`,') `PROG= pollcsm BIN= ${DESTDIR}/usr/local/libexec DOC= ${DESTDIR}/usr/local/man PRIV_GROUP=sac SRCl= pollcsm.pl MAN= OTHER= README pollcsm.man real.cvu SOURCE= Makefile ITO.spec ${OTHER} ${MAN} ${SRCl} all: ${PROG} pollcsm pollcsm: pollcsm.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} pollcsm a.out core errs lint.out tags deinstall: ${MAN} ${DOC} FRC install -R ${BIN}/pollcsm mkcat -r${DOC} -D ${MAN} depend: FRC dirs: ${BIN} ${DOC} distrib: FRC distrib -c ${BIN}/${PROG} ${BIN}/pollcsm HOST install: all dirs FRC install -c pollcsm ${BIN}/pollcsm 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