2016-09-23 06:18:21 +00:00
|
|
|
SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu
|
2016-09-23 06:18:20 +00:00
|
|
|
|
2016-06-29 11:41:51 +00:00
|
|
|
TEST_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \
|
2016-09-23 06:18:20 +00:00
|
|
|
tm-vmxcopy tm-fork tm-tar tm-tmspr $(SIGNAL_CONTEXT_CHK_TESTS)
|
2014-06-05 06:19:22 +00:00
|
|
|
|
2015-03-11 04:06:01 +00:00
|
|
|
all: $(TEST_PROGS)
|
2014-06-05 06:19:22 +00:00
|
|
|
|
2015-12-02 05:00:04 +00:00
|
|
|
$(TEST_PROGS): ../harness.c ../utils.c
|
2014-06-05 06:19:22 +00:00
|
|
|
|
2016-06-29 11:41:51 +00:00
|
|
|
CFLAGS += -mhtm
|
|
|
|
|
2015-12-02 05:00:04 +00:00
|
|
|
tm-syscall: tm-syscall-asm.S
|
2016-06-29 11:41:51 +00:00
|
|
|
tm-syscall: CFLAGS += -I../../../../../usr/include
|
2015-12-23 05:49:54 +00:00
|
|
|
tm-tmspr: CFLAGS += -pthread
|
2015-04-10 04:16:49 +00:00
|
|
|
|
2016-09-23 06:18:20 +00:00
|
|
|
$(SIGNAL_CONTEXT_CHK_TESTS): tm-signal.S
|
|
|
|
$(SIGNAL_CONTEXT_CHK_TESTS): CFLAGS += -mhtm -m64 -mvsx
|
|
|
|
|
2015-03-11 04:06:01 +00:00
|
|
|
include ../../lib.mk
|
2014-06-05 06:19:22 +00:00
|
|
|
|
|
|
|
clean:
|
2015-03-11 04:06:01 +00:00
|
|
|
rm -f $(TEST_PROGS) *.o
|