Makefile 583 字节
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2
INCLUDES := -I../include -I../../
3 4 5
CFLAGS := $(CFLAGS) -g -O2 -Wall -D_GNU_SOURCE -pthread $(INCLUDES)
LDFLAGS := $(LDFLAGS) -pthread -lrt

6 7 8 9
HEADERS := \
	../include/futextest.h \
	../include/atomic.h \
	../include/logging.h
10
TEST_GEN_FILES := \
11 12 13 14 15 16 17 18
	futex_wait_timeout \
	futex_wait_wouldblock \
	futex_requeue_pi \
	futex_requeue_pi_signal_restart \
	futex_requeue_pi_mismatched_ops \
	futex_wait_uninitialized_heap \
	futex_wait_private_mapped_file

19
TEST_PROGS := run.sh
20

21
top_srcdir = ../../../../..
22
include ../../lib.mk
23

24
$(TEST_GEN_FILES): $(HEADERS)