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
24 VPATH = ../../filed ../libwin32
26 ##########################################################################
29 $(OBJDIR)/authenticate.o \
31 $(OBJDIR)/estimate.o \
33 $(OBJDIR)/filed_conf.o \
34 $(OBJDIR)/heartbeat.o \
39 $(OBJDIR)/verify_vol.o \
42 $(OBJDIR)/vss_W2K3.o \
43 $(OBJDIR)/winabout.o \
44 $(OBJDIR)/winevents.o \
45 $(OBJDIR)/winservice.o \
51 ALL_OBJS = $(FILED_OBJS)
61 ######################################################################
67 all: $(BINDIR)/bacula-fd.exe
70 @echo "Cleaning `pwd`"
71 $(call clean_obj,$(ALL_OBJS))
72 $(call clean_exe,$(BINDIR)/bacula-fd.exe)
78 $(BINDIR)/bacula-fd.exe: $(FILED_OBJS) $(LIBS_BACULA)
79 $(call link_winapp,$(FILED_LIBS))
81 $(OBJDIR)/winres.res: ../libwin32/winres.rc
84 $(ECHO_CMD)$(WINDRES) $(INCLUDE_ICONS) -O coff $< -o $@
86 include ../Makefile.rules