summaryrefslogtreecommitdiffstats
path: root/make-makelib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make-makelib.sh')
-rw-r--r--make-makelib.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/make-makelib.sh b/make-makelib.sh
new file mode 100644
index 0000000..d6b7c8c
--- /dev/null
+++ b/make-makelib.sh
@@ -0,0 +1,16 @@
1echo 'main="$1"; shift'
2echo 'rm -f "$main"'
3echo 'ar cr "$main" ${1+"$@"}'
4
5case "$1" in
6sunos-5.*) ;;
7unix_sv*) ;;
8irix64-*) ;;
9irix-*) ;;
10dgux-*) ;;
11hp-ux-*) ;;
12sco*) ;;
13*)
14 echo 'ranlib "$main"'
15 ;;
16esac