Makefile (0cce284537fb42d9c28b9b31038ffc9b464555f5) Makefile (68bd42d97c30d51217b8c3b2b22fede577d8371c)
1TEST_PROGS := fpu_syscall fpu_preempt fpu_signal vmx_syscall vmx_preempt vmx_signal vsx_preempt
1TEST_GEN_PROGS := fpu_syscall fpu_preempt fpu_signal vmx_syscall vmx_preempt vmx_signal vsx_preempt
2
2
3all: $(TEST_PROGS)
3include ../../lib.mk
4
4
5$(TEST_PROGS): ../harness.c
6$(TEST_PROGS): CFLAGS += -O2 -g -pthread -m64 -maltivec
5$(TEST_GEN_PROGS): ../harness.c
6$(TEST_GEN_PROGS): CFLAGS += -O2 -g -pthread -m64 -maltivec
7
7
8fpu_syscall: fpu_asm.S
9fpu_preempt: fpu_asm.S
10fpu_signal: fpu_asm.S
8$(OUTPUT)/fpu_syscall: fpu_asm.S
9$(OUTPUT)/fpu_preempt: fpu_asm.S
10$(OUTPUT)/fpu_signal: fpu_asm.S
11
11
12vmx_syscall: vmx_asm.S
13vmx_preempt: vmx_asm.S
14vmx_signal: vmx_asm.S
12$(OUTPUT)/vmx_syscall: vmx_asm.S
13$(OUTPUT)/vmx_preempt: vmx_asm.S
14$(OUTPUT)/vmx_signal: vmx_asm.S
15
15
16vsx_preempt: CFLAGS += -mvsx
17vsx_preempt: vsx_asm.S
18
19include ../../lib.mk
20
21clean:
22 rm -f $(TEST_PROGS) *.o
16$(OUTPUT)/vsx_preempt: CFLAGS += -mvsx
17$(OUTPUT)/vsx_preempt: vsx_asm.S