Turkey Cozying Up to Russia and Iran

What does history teach us about the real prospects of closer Turkish relations with Russia and Iran?