Initial revision
authorewt <devnull@localhost>
Mon, 25 Nov 1996 16:02:48 +0000 (16:02 +0000)
committerewt <devnull@localhost>
Mon, 25 Nov 1996 16:02:48 +0000 (16:02 +0000)
CVS patchset: 1199
CVS date: 1996/11/25 16:02:48

autodeps/solaris.req [new file with mode: 0644]

diff --git a/autodeps/solaris.req b/autodeps/solaris.req
new file mode 100644 (file)
index 0000000..3f8c209
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# note this works for both a.out and ELF executables
+
+ulimit -c 0
+
+filelist=`xargs -r file | fgrep executable | cut -d: -f1 `
+
+for f in $filelist; do
+    ldd $f | awk '/=>/ { print $1 }'
+done | sort -u | xargs -r -n 1 basename | sort -u
+