ECHO_CMD = @
# Main Bacula source dir
-MAINDIR := @MAINDIR@
+MAINDIR := @WIN32MAINDIR@
#
# Build dir -- i.e. normally src/win32
-BUILDDIR := @BUILDDIR@
+BUILDDIR := @WIN32BUILDDIR@
#
# Dir above Bacula where we find depkgs
-TOPDIR := @TOPDIR@
+TOPDIR := @WIN32TOPDIR@
#
# where we find depkgs
DEPKGS := $(TOPDIR)/depkgs-mingw32
LIBDIR := $(BUILDDIR)/release
OBJDIR := .
-MINGW_BIN := @BINDIR@
-MINGW_INCLUDE := @INCDIR@
-MINGW_DLLDIR := @DLLDIR@
+MINGW_BIN := @WIN32BINDIR@
+MINGW_INCLUDE := @WIN32INCDIR@
+MINGW_DLLDIR := @WIN32DLLDIR@
CC = $(MINGW_BIN)/mingw32-g++ $(DEFINES) $(INCLUDES)
CXX = $(MINGW_BIN)/mingw32-g++ $(DEFINES) $(INCLUDES)
LIBS_BACULA := \
$(LIBDIR)/libbacula.a
+LIBS_NETWORK := -lwsock32
+
HAVES := \
-DHAVE_WIN32 \
-DHAVE_MINGW \