Makefile 537 字节
Newer Older
1 2
SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr

3
TEST_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \
4
	tm-vmxcopy tm-fork tm-tar tm-tmspr $(SIGNAL_CONTEXT_CHK_TESTS)
5

6
all: $(TEST_PROGS)
7

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

10 11
CFLAGS += -mhtm

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

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

19
include ../../lib.mk
20 21

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