1 # SPDX-License-Identifier: GPL-2.0 !! 1 INCLUDES := -I../include -I../../ 2 INCLUDES := -I../include -I../../ $(KHDR_INCLU !! 2 CFLAGS := $(CFLAGS) -g -O2 -Wall -D_GNU_SOURCE -pthread $(INCLUDES) 3 CFLAGS := $(CFLAGS) -g -O2 -Wall -pthread $(IN !! 3 LDFLAGS := $(LDFLAGS) -pthread -lrt 4 LDLIBS := -lpthread -lrt !! 4 5 !! 5 HEADERS := ../include/futextest.h 6 LOCAL_HDRS := \ !! 6 TARGETS := \ 7 ../include/futextest.h \ << 8 ../include/atomic.h \ << 9 ../include/logging.h << 10 TEST_GEN_PROGS := \ << 11 futex_wait_timeout \ 7 futex_wait_timeout \ 12 futex_wait_wouldblock \ 8 futex_wait_wouldblock \ 13 futex_requeue_pi \ 9 futex_requeue_pi \ 14 futex_requeue_pi_signal_restart \ 10 futex_requeue_pi_signal_restart \ 15 futex_requeue_pi_mismatched_ops \ 11 futex_requeue_pi_mismatched_ops \ 16 futex_wait_uninitialized_heap \ 12 futex_wait_uninitialized_heap \ 17 futex_wait_private_mapped_file \ !! 13 futex_wait_private_mapped_file 18 futex_wait \ !! 14 19 futex_requeue \ !! 15 TEST_PROGS := $(TARGETS) run.sh 20 futex_waitv << 21 16 22 TEST_PROGS := run.sh !! 17 .PHONY: all clean >> 18 all: $(TARGETS) >> 19 >> 20 $(TARGETS): $(HEADERS) 23 21 24 top_srcdir = ../../../../.. << 25 DEFAULT_INSTALL_HDR_PATH := 1 << 26 include ../../lib.mk 22 include ../../lib.mk >> 23 >> 24 clean: >> 25 rm -f $(TARGETS)
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.