stat
statはかち合うのでunixstatに変更
cpu% diff plan9?copydir.c ../src/port/copydir.c 78c78 < if (unixstat(fromfile, &fst) < 0) --- > if (stat(fromfile, &fst) < 0)
cpu% cat mkfile.lib </$cputype/mkfile cpuO=$O </$objtype/mkfile OFILES=? #port? #plan9? plan9_copydir.$O? LIB=libsql.a$O </sys/src/cmd/mksyslib CFLAGS=-I. -I../src/include -p -DT$objtype %.$O: ../src/port/%.c $CC $CFLAGS ../src/port/$stem.c %.$O: %.c $CC $CFLAGS $stem.c # when cputype!=objtype, $PGENO causes unnecessary object files to be created. # but when cputype==objtype, it keeps this mkfile from fighting with mkfile.pgen # over creating some of these. $cpuO.pgen:V: $PGENO objtype=$cputype mk -f mkfile.pgen $cpuO.pgen $LIB: $OFILES ar vu $LIB $newprereq
?は入れられないのかな