9b35ca8e8f13d4bbe77ba24d3e061031071c39c3
[linux-2.6-block.git] / tools / testing / selftests / powerpc / ptrace / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 TEST_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
6
7 top_srcdir = ../../../../..
8 include ../../lib.mk
9
10 all: $(TEST_PROGS)
11
12 CFLAGS += -m64 -I../../../../../usr/include -I../tm -mhtm -fno-pie
13
14 ptrace-pkey core-pkey: child.h
15 ptrace-pkey core-pkey: LDLIBS += -pthread
16
17 $(TEST_PROGS): ../harness.c ../utils.c ../lib/reg.S ptrace.h
18
19 clean:
20         rm -f $(TEST_PROGS) *.o