Deductions & credits

Not sure on all the rules here either but I think this is right. You said you have a farm. A farm is a business with income and profits. You would be required to depreciate land improvement over 15 years.
But if you have an investment, say bare land with trees you are clearing for a potential home with no annual income, than your expenses add to your basis in the investment property.