Makefile 793 字节
Newer Older
1
SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \
2
	tm-signal-context-chk-vmx tm-signal-context-chk-vsx
3

4
TEST_GEN_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \
5 6
	tm-vmxcopy tm-fork tm-tar tm-tmspr tm-vmx-unavail \
	$(SIGNAL_CONTEXT_CHK_TESTS)
7

8
include ../../lib.mk
9

10
$(TEST_GEN_PROGS): ../harness.c ../utils.c
11

12 13
CFLAGS += -mhtm

14 15 16
$(OUTPUT)/tm-syscall: tm-syscall-asm.S
$(OUTPUT)/tm-syscall: CFLAGS += -I../../../../../usr/include
$(OUTPUT)/tm-tmspr: CFLAGS += -pthread
17
$(OUTPUT)/tm-vmx-unavail: CFLAGS += -pthread -m64
18
$(OUTPUT)/tm-resched-dscr: ../pmu/lib.o
19

20
SIGNAL_CONTEXT_CHK_TESTS := $(patsubst %,$(OUTPUT)/%,$(SIGNAL_CONTEXT_CHK_TESTS))
21 22
$(SIGNAL_CONTEXT_CHK_TESTS): tm-signal.S
$(SIGNAL_CONTEXT_CHK_TESTS): CFLAGS += -mhtm -m64 -mvsx