comparison src/video/ps3/spulibs/Makefile @ 3148:104786a909a2 gsoc2009_ps3

Scaling (bilinear) of YUV-Textures working.
author Martin Lowinski <martin@goldtopf.org>
date Fri, 19 Jun 2009 05:22:00 +0000
parents 9e902f423497
children 95e48f7a3a93
comparison
equal deleted inserted replaced
3147:a80760096937 3148:104786a909a2
14 # Usually /usr/lib, depending on your distribution 14 # Usually /usr/lib, depending on your distribution
15 PREFIX=/usr/lib 15 PREFIX=/usr/lib
16 16
17 17
18 all: libfb_writer_spu.a libfb_writer_spu.so \ 18 all: libfb_writer_spu.a libfb_writer_spu.so \
19 libyuv2rgb_spu.so libyuv2rgb_spu.a 19 libyuv2rgb_spu.so libyuv2rgb_spu.a \
20 # libbilin_scaler_spu.so libbilin_scaler_spu.a 20 libbilin_scaler_spu.so libbilin_scaler_spu.a
21 21
22 22
23 # fb_writer 23 # fb_writer
24 fb_writer_spu-embed.o: fb_writer.c spu_common.h 24 fb_writer_spu-embed.o: fb_writer.c spu_common.h
25 $(SPU_GCC) $(SPU_CFLAGS) -o fb_writer_spu fb_writer.c -lm 25 $(SPU_GCC) $(SPU_CFLAGS) -o fb_writer_spu fb_writer.c -lm
54 54
55 libbilin_scaler_spu.so: bilin_scaler_spu-embed.o 55 libbilin_scaler_spu.so: bilin_scaler_spu-embed.o
56 $(PPU_LD) -o libbilin_scaler_spu.so -shared -soname=libbilin_scaler_spu.so bilin_scaler_spu-embed.o 56 $(PPU_LD) -o libbilin_scaler_spu.so -shared -soname=libbilin_scaler_spu.so bilin_scaler_spu-embed.o
57 57
58 install: libfb_writer_spu.a libfb_writer_spu.so \ 58 install: libfb_writer_spu.a libfb_writer_spu.so \
59 libyuv2rgb_spu.so libyuv2rgb_spu.a 59 libyuv2rgb_spu.so libyuv2rgb_spu.a \
60 # libbilin_scaler_spu.so libbilin_scaler_spu.a 60 libbilin_scaler_spu.so libbilin_scaler_spu.a
61 $(INSTALL) -c -m 0755 libfb_writer_spu.so $(PREFIX)/. 61 $(INSTALL) -c -m 0755 libfb_writer_spu.so $(PREFIX)/.
62 $(INSTALL) -c -m 0655 libfb_writer_spu.a $(PREFIX)/. 62 $(INSTALL) -c -m 0655 libfb_writer_spu.a $(PREFIX)/.
63 $(INSTALL) -c -m 0755 libyuv2rgb_spu.so $(PREFIX)/. 63 $(INSTALL) -c -m 0755 libyuv2rgb_spu.so $(PREFIX)/.
64 $(INSTALL) -c -m 0655 libyuv2rgb_spu.a $(PREFIX)/. 64 $(INSTALL) -c -m 0655 libyuv2rgb_spu.a $(PREFIX)/.
65 # $(INSTALL) -c -m 0755 libbilin_scaler_spu.so $(PREFIX)/. 65 $(INSTALL) -c -m 0755 libbilin_scaler_spu.so $(PREFIX)/.
66 # $(INSTALL) -c -m 0655 libbilin_scaler_spu.a $(PREFIX)/. 66 $(INSTALL) -c -m 0655 libbilin_scaler_spu.a $(PREFIX)/.
67 67
68 68
69 uninstall: $(PREFIX)/libfb_writer_spu.so $(PREFIX)/libfb_writer_spu.a \ 69 uninstall: $(PREFIX)/libfb_writer_spu.so $(PREFIX)/libfb_writer_spu.a \
70 $(PREFIX)/libyuv2rgb_spu.so $(PREFIX)/libyuv2rgb_spu.a 70 $(PREFIX)/libyuv2rgb_spu.so $(PREFIX)/libyuv2rgb_spu.a \
71 # $(PREFIX)/libbilin_scaler_spu.so $(PREFIX)/libbilin_scaler_spu.a 71 $(PREFIX)/libbilin_scaler_spu.so $(PREFIX)/libbilin_scaler_spu.a
72 rm -f $(PREFIX)/libfb_writer_spu.a 72 rm -f $(PREFIX)/libfb_writer_spu.a
73 rm -f $(PREFIX)/libfb_writer_spu.so 73 rm -f $(PREFIX)/libfb_writer_spu.so
74 rm -f $(PREFIX)/libyuv2rgb_spu.so 74 rm -f $(PREFIX)/libyuv2rgb_spu.so
75 rm -f $(PREFIX)/libyuv2rgb_spu.a 75 rm -f $(PREFIX)/libyuv2rgb_spu.a
76 # rm -f $(PREFIX)/libbilin_scaler_spu.so 76 rm -f $(PREFIX)/libbilin_scaler_spu.so
77 # rm -f $(PREFIX)/libbilin_scaler_spu.a 77 rm -f $(PREFIX)/libbilin_scaler_spu.a
78 78
79 79
80 clean: 80 clean:
81 rm -f bilin_scaler_spu-embed.o libbilin_scaler_spu.so libbilin_scaler_spu.a bilin_scaler_spu 81 rm -f bilin_scaler_spu-embed.o libbilin_scaler_spu.so libbilin_scaler_spu.a bilin_scaler_spu
82 rm -f yuv2rgb_spu-embed.o libyuv2rgb_spu.so libyuv2rgb_spu.a yuv2rgb_spu 82 rm -f yuv2rgb_spu-embed.o libyuv2rgb_spu.so libyuv2rgb_spu.a yuv2rgb_spu