shithub: riscv

ref: 65bd53b9b89b0a84d0f16db4adc3f53fa6ab3a3a
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\
	libplumb\
	libregexp\
	libsat\
	libscribble\
	libsec\
	libstdio\
	libsunrpc\
	libthread\
	libttf\
	libventi\
	libdtracy\


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
	}