`# Makefile for mk default rules # $Id: Makefile.host,v 5.9 2011/10/25 17:15:46 ksb Exp $ # Kevin S Braunsdorf, NPC Guild SHELL=/bin/sh LIB= ${DESTDIR}/usr/local/lib/mk/file REAL= calendar gmon.out kernel.conf tclIndex valid zmagic PSEUDO= distfile_ makefile_ msrc_ SOURCE=Makefile ${REAL} ${PSEUDO} all: source # bootstrap with makeme boot: install ${LIB}: install -d -r $@ clean: FRC rm -f Makefile.bak a.out core errs tags depend: FRC : "no depend" deinstall: rm -rf ${LIB} dirs: ${LIB} 'changequote([,])dnl [install: all dirs FRC -for templ in ${REAL} ;do \ cmp -s $$templ ${LIB}/$$templ || \ install -c -m 644 $$templ ${LIB}/$$templ ;\ done -for templ in ${PSEUDO} ;do \ real=`expr $$templ : '\(.*\)_'` ; \ cmp -s $$templ ${LIB}/$$real || \ install -c -m 644 $$templ ${LIB}/$$real ;\ done ]changequote(`,')dnl `lint: FRC : "nothing to lint" print: source FRC lpr -J"mk templates" ${SOURCE} source: ${SOURCE} spotless: clean rcsclean ${SOURCE} tags: FRC : "no tags" ${SOURCE}: co -q $@ FRC: 'dnl