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 \ 5cde97f84SMichael Neuling tm-vmxcopy tm-fork tm-tar tm-tmspr tm-vmx-unavail \ 6cde97f84SMichael Neuling $(SIGNAL_CONTEXT_CHK_TESTS) 796d01610SSam bobroff 888baa78dSbamvor.zhangjian@huawei.cominclude ../../lib.mk 996d01610SSam bobroff 1088baa78dSbamvor.zhangjian@huawei.com$(TEST_GEN_PROGS): ../harness.c ../utils.c 1196d01610SSam bobroff 12a431b946SCyril BurCFLAGS += -mhtm 13a431b946SCyril Bur 14a8ba798bSbamvor.zhangjian@huawei.com$(OUTPUT)/tm-syscall: tm-syscall-asm.S 15a8ba798bSbamvor.zhangjian@huawei.com$(OUTPUT)/tm-syscall: CFLAGS += -I../../../../../usr/include 16a8ba798bSbamvor.zhangjian@huawei.com$(OUTPUT)/tm-tmspr: CFLAGS += -pthread 17cde97f84SMichael Neuling$(OUTPUT)/tm-vmx-unavail: CFLAGS += -pthread -m64 187fe924d9SSam bobroff 1968bd42d9SMichael EllermanSIGNAL_CONTEXT_CHK_TESTS := $(patsubst %,$(OUTPUT)/%,$(SIGNAL_CONTEXT_CHK_TESTS)) 20f10d4424SCyril Bur$(SIGNAL_CONTEXT_CHK_TESTS): tm-signal.S 21f10d4424SCyril Bur$(SIGNAL_CONTEXT_CHK_TESTS): CFLAGS += -mhtm -m64 -mvsx 22