makefiles: Generate top-level rules for building mo files.