Local and nonlocal energies in adhesive interaction