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
25 vpath %.c ../../filed ../libwin32
26 vpath %.cpp ../../filed ../libwin32
28 ##########################################################################
31 $(OBJDIR)/authenticate.o \
33 $(OBJDIR)/estimate.o \
35 $(OBJDIR)/filed_conf.o \
36 $(OBJDIR)/heartbeat.o \
41 $(OBJDIR)/verify_vol.o \
44 $(OBJDIR)/vss_W2K3.o \
45 $(OBJDIR)/winabout.o \
46 $(OBJDIR)/winservice.o \
52 ALL_OBJS = $(FILED_OBJS)
62 ######################################################################
68 all: $(BINDIR)/bacula-fd.exe
71 @echo "Cleaning `pwd`"
72 $(call clean_obj,$(ALL_OBJS))
73 $(call clean_exe,$(BINDIR)/bacula-fd.exe)
79 $(BINDIR)/bacula-fd.exe: $(FILED_OBJS) $(LIBS_BACULA)
80 $(call link_winapp,$(FILED_LIBS))
82 $(OBJDIR)/winres.res: ../libwin32/winres.rc
85 $(ECHO_CMD)$(WINDRES) $(INCLUDE_ICONS) -O coff $< -o $@
87 include ../Makefile.rules