Remove obsolete/autogenerated files and update EXTRA_DIST

* Instead of custom macro logic use to check warning CFLAGS let MATE_COMPILE_WARNINGS(maximum) handle it.
* With the above all custom macros can be removed.
* Remove autogenerated files and update EXTRA_DIST