The SILC Project

source navigation ]
identifier search ]
freetext search ]
file search ]

silc/scripts/lib2def

  1 #!/bin/sh
  2 #
  3 # Generate .DEF file from .a file for Win32 DLLs.  This attempts to take
  4 # public SILC Toolkit routines only.
  5 #
  6 # The file ALWAYS must be edited by hand to remove some internal functions.
  7 #
  8 # Usage: lib2def <lib.a>
  9 #
 10 
 11 nm $1 | grep " T " | cut -dT -f2 | grep silc_ | grep -v _st_ | sed 's/^ /\t/' | awk 'BEGIN { N=1; print "EXPORTS" } { print $0 " @ " N " ;"; N++; }'

This page was automatically generated by the LXR engine.
Free-text search provided by Glimpse