They are capitalized and amortized over their useful life. Is that what you are asking? Be careful as not all are capitalized (such as training, scoping and other activities that are not considered development).
Edit: My response was GAAP but I see this is in the Tax section so you may be asking the tax treatment which I am not.