From a2f5206e41a489e6dc17fd6dbfd5135a87f51793 Mon Sep 17 00:00:00 2001 From: James Harper Date: Mon, 24 May 2010 15:03:51 +0200 Subject: [PATCH] First cut Share Point plugin --- bacula/src/win32/filed/plugins/Makefile | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/bacula/src/win32/filed/plugins/Makefile b/bacula/src/win32/filed/plugins/Makefile index ef45902d42..331effdaeb 100644 --- a/bacula/src/win32/filed/plugins/Makefile +++ b/bacula/src/win32/filed/plugins/Makefile @@ -62,6 +62,10 @@ SYSTEMSTATE_OBJS = \ $(OBJDIR)/systemstate_dfsr.o \ $(OBJDIR)/systemstate_complusregdb.o +SHAREPOINT_OBJS = \ + $(VSS_BASE_OBJS) \ + $(OBJDIR)/sharepoint-fd.o + BPIPE_OBJS = \ $(OBJDIR)/bpipe-fd.o @@ -81,7 +85,7 @@ LIBS_DLL = \ .PHONY: all clean -all: $(BINDIR)/exchange-fd.dll $(BINDIR)/systemstate-fd.dll $(BINDIR)/bpipe-fd.dll +all: $(BINDIR)/exchange-fd.dll $(BINDIR)/systemstate-fd.dll $(BINDIR)/sharepoint-fd.dll $(BINDIR)/bpipe-fd.dll clean: @echo "Cleaning `pwd`" @@ -91,6 +95,9 @@ clean: $(call clean_obj,$(SYSTEMSTATE_OBJS)) $(call clean_exe,$(BINDIR)/systemstate-fd.dll) $(ECHO_CMD)rm -f $(OBJDIR)/systemstate-fd.a $(LIBDIR)/libsystemstate-fd.a + $(call clean_obj,$(SHAREPOINT_OBJS)) + $(call clean_exe,$(BINDIR)/sharepoint-fd.dll) + $(ECHO_CMD)rm -f $(OBJDIR)/sharepoint-fd.a $(LIBDIR)/libsharepoint-fd.a $(ECHO_CMD)rm -rf $(OBJDIRS) # @@ -119,6 +126,13 @@ $(BINDIR)/systemstate-fd.dll: $(SYSTEMSTATE_OBJS) systemstate-fd.def $(LIBS_BACU $(call checkdir,$@) $(ECHO_CMD)$(CXX) $(LDFLAGS) -mdll -mwindows -Wl,--out-implib,$(OBJDIR)/systemstate-fd.a $^ $(LIBS_DLL) -o $@ +$(BINDIR)/sharepoint-fd.dll: DLL_DEFINE=BUILDING_DLL + +$(BINDIR)/sharepoint-fd.dll: $(SHAREPOINT_OBJS) sharepoint-fd.def $(LIBS_BACULA) + @echo "Linking $@" + $(call checkdir,$@) + $(ECHO_CMD)$(CXX) $(LDFLAGS) -mdll -mwindows -Wl,--out-implib,$(OBJDIR)/sharepoint-fd.a $^ $(LIBS_DLL) -o $@ + $(BINDIR)/bpipe-fd.dll: DLL_DEFINE=BUILDING_DLL $(BINDIR)/bpipe-fd.dll: $(BPIPE_OBJS) bpipe-fd.def $(LIBS_BACULA) -- 2.39.5