Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/lib/dist/cmd/multi/mkfile

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


objtype=386
</$objtype/mkfile

TARG=multi
BIN=/sys/lib/dist/bin/$objtype

PIECES=\
	aux/mouse\
	aux/pcmcia\
	aux/vga\
	aux/zerotrunc\
	disk/fdisk\
	disk/format\
	disk/mbr\
	disk/prep\
#	fossil/fossil\
#	fossil/flfmt\
	ip/ipconfig\
	ip/ppp\
	ndb/cs\
	ndb/dns\
#	replica/applylog\
	9660srv\
#	awk\
	basename\
	cat\
	chgrp\
	chmod\
	cleanname\
	cmp\
	cp\
	date\
	dd\
	dossrv\
	echo\
	ed\
	ext2srv\
#	fcp\
	grep\
	hget\
	hoc\
	ls\
	mc\
	mount\
	mv\
	ps\
	read\
#	rio\
	rm\
	sed\
	sort\
	srv\
#	stats\
	syscall\
	tail\
	tee\
	test\
	wc\
	xd\

$O.multi: mkmulti mkfile
	mkmulti $PIECES 
	ls -l $O.multi
	ls -l /386/bin/$PIECES | awk '{s += $6} END{print s}'

scripts:V:
	rm -rf ../../pc/multi
	mkdir ../../pc/multi
	for(i in $PIECES){
		b=`{basename $i}
		echo '#!/bin/multi' >>../../pc/multi/$b
		chmod +x ../../pc/multi/$b
	}

</sys/src/cmd/mkmany

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.