`# $Id: Makefile.host,v 1.5 2012/11/09 21:04:17 ksb Exp $ # platform recipe for sapply, msrc 2008 PROG= sapply BIN= ${DESTDIR}/usr/local/bin DOC= ${DESTDIR}/usr/local/man SRCs= sapply.ksh MAN= sapply.man OTHER= README TODO sapply.m util_tspace.m SOURCE= Makefile ITO.spec ${OTHER} ${MAN} ${SRCl} ${SRCs} all: ${SRCl} ${PROG} ${PROG}: ${SRCs} sed -e "/^#\$$/d" -e "/^#[^!]/d" ${SRCs} >$@ chmod 755 $@ 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} ${LIB} distrib: FRC distrib -c ${BIN}/${PROG} LIB} 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} publish: source MK=-v mk -mPublish util_tspace.* source: ${SOURCE} spotless: clean rcsclean ${SOURCE} tags: FRC ${BIN} ${LIB}: install -dr $@ ${SOURCE}: co -q $@ FRC: 'dnl