]> git.tdb.fi Git - builder.git/blobdiff - source/binary.cpp
Move some install location assignments to more logical places
[builder.git] / source / binary.cpp
index 709dbd16a52cfbd068d9c3733ca2f7671a2ebac6..b3f018488347fc090d57839a0a0cc7344eaf40e2 100644 (file)
@@ -16,16 +16,8 @@ Binary::Binary(Builder &b, const Component &c, const list<ObjectFile *> &objs):
        FileTarget(b, &c.get_package(), generate_target_path(c)),
        comp(c)
 {
-       buildable = true;
        for(list<ObjectFile *>::const_iterator i=objs.begin(); i!=objs.end(); ++i)
                add_depend(*i);
-
-       if(c.get_type()==Component::LIBRARY)
-               install_location = "lib";
-       else if(c.get_type()==Component::MODULE)
-               install_location = "lib/"+package->get_name();
-       else if(c.get_type()==Component::PROGRAM)
-               install_location = "bin";
 }
 
 void Binary::find_depends()