Lockheed was involved in the initial C-27J design process (hence the C-130J systems commonality) but dropped out in the early 2000s when the projected numbers failed to materialise. Boeing was going to be prime for the ~138 order USAF/Army JCA, but dropped out when JCA was wound back.
I believe only 38 aircraft have been ordered by the USAF for ANG use, but not all these have been funded. From what I can determine, L3 'production' so far has only been around 20 aircraft.