X-ray intensities from the flow of a stellar wind past a compact object