3 # Copyright © 2011 Nick Bowler
5 # Determine the list of exported symbols from archives or (libtool) object
8 # License WTFPL2: Do What The Fuck You Want To Public License, version 2.
9 # This is free software: you are free to do what the fuck you want to.
10 # There is NO WARRANTY, to the extent permitted by law.
21 if expr "$arg" : '.*\.lo' >/dev/null; then
26 dir=`expr "$arg" : '\(.*\)/'`
27 if test x"$pic_object" != x"none"; then
28 OBJS="$OBJS $dir/$pic_object"
30 if test x"$non_pic_object" != x"none"; then
31 OBJS="$OBJS $dir/$non_pic_object"
43 *) @NM@ $OBJS | @GLOBAL_SYMBOL_PIPE@ | @SED@ 's/^.* //' | sort | uniq ;;