root/trunk/extend_depcomp.sh

Revision 3, 304 bytes (checked in by davison, 2 years ago)

standard svn dir structure

  • Property svn:executable set to
Line 
1 if grep -q xlc depcomp ; then
2         echo "depcomp already extended to handle xlc. No change to file."
3 else
4         sed '/^aix)/,/;;/ {
5                         H
6                         s/\.u/.d/
7                         s/^aix)/xlc) #following fragment is just like AIX but the extension is .d instead of .u/
8                 }
9                 /^icc)/ {
10                         x
11                         G                       
12                 }
13         ' depcomp > temp
14         mv temp depcomp
15 fi
Note: See TracBrowser for help on using the browser.