diff options
Diffstat (limited to 'src/print-ar.sh')
-rw-r--r-- | src/print-ar.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/print-ar.sh b/src/print-ar.sh new file mode 100644 index 0000000..99bc116 --- /dev/null +++ b/src/print-ar.sh @@ -0,0 +1,14 @@ +cat warn-auto.sh +echo 'main="$1"; shift' +echo 'rm -f "$main"' +echo 'ar cr "$main" ${1+"$@"}' +case "`cat systype`" in + sunos-5.*) ;; + unix_sv*) ;; + irix64-*) ;; + irix-*) ;; + dgux-*) ;; + hp-ux-*) ;; + sco*) ;; + *) echo 'ranlib "$main"' ;; +esac |