Meanings
Used to form adjectives from nouns, describing having the property of, or similar properties to, the noun.
Masse (“mass”) + -haft → massenhaft (“en masse”)
Used to form adjectives from verbs, describing frequently or currently performing the action.
wohnen (“to reside”) + -haft → wohnhaft (“resident, residing somewhere”)