162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ciINCLUDES := -I../include -I../../ $(KHDR_INCLUDES)
362306a36Sopenharmony_ciCFLAGS := $(CFLAGS) -g -O2 -Wall -D_GNU_SOURCE -pthread $(INCLUDES) $(KHDR_INCLUDES)
462306a36Sopenharmony_ciLDLIBS := -lpthread -lrt
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciLOCAL_HDRS := \
762306a36Sopenharmony_ci	../include/futextest.h \
862306a36Sopenharmony_ci	../include/atomic.h \
962306a36Sopenharmony_ci	../include/logging.h
1062306a36Sopenharmony_ciTEST_GEN_PROGS := \
1162306a36Sopenharmony_ci	futex_wait_timeout \
1262306a36Sopenharmony_ci	futex_wait_wouldblock \
1362306a36Sopenharmony_ci	futex_requeue_pi \
1462306a36Sopenharmony_ci	futex_requeue_pi_signal_restart \
1562306a36Sopenharmony_ci	futex_requeue_pi_mismatched_ops \
1662306a36Sopenharmony_ci	futex_wait_uninitialized_heap \
1762306a36Sopenharmony_ci	futex_wait_private_mapped_file \
1862306a36Sopenharmony_ci	futex_wait \
1962306a36Sopenharmony_ci	futex_requeue \
2062306a36Sopenharmony_ci	futex_waitv
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ciTEST_PROGS := run.sh
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_citop_srcdir = ../../../../..
2562306a36Sopenharmony_ciDEFAULT_INSTALL_HDR_PATH := 1
2662306a36Sopenharmony_ciinclude ../../lib.mk
27