code: plan9front

ref: ad37339a1c39c90f51d273abe60f552d3900f752
dir: /sys/src/cmd/upas/mkfile/

View raw version
</$objtype/mkfile

LIBS=common
PROGS=\
	Mail\
	alias\
	bayes\
	binscripts\
	filterkit\
	fs\
	imap4d\
	marshal\
	ml\
	ned\
	pop3\
	q\
	scanmail\
	send\
	smtp\
	spf\
	unesc\
	vf\

#libs must be made first
DIRS=$LIBS $PROGS

default:V:
	mk all

all install installall clean nuke:V:
	for (i in $DIRS) @{
		cd $i
		mk $target
	}

safeinstallall:V:
	for (i in $LIBS) @{
		cd $i
		mk installall
	}
	for (i in $PROGS) @{
		cd $i
		mk safeinstallall
	}