projects
/
xfstests-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fsstress: translate flags in fiemap_f
[xfstests-dev.git]
/
ltp
/
Makefile
diff --git
a/ltp/Makefile
b/ltp/Makefile
index d74a9df76a054629f840199c39436498655fa209..5bea492789f3f92a88a21b76808e284f5a7a4e85 100644
(file)
--- a/
ltp/Makefile
+++ b/
ltp/Makefile
@@
-6,6
+6,7
@@
TOPDIR = ..
include $(TOPDIR)/include/builddefs
TARGETS = doio fsstress fsx growfiles iogen
include $(TOPDIR)/include/builddefs
TARGETS = doio fsstress fsx growfiles iogen
+SCRIPTS = rwtest.sh
CFILES = $(TARGETS:=.c)
HFILES = doio.h
LDIRT = $(TARGETS)
CFILES = $(TARGETS:=.c)
HFILES = doio.h
LDIRT = $(TARGETS)
@@
-27,8
+28,14
@@
LCFLAGS += -DAIO
LLDLIBS += -laio -lpthread
endif
LLDLIBS += -laio -lpthread
endif
+ifeq ($(HAVE_FALLOCATE), true)
+LCFLAGS += -DFALLOCATE
+endif
+
default: depend $(TARGETS)
default: depend $(TARGETS)
+depend: .dep
+
include $(BUILDRULES)
$(TARGETS): $(LIBTEST)
include $(BUILDRULES)
$(TARGETS): $(LIBTEST)
@@
-37,6
+44,7
@@
$(TARGETS): $(LIBTEST)
install: default
$(INSTALL) -m 755 -d $(PKG_LIB_DIR)/ltp
install: default
$(INSTALL) -m 755 -d $(PKG_LIB_DIR)/ltp
- $(INSTALL) -m 755 $(TARGETS) $(PKG_LIB_DIR)/ltp
+ $(LTINSTALL) -m 755 $(TARGETS) $(PKG_LIB_DIR)/ltp
+ $(INSTALL) -m 755 $(SCRIPTS) $(PKG_LIB_DIR)/ltp
-include .dep
-include .dep