Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/vdebug/mkfile

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


</$objtype/mkfile

LIBOFILES=\
	arena.$O\
	arenas.$O\
	bloom.$O\
	buildbuck.$O\
	clump.$O\
	config.$O\
	conv.$O\
	dcache.$O\
	disksched.$O\
	dump.$O\
	graph.$O\
	hdisk.$O\
	hproc.$O\
	httpd.$O\
	icache.$O\
	icachewrite.$O\
	ifile.$O\
	index.$O\
	lump.$O\
	lumpcache.$O\
	lumpqueue.$O\
	part.$O\
	png.$O\
	round.$O\
	score.$O\
	sortientry.$O\
	stats.$O\
	syncarena.$O\
	syncindex0.$O\
	trace.$O\
	unwhack.$O\
	utils.$O\
	unittoull.$O\
	whack.$O\
	xml.$O\
	zblock.$O\
	zeropart.$O\

SLIB=libvs.a$O

LIB=$SLIB # /$objtype/lib/libventi.a

HFILES=	dat.h\
	fns.h\
	stdinc.h\
	/sys/include/venti.h\
	/sys/include/httpd.h\

TARG=\
	venti\
	buildindex\
	checkarenas\
	checkindex\
	clumpstats\
	conf\
	findscore\
	fixarenas\
	fmtarenas\
	fmtbloom\
	fmtindex\
	fmtisect\
	mirrorarenas\
	printarena\
	rdarena\
	syncindex\
	verifyarena\
	wrarena\

OFILES=

BIN=/$objtype/bin/venti

it:V: $O.venti

CLEANFILES=$CLEANFILES $SLIB

</sys/src/cmd/mkmany

CFLAGS=$CFLAGS -I.

$SLIB: $LIBOFILES
	ar rvc $SLIB $LIBOFILES

# xml.c:D:	mkxml dat.h
# 	./mkxml dat.h > xml.c

acid:D: lumpcache.acid
	cat $prereq >$target

$O.conf:D: conf.rc
	{
		echo '#!/bin/rc'
		echo '# THIS FILE IS AUTOMATICALLY GENERATED'
		echo '# FROM /sys/src/cmd/venti/conf.rc.  DO NOT EDIT.'
		echo 
		sed 1d conf.rc
	} >$target && chmod +x $target

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.