Makefile 654 B

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