Military ship and submarine builder Newport News Shipbuilding Inc. on Friday posted flat fourth-quarter earnings, but beat targets…