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 9 10TEST_PROGS += test_null_01.sh 11TEST_PROGS += test_null_02.sh 12TEST_PROGS += test_loop_01.sh 13TEST_PROGS += test_loop_02.sh 14TEST_PROGS += test_loop_03.sh 15TEST_PROGS += test_loop_04.sh 16TEST_PROGS += test_loop_05.sh 17TEST_PROGS += test_stripe_01.sh 18TEST_PROGS += test_stripe_02.sh 19TEST_PROGS += test_stripe_03.sh 20 21TEST_PROGS += test_stress_01.sh 22TEST_PROGS += test_stress_02.sh 23 24TEST_GEN_PROGS_EXTENDED = kublk 25 26include ../lib.mk 27 28$(TEST_GEN_PROGS_EXTENDED): kublk.c null.c file_backed.c common.c stripe.c 29 30check: 31 shellcheck -x -f gcc *.sh 32