The headers have to be added _somewhere_. If they aren't in _SOURCES and not in noinst_HEADERS then it will break. Automake will treat *.h in _SOURCES correctly.