#!/bin/sh
#
#  Make the stupid bacula.def file so that we don't have to do it
#    manually
#
#  Kern Sibbald, June 2007
#

NM=../../../../cross-tools/mingw32/mingw32/bin/nm
 
echo "LIBRARY bacula.dll"
echo "EXPORTS"
echo " "

for i in *.o ; do \
   echo "; $i"; \
   ${NM} $i | grep "^[0-9a-f]* T _" | cut -c13- ; \
   echo " "; \
done


syntax highlighted by Code2HTML, v. 0.9.1