1.PHONY: test clean distclean reset test-simple test-kdump 2 3all: 4 $(MAKE) -C tools 5 $(MAKE) -C tsrc 6 $(MAKE) -C stress 7 8clean: 9 $(MAKE) -C tools clean 10 $(MAKE) -C tsrc clean 11 $(MAKE) -C stress clean 12 $(MAKE) reset 13 14distclean: 15 $(MAKE) -C tools distclean 16 $(MAKE) -C tsrc distclean 17 $(MAKE) -C stress distclean 18 $(MAKE) reset 19 rm -rf bin/* 20 21reset: 22 rm -rf work/* 23 rm -rf results/* 24 25test: test-simple test-stress 26 27test-simple: 28 $(MAKE) reset 29 ./drivers/simple/driver.sh simple.conf 30 $(MAKE) -C tsrc test 31 32# requires LTP & page-types to be installed 33test-stress: 34 $(MAKE) -C stress test 35 36# requires special packages to be installed 37test-kdump: 38 $(MAKE) reset 39 ./drivers/simple/driver.sh simple.conf 40 ./drivers/kdump/driver.sh kdump.conf 41 $(MAKE) -C tsrc test 42