projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fio: allow 0 as compress percentage
[fio.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 7c0e7980e5107b3fbeba74897ceddcd5010b232f..1113c2f6032d74d728ebed7edb3a63fe02411a27 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-76,6
+76,9
@@
endif
ifdef CONFIG_WINDOWSAIO
SOURCE += engines/windowsaio.c
endif
ifdef CONFIG_WINDOWSAIO
SOURCE += engines/windowsaio.c
endif
+ifdef CONFIG_RBD
+ SOURCE += engines/rbd.c
+endif
ifndef CONFIG_STRSEP
SOURCE += lib/strsep.c
endif
ifndef CONFIG_STRSEP
SOURCE += lib/strsep.c
endif
@@
-108,6
+111,10
@@
ifeq ($(CONFIG_TARGET_OS), FreeBSD)
LIBS += -lpthread -lrt
LDFLAGS += -rdynamic
endif
LIBS += -lpthread -lrt
LDFLAGS += -rdynamic
endif
+ifeq ($(CONFIG_TARGET_OS), OpenBSD)
+ LIBS += -lpthread
+ LDFLAGS += -rdynamic
+endif
ifeq ($(CONFIG_TARGET_OS), NetBSD)
LIBS += -lpthread -lrt
LDFLAGS += -rdynamic
ifeq ($(CONFIG_TARGET_OS), NetBSD)
LIBS += -lpthread -lrt
LDFLAGS += -rdynamic
@@
-128,7
+135,7
@@
ifneq (,$(findstring CYGWIN,$(CONFIG_TARGET_OS)))
SOURCE := $(filter-out engines/mmap.c,$(SOURCE))
SOURCE += os/windows/posix.c
LIBS += -lpthread -lpsapi -lws2_32
SOURCE := $(filter-out engines/mmap.c,$(SOURCE))
SOURCE += os/windows/posix.c
LIBS += -lpthread -lpsapi -lws2_32
- CFLAGS += -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format
+ CFLAGS += -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format
-static
endif
OBJS = $(SOURCE:.c=.o)
endif
OBJS = $(SOURCE:.c=.o)