Make sure that every C file includes config.h. Make sure that all
extension header files (e.g., Xv.h) come from X11/extensions. Remove
all of the $XFree86$ cruft.
Shuffle files around into their correct places. Create Makefile.am,
configure.ac, and autogen.sh based on similar files in other drivers. Delete
pre-modular files (e.g., Imakefile) that are no longer necessary.