| .. | .. |
|---|
| 1 | 1 | # SPDX-License-Identifier: GPL-2.0 |
|---|
| 2 | 2 | INCLUDES := -I../include -I../../ |
|---|
| 3 | 3 | CFLAGS := $(CFLAGS) -g -O2 -Wall -D_GNU_SOURCE -pthread $(INCLUDES) |
|---|
| 4 | | -LDFLAGS := $(LDFLAGS) -pthread -lrt |
|---|
| 4 | +LDLIBS := -lpthread -lrt |
|---|
| 5 | 5 | |
|---|
| 6 | | -HEADERS := \ |
|---|
| 6 | +LOCAL_HDRS := \ |
|---|
| 7 | 7 | ../include/futextest.h \ |
|---|
| 8 | 8 | ../include/atomic.h \ |
|---|
| 9 | 9 | ../include/logging.h |
|---|
| 10 | | -TEST_GEN_FILES := \ |
|---|
| 10 | +TEST_GEN_PROGS := \ |
|---|
| 11 | 11 | futex_wait_timeout \ |
|---|
| 12 | 12 | futex_wait_wouldblock \ |
|---|
| 13 | 13 | futex_requeue_pi \ |
|---|
| .. | .. |
|---|
| 21 | 21 | top_srcdir = ../../../../.. |
|---|
| 22 | 22 | KSFT_KHDR_INSTALL := 1 |
|---|
| 23 | 23 | include ../../lib.mk |
|---|
| 24 | | - |
|---|
| 25 | | -$(TEST_GEN_FILES): $(HEADERS) |
|---|