Why would Turkey fund it all from its own pockets?
There are dozens of sources.. sale of crude oil in the black market.. ISIS expanded its network by smuggling crude into Turkey ... then through African networks.. drugs.. gun running... organized prostitution gangs ... kidnapping for ransom...