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