Skip to content

Commit

Permalink
Fix Windows build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Aug 12, 2014
1 parent e558a9d commit 44a636e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
3 changes: 3 additions & 0 deletions src/win32/compat/include/mingwconfig.h
Expand Up @@ -421,6 +421,9 @@
/* Directory for daemon files */
#define _PATH_BAREOS_WORKINGDIR "%TEMP%"

/* Directory for backend drivers */
#define _PATH_BAREOS_BACKENDDIR "."

/* Define to 1 if dynamic loading of catalog backends is enabled */
#define HAVE_DYNAMIC_CATS_BACKENDS 1

Expand Down
2 changes: 1 addition & 1 deletion src/win32/dird/Makefile
Expand Up @@ -45,7 +45,7 @@ SVRSRCS = admin.c authenticate.c autoprune.c backup.c bsr.c catreq.c \
ua_update.c vbackup.c verify.c service.c main.c
SVROBJS = $(SVRSRCS:.c=.o)

DBCHKSRCS = dbcheck.c dird_conf.c ua_acl.c run_conf.c inc_conf.c
DBCHKSRCS = dbcheck.c dird_conf.c ua_acl.c ua_audit.c run_conf.c inc_conf.c
DBCHKOBJS = $(DBCHKSRCS:.c=.o)

WINDRESSRCS = dirdres.rc
Expand Down
18 changes: 9 additions & 9 deletions src/win32/stored/Makefile
Expand Up @@ -51,21 +51,21 @@ SVRSRCS = acquire.c ansi_label.c append.c askdir.c authenticate.c \
SVROBJS = $(SVRSRCS:.c=.o)

TAPESRCS = acquire.c ansi_label.c autochanger.c block.c btape.c bsr.c \
butil.c crc32.c dev.c device.c ebcdic.c label.c lock.c mount.c \
read_record.c record.c reserve.c scan.c sd_plugins.c spool.c \
stored_conf.c vol_mgr.c wait.c $(DEVICE_API_SRCS)
butil.c crc32.c dev.c device.c dummy.c ebcdic.c label.c lock.c \
mount.c read_record.c record.c reserve.c scan.c sd_plugins.c \
spool.c stored_conf.c vol_mgr.c wait.c $(DEVICE_API_SRCS)
TAPEOBJS = $(TAPESRCS:.c=.o)

BLSSRCS = acquire.c ansi_label.c autochanger.c block.c bls.c bsr.c \
butil.c crc32.c dev.c device.c ebcdic.c label.c lock.c mount.c \
read_record.c record.c reserve.c scan.c sd_plugins.c spool.c \
stored_conf.c vol_mgr.c wait.c $(DEVICE_API_SRCS)
butil.c crc32.c dev.c device.c dummy.c ebcdic.c label.c lock.c \
mount.c read_record.c record.c reserve.c scan.c sd_plugins.c \
spool.c stored_conf.c vol_mgr.c wait.c $(DEVICE_API_SRCS)
BLSOBJS = $(BLSSRCS:.c=.o)

BEXTSRCS = acquire.c ansi_label.c autochanger.c bextract.c block.c bsr.c \
butil.c crc32.c dev.c device.c ebcdic.c label.c lock.c mount.c \
read_record.c record.c reserve.c scan.c sd_plugins.c spool.c \
stored_conf.c vol_mgr.c wait.c $(DEVICE_API_SRCS)
butil.c crc32.c dev.c device.c dummy.c ebcdic.c label.c lock.c \
mount.c read_record.c record.c reserve.c scan.c sd_plugins.c \
spool.c stored_conf.c vol_mgr.c wait.c $(DEVICE_API_SRCS)
BEXTOBJS = $(BEXTSRCS:.c=.o)

WINDRESSRCS = storedres.rc
Expand Down

0 comments on commit 44a636e

Please sign in to comment.