1# SPDX-License-Identifier: GPL-2.0
2INCLUDES := -I../include -I../../ $(KHDR_INCLUDES)
3CFLAGS := $(CFLAGS) -g -O2 -Wall -D_GNU_SOURCE -pthread $(INCLUDES) $(KHDR_INCLUDES)
4LDLIBS := -lpthread -lrt
5
6LOCAL_HDRS := \
7	../include/futextest.h \
8	../include/atomic.h \
9	../include/logging.h
10TEST_GEN_PROGS := \
11	futex_wait_timeout \
12	futex_wait_wouldblock \
13	futex_requeue_pi \
14	futex_requeue_pi_signal_restart \
15	futex_requeue_pi_mismatched_ops \
16	futex_wait_uninitialized_heap \
17	futex_wait_private_mapped_file \
18	futex_wait \
19	futex_requeue \
20	futex_waitv
21
22TEST_PROGS := run.sh
23
24top_srcdir = ../../../../..
25DEFAULT_INSTALL_HDR_PATH := 1
26include ../../lib.mk
27