shithub: riscv

ref: a54782d69b31f3eaeb77a8087016065790c200bb
dir: /sys/src/mkfile/

View raw version
</$objtype/mkfile

LIBS=\
	lib9p\
	libString\
	libaml\
	libauth\
	libauthsrv\
	libavl\
	libbin\
	libbio\
	libc\
	libcomplete\
	libcontrol\
	libdisk\
	libdraw\
	libflate\
	libfis\
	libframe\
	libgeometry\
	libhtml\
	libhttpd\
	libip\
	liblex\
	libjson\
	libmach\
	libmemdraw\
	libmemlayer\
	libmp\
	libndb\
	liboventi\
	libplumb\
	libregexp\
	libscribble\
	libsec\
	libstdio\
	libsunrpc\
	libthread\
	libventi\


CMDS=cmd\
	games\

SUBSYS=ape\
	/acme\

none:VQ:
	echo mk all, install, clean, nuke, release, kernels, or libs

all install clean nuke:VQ:
	date
	for (i in $LIBS $SUBSYS $CMDS) @{
		cd $i
		mk $target
	}
	date

installall:V:
	echo "installall not supported"

release:V:
	mk nuke
	rm -f /$objtype/lib/ape/*.a
	rm -f /$objtype/lib/*.a
	mk install
	mk clean

kernels:V:
	for (i in 9 boot) @{
		cd $i
		mk clean
		mk install
		mk clean
	}

libs:V:
	date
	for (i in $LIBS) @{
		cd $i
		mk clean
		mk install
		mk clean
	}
	date

cleanlibs:V:
	for (i in $LIBS) @{
		cd $i
		mk clean
	}

updatelibs:V:
	for (i in $LIBS) @{
		cd $i
		mk update
	}