2 # Makefile for win32 bacula executables
3 # Using MinGW cross-compiler on GNU/Linux
6 # Author: Howard Thomson
7 # License: BSD 2-Clause; see file LICENSE-FOSS
9 # Written for Bacula by Howard Thomson, April 2006
12 include ../Makefile.inc
28 ######################################################################
30 # Files files in src/win32/compat
38 $(OBJDIR)/vss_W2K3.o \
41 ######################################################################
47 all: $(LIBDIR)/libcompat.a
50 @echo "Cleaning `pwd`"
51 $(ECHO_CMD)rm -f $(OBJDIR)/*.[od] $(LIBDIR)/libcompat.a
57 $(LIBDIR)/libcompat.a: $(LIB_OBJS)
58 @echo "Updating archive $@"
60 $(ECHO_CMD)$(AR) rs $@ $^
62 include ../Makefile.rules
64 ifneq ($(MAKECMDGOALS),clean)
65 include $(patsubst %.o,%.d,$(filter-out %.res,$(LIB_OBJS)))