Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/ape/lib/ap/syscall/mkfile

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


NPROC=1
</$objtype/mkfile

all:V: install

install:V: genall gencall
	genall

# ugh. sources's build process can't hack absolute path names.
# we're in /sys/src/ape/lib/ap/syscall.
gencall:D: ../../../../libc/9syscall/mkfile	# /sys/src/libc/9syscall/mkfile
	{
		echo '#!/bin/rc'
		sed -n -e 's/seek/_SEEK/g' -e '/switch/,/\$AS /p' $prereq
	} >$target
	chmod +x $target

nuke clean:V:
	rm -f *.[$OS] *.s gencall

installall:V:
	for(objtype in $CPUS) mk install

update:V:
	update $UPDATEFLAGS mkfile

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].