17bb0e7e3SCyril BurSIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \
2dd9bda47SCyril Bur	tm-signal-context-chk-vmx tm-signal-context-chk-vsx
3f10d4424SCyril Bur
488baa78dSbamvor.zhangjian@huawei.comTEST_GEN_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \
5f10d4424SCyril Bur	tm-vmxcopy tm-fork tm-tar tm-tmspr $(SIGNAL_CONTEXT_CHK_TESTS)
696d01610SSam bobroff
788baa78dSbamvor.zhangjian@huawei.cominclude ../../lib.mk
896d01610SSam bobroff
988baa78dSbamvor.zhangjian@huawei.com$(TEST_GEN_PROGS): ../harness.c ../utils.c
1096d01610SSam bobroff
11a431b946SCyril BurCFLAGS += -mhtm
12a431b946SCyril Bur
13a8ba798bSbamvor.zhangjian@huawei.com$(OUTPUT)/tm-syscall: tm-syscall-asm.S
14a8ba798bSbamvor.zhangjian@huawei.com$(OUTPUT)/tm-syscall: CFLAGS += -I../../../../../usr/include
15a8ba798bSbamvor.zhangjian@huawei.com$(OUTPUT)/tm-tmspr: CFLAGS += -pthread
167fe924d9SSam bobroff
17f10d4424SCyril Bur$(SIGNAL_CONTEXT_CHK_TESTS): tm-signal.S
18f10d4424SCyril Bur$(SIGNAL_CONTEXT_CHK_TESTS): CFLAGS += -mhtm -m64 -mvsx
19