Most of the files are licensed under the GNU GPL version 3 or (at your option), any later version: <http://www.gnu.org/licenses/gpl.html>
MAP and map.h are licensed  under the Creative Commons Attribution-Sharealike 4.0 International License: <http://creativecommons.org/licenses/by-sa/4.0/>