Turkey is not starting from scratch - they have most of the infrastructure they need via collaboration with western companies and TOT arrangements.
Its not secret , some weapons via collaboration with western-eastnern companies and TOT arrangements
YILDIRIM Ballistic Missile , T122 , T300 MLRS from China
ALTAY Tank with S.Korea
T-155 Howitzer with S.Korea
T-129 Attack Helicopter with Italy
TCG ANADOLU amphibious assault Ship with Spain
and Turkiye learned many things from under license production
but under license production is not TOT ... ( F-16 , Sikorsky S70 , MEKO-200 , Type214 Submarine , etc )
Turkiye itself has developed/develops hundreds of military projects
Nobody gives critical technologies to Turkiye
Our NATO allies even use arms embargo on Turkiye
Turkiye has 757 military projects
-- Turboshaft and Turbofan Engines to power T-929 heavy attack Helicopter ,
TFX Fighter Jet , KIZILELMA unmanned stealth Fighter Jet , TISU unmanned stealth Bomber
-- Unmanned technologies ( UCAVs , UGV , unmanned Vessels , unmanned Submarine )
-- Single mode LASER Weapons
-- Hypersonic Electromagnetic Rail Guns
-- Corvette , OPV , FAC , Frigate , Destroyer , AIP Submarine
-- Replenishment Combat Support Ship , MOSHİP , LCT , LST
-- TRNV global positioning and timing system
-- RAMJET , SCRAMJET for supersonic-hypersonic missiles
-- RAMJET powered GOKHAN long range air to air Missile
-- Supersonic decoy Drone
-- SOM , ATMACA , CAKIR , KUZGUN-TJ , GEZGIN Cruise Missiles
-- TAYFUN , CENK Ballistic Missiles
-- AKBABA anti-radiation Missile
-- BOZDOGAN and GOKDOGAN Air to Air Missiles
-- KORKUT , SUNGUR , HISAR-A , HISAR-O , SIPER Air Defense Systems
--Radars in bands of VHF, UHF, S, L, C, X, Ku, Ka and even W band
-- Quantum well infrared photodetectors ( HgCdTe , QWIP, InSb , InGaAs )
-- Multilayer microwave ceramic technology
-- Microbolometer-type infrared detector sets
-- Uncooled short wavelength infrared detector sets
-- High Success Multi Precessor CPU Card
-- Video processor chip
-- Engines for AFV , UCAVs , Cruise Missiles
-- Next Generation Combat Management System
-- VLS Vertical Launch System
-- EW technologies
-- GaN based AESA Radars
-- long range guided Bombs to hit even moving targets
-- Anti-radiation and Kamikaze Drones
-- Satellites
-- 20-35 mm CIWS
-- 76 mm naval Gun
-- ATGMs
-- MANPADS
-- E/O Systems
-- Targeting and Jamming Pods
-- Lght and heavy Torpedos
-- Soft-kill and hard-kill counter- measure against Torpedo
-- HELMET for Attack Helicopters and Fighter Jets
and our future
-- Hypersonic glide vehicle (HGV) for Ballistic Missiles
-- Anti gravity technology
-- Big Data, Artificial Intelligence, Autonomy, Robotic Systems and Decision Support Systems (Aselsan exclusive BYORK project )
And many more
Thanks to ASELSAN , HAVELSAN , ROKETSAN , METEKSAN , TAI , TEI , STM , TUBITAK-SAGE , etc which were established after American arms embargo on Turkiye in 1975