If I research L10 Lumbering, would the bonus only apply to cities that had an L10 Lumberyard? Or to just L10 Lumberyards? Or to all lumberyards?

Thanks in advance!