Rémi Bernon (@rbernon) commented about tools/makedep.c:
"IN_SRCS", "PO_SRCS", "MANPAGES",
"WAYLAND_PROTOCOL_SRCS",
I guess this will need to be supported in `tools/make_makefiles` too? I don't know if it would need to also check the `.xml` contents as done here to check that the files are indeed wayland protocols, but if yes (as would be nice) you can probably have a look at how it's done for IDL files with `get_makedep_flags`.
Alternatively, instead of reading the contents (and as checking for `<protocol name=` seems a little bit brittle), maybe we can use a specific extension or assume all `.xml` inside `winewayland.drv` will be protocol files and rely on the module directory name?