./buildtools/bin/waf configure --bundled-libraries=ALL --builtin-libraries=ALL
Checking project rules ...
ERROR: source source3/smbd/notify_internal.c is in more than one subsystem of target 'smbstatus': ['smbstatus.objlist', 'smbd_base']
And you won't get rid of the error by reconfiguring (waf reconfigure, or waf configure --enable-auto-reconfigure) only a make distclean helps.
Current error is:
ERROR: Target 'samba_python.cpython-38-x86_64-linux-gnu_empty_c' in directory /data/samba/git/samba/python re-defined as GENERATOR - was GENERATOR
But essentially this is essentially unsupported, and isn't really a priority unless you can give a specific use case.
This is supported, and may be more what you were looking for:
--bundled-libraries=ALL --with-static-modules=ALL --nonshared-binary=smbtorture,smbd/smbd