V10/cmd/asd/libnames

#!/bin/sh
# output: the names of the libraries we need to link

echo lib.a

if [ -f /usr/lib/dir.a ]
then	echo /usr/lib/dir.a
fi