summaryrefslogtreecommitdiff
path: root/src/print-ar.sh
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-14 21:28:19 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-14 21:28:19 +0200
commit1087d4df2a7342d2832ba3bab1843bf4a3040775 (patch)
tree96cd6ea198cc542f29c0660d5e5f7083af84d711 /src/print-ar.sh
add version 0.12.10HEADmaster
Diffstat (limited to 'src/print-ar.sh')
-rw-r--r--src/print-ar.sh14
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