Entanglement between distant macroscopic mechanical and spin systems