+ results.push_back(new SharedLibrary(builder, *this, objs));
+ results.push_back(new StaticLibrary(builder, *this, objs));
+ }
+ else
+ results.push_back(new Executable(builder, *this, objs));
+
+ for(list<FileTarget *>::const_iterator i=results.begin(); i!=results.end(); ++i)
+ {
+ if(&pkg==builder.get_main_package() && deflt)
+ def_tgt->add_depend(*i);
+ else
+ world->add_depend(*i);
+ if(install)
+ inst_list.push_back(*i);