Makefile 592 字节
Newer Older
1 2
SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \
	tm-signal-context-chk-vmx
3

4
TEST_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

7
all: $(TEST_PROGS)
8

9
$(TEST_PROGS): ../harness.c ../utils.c
10

11 12
CFLAGS += -mhtm

13
tm-syscall: tm-syscall-asm.S
14
tm-syscall: CFLAGS += -I../../../../../usr/include
15
tm-tmspr: CFLAGS += -pthread
16

17 18 19
$(SIGNAL_CONTEXT_CHK_TESTS): tm-signal.S
$(SIGNAL_CONTEXT_CHK_TESTS): CFLAGS += -mhtm -m64 -mvsx

20
include ../../lib.mk
21 22

clean:
23
	rm -f $(TEST_PROGS) *.o