The second.
Ideally, you want to be able to target incoming missiles beyond the range of your anti-missiles, as the incoming missiles are moving towards the anti-missiles. Though, that can make for a rather larger fire control and sensor, and can cause issues if the targetted missiles are not moving towards your anti-missile ship.