Non-AA flights earn million miler credit according to the base miles accrued (this will be a number between 25% and 100% of miles flown usually).
Incidentally, because JetBlue-marketed flights accrue base miles according to 5x fare, this means you can get more than 100% of distance flown as million miler credit for JetBlue-marketed flights.