3 # Copyright (C) 2000-2018 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
6 # Make the stupid bacula.def file so that we don't have to do it
9 # Kern Sibbald, June 2007
12 TOPDIR=`(cd ../../..;pwd)`
13 TOPDIR=${DEPKGS:-${TOPDIR}}
14 NM=i686-w64-mingw32-nm
16 echo "LIBRARY bacula.dll"
21 # remove "static" objects before running
22 rm -f parse_conf.* res.*
26 ${NM} $i | grep "^[0-9a-f]* T _" | cut -c13- ; \
30 DATA="console_command b_plugin_list plugin_bopen plugin_bclose plugin_bwrite plugin_bread plugin_blseek exepath version dist_name"
32 for i in ${DATA}; do \