generic: test MADV_POPULATE_READ with IO errors
[xfstests-dev.git] / tests / Makefile
1 #
2 # Copyright (c) 2003-2005 Silicon Graphics, Inc.  All Rights Reserved.
3 #
4
5 TOPDIR = ..
6 include $(TOPDIR)/include/builddefs
7
8 TESTS_SUBDIRS = $(sort $(dir $(wildcard $(CURDIR)/[[:lower:]]*/)))
9
10 SUBDIRS = $(wildcard [[:lower:]]*)
11
12 default: $(SUBDIRS)
13
14 include $(BUILDRULES)
15
16 install: $(addsuffix -install,$(TESTS_SUBDIRS))
17         $(INSTALL) -m 755 -d $(PKG_LIB_DIR)/$(TESTS_DIR)
18
19 # Nothing.
20 install-dev install-lib:
21
22 %-install:
23         $(MAKE) $(MAKEOPTS) -C $* install