Dynamic footer link based on current url
The default menu system won't let you do that...but if you install the Menu Token module you should be able to use a path similar to the following to get what you need:

http://m.example.com/[current-page:url]