#
# !!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#
-# Edit only bat.pro.miingw32.in -- bat.pro.mingw32 is built by the ./configure program
+# Edit only bat.pro.mingw32.in -- bat.pro.mingw32 is built by the ./configure program
#
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#
#!/bin/sh
#
-# Used to build the Win32 version of bat
+# Used to build the Windows version of bat and the tray-monitor
#
rm -f debug/bat.exe
if test -f ../config.h ; then
mv -f ../config.h ../config.h.orig
fi
+# Create bat Makefile.mingw32
qmake -spec win32 -unix -o Makefile.mingw32 bat.pro.mingw32
echo "Make Windows bat"
make -j3 -f Makefile.mingw32 $1
cd tray-monitor
rm -f release/bacula-tray-monitor.exe debug/bacula-tray-monitor.exe
+# Create tray-monitor Makefile.mingw32
qmake -spec ../win32 -unix -o Makefile.mingw32 tray-monitor.pro
echo "Make Windows tray-monitor"
make -j3 -f Makefile.mingw32 $1