Turkish warplanes carried out airstrikes on suspected Kurdish militant targets in northern Iraq after a suicide attack on a government building in the Turkish capital, Turkey's defense ministry said.