Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
NPROC=1
2
</$objtype/mkfile
3
 
4
all:V: install
5
 
6
install:V: genall gencall
7
	genall
8
 
9
# ugh. sources's build process can't hack absolute path names.
10
# we're in /sys/src/ape/lib/ap/syscall.
11
gencall:D: ../../../../libc/9syscall/mkfile	# /sys/src/libc/9syscall/mkfile
12
	{
13
		echo '#!/bin/rc'
14
		sed -n -e 's/seek/_SEEK/g' -e '/switch/,/\$AS /p' $prereq
15
	} >$target
16
	chmod +x $target
17
 
18
nuke clean:V:
19
	rm -f *.[$OS] *.s gencall
20
 
21
installall:V:
22
	for(objtype in $CPUS) mk install
23
 
24
update:V:
25
	update $UPDATEFLAGS mkfile