From: Eric Bollengier Date: Tue, 24 Nov 2020 14:00:46 +0000 (+0100) Subject: win32: Add cdp plugin X-Git-Tag: Release-11.3.2~311 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=639654a342b7d3b9516fa925d1713dc7047a30ea;p=thirdparty%2Fbacula.git win32: Add cdp plugin --- diff --git a/bacula/src/win32/Makefile b/bacula/src/win32/Makefile index f8cc7549a..5df37a40e 100644 --- a/bacula/src/win32/Makefile +++ b/bacula/src/win32/Makefile @@ -1,10 +1,6 @@ # Copyright (C) 2000-2020 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS # -# Copyright (C) 2000-2018 Kern Sibbald -# License: BSD 2-Clause; see file LICENSE-FOSS -# -# # Makefile for Win32/Win64 Bacula File daemon # # If called make win64=yes the Win64 version will be built diff --git a/bacula/src/win32/filed/plugins/Makefile b/bacula/src/win32/filed/plugins/Makefile index d871e2986..c2a284b43 100644 --- a/bacula/src/win32/filed/plugins/Makefile +++ b/bacula/src/win32/filed/plugins/Makefile @@ -97,6 +97,15 @@ $(BINDIR)/exchange-fd.dll: $(EXCHANGE_OBJS) exchange-fd.def $(call checkdir,$@) $(ECHO_CMD)$(CXX) $(LDFLAGS) -mdll -mwindows -Wl,--out-implib,$(OBJDIR)/exchange-fd.a $^ $(LIBS_DLL) -o $@ +$(BINDIR)/cdp-fd.dll: DLL_DEFINE=BUILDING_DLL + +$(BINDIR)/cdp-fd.dll: $(CDP_OBJS) $(LIBS_BACULA) + @echo "Linking $@" + $(call checkdir,$@) + $(ECHO_CMD)$(CXX) $(LDFLAGS) -mdll -mwindows -Wl,--out-implib,$(OBJDIR)/cdp-fd.a $^ $(LIBS_DLL) -o $@ + $(BUILDDIR)/sign-binaries $@ + + $(BINDIR)/bpipe-fd.dll: DLL_DEFINE=BUILDING_DLL $(BINDIR)/bpipe-fd.dll: $(BPIPE_OBJS) bpipe-fd.def $(LIBS_BACULA)