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