/[path-sandbox]/trunk/Makefile.am
Gentoo

Diff of /trunk/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 37 Revision 38
37 echo -e "#define __symbol_h\n" >> $@; \ 37 echo -e "#define __symbol_h\n" >> $@; \
38 for x in `cat $^`; do \ 38 for x in `cat $^`; do \
39 sym=`readelf -s "$(LIBC_PATH)" 2>/dev/null | \ 39 sym=`readelf -s "$(LIBC_PATH)" 2>/dev/null | \
40 awk '{ print $$8 }' | \ 40 awk '{ print $$8 }' | \
41 grep "^$${x}@@" | \ 41 grep "^$${x}@@" | \
42 sort -u | \
42 cut -d'@' -f3`; \ 43 cut -d'@' -f3`; \
43 echo "#define symname_$${x} \"$${x}\"" >> $@; \ 44 echo "#define symname_$${x} \"$${x}\"" >> $@; \
44 if [ -n "$${sym}" ]; then \ 45 if [ -n "$${sym}" ]; then \
45 echo "#define symver_$${x} \"$${sym}\"" >> $@; \ 46 echo "#define symver_$${x} \"$${sym}\"" >> $@; \
46 else \ 47 else \

Legend:
Removed from v.37  
changed lines
  Added in v.38

  ViewVC Help
Powered by ViewVC 1.1.20