16aecda00SMing Lei# SPDX-License-Identifier: GPL-2.0 26aecda00SMing Lei 3e371b9d3SUday ShankarCFLAGS += -O3 -Wl,-no-as-needed -Wall -I $(top_srcdir)/usr/include 43d6ee575SUday Shankarifneq ($(WERROR),0) 53d6ee575SUday Shankar CFLAGS += -Werror 63d6ee575SUday Shankarendif 73d6ee575SUday Shankar 86aecda00SMing LeiLDLIBS += -lpthread -lm -luring 96aecda00SMing Lei 10723977caSMing LeiTEST_PROGS := test_generic_01.sh 118c778614SMing LeiTEST_PROGS += test_generic_02.sh 12c78ae7b7SMing LeiTEST_PROGS += test_generic_03.sh 1357e13a2eSMing LeiTEST_PROGS += test_generic_04.sh 1457e13a2eSMing LeiTEST_PROGS += test_generic_05.sh 1581586652SUday ShankarTEST_PROGS += test_generic_06.sh 16730d8379SMing LeiTEST_PROGS += test_generic_07.sh 17723977caSMing Lei 188ccebc19SMing LeiTEST_PROGS += test_generic_08.sh 196f1a182aSMing LeiTEST_PROGS += test_generic_09.sh 20f40b1f26SMing LeiTEST_PROGS += test_generic_10.sh 21533c87e2SMing LeiTEST_PROGS += test_generic_11.sh 22*236918d3SUday ShankarTEST_PROGS += test_generic_12.sh 238ccebc19SMing Lei 24723977caSMing LeiTEST_PROGS += test_null_01.sh 258cb9b971SMing LeiTEST_PROGS += test_null_02.sh 265d95bfb5SMing LeiTEST_PROGS += test_loop_01.sh 275d95bfb5SMing LeiTEST_PROGS += test_loop_02.sh 28bedc9cbcSMing LeiTEST_PROGS += test_loop_03.sh 29bedc9cbcSMing LeiTEST_PROGS += test_loop_04.sh 308c778614SMing LeiTEST_PROGS += test_loop_05.sh 310f3ebf2dSMing LeiTEST_PROGS += test_stripe_01.sh 320f3ebf2dSMing LeiTEST_PROGS += test_stripe_02.sh 338c778614SMing LeiTEST_PROGS += test_stripe_03.sh 3457ed58c1SMing LeiTEST_PROGS += test_stripe_04.sh 356aecda00SMing Lei 36c60ac48eSMing LeiTEST_PROGS += test_stress_01.sh 37af83ccc7SMing LeiTEST_PROGS += test_stress_02.sh 38d836590dSMing LeiTEST_PROGS += test_stress_03.sh 39d836590dSMing LeiTEST_PROGS += test_stress_04.sh 402f9a30bdSMing LeiTEST_PROGS += test_stress_05.sh 41c60ac48eSMing Lei 426aecda00SMing LeiTEST_GEN_PROGS_EXTENDED = kublk 436aecda00SMing Lei 446aecda00SMing Leiinclude ../lib.mk 456aecda00SMing Lei 4681586652SUday Shankar$(TEST_GEN_PROGS_EXTENDED): kublk.c null.c file_backed.c common.c stripe.c \ 4781586652SUday Shankar fault_inject.c 48632051ffSMing Lei 49632051ffSMing Leicheck: 50632051ffSMing Lei shellcheck -x -f gcc *.sh 51