shithub: riscv

ref: b68eeefef34d4a742124d922e2a23613b9bcb1e5
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 test: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
	}