Calculating diffraction-limited resolution for a lens setup Supposed a lens arrangement is prepared where light from an object is collimated, focused and recollimated etc. before entering a CCD array. Given that we can calculate the diffraction-limited resolution for each lens in the system, how do we measure the diffraction limited resolution for the whole setup?
 A: (Edited based on your comments)
I want to briefly clarify what exactly is meant when we talk about being "diffraction limited." As light is focused, it will reach some minimum spot size before it begins to expand again. The size of this spot depends on how much the light beam is distorted.
A perfectly collimated beam (with perfectly planar wavefront) passing through a perfect lens would come out of the lens with perfectly spherical wavefront, and all of the rays in the beam would be converging to a single point. In this case, the spot size is determined solely by the angle occupied by the converging cone of light*. This is what we call "diffraction limited."
If the beam is abberated, for example by a poorly manufactured lens, then the beam will not have perfectly spherical converging wavefronts, and the resulting focal spot will be spread out over a larger area. The magnitude of these abberations is what determines the resolution of an optical system when it is not diffraction limited.
The size of the diffraction limited spot is a function of the f-number at the image plane. So, if you know the beam diameter after the last lens element, and the back focal distance, you can compute the diffraction limited spot size just like you would for any other lens.
*this is the case only assuming that the beam is always the same shape. In practice most beams are circular, so all we need to worry about is its diameter. If the beam is a different shape, then its diffraction limited spot size (and shape!) will change.
A: In the spot diagrams of optic designs the ray aberrations are always compared to the size of diffraction limited spot.
In order to do this you have to find the smallest aperture in your system. This can be a deliberately placed mechanical aperture but it can also be the circumference of a lens.
I copied the following spot diagram from 
http://www.astronomy.net/articles/17/.
The black ring is the diffraction limited spot size (3.3 $\mu$m if you convert from inch) the red dots are the spot with ray aberrations. You can see a strong Coma with $1\mu$m spread in x.

I read a nice discussion about this topic a while ago but can't remember which book it was in. I tried to implement it in a raytracer. It involved an iteration over all apertures in the optical train. One had to trace all apertures into the image and chose which one produced the smallest opening angle.
I think any decent book on lens design should contain a chapter on the topic. See for example chapter 6 in Warren J. Smith: "Modern optical engineering: the design of optical systems".
