In my experience general capital costs should not be included as directly attributable to the contract but rather recovered as part of an overhead recovery rate applicable to all contracts (for example total overhead including depreciation divided by total direct labour cost = overhead rate. Overhead rate multiplied by direct labour cost incurred under the contract = overhead recovered against the contract.)
Regarding termination costs - you determine the expected contract profitability by forecasting costs that you expect to incur to satisfy the contract deliverables (assuming that the contract runs its course, unless you have evidence to the contrary). Comparing the expected contract costs with expected contract revenue gives expected contract margin. This is applied to costs incurred to date to give current margin and revenue. If termination is not expected then there is no need to factor it in unless at the end of the normal term of the contract there are assets to write off, in which case these should be included in the total expected costs.
Hope that is clearer.
