2 # Makefile for win32 bacula executables
3 # Using MinGW cross-compiler on GNU/Linux
5 # Written by Robert Nelson, June 2006
8 include ../Makefile.inc
26 vpath %.c ../../filed ../libwin32
27 vpath %.cpp ../../filed ../libwin32
29 ##########################################################################
32 $(OBJDIR)/authenticate.o \
34 $(OBJDIR)/estimate.o \
35 $(OBJDIR)/fd_plugins.o \
37 $(OBJDIR)/filed_conf.o \
38 $(OBJDIR)/heartbeat.o \
43 $(OBJDIR)/verify_vol.o \
46 $(OBJDIR)/vss_W2K3.o \
47 $(OBJDIR)/vss_Vista.o \
48 $(OBJDIR)/aboutDialog.o \
50 $(OBJDIR)/statusDialog.o \
51 $(OBJDIR)/trayMonitor.o \
55 ALL_OBJS = $(FILED_OBJS)
66 ######################################################################
72 all: $(BINDIR)/bacula-fd.exe
75 @echo "Cleaning `pwd`"
76 $(call clean_obj,$(ALL_OBJS))
77 $(call clean_exe,$(BINDIR)/bacula-fd.exe)
83 $(BINDIR)/bacula-fd.exe: $(FILED_OBJS) $(LIBS_BACULA)
84 $(call link_winapp,$(FILED_LIBS))
86 $(OBJDIR)/winres.res: ../libwin32/winres.rc
89 $(ECHO_CMD)$(WINDRES) $(INCLUDE_ICONS) -O coff $< -o $@
91 include ../Makefile.rules