1SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu 2 3TEST_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \ 4 tm-vmxcopy tm-fork tm-tar tm-tmspr $(SIGNAL_CONTEXT_CHK_TESTS) 5 6all: $(TEST_PROGS) 7 8$(TEST_PROGS): ../harness.c ../utils.c 9 10CFLAGS += -mhtm 11 12tm-syscall: tm-syscall-asm.S 13tm-syscall: CFLAGS += -I../../../../../usr/include 14tm-tmspr: CFLAGS += -pthread 15 16$(SIGNAL_CONTEXT_CHK_TESTS): tm-signal.S 17$(SIGNAL_CONTEXT_CHK_TESTS): CFLAGS += -mhtm -m64 -mvsx 18 19include ../../lib.mk 20 21clean: 22 rm -f $(TEST_PROGS) *.o 23