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