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 \
36 $(OBJDIR)/filed_conf.o \
37 $(OBJDIR)/heartbeat.o \
42 $(OBJDIR)/verify_vol.o \
45 $(OBJDIR)/vss_W2K3.o \
46 $(OBJDIR)/vss_Vista.o \
47 $(OBJDIR)/aboutDialog.o \
49 $(OBJDIR)/statusDialog.o \
50 $(OBJDIR)/trayMonitor.o \
54 ALL_OBJS = $(FILED_OBJS)
65 ######################################################################
71 all: $(BINDIR)/bacula-fd.exe
74 @echo "Cleaning `pwd`"
75 $(call clean_obj,$(ALL_OBJS))
76 $(call clean_exe,$(BINDIR)/bacula-fd.exe)
82 $(BINDIR)/bacula-fd.exe: $(FILED_OBJS) $(LIBS_BACULA)
83 $(call link_winapp,$(FILED_LIBS))
85 $(OBJDIR)/winres.res: ../libwin32/winres.rc
88 $(ECHO_CMD)$(WINDRES) $(INCLUDE_ICONS) -O coff $< -o $@
90 include ../Makefile.rules