Etymology
Today it means: In a nugatory manner. Full definition →
From nugatory + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.