MariaDB: add cmake files for building

Signed-off-by: swpd <swpdtz@gmail.com>
MariaDB: add files required by configrure to include

Signed-off-by: swpd <swpdtz@gmail.com>
MariaDB: add dbug dependency

Signed-off-by: swpd <swpdtz@gmail.com>
MariaDB: add files required by configrure to mysys

Signed-off-by: swpd <swpdtz@gmail.com>
MariaDB: add files required by configrure to extra

Signed-off-by: swpd <swpdtz@gmail.com>
MariaDB: add files required by configrure to sql

Signed-off-by: swpd <swpdtz@gmail.com>
MariaDB: remove generated mysql_version.h

Signed-off-by: swpd <swpdtz@gmail.com>
MariaDB: add files required by configrure to include

Signed-off-by: swpd <swpdtz@gmail.com>
MariaDB: add libmariadbclient.a target to Makefile

Signed-off-by: swpd <swpdtz@gmail.com>