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