Plan 9 from Bell Labs’s /usr/web/sources/contrib/sl/rc/mkfile

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


BINFILES=\
	$home/bin/rc/amy\
	$home/bin/rc/backup\
	$home/bin/rc/bssid\
	$home/bin/rc/c64\
	$home/bin/rc/charon\
	$home/bin/rc/crip\
	$home/bin/rc/ctime\
	$home/bin/rc/dump\
	$home/bin/rc/f\
	$home/bin/rc/flickr\
	$home/bin/rc/gb\
	$home/bin/rc/gba\
	$home/bin/rc/gmail\
	$home/bin/rc/header\
	$home/bin/rc/hgrab\
	$home/bin/rc/hog\
	$home/bin/rc/hstats\
	$home/bin/rc/inferno\
	$home/bin/rc/k\
	$home/bin/rc/loadkeys\
	$home/bin/rc/logprog\
	$home/bin/rc/md\
	$home/bin/rc/mkbootfat\
	$home/mkfile\
	$home/bin/rc/mkufont\
	$home/bin/rc/mo\
	$home/bin/rc/mosaic\
	$home/bin/rc/mother\
	$home/bin/rc/mrip\
	$home/bin/rc/n\
	$home/bin/rc/nd\
	$home/bin/rc/nes\
	$home/bin/rc/nk\
	$home/bin/rc/nd\
	$home/bin/rc/nt\
	$home/bin/rc/nw\
	$home/bin/rc/o\
	$home/bin/rc/pipefrom\
	$home/bin/rc/pipeto\
	$home/bin/rc/pss\
	$home/bin/rc/qm\
	$home/bin/rc/qwm\
	$home/bin/rc/r\
	$home/bin/rc/ramcfs\
	$home/bin/rc/recgd\
	$home/bin/rc/recto\
	$home/bin/rc/revga\
	$home/bin/rc/shirc\
	$home/bin/rc/shircsrv\
	$home/bin/rc/snapgrade\
	$home/bin/rc/snes\
	$home/bin/rc/spread\
	$home/bin/rc/struct\
	$home/bin/rc/tablet\
	$home/bin/rc/tac\
	$home/bin/rc/toface\
	$home/bin/rc/tp\
	$home/bin/rc/tumblr\
	$home/bin/rc/tw\
	$home/bin/rc/vtb\
	$home/bin/rc/verso\
	$home/bin/rc/wi\
	$home/bin/rc/wifiroam\
	$home/bin/rc/wt\
	$home/bin/rc/x\

OBINFILES=\
	$home/bin/rc/9q\
	$home/bin/rc/charon\
	$home/bin/rc/crip\
	$home/bin/rc/inferno\
	$home/bin/rc/k\
	$home/mkfile\
	$home/bin/rc/mrip\
	$home/bin/rc/qm\
	$home/bin/rc/qwm\
	$home/bin/rc/snapgrade\
	$home/bin/rc/tac\
	/rc/bin/tinyurl\
	$home/bin/rc/tw\
	$home/bin/rc/x\

PBINFILES=\
	$home/bin/rc/backup\
	$home/bin/rc/bssid\
	$home/bin/rc/c64\
	$home/bin/rc/charon\
	$home/bin/rc/crip\
	$home/bin/rc/ctime\
	$home/bin/rc/dump\
	$home/bin/rc/f\
	$home/bin/rc/flickr\
	$home/bin/rc/gb\
	$home/bin/rc/gba\
	$home/bin/rc/gmail\
	$home/bin/rc/header\
	$home/bin/rc/hgrab\
	$home/bin/rc/hog\
	$home/bin/rc/hstats\
	$home/bin/rc/inferno\
	$home/bin/rc/loadkeys\
	$home/bin/rc/logprog\
	$home/bin/rc/md\
	$home/bin/rc/mkbootfat\
	$home/mkfile\
	$home/bin/rc/mkufont\
	$home/bin/rc/mo\
	$home/bin/rc/mother\
	$home/bin/rc/mrip\
	$home/bin/rc/n\
	$home/bin/rc/nd\
	$home/bin/rc/nes\
	$home/bin/rc/nk\
	$home/bin/rc/nt\
	$home/bin/rc/nw\
	$home/bin/rc/o\
	$home/bin/rc/pipefrom\
	$home/bin/rc/pipeto\
	$home/bin/rc/pss\
	$home/bin/rc/qwm\
	$home/bin/rc/r\
	$home/bin/rc/ramcfs\
	$home/bin/rc/recto\
	$home/bin/rc/recgd\
	$home/bin/rc/revga\
	$home/bin/rc/shirc\
	$home/bin/rc/shircsrv\
	$home/bin/rc/snes\
	$home/bin/rc/spread\
	$home/bin/rc/struct\
	$home/bin/rc/tablet\
	$home/bin/rc/tac\
	$home/bin/rc/toface\
	$home/bin/rc/tp\
	$home/bin/rc/tumblr\
	$home/bin/rc/tw\
	$home/bin/rc/vtb\
	$home/bin/rc/verso\
	$home/bin/rc/wi\
	$home/bin/rc/wifiroam\
	$home/bin/rc/wt\
	$home/bin/rc/x\

LIBFILES=\
	$home/lib/hgrc\
	$home/lib/pattern\
	$home/lib/plumbing\
	$home/lib/profile\
	$home/lib/read\
	$home/lib/riostart\
	$home/lib/riostart.torrent\
	$home/lib/shortcuts\
	$home/lib/tumblr\
#	$home/lib/wmsetup\

NDBFILES=\
	/lib/ndb/local\

9iso:V:
	bind /root /n/src9
	bind -ac /dist/plan9front /n/src9
	cd /sys/lib/dist
	if(test -f /tmp/9front.iso)
		mv /tmp/9front.iso /tmp/9front.iso.old
	mk /tmp/9front.iso
386:V:
	objtype=386
	mk syssrc
	mk man
	mk pc
	mk homesrc
aijuboard:V:
	objtype=arm
	mk syssrc
	mk man
	mk zynq
	mk homesrc
amd64:V:
	objtype=amd64
	mk syssrc
	mk man
	mk pc64
	mk homesrc
rpi:V:
	objtype=arm
	mk syssrc
	mk man
	mk bcm
	mk homesrc
syssrc:V:
	cd /
	. /sys/lib/rootstub
	cd /sys/src
	#mk nuke
	mk clean
	mk install
	mk clean
	#bind /$objtype/bin /bin
	#bind -a /rc/bin /bin
man:V:
	cd /sys/man
	mk
bcm:V:
	objtype=arm
	cd /sys/src/boot/pc
	mk clean
	mk install
	mk clean
	cd /sys/src/9/bcm
	mk clean
	mk 'CONF=pif' install
	mk clean
pc:V:
	objtype=386
	cd /sys/src/boot/pc
	mk clean
	mk install
	mk clean
	cd /sys/src/9/pc
	mk clean
	mk install
	mk clean
pc64:V:
	objtype=amd64
	cd /sys/src/boot/pc
	mk clean
	mk install
	mk clean
	cd /sys/src/9/pc64
	mk clean
	mk install
	mk clean
zynq:V:
	objtype=arm
	cd /sys/src/boot/pc
	mk clean
	mk install
	mk clean
	cd /sys/src/9/zynq
	mk clean
	mk install
	mk clean
homesrc:V:
	cd $home/src/mothra.mono
	mk nuke
	mk clean
	mk install
	mk nuke
	mk clean
	cd $home/src/mothra.p
	mk nuke
	mk clean
	mk install
	mk nuke
	mk clean
	cd $home/src/nupas
	mk nuke
	mk clean
	mk install
	mk nuke
	mk clean
	cd $home/src/ssh2
	mk nuke
	mk clean
	mk install
	mk nuke
	mk clean
bin:V:
	cp $BINFILES /n/holon/Users/stanleylieber/bin
#	cp $BINFILES /n/wm/home/sl/bin
	fcp $OBINFILES /n/nm/usr/sl/www/werc/sites/openbsd.stanleylieber.com/rc
	fcp $PBINFILES /n/nm/usr/sl/www/werc/sites/plan9.stanleylieber.com/rc
	fcp $BINFILES /n/mars2/usr/sl/contrib/rc
	fcp $PBINFILES /n/sources/contrib/sl/rc
	cp mkfile bin/rc
contrib:V:
	if(! test -d /dist/replica/client)
		mkdir -p /dist/replica/client
go:V:
	cd /usr/local/go/src
	GOBIN=/$objtype/bin make.rc #--no-clean
lib:V:
	cp $LIBFILES /n/holon/Users/stanleylieber/lib
#	cp $LIBFILES /n/wm/home/sl/lib
	fcp $LIBFILES /n/nm/usr/sl/www/werc/sites/plan9.stanleylieber.com/lib
	fcp $LIBFILES /n/mars2/usr/sl/contrib/lib
	fcp $LIBFILES /n/sources/contrib/sl/lib
mars2:V:
	dircp $home/bin/rc /n/mars2/usr/sl/bin/rc
	fcp $LIBFILES /n/mars2/usr/sl/lib
	fcp $NDBFILES /n/mars2/usr/sl/lib/ndb
	fcp $home/mkfile /n/mars2/usr/sl
most:V:
	9fs sources
	9fs -m sources
	cp $home/mkfile $home/bin/rc
	mk pipeto
	mk mars2
	mk nm
	mk pp
#	mk wm
	mk bin
	mk lib
	mk ndb
ndb:V:
	cp $NDBFILES /n/holon/Users/stanleylieber/lib/ndb
#	cp $NDBFILES /n/wm/home/sl/lib/ndb
	fcp $NDBFILES /n/nm/usr/sl/www/werc/sites/plan9.stanleylieber.com/lib/ndb
	fcp $NDBFILES /n/sources/contrib/sl/lib/ndb
pipeto:V:
	fcp $home/bin/rc/pipefrom /n/fs/mail/box/sl
	fcp $home/bin/rc/pipeto /n/fs/mail/box/sl
	fcp $home/bin/rc/pipefrom /n/mars2/mail/box/sl
	fcp $home/bin/rc/pipeto /n/mars2/mail/box/sl
	fcp $home/bin/rc/pipefrom /n/pp/mail/box/sl
	fcp $home/bin/rc/pipeto /n/pp/mail/box/sl
	fcp $home/bin/rc/pipefrom /n/nm/mail/box/sl
	fcp $home/bin/rc/pipeto /n/nm/mail/box/sl
pp:V:
	dircp $home/bin/rc /n/pp/usr/sl/bin/rc
	fcp $LIBFILES /n/pp/usr/sl/lib
	fcp $NDBFILES /n/pp/usr/sl/lib/ndb
	fcp $home/mkfile /n/pp/usr/sl
nm:V:
	dircp $home/bin/rc /n/nm/usr/sl/bin/rc
	fcp $LIBFILES /n/nm/usr/sl/lib
	fcp $NDBFILES /n/nm/usr/sl/lib/ndb
	fcp $home/mkfile /n/nm/usr/sl
wm:V:
	dircp /n/fs/cfg /n/wm/home/sl/cfg
	dircp /n/fs/cron /n/wm/home/sl/cron
	dircp /n/fs/usr/sl/bin/rc /n/wm/home/sl/bin
	dircp /n/fs/usr/sl/lib /n/wm/home/sl/lib
	cp /n/fs/usr/sl/mkfile /n/wm/home/sl/

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].