Converting "OSM data" into Shape files for navigation

I need to convert the “osm data” into “shape files” to work in our application for routing purpose. I have found my servers having shape files data available for download, and there are also converter available for converting osm data into shape files. My question is that for routing algorithms on shape files to work, it is important that a road should be divided into multiple parts/roads at point of intersection, if any road is intersecting it. but this important aspect is ignored in the converters or converted shape files I have seen so far. Can some one please explain that is there any converter available for converting osm data into shape files that are suitable for routing?