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 $(MAINDIR)/src/filed $(BUILDDIR)/libwin32
27 vpath %.cpp $(MAINDIR)/src/filed $(BUILDDIR)/libwin32
29 ##########################################################################
32 $(OBJDIR)/accurate.o \
34 $(OBJDIR)/authenticate.o \
36 $(OBJDIR)/estimate.o \
37 $(OBJDIR)/fd_plugins.o \
39 $(OBJDIR)/filed_conf.o \
40 $(OBJDIR)/heartbeat.o \
45 $(OBJDIR)/verify_vol.o \
48 $(OBJDIR)/vss_W2K3.o \
49 $(OBJDIR)/vss_Vista.o \
50 $(OBJDIR)/aboutDialog.o \
52 $(OBJDIR)/statusDialog.o \
53 $(OBJDIR)/trayMonitor.o \
57 ALL_OBJS = $(FILED_OBJS)
68 ######################################################################
74 all: $(BINDIR)/bacula-fd.exe
77 @echo "Cleaning `pwd`"
78 $(call clean_obj,$(ALL_OBJS))
79 $(call clean_exe,$(BINDIR)/bacula-fd.exe)
85 $(BINDIR)/bacula-fd.exe: $(FILED_OBJS) $(LIBS_BACULA)
86 $(call link_winapp,$(FILED_LIBS))
88 $(OBJDIR)/winres.res: ../libwin32/winres.rc
91 $(ECHO_CMD)$(WINDRES) $(INCLUDE_ICONS) -O coff $< -o $@
93 include ../Makefile.rules