16aecda00SMing Lei# SPDX-License-Identifier: GPL-2.0
26aecda00SMing Lei
36aecda00SMing LeiCFLAGS += -O3 -Wl,-no-as-needed -Wall -I $(top_srcdir)
46aecda00SMing LeiLDLIBS += -lpthread -lm -luring
56aecda00SMing Lei
6723977caSMing LeiTEST_PROGS := test_generic_01.sh
78c778614SMing LeiTEST_PROGS += test_generic_02.sh
8c78ae7b7SMing LeiTEST_PROGS += test_generic_03.sh
957e13a2eSMing LeiTEST_PROGS += test_generic_04.sh
1057e13a2eSMing LeiTEST_PROGS += test_generic_05.sh
1181586652SUday ShankarTEST_PROGS += test_generic_06.sh
12*730d8379SMing LeiTEST_PROGS += test_generic_07.sh
13723977caSMing Lei
14723977caSMing LeiTEST_PROGS += test_null_01.sh
158cb9b971SMing LeiTEST_PROGS += test_null_02.sh
165d95bfb5SMing LeiTEST_PROGS += test_loop_01.sh
175d95bfb5SMing LeiTEST_PROGS += test_loop_02.sh
18bedc9cbcSMing LeiTEST_PROGS += test_loop_03.sh
19bedc9cbcSMing LeiTEST_PROGS += test_loop_04.sh
208c778614SMing LeiTEST_PROGS += test_loop_05.sh
210f3ebf2dSMing LeiTEST_PROGS += test_stripe_01.sh
220f3ebf2dSMing LeiTEST_PROGS += test_stripe_02.sh
238c778614SMing LeiTEST_PROGS += test_stripe_03.sh
2457ed58c1SMing LeiTEST_PROGS += test_stripe_04.sh
256aecda00SMing Lei
26c60ac48eSMing LeiTEST_PROGS += test_stress_01.sh
27af83ccc7SMing LeiTEST_PROGS += test_stress_02.sh
28d836590dSMing LeiTEST_PROGS += test_stress_03.sh
29d836590dSMing LeiTEST_PROGS += test_stress_04.sh
302f9a30bdSMing LeiTEST_PROGS += test_stress_05.sh
31c60ac48eSMing Lei
326aecda00SMing LeiTEST_GEN_PROGS_EXTENDED = kublk
336aecda00SMing Lei
346aecda00SMing Leiinclude ../lib.mk
356aecda00SMing Lei
3681586652SUday Shankar$(TEST_GEN_PROGS_EXTENDED): kublk.c null.c file_backed.c common.c stripe.c \
3781586652SUday Shankar	fault_inject.c
38632051ffSMing Lei
39632051ffSMing Leicheck:
40632051ffSMing Lei	shellcheck -x -f gcc *.sh
41