1SIGNAL_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 4TEST_GEN_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \ 5 tm-vmxcopy tm-fork tm-tar tm-tmspr tm-vmx-unavail \ 6 $(SIGNAL_CONTEXT_CHK_TESTS) 7 8include ../../lib.mk 9 10$(TEST_GEN_PROGS): ../harness.c ../utils.c 11 12CFLAGS += -mhtm 13 14$(OUTPUT)/tm-syscall: tm-syscall-asm.S 15$(OUTPUT)/tm-syscall: CFLAGS += -I../../../../../usr/include 16$(OUTPUT)/tm-tmspr: CFLAGS += -pthread 17$(OUTPUT)/tm-vmx-unavail: CFLAGS += -pthread -m64 18$(OUTPUT)/tm-resched-dscr: ../pmu/lib.o 19 20SIGNAL_CONTEXT_CHK_TESTS := $(patsubst %,$(OUTPUT)/%,$(SIGNAL_CONTEXT_CHK_TESTS)) 21$(SIGNAL_CONTEXT_CHK_TESTS): tm-signal.S 22$(SIGNAL_CONTEXT_CHK_TESTS): CFLAGS += -mhtm -m64 -mvsx 23