what the direct object and indirect object in these sentences

My mother bought scrap wood and shingles at a lumberyard.
A library book gave us ideas for the design.
My father sawed the wood to the right length.
My little brother handed me the nails.