2 # Makefile for win32 bacula executables
3 # Using MinGW cross-compiler on GNU/Linux
5 # Author: Robert Nelson
6 # License: BSD 2-Clause; see file LICENSE-FOSS
8 # Written by Robert Nelson, June 2006
11 include ../Makefile.inc
22 vpath %.c $(MAINDIR)/src/console
23 vpath %.cpp $(MAINDIR)/src/console
25 ##########################################################################
28 $(OBJDIR)/authenticate.o \
30 $(OBJDIR)/console_conf.o
32 ALL_OBJS = $(CONSOLE_OBJS)
34 CONSOLE_LIBS = $(LIBS_NETWORK)
36 ######################################################################
40 .PHONY: all clean distclean
42 all: $(BINDIR)/bconsole.exe
47 @echo "Cleaning `pwd`"
48 $(call clean_obj,$(ALL_OBJS))
49 $(call clean_exe,$(BINDIR)/bconsole.exe)
50 $(ECHO_CMD)rm -rf $(OBJDIRS)
56 $(BINDIR)/bconsole.exe: $(CONSOLE_OBJS) $(LIBS_BACULA)
57 $(call link_conapp,$(CONSOLE_LIBS))
59 include ../Makefile.rules