The U.S. has agreed to supply Turkey with source code for F-16 fire control and flight system software, so that Turkey can modify F-16 software to use Turkish made weapons and equipment. This will be part of a Turkish refurbishment of 213 of their F-16s. This will cost about $5.2 million per aircraft, and include a lot of Turkish made equipment.
Over the last decade, Turkey has been producing more military gear locally, and now produces over half its military equipment needs.
Warplanes: Turkey Gets F-16 Source Code