clean:
rm -f *.exe *.o *.res *.a 1 2 3
- rm -f bin/bacula-fd.exe bin/smtp.exe bin/testfind.exe
+ rm -f bin/smtp.exe bin/console.exe
+ rm -f bin/bacula-fd.exe bin/bsmtp.exe bin/testfind.exe
distclean: clean
@rm -f Makefile
@rm -rf bin/CVS CVS
+devclean: clean
+ @rm -f Makefile
+
install:
@mkdir -p $(DESTDIR)$(sbindir) $(DESTDIR)/tmp $(DESTDIR)$(sbindir)/../working
@echo "Installing system binary files ..."
@strip ../bacula-fd.exe
- @strip ../../tools/smtp.exe
+ @strip ../../tools/bsmtp.exe
@strip ../../tools/testfind.exe
- @strip ../../console/console.exe
+ @strip ../../console/bconsole.exe
@cp -f ../bacula-fd.exe bin/
- @cp -f ../../tools/smtp.exe bin/
+ @cp -f ../../tools/bsmtp.exe bin/
@cp -f ../../tools/testfind.exe bin/
- @cp -f ../../console/console.exe bin/
+ @cp -f ../../console/bconsole.exe bin/
@cp -f bin/* $(DESTDIR)$(sbindir)
@cp -f ../bacula-fd.conf $(DESTDIR)$(sysconfdir)/bacula-fd.conf.new
- @cp -f ../../console/console.conf $(DESTDIR)$(sysconfdir)/console.conf.new
+ @cp -f ../../console/bconsole.conf $(DESTDIR)$(sysconfdir)/bconsole.conf.new
# Make a Win32 binary release
binary-release:
@echo "Copying system binary files ..."
@cp bin/* wr/$(sbindir)
@strip ../bacula-fd.exe
- @strip ../../tools/smtp.exe
+ @strip ../../tools/bsmtp.exe
@strip ../../tools/testfind.exe
- @strip ../../console/console.exe
+ @strip ../../console/bconsole.exe
@echo "Copying executables ..."
@cp -f ../bacula-fd.exe wr/$(sbindir)/bacula-fd.exe
- @cp -f ../../tools/smtp.exe wr/$(sbindir)/smtp.exe
+ @cp -f ../../tools/bsmtp.exe wr/$(sbindir)/bsmtp.exe
@cp -f ../../tools/testfind.exe wr/$(sbindir)/testfind.exe
- @cp -f ../../console/console.exe wr/$(sbindir)/console.exe
+ @cp -f ../../console/bconsole.exe wr/$(sbindir)/bconsole.exe
@echo "Copying bacula-fd.conf..."
@cp -f ../bacula-fd.conf wr/$(sysconfdir)/bacula-fd.conf.new
- @cp -f ../../console/console.conf wr/$(sysconfdir)/console.conf.new
+ @cp -f ../../console/bconsole.conf wr/$(sysconfdir)/bconsole.conf.new
# the two dummy files are necessary to insure that WinZip
# actually creates the directories.
@echo "dummy" >wr/tmp/dummy.txt