I thought the "new way" was more recent than that. But I could be wrong. Like I said, if you want to send a patch I'll look at it. There is already some code in the libafs Makefile to generate the vnode_if.h file. Maybe this could be extended to also generate the files it depends on.