Dallas might offer Stackhouse for Martin.
Then Dallas can move Dampier, since they just traded for Croshere.
And in trading Croshere, they can try to get a wing player, or they can sign someone like Mike James at MLE level money.
Or they could offer Croshere for Martin, and Denver might take it to get rid of Martin's contract.
If Dallas was able to get rid of Dampier, then picking up Martin for similar money the next couple of years isn't too bad. If the Hawks were able to pick up multi-year contracts, Dampier would be a decent player for the Hawks.