Turkey's parliament has authorised cross-border military action against Syria, if deemed necessary by the government.
The mandate, valid for one year, was passed by 320 votes in the 550-seat Turkish parliament, the Anatolia news agency reported on Thursday.
Besir Atalay, Turkey's deputy prime minister, said authorising the use of force in Syria was not a declaration of war but was intended as a deterrent.
The vote came as Turkey resumed shelling Syrian government military positions on Thursday morning in retaliation for a mortar attack which landed over its border in southeastern Turkey killing five of its citizens - a woman and four children from the same family.
"The Syrian side has admitted what it did and apologised," Atalay said.
Turkish state media said that the attacks by artillery units based in the border town of Akcakale were continuing.
Several Syrian troops were killed as a result of overnight Turkish shelling at a base near the Syrian border town of Tal al-Abyad, a UK-based Syrian activist group said.
An aide to Recep Tayyip Erdogan, Turkey's prime minister, said on Thursday that his country had no intention of declaring war on Syria, pointing out that the shelling - now in its second day - should be seen as a "warning" to the authorities in Damascus.
"Turkey has no interest in a war with Syria. But Turkey is capable of protecting its borders and will retaliate when necessary," Ibrahim Kalin, a senior adviser to Prime Minister Erdogan, said on his Twitter account.