An azaaryl derivative having a structure represented by formula (I), a method for producing the same, and a pharmaceutical application. A series of compounds of the present invention include drugs for treating cancer, tumors, autoimmune diseases, metabolic or metastatic diseases, especially ovarian cancer, pancreatic cancer, prostate cancer, breast cancer, cervical cancer, glioblastoma, multiple bone marrow. It can be widely applied to the manufacture of drugs for treating tumors, metabolic diseases, neurodegenerative diseases, metastases of primary tumor sites or bone metastatic cancers, and the development of new generation CSF-1R inhibitor drugs is expected. [Chemical 1]式(I)に示される構造を有するアザアリール誘導体、その製造方法および薬学上の応用である。本発明の一連の化合物は癌、腫瘍、自己免疫疾患、代謝性疾患または転移性疾患を治療する薬物、特に卵巣癌、膵臓癌、前立腺癌、乳癌、子宮頸癌、膠芽腫、多発性骨髄腫、代謝性疾患、神経変性疾患、原発性腫瘍部位の転移または骨転移性癌を治療する薬物の製造に広く応用でき、新世代のCSF-1R阻害剤薬物の開発が期待されている。 【化1】