Import("env_etc") if (not env_etc.no_boost_python): Import("env_iotbx_boost_python_ext") env = env_iotbx_boost_python_ext.Clone() env.Prepend(LIBS=["cctbx", "scitbx_boost_python"]) env_etc.enable_more_warnings(env=env) env.SharedLibrary( target="#lib/mmtbx_ramachandran_restraints_ext", source=["boost_python/ramachandran_ext.cpp"]) env.SharedLibrary( target="#lib/mmtbx_reference_coordinate_ext", source=["boost_python/reference_coordinate_ext.cpp"])