One-step implementation of entanglement generation on microwave photons in distant 1D superconducting resonators