Mercurial > libavcodec.hg
comparison Makefile @ 62:4bfc845cdfea libavcodec
arm optimizations
| author | glantau |
|---|---|
| date | Mon, 13 Aug 2001 21:45:36 +0000 |
| parents | ab64a3fc62bf |
| children | d7603c46c52f |
comparison
equal
deleted
inserted
replaced
| 61:fefaa96def6e | 62:4bfc845cdfea |
|---|---|
| 29 OBJS += i386/fdctdata.o i386/cputest.o \ | 29 OBJS += i386/fdctdata.o i386/cputest.o \ |
| 30 i386/dsputil_mmx.o i386/mpegvideo_mmx.o \ | 30 i386/dsputil_mmx.o i386/mpegvideo_mmx.o \ |
| 31 i386/idct_mmx.o | 31 i386/idct_mmx.o |
| 32 endif | 32 endif |
| 33 | 33 |
| 34 # armv4l specific stuff | |
| 35 ifeq ($(TARGET_ARCH_ARMV4L),yes) | |
| 36 ASM_OBJS += armv4l/jrevdct_arm.o | |
| 37 OBJS += armv4l/dsputil_arm.o | |
| 38 endif | |
| 39 | |
| 34 SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s) | 40 SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s) |
| 35 | 41 |
| 36 LIB= libavcodec.a | 42 LIB= libavcodec.a |
| 37 TESTS= imgresample-test dct-test | 43 TESTS= imgresample-test dct-test |
| 38 | 44 |
| 46 dsputil.o: dsputil.c dsputil.h | 52 dsputil.o: dsputil.c dsputil.h |
| 47 | 53 |
| 48 %.o: %.c | 54 %.o: %.c |
| 49 $(CC) $(CFLAGS) -c -o $@ $< | 55 $(CC) $(CFLAGS) -c -o $@ $< |
| 50 | 56 |
| 57 %.o: %.S | |
| 58 $(CC) $(CFLAGS) -c -o $@ $< | |
| 59 | |
| 51 %.o: %.s | 60 %.o: %.s |
| 52 nasm -f elf -o $@ $< | 61 nasm -f elf -o $@ $< |
| 53 | 62 |
| 54 # depend only used by mplayer now | 63 # depend only used by mplayer now |
| 55 dep: depend | 64 dep: depend |
| 57 depend: | 66 depend: |
| 58 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | 67 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
| 59 | 68 |
| 60 clean: | 69 clean: |
| 61 rm -f *.o *~ *.a i386/*.o i386/*~ \ | 70 rm -f *.o *~ *.a i386/*.o i386/*~ \ |
| 71 armv4l/*.o armv4l/*~ \ | |
| 62 libac3/*.o libac3/*~ \ | 72 libac3/*.o libac3/*~ \ |
| 63 mpglib/*.o mpglib/*~ \ | 73 mpglib/*.o mpglib/*~ \ |
| 64 apiexample $(TESTS) | 74 apiexample $(TESTS) |
| 65 | 75 |
| 66 distclean: clean | 76 distclean: clean |
