mkfiles: stop cargo culting UPDATE=

UPDATE= is used by mk update, which
calls 'update $UPDATE'; we don't have
an update binary.
This commit is contained in:
Ori Bernstein 2025-01-05 21:13:43 +00:00
parent 11ac75e789
commit e0358fd432
163 changed files with 60 additions and 1010 deletions

View file

@ -101,11 +101,6 @@ OFILES=\
wait.$O\
write.$O\
UPDATE=\
mkfile\
/386/lib/ape/libap.a\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mksyslib
CFLAGS=$CFLAGS -c -D_POSIX_SOURCE -D_PLAN9_SOURCE -D_BSD_EXTENSION

View file

@ -20,6 +20,3 @@ nuke clean:V:
installall:V:
for(objtype in $CPUS) mk install
update:V:
update $UPDATEFLAGS mkfile

View file

@ -26,12 +26,6 @@ HFILES=\
/sys/src/libauth/authlocal.h\
../9/libc.h
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${LIB:/$objtype/%=/386/%}\
</sys/src/cmd/mksyslib
CFLAGS=-TVwc -D_POSIX_SOURCE -D_PLAN9_SOURCE -D_NET_EXTENSION -I. -I../9 -I/sys/src/libauth

View file

@ -24,12 +24,6 @@ OFILES=\
HFILES=/sys/include/ape/bio.h
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${LIB:/$objtype/%=/386/%}\
</sys/src/cmd/mksyslib
CFLAGS=-TVwc -D_PLAN9_SOURCE -D_POSIX_SOURCE -I. -I../9

View file

@ -63,12 +63,6 @@ HFILES=\
/sys/include/ape/mouse.h\
/sys/include/ape/keyboard.h\
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${LIB:/$objtype/%=/386/%}\
</sys/src/cmd/mksyslib
CFLAGS=-c $CFLAGS -D_POSIX_SOURCE -D_PLAN9_SOURCE -I../9

View file

@ -16,10 +16,6 @@ HFILES=\
OFILES=${SFILES:%.s=%.$O}
UPDATE=mkfile\
$HFILES\
$SFILES\
</sys/src/cmd/mksyslib
%.$O: ../../../../libmp/386/%.s

View file

@ -16,10 +16,6 @@ HFILES=\
OFILES=${SFILES:%.s=%.$O}
UPDATE=mkfile\
$HFILES\
$SFILES\
</sys/src/cmd/mksyslib
%.$O: ../../../../libmp/amd64/%.s

View file

@ -11,10 +11,6 @@ HFILES=\
OFILES=${SFILES:%.s=%.$O}
UPDATE=mkfile\
$HFILES\
$SFILES\
</sys/src/cmd/mksyslib
%.$O: ../../../../libmp/arm/%.s

View file

@ -4,5 +4,5 @@ APE=/sys/src/ape
objtype=arm64
</$objtype/mkfile
install clean all update:V:
install clean all:V:

View file

@ -16,10 +16,6 @@ HFILES=\
OFILES=${SFILES:%.s=%.$O}
UPDATE=mkfile\
$HFILES\
$SFILES\
</sys/src/cmd/mksyslib
%.$O: ../../../../libmp/mips/%.s

View file

@ -59,11 +59,6 @@ HFILES=\
CFILES=${FILES:%=%.c}
UPDATE=\
mkfile\
$HFILES\
$CFILES\
</sys/src/cmd/mksyslib
CFLAGS=-TVwc -+ -D_POSIX_SOURCE -D_PLAN9_SOURCE -I. -I../../9

View file

@ -15,10 +15,6 @@ HFILES=\
OFILES=${SFILES:%.s=%.$O}
UPDATE=mkfile\
$HFILES\
$SFILES\
</sys/src/cmd/mksyslib
%.$O: ../../../../libmp/power/%.s

View file

@ -7,9 +7,6 @@ HFILES=\
/sys/include/ape/mp.h\
../../../../libmp/port/dat.h
UPDATE=mkfile\
$HFILES\
</sys/src/cmd/mksyslib
%.$O: ../../../../libmp/power64/%.s

View file

@ -16,10 +16,6 @@ HFILES=\
OFILES=${SFILES:%.s=%.$O}
UPDATE=mkfile\
$HFILES\
$SFILES\
</sys/src/cmd/mksyslib
%.$O: ../../../../libmp/mips/%.s

View file

@ -11,12 +11,6 @@ OFILES=\
HFILES=\
/sys/include/ape/plumb.h\
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${LIB:/$objtype/%=/386/%}\
</sys/src/cmd/mksyslib
CFLAGS=-c $CFLAGS -D_POSIX_SOURCE -D_PLAN9_SOURCE -I../9

View file

@ -13,10 +13,6 @@ SFILES=${FILES:%=%.s}
OFILES=${SFILES:%.s=%.$O}
UPDATE=mkfile\
$HFILES\
$SFILES\
</sys/src/cmd/mksyslib
%.$O: /sys/src/libsec/$objtype/%.s

View file

@ -14,10 +14,6 @@ SFILES=${FILES:%=%.s}
OFILES=${FILES:%=%.$O}
UPDATE=mkfile\
$HFILES\
$SFILES\
</sys/src/cmd/mksyslib
%.$O: /sys/src/libsec/$objtype/%.s

View file

@ -3,12 +3,9 @@ APE=/sys/src/ape
LIB=/$objtype/lib/ape/libsec.a
OFILES= \
OFILES=
HFILES=/sys/include/ape/libsec.h
UPDATE=mkfile
</sys/src/cmd/mksyslib
%.$O: /sys/src/libsec/$objtype/%.s

View file

@ -13,10 +13,6 @@ SFILES=${FILES:%=%.s}
OFILES=${SFILES:%.s=%.$O}
UPDATE=mkfile\
$HFILES\
$SFILES\
</sys/src/cmd/mksyslib
%.$O: /sys/src/libsec/$objtype/%.s

View file

@ -51,10 +51,6 @@ OFILES= `{rfork n; \
HFILES=/sys/include/ape/libsec.h
UPDATE=mkfile\
$HFILES\
$CFILES\
</sys/src/cmd/mksyslib
CFLAGS=-TVwc -+ -D_POSIX_SOURCE -D_PLAN9_SOURCE -I. -I../../9 -I../../../../libmp/port

View file

@ -7,8 +7,6 @@ OFILES= \
HFILES=/sys/include/ape/libsec.h
UPDATE=mkfile
</sys/src/cmd/mksyslib
%.$O: /sys/src/libsec/$objtype/%.s

View file

@ -6,9 +6,6 @@ OFILES=\
HFILES=/sys/include/ape/libsec.h
UPDATE=mkfile\
$HFILES\
</sys/src/cmd/mksyslib
%.$O: /sys/src/libsec/$objtype/%.s

View file

@ -7,6 +7,4 @@ HFILES=/sys/include/ape/libsec.h
OFILES=\
UPDATE=mkfile $HFILES
</sys/src/cmd/mksyslib

View file

@ -28,10 +28,6 @@ OFILES=\
HFILES=\
/sys/include/ape/utf.h\
UPDATE=\
mkfile\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mksyslib
CFLAGS=-c -D_POSIX_SOURCE -D_PLAN9_SOURCE -D_BSD_EXTENSION

View file

@ -2,7 +2,6 @@ APE=/sys/src/ape
<$APE/config
LIB=/$objtype/lib/ape/libz.a
OFILES=\
adler32.$O\
compress.$O\
@ -26,12 +25,6 @@ TOOLS=${TARG:%=$O.%}
HFILES=\
/sys/include/ape/zlib.h\
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${LIB:/$objtype/%=/386/%}\
CLEANFILES=$TOOLS
</sys/src/cmd/mksyslib

View file

@ -15,11 +15,6 @@ HFILES=arm.h\
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone
acid:

View file

@ -1,5 +1,6 @@
</$objtype/mkfile
BIN=/$objtype/bin
TARG=6a
OFILES=\
y.tab.$O\
@ -13,14 +14,6 @@ HFILES=\
YFILES=a.y\
BIN=/$objtype/bin
UPDATE=\
mkfile\
a.y\
lex.c\
a.h\
${TARG:%=/386/bin/%}\
< /sys/src/cmd/mkone
YFLAGS=-D1 -d

View file

@ -1,5 +1,6 @@
</$objtype/mkfile
BIN=/$objtype/bin
TARG=6l
OFILES=\
asm.$O\
@ -15,14 +16,6 @@ HFILES=\
l.h\
../6c/6.out.h\
BIN=/$objtype/bin
CFILES=${OFILES:%.$O=%.c}
CFILES=${CFILES:enam.c=../6c/enam.c}
UPDATE=\
mkfile\
$HFILES\
$CFILES\
${TARG:%=/386/bin/%}\
</sys/src/cmd/mkone

View file

@ -14,12 +14,6 @@ HFILES=\
YFILES=a.y\
BIN=/$objtype/bin
UPDATE=\
mkfile\
a.y\
lex.c\
a.h\
${TARG:%=/386/bin/%}\
< /sys/src/cmd/mkone
YFLAGS=-D1 -d

View file

@ -19,11 +19,6 @@ HFILES=\
BIN=/$objtype/bin
CFILES=${OFILES:%.$O=%.c}
CFILES=${CFILES:enam.c=../8c/enam.c}
UPDATE=\
mkfile\
$HFILES\
$CFILES\
${TARG:%=/386/bin/%}\
</sys/src/cmd/mkone

View file

@ -12,11 +12,6 @@ OFILES=\
HFILES=dat.h fns.h
BIN=/$objtype/bin
UPDATE=\
mkfile\
${OFILES:%.$O=%.c}\
$HFILES\
</sys/src/cmd/mkone
$O.out:

View file

@ -29,14 +29,6 @@ BIN=/$objtype/bin/aux
all:V:
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${NFSSERVER:%.$O=%.c}\
${TARG:%=%.c}\
</sys/src/cmd/mkmany
$O.nfsserver: $NFSSERVER

View file

@ -24,11 +24,6 @@ HFILES=\
fns.h\
fonts.h\
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone
syms:V:

View file

@ -19,12 +19,6 @@ HFILES=acid.h
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${UOFILES:%.$O=%.c}\
$YFILES\
</sys/src/cmd/mkone
lex.$O: y.tab.h

View file

@ -30,11 +30,6 @@ HFILES=dat.h\
edit.h\
fns.h\
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone
$O.out: /$objtype/lib/libframe.a /$objtype/lib/libdraw.a /$objtype/lib/libthread.a

View file

@ -6,11 +6,6 @@ HFILES = atazz.h tabs.h
OFILES = bit.$O main.$O probe.$O
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${TARG:%=/386/bin/%}\
%.ps:DQ: %.ms
eval `{doctype macros.ms $stem.ms} | \

View file

@ -30,12 +30,6 @@ OFILES=\
HFILES=\
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${LIB:/$objtype/%=/386/%}\
</sys/src/cmd/mklib
nuke:V:

View file

@ -5,9 +5,6 @@ PROGS=pcmconv oggdec oggenc mp3dec mp3enc flacdec flacenc wavdec sundec mixfs re
#libs must be made first
DIRS=$LIBS $PROGS
UPDATE=\
mkfile\
all:V:
for (i in $DIRS) @{
cd $i

View file

@ -30,12 +30,6 @@ HFILES=\
LIB=/$objtype/lib/libauth.a /$objtype/lib/libauthsrv.a
BIN=/$objtype/bin/auth
UPDATE=\
mkfile\
$HFILES\
${FOFILES:%.$O=%.c}\
fgui.c\
</sys/src/cmd/mkmany
$O.factotum: $FOFILES

View file

@ -23,10 +23,5 @@ OFILES=\
HFILES=/sys/include/auth.h /sys/include/authsrv.h ../authcmdlib.h
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mksyslib
CFLAGS=$CFLAGS -I..

View file

@ -58,14 +58,6 @@ HFILES=/sys/include/auth.h /sys/include/authsrv.h authcmdlib.h
LIB=lib.$O.a
BIN=/$objtype/bin/auth
CLIB=`{ls lib/*.c}
UPDATE=\
mkfile\
$HFILES\
rsa2any.h\
${OTHEROFILES:%.$O=%.c}\
${TARG:%=%.c}\
</sys/src/cmd/mkmany
@ -77,13 +69,6 @@ all:V: all.dirs
install:V: install.dirs $BIN/status $BIN/enable $BIN/disable
update:V:
update $UPDATEFLAGS $UPDATE
for (i in lib $DIRS) @{
cd $i
mk 'UPDATEFLAGS='$"UPDATEFLAGS update
}
&.lib:V:
cd lib
mk $stem

View file

@ -14,15 +14,6 @@ OFILES =\
TARG = secstore secstored secuser aescbc # descbc
DEBUG = secchk
UPDATE=\
$HFILES\
dirls.c\
${OFILES:%.$O=%.c}\
${TARG:%=%.c}\
${DEBUG:%=%.c}\
mkfile\
/sys/man/1/secstore\
default:V: all
$O.aescbc: aescbc.$O

View file

@ -9,13 +9,4 @@ OFILES=\
BIN=/$objtype/bin/aux
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${TARG:%=%.c}\
</sys/src/cmd/mkmany
update:V:
update $UPDATEFLAGS $UPDATE

View file

@ -56,12 +56,6 @@ TARG=\
BIN=/$objtype/bin/aux
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${TARG:%=%.c}\
</sys/src/cmd/mkmany
DIRS=\
@ -109,10 +103,3 @@ nukedirs:V:
mk nuke
}
update:V:
update $UPDATEFLAGS $UPDATE
for (i in $DIRS) @{
echo update $i
cd $i
mk 'UPDATEFLAGS='$"UPDATEFLAGS update
}

View file

@ -69,13 +69,6 @@ HFILES=\
pci.h\
vga.h\
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
/lib/vgadb\
riva_tbl.h\
</sys/src/cmd/mkone
geode.$O: geode_modes.h

View file

@ -20,14 +20,6 @@ YFILES=awkgram.y
BIN=/$objtype/bin
UPDATE=\
mkfile\
awk.h proto.h\
$YFILES\
re.c lex.c main.c parse.c proctab.c tran.c lib.c run.c\
maketab.c\
${TARG:%=/386/bin/%}\
</sys/src/cmd/mkone
y.tab.h awkgram.c: $YFILES

View file

@ -10,9 +10,4 @@ HFILES=cb.h\
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
< /sys/src/cmd/mkone

View file

@ -19,13 +19,6 @@ HFILES=\
lru.h\
stats.h\
CFILES=${OFILES:%.$O=%.c}
UPDATE=mkfile\
/386/bin/$TARG\
$HFILES\
$CFILES\
BIN=/$objtype/bin
</sys/src/cmd/mkone

View file

@ -7,12 +7,6 @@ TARG=con\
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${TARG:%=%.c}\
/sys/man/1/con\
</sys/src/cmd/mkmany

View file

@ -9,12 +9,5 @@ OFILES=
BIN=/$objtype/bin/dial
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${TARG:%=%.c}\
/sys/man/1/con\
</sys/src/cmd/mkmany

View file

@ -12,11 +12,6 @@ HFILES=dict.h kuten.h
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone
mkindex: mkindex.$O $LFILES utils.$O

View file

@ -22,15 +22,6 @@ DFILES=\
HFILES=iso9660.h
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${DFILES:%.$O=%.c}\
dump9660.c\
mk9660.rc\
${TARG:%=/386/bin/disk/%}\
BIN=/$objtype/bin/disk
</sys/src/cmd/mkmany

View file

@ -20,13 +20,6 @@ OFILES=
BIN=/$objtype/bin/disk
UPDATE=\
mkfile\
${TARG:%=%.c}\
/sys/man/8/prep\
/sys/man/8/mkfs\
${TARG:%=/386/bin/disk/%}\
</sys/src/cmd/mkmany
all:V: all-dirs

View file

@ -10,13 +10,4 @@ OFILES=\
BIN=/$objtype/bin/disk
UPDATE=\
mkfile\
/sys/man/8/prep\
edit.c\
${TARG:%=%.c}\
$HFILES\
$YFILES\
${TARG:%=/386/bin/disk/%}\
</sys/src/cmd/mkmany

View file

@ -6,10 +6,5 @@ HFILES = smart.h
OFILES = ata.$O scsi.$O smart.$O
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${TARG:%=/386/bin/%}\
</sys/src/cmd/mkone

View file

@ -18,12 +18,6 @@ HFILES=dat.h\
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${TARG:%=/386/bin/%}\
</sys/src/cmd/mkone
xfssrv.$O: errstr.h

View file

@ -11,10 +11,5 @@ OFILES=\
HFILES=dat.h
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${TARG:%=/386/bin/%}\
</sys/src/cmd/mkone

View file

@ -10,9 +10,4 @@ HFILES=exportfs.h\
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkmany

View file

@ -14,11 +14,6 @@ HFILES=faces.h\
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone
CFLAGS=$CFLAGS '-DDEFAULT='$DEFAULT

View file

@ -21,17 +21,6 @@ SEND=\
BIN=/$objtype/bin/aux
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
receive.c\
send.c\
fax2receive.c\
fax2send.c\
${TARG:%=%.c}\
${TARG:%=/386/bin/%}\
</sys/src/cmd/mkmany
$O.faxreceive: $RECEIVE

View file

@ -112,17 +112,6 @@ x=`{mkdir obj >[2]/dev/null; mv jpeg/jmorecfg.h jpeg/jmorecfg.h.save >[2] /dev/n
</sys/src/cmd/mkone
UPDATE=\
/386/bin/gs\
/sys/man/1/gs\
/rc/bin/ps2pdf\
/rc/bin/pdf2ps\
/sys/man/1/ps2pdf\
update:V:
update $UPDATEFLAGS $UPDATE `{cat lsr}
CC=pcc
CFLAGS=-c -DPlan9 -D_POSIX_SOURCE -D_BSD_EXTENSION\
-I. -Isrc -Ijpeg -Izlib -Iicclib -DT$objtype '-DGS_INIT="gs_init.ps"'

View file

@ -14,12 +14,6 @@ LIB=
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${TARG:%=/386/bin/%}\
</sys/src/cmd/mkone
CFLAGS=$CFLAGS

View file

@ -18,12 +18,6 @@ HFILES=dat.h ../dhcp.h ../icmp.h
BIN=/$objtype/bin/ip
UPDATE=\
mkfile\
$HFILES\
${DOFILES:%.$O=%.c}\
${IOFILES:%.$O=%.c}\
</sys/src/cmd/mkmany
$O.dhcpd: $DOFILES

View file

@ -8,9 +8,4 @@ OFILES=ftpfs.$O\
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone

View file

@ -39,11 +39,6 @@ LIBSOFILES=\
BIN=/$objtype/bin/ip/httpd
UPDATE=\
$HFILES\
${LIBSOFILES:%.$O=%.c}\
${XTARG:%=%.c}\
CLEANFILES=$LIB
</sys/src/cmd/mkmany

View file

@ -17,11 +17,6 @@ HFILES=\
BIN=/$objtype/bin/ip
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone
safeinstall:V: $O.out

View file

@ -35,12 +35,6 @@ DIRS=ftpfs cifsd dhcpd httpd ipconfig ppp snoopy
BIN=/$objtype/bin/ip
HFILES=dhcp.h arp.h glob.h icmp.h telnet.h
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${TARG:%=%.c}\
</sys/src/cmd/mkmany
all:V: $DIRS
@ -61,14 +55,6 @@ installdirs:V:
mk install
}
update:V:
update $UPDATEFLAGS $UPDATE
for (i in $DIRS) @{
echo update $i
cd $i
mk 'UPDATEFLAGS='$"UPDATEFLAGS update
}
clean:V:
for (i in $DIRS) @{
echo clean $i

View file

@ -13,10 +13,6 @@ OFILES=ppp.$O\
HFILES=ppp.h\
BIN=/$objtype/bin/ip
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone

View file

@ -62,11 +62,6 @@ HFILES=dat.h\
YFILES=filter.y
BIN=/$objtype/bin
UPDATE=\
mkfile\
dat.h\
main.c\
${POBJS:%.$O=%.c}\
CLEANFILES=protos.c protos.h

View file

@ -28,22 +28,6 @@ HFILES=imagefile.h\
LIB=
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${IMFILES:%.$O=%.c}\
readjpg.c\
readgif.c\
writegif.c\
onechan.c\
readppm.c\
multichan.c\
readpng.c\
writepng.c\
rgbycc.c\
rgbrgbv.c\
readtga.c\
${TARG:%=%.c}\
</sys/src/cmd/mkmany
c=`{sed -n 's/^O=//p' /$cputype/mkfile}

View file

@ -16,11 +16,6 @@ HFILES=sparc.h\
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone
acid:

View file

@ -12,14 +12,6 @@ HFILES=ldefs.h\
YFILES=parser.y\
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
lmain.c\
sub1.c\
sub2.c\
header.c\
${TARG:%=/386/bin/%}\
</sys/src/cmd/mkone

View file

@ -29,10 +29,5 @@ HFILES=fns.h\
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone

View file

@ -65,17 +65,3 @@ dns.safeinstall:V: $O.dns
%.safeinstallall:V:
for (objtype in $CPUS)
mk $stem.safeinstall
dns.update:V:
SRC=`{echo $DNSOBJ|sed 's/\.'$O'/.c/g'}
update $UPDATEFLAGS dns.h $SRC
%.update:V:
update $UPDATEFLAGS $stem.c
update:V:
mk clean
T=`{echo $TARG|sed 's/( |$)/.update /g'}
mk 'UPDATEFLAGS='$"UPDATEFLAGS $T
update $UPDATEFLAGS mkfile

View file

@ -8,11 +8,6 @@ LIB=../lib/usb.a$O
BIN=/$objtype/bin/nusb
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone
CFLAGS=-I../lib $CFLAGS

View file

@ -16,10 +16,5 @@ LIB=../lib/usb.a$O
BIN=/$objtype/bin/nusb
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone
CFLAGS=-I../lib $CFLAGS

View file

@ -10,11 +10,6 @@ LIB=../lib/usb.a$O
BIN=/$objtype/bin/nusb
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone
CFLAGS=-I../lib $CFLAGS

View file

@ -10,11 +10,6 @@ LIB=../lib/usb.a$O
BIN=/$objtype/bin/nusb
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone
CFLAGS=-I../lib $CFLAGS

View file

@ -9,11 +9,6 @@ OFILES=\
HFILES=\
usb.h\
UPDATE=\
$HFILES\
${OFILES:%.$O=%.c}\
mkfile\
</sys/src/cmd/mklib
install:V: $LIB

View file

@ -12,9 +12,6 @@ DIRS=\
joy\
cam\
UPDATE=\
mkfile\
default:V: all
none:VQ:
@ -30,13 +27,6 @@ install installall safeinstall safeinstallall:V:
cd $i && mk $target
}
update:V:
update $UPDATEFLAGS $UPDATE
for (i in $DIRS) @{
echo update $i
cd $i && mk 'UPDATEFLAGS='$"UPDATEFLAGS update
}
test:
for(d in $DIRS) @{
cd $d && mk $MKFLAGS test

View file

@ -10,11 +10,6 @@ LIB=../lib/usb.a$O
BIN=/$objtype/bin/nusb
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone
CFLAGS=-I../lib $CFLAGS

View file

@ -10,13 +10,6 @@ OFILES=
PROGS=${TARG:%=$O.%}
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${TARG:%=%.c}\
${TARG:%=/386/bin/%}\
all:V:

View file

@ -18,11 +18,6 @@ HFILES=power.h\
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone
acid:

View file

@ -31,13 +31,6 @@ YFILES=syn.y
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
$YFILES\
${TARG:%=/386/bin/%}\
CFLAGS=$CFLAGS -DPlan9
</sys/src/cmd/mkone

View file

@ -16,11 +16,6 @@ OFILES=\
HFILES=dat.h\
fns.h\
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone
$O.out: /$objtype/lib/libdraw.a /$objtype/lib/libframe.a \

View file

@ -28,12 +28,6 @@ HFILES=sam.h\
BIN=/$objtype/bin
UPDATE=\
mkfile\
parse.h\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone
address.$O cmd.$O parse.$O xec.$O unix.$O: parse.h

View file

@ -20,11 +20,6 @@ LIB= /$objtype/lib/libdraw.a\
BIN=/$objtype/bin/aux
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone
CFLAGS=-I../sam $CFLAGS

View file

@ -6,10 +6,5 @@ HFILES = scsireq.h
OFILES = scuzz.$O cdaudio.$O cdr.$O changer.$O scsireq.$O sense.$O
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${TARG:%=/386/bin/%}\
</sys/src/cmd/mkone

View file

@ -10,13 +10,6 @@ OFILES=\
HFILES=snap.h
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${TARG:%=%.c}\
${TARG:%=/386/bin/%}\
LIB=/$objtype/lib/lib9p.a
</sys/src/cmd/mkmany

View file

@ -7,11 +7,6 @@ HFILES=tab.h\
BIN=/$objtype/bin
UPDATE=\
mkfile\
${OFILES:%.$O=%.c}\
${TARG:%=/386/bin/%}\
</sys/src/cmd/mkone
SYSCALL=/sys/src/libc/9syscall/sys.h

View file

@ -10,12 +10,6 @@ OFILES=\
HFILES=\
tapefs.h\
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${TARG:%=%.c}\
</sys/src/cmd/mkmany
zipfs.$O: zip.h

View file

@ -19,14 +19,6 @@ HFILES=\
TARG=vac unvac vacfs
BIN=/$objtype/bin
CFILES=${TARG:%=%.c} ${LIBFILES:%=%.c}
UPDATE=\
mkfile\
$CFILES\
$HFILES\
${TARG:%=/386/bin/%}
default:V: all
</sys/src/cmd/mkmany

View file

@ -17,11 +17,6 @@ HFILES=mips.h\
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone
acid:

View file

@ -36,15 +36,6 @@ HFILES=\
vncv.h\
vncs.h\
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${SOFILES:%.$O=%.c}\
${COFILES:%.$O=%.c}\
${TARG:%=%.c}\
default:V: all
</sys/src/cmd/mkmany

View file

@ -16,11 +16,6 @@ OFILES=fs.$O $COFILES
BIN=/$objtype/bin
LIB=/$objtype/lib/lib9p.a #/$objtype/lib/libdebugmalloc.a
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
</sys/src/cmd/mkone
$O.wiki2html: wiki2html.$O $COFILES

View file

@ -132,11 +132,6 @@ HFILES=\
wi_stuff.h\
z_zone.h\
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
CFLAGS=$CFLAGS `{~ $objtype mips && echo -D__BIG_ENDIAN__}
</sys/src/cmd/mkone

View file

@ -11,10 +11,4 @@ OFILES=\
HFILES=mahjongg.h\
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
`{ls /sys/games/lib/mahjongg/*}
</sys/src/cmd/mkone

View file

@ -12,10 +12,4 @@ OFILES=\
HFILES=sokoban.h\
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
`{ls /sys/games/lib/sokoban/*}
</sys/src/cmd/mkone

View file

@ -9,10 +9,4 @@ OFILES=\
HFILES=sudoku.h\
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
`{ls /sys/games/lib/sudoku/*}
</sys/src/cmd/mkone

View file

@ -28,12 +28,6 @@ OFILES=\
HFILES=/sys/include/9p.h
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${LIB:/$objtype/%=/386/%}\
</sys/src/cmd/mksyslib
$O.ramfs: ramfs.$O $LIB

Some files were not shown because too many files have changed in this diff Show more