diff options
Diffstat (limited to 'lib/raid6/test/Makefile')
-rw-r--r-- | lib/raid6/test/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/raid6/test/Makefile b/lib/raid6/test/Makefile index 087332dbf8aa..78f89d807f4e 100644 --- a/lib/raid6/test/Makefile +++ b/lib/raid6/test/Makefile | |||
@@ -35,6 +35,9 @@ else | |||
35 | OBJS += altivec1.o altivec2.o altivec4.o altivec8.o | 35 | OBJS += altivec1.o altivec2.o altivec4.o altivec8.o |
36 | endif | 36 | endif |
37 | endif | 37 | endif |
38 | ifeq ($(ARCH),tilegx) | ||
39 | OBJS += tilegx8.o | ||
40 | endif | ||
38 | 41 | ||
39 | .c.o: | 42 | .c.o: |
40 | $(CC) $(CFLAGS) -c -o $@ $< | 43 | $(CC) $(CFLAGS) -c -o $@ $< |
@@ -85,11 +88,15 @@ int16.c: int.uc ../unroll.awk | |||
85 | int32.c: int.uc ../unroll.awk | 88 | int32.c: int.uc ../unroll.awk |
86 | $(AWK) ../unroll.awk -vN=32 < int.uc > $@ | 89 | $(AWK) ../unroll.awk -vN=32 < int.uc > $@ |
87 | 90 | ||
91 | tilegx8.c: tilegx.uc ../unroll.awk | ||
92 | $(AWK) ../unroll.awk -vN=8 < tilegx.uc > $@ | ||
93 | |||
88 | tables.c: mktables | 94 | tables.c: mktables |
89 | ./mktables > tables.c | 95 | ./mktables > tables.c |
90 | 96 | ||
91 | clean: | 97 | clean: |
92 | rm -f *.o *.a mktables mktables.c *.uc int*.c altivec*.c tables.c raid6test | 98 | rm -f *.o *.a mktables mktables.c *.uc int*.c altivec*.c tables.c raid6test |
99 | rm -f tilegx*.c | ||
93 | 100 | ||
94 | spotless: clean | 101 | spotless: clean |
95 | rm -f *~ | 102 | rm -f *~ |