xref: /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/ptrace/Makefile (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0
2*4882a593SmuzhiyunTEST_GEN_PROGS := ptrace-gpr ptrace-tm-gpr ptrace-tm-spd-gpr \
3*4882a593Smuzhiyun              ptrace-tar ptrace-tm-tar ptrace-tm-spd-tar ptrace-vsx ptrace-tm-vsx \
4*4882a593Smuzhiyun              ptrace-tm-spd-vsx ptrace-tm-spr ptrace-hwbreak ptrace-pkey core-pkey \
5*4882a593Smuzhiyun              perf-hwbreak ptrace-syscall
6*4882a593Smuzhiyun
7*4882a593Smuzhiyuntop_srcdir = ../../../../..
8*4882a593Smuzhiyuninclude ../../lib.mk
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunCFLAGS += -m64 -I../../../../../usr/include -I../tm -mhtm -fno-pie
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun$(OUTPUT)/ptrace-pkey $(OUTPUT)/core-pkey: child.h
13*4882a593Smuzhiyun$(OUTPUT)/ptrace-pkey $(OUTPUT)/core-pkey: LDLIBS += -pthread
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun$(TEST_GEN_PROGS): ../harness.c ../utils.c ../lib/reg.S ptrace.h
16