From weren + macht, calque of German Wehrmacht. The word was rare until the 1880s.
weermacht f (uncountable)