how to convert a theme to be buddypress compatible

Just that. What are the steps to creating a buddypress compatible theme? Assuming it standard themes can be modified for that purpose. How would one know?