1# SPDX-License-Identifier: GPL-2.0 2 3CFLAGS += -O3 -Wl,-no-as-needed -Wall -I $(top_srcdir) 4LDLIBS += -lpthread -lm -luring 5 6TEST_PROGS := test_generic_01.sh 7TEST_PROGS += test_generic_02.sh 8TEST_PROGS += test_generic_03.sh 9TEST_PROGS += test_generic_04.sh 10TEST_PROGS += test_generic_05.sh 11 12TEST_PROGS += test_null_01.sh 13TEST_PROGS += test_null_02.sh 14TEST_PROGS += test_loop_01.sh 15TEST_PROGS += test_loop_02.sh 16TEST_PROGS += test_loop_03.sh 17TEST_PROGS += test_loop_04.sh 18TEST_PROGS += test_loop_05.sh 19TEST_PROGS += test_stripe_01.sh 20TEST_PROGS += test_stripe_02.sh 21TEST_PROGS += test_stripe_03.sh 22TEST_PROGS += test_stripe_04.sh 23 24TEST_PROGS += test_stress_01.sh 25TEST_PROGS += test_stress_02.sh 26TEST_PROGS += test_stress_03.sh 27TEST_PROGS += test_stress_04.sh 28TEST_PROGS += test_stress_05.sh 29 30TEST_GEN_PROGS_EXTENDED = kublk 31 32include ../lib.mk 33 34$(TEST_GEN_PROGS_EXTENDED): kublk.c null.c file_backed.c common.c stripe.c 35 36check: 37 shellcheck -x -f gcc *.sh 38