1# SPDX-License-Identifier: GPL-2.0
2TEST_GEN_PROGS := ptrace-gpr ptrace-tm-gpr ptrace-tm-spd-gpr \
3              ptrace-tar ptrace-tm-tar ptrace-tm-spd-tar ptrace-vsx ptrace-tm-vsx \
4              ptrace-tm-spd-vsx ptrace-tm-spr ptrace-hwbreak ptrace-pkey core-pkey \
5              perf-hwbreak ptrace-syscall ptrace-perf-hwbreak
6
7top_srcdir = ../../../../..
8include ../../lib.mk
9
10CFLAGS += -m64 -I../../../../../usr/include -I../tm -mhtm -fno-pie
11
12$(OUTPUT)/ptrace-pkey $(OUTPUT)/core-pkey: child.h
13$(OUTPUT)/ptrace-pkey $(OUTPUT)/core-pkey: LDLIBS += -pthread
14
15$(TEST_GEN_PROGS): ../harness.c ../utils.c ../lib/reg.S ptrace.h
16