note *
note * This build script is in an extended Make Abstract Machine (MAM)
note * language. Documentation is at: src/cmd/INIT/README-mamake.md
note *

setv MAMAKE_STRICT 4

make install virtual
	make all virtual
		exec - %{MAMAKE} -r '*/*' %{MAMAKEARGS}
	done
	make announce_build_done virtual notrace
		makp cmd/ksh93/ksh
		exec - %{<} -c 'print "# KornShell $KSH_VERSION"'
		exec - echo "# Type 'bin/package use' to try it out"
	done
done

make test virtual
	exec - : testing KornShell $KSH_VERSION :
	exec - %{MAMAKE} -r '*/*' %{MAMAKEARGS}
done
