Etymology
Today it means: By way of greeting. Full definition →
From greeting + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.