]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/win32/lib/make_def
Update Win32/64 table creation to have new DB version 11 format
[bacula/bacula] / bacula / src / win32 / lib / make_def
1 #!/bin/sh
2 #
3 #  Make the stupid bacula.def file so that we don't have to do it
4 #    manually
5 #
6 #  Kern Sibbald, June 2007
7 #
8
9 NM=../../../../cross-tools/mingw32/mingw32/bin/nm
10  
11 echo "LIBRARY bacula.dll"
12 echo "EXPORTS"
13 echo " "
14
15 for i in *.o ; do \
16    echo "; $i"; \
17    ${NM} $i | grep "^[0-9a-f]* T _" | cut -c13- ; \
18    echo " "; \
19 done
20
21 DATA="\
22    console_command \
23    plugin_list"
24
25 for i in ${DATA}; do \
26    echo "$i DATA"; \
27 done