A mass cull of poultry has been ordered after an outbreak of bird flu on a farm in Yorkshire.