The same and possibly much more could be said about Syria and Russia. Remember in the early days of the civil war when ISIL had just entered the Syrian theatre and was capturing territory? Back then ISIL seemed to target anti-Assad areas more than Assad.. Rebels would complain that the Syrian air force would soften rebel targets prior to ISIL assaults. In fact, look at who has benefited the most from the rise of ISIL, i would argue it is Assad. The west and Turkey have almost completely abandoned their mission of deposing him because of ISIL. Also Russia has hardly done much against ISIL (much less than Turkey it could be argued). But nobody talks about Syria (and by extension Russia) supporting ISIL.
I see where you're coming from and i admit there seems to have been murky dealings on some level between the two, but I think whatever connection may have existed between Turkey and ISIL is overstated. Undoubtedly Turkey's past open border policy had been used by ISIL, buts it had also been used by the other rebels and even the Kurds and western govts like the Americans. Also Turkey has other better client groups to do their bidding; in fact groups like Nusra front and Ahrar al sham have long been giving the Kurds a hard time. And unlike ISIL, none of these other groups have ever attacked Turkey.
I see where you're coming from and i admit there seems to have been murky dealings on some level between the two, but I think whatever connection may have existed between Turkey and ISIL is overstated. Undoubtedly Turkey's past open border policy had been used by ISIL, buts it had also been used by the other rebels and even the Kurds and western govts like the Americans. Also Turkey has other better client groups to do their bidding; in fact groups like Nusra front and Ahrar al sham have long been giving the Kurds a hard time. And unlike ISIL, none of these other groups have ever attacked Turkey.