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 %.c ../../filed ../libwin32
25 vpath %.cpp ../../filed ../libwin32
27 ##########################################################################
30 $(OBJDIR)/authenticate.o \
32 $(OBJDIR)/estimate.o \
34 $(OBJDIR)/filed_conf.o \
35 $(OBJDIR)/heartbeat.o \
40 $(OBJDIR)/verify_vol.o \
43 $(OBJDIR)/vss_W2K3.o \
44 $(OBJDIR)/winabout.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