It used to be that ufsread.c was combined with other boot code by including it using the C preprocessor. This was presumably due to a search for space efficiencies needed by the fact that it needed to fit (with boot1 and btx) into the 8KB available in a BSD disklabel.
Linkers have improved significantly since then and this approach is no longer needed.