2 # Makefile to build the native Win32 File daemon
3 # VC++ and tools must be on your path
5 # Kern Sibbald, February 2004
9 MAKENSIS="c:/Program Files/NSIS/makensis"
19 (cd baculafd; env MAKEFLAGS= ${NMAKE} CFG="baculafd - Win32 Release" /f baculafd.mak)
22 # Quickie debug installation
25 cp -f ../../../depkgs-win32/pthreads/pthreadVCE.dll baculafd/Release
26 cp -f bacula-fd.conf baculafd/Release
27 (cd baculafd/Release; ./bacula-fd.exe /kill)
29 cp -f baculafd/Release/bacula-fd.exe /bacula/bin
30 @echo "Please start Bacula from the Service Menu"
32 installer: winbacula.exe
38 ${MAKENSIS} winbacula.nsi
41 (cd baculafd; make clean)
44 rm -rf baculafd/Release baculafd/Debug