Bifurcations of homoclinic orbits in singularly perturbed flows door