TEHRAN (Tasnim) – Turkish permission for German lawmakers to visit the Incirlik air base will depend on the German government distancing itself from a resolution branding a 1915 massacre of Armenians as "genocide", Turkey's foreign minister said Monday.

Turkey, angered by a resolution passed by the German parliament in June that described the 1915 massacre of Armenians by Ottoman forces as a "genocide", has denied German lawmakers access to the base near the Syrian frontier.

Six German surveillance jets and a refueling tanker are using it to support the US-led coalition's strikes o Daesh (ISIL). Some German lawmakers have threatened to end the mission unless Ankara allows them to visit.

"It depends on the steps taken by Germany. If they take the necessary steps we will enable this visit," Turkish Foreign Minister Mevlut Cavusoglu told a news conference in Ankara, when asked about allowing the German lawmakers access to the base.

"But unfortunately I have to say that those that mingle and manipulate our history in an unfair manner cannot be allowed on this visit," he said, in reference to the Armenian resolution.

Turkish Foreign ministry officials said "necessary steps" meant the German government distancing itself from the parliamentary resolution and making clear it did not support it.

Germany's European Affairs Minister Michael Roth, who just returned to Germany from a visit to Ankara, earlier told broadcaster Suedwestrundfunk that the two countries had made progress in resolving the dispute over Incirlik, Reuters reported.

"I have the impression that there is great movement here," Roth said. "I hope and wish that parliamentarians from our Bundestag will soon be able to visit our soldiers."

Roth said he was received warmly and openly in Turkey during a visit aimed at rebuilding German-Turkish ties.

Tense relations between the NATO allies soured further after Turkey's failed July 15 coup, with Turkey unhappy about what it saw as a slow German response in condemning the action.

Roth said Germany had immediately condemned the coup attempt, but could have responded more compassionately.