I would think that the Turkish Armed Forces as a whole would be better than that of Pakistan ! The things that would make us bridge that gap are our numbers, our experience, our training and our missiles (and I'm not talking about the nukes); throw in the nukes and we'd probably top the list ! Their navies (at least the Turkish Navy) is considerably better than their Pakistani counterparts ! So this is how I see it :
Army :
Turkey > Pakistan > Iran > the rest of the Muslim Countries !
AirForce :
Turkey > Saudi > UAEs > PAF > the rest !
Navy :
Turkey > Indonesia > PN > Iran > the rest !
AirDefense :
Turkey > Iran > A couple of Muslim Countries > Pakistan !