Makefile (0cce284537fb42d9c28b9b31038ffc9b464555f5) Makefile (68bd42d97c30d51217b8c3b2b22fede577d8371c)
1SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \
2 tm-signal-context-chk-vmx tm-signal-context-chk-vsx
3
1SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \
2 tm-signal-context-chk-vmx tm-signal-context-chk-vsx
3
4TEST_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \
4TEST_GEN_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
5 tm-vmxcopy tm-fork tm-tar tm-tmspr $(SIGNAL_CONTEXT_CHK_TESTS)
6
7all: $(TEST_PROGS)
7include ../../lib.mk
8
8
9$(TEST_PROGS): ../harness.c ../utils.c
9$(TEST_GEN_PROGS): ../harness.c ../utils.c
10
11CFLAGS += -mhtm
12
10
11CFLAGS += -mhtm
12
13tm-syscall: tm-syscall-asm.S
14tm-syscall: CFLAGS += -I../../../../../usr/include
15tm-tmspr: CFLAGS += -pthread
13$(OUTPUT)/tm-syscall: tm-syscall-asm.S
14$(OUTPUT)/tm-syscall: CFLAGS += -I../../../../../usr/include
15$(OUTPUT)/tm-tmspr: CFLAGS += -pthread
16
16
17SIGNAL_CONTEXT_CHK_TESTS := $(patsubst %,$(OUTPUT)/%,$(SIGNAL_CONTEXT_CHK_TESTS))
17$(SIGNAL_CONTEXT_CHK_TESTS): tm-signal.S
18$(SIGNAL_CONTEXT_CHK_TESTS): CFLAGS += -mhtm -m64 -mvsx
18$(SIGNAL_CONTEXT_CHK_TESTS): tm-signal.S
19$(SIGNAL_CONTEXT_CHK_TESTS): CFLAGS += -mhtm -m64 -mvsx
19
20include ../../lib.mk
21
22clean:
23 rm -f $(TEST_PROGS) *.o