[+] generate dependency according to linkage type
[fix] sdk linkage type