Planetary ecosynthesis