Annotation of binutils/hp-bin/mkhplib, revision 1.1.1.1

1.1       root        1: #!/bin/csh -f
                      2: 
                      3: if (! -d /usr/local/lib/gnu) then
                      4:   mkdir /usr/local/lib/gnu
                      5: endif
                      6: 
                      7: # Note: ordering of directories must be reverse of the normal search
                      8: # order!  This is because we are compressing all of the directories
                      9: # into a single directory.  If two directories each contain a library
                     10: # with the same name, the one we convert second will be the one we
                     11: # end up with.
                     12: 
                     13: foreach dir (/usr/local/lib /usr/lib /lib)
                     14:   cd $dir
                     15:   foreach i (lib*.a)
                     16:     echo "$dir/$i"
                     17:     hpxt $i /usr/local/lib/gnu/$i
                     18:   end
                     19: end
                     20: 
                     21: cd /lib
                     22: foreach i (*crt0.o)
                     23:   echo "/lib/$i"
                     24:   hpxt $i /usr/local/lib/gnu/$i
                     25: end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.